aws-sdk-marketplacecatalog 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,331 @@
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::MarketplaceCatalog
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ ARN = Shapes::StringShape.new(name: 'ARN')
15
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
+ CancelChangeSetRequest = Shapes::StructureShape.new(name: 'CancelChangeSetRequest')
17
+ CancelChangeSetResponse = Shapes::StructureShape.new(name: 'CancelChangeSetResponse')
18
+ Catalog = Shapes::StringShape.new(name: 'Catalog')
19
+ Change = Shapes::StructureShape.new(name: 'Change')
20
+ ChangeSetDescription = Shapes::ListShape.new(name: 'ChangeSetDescription')
21
+ ChangeSetName = Shapes::StringShape.new(name: 'ChangeSetName')
22
+ ChangeSetSummaryList = Shapes::ListShape.new(name: 'ChangeSetSummaryList')
23
+ ChangeSetSummaryListItem = Shapes::StructureShape.new(name: 'ChangeSetSummaryListItem')
24
+ ChangeStatus = Shapes::StringShape.new(name: 'ChangeStatus')
25
+ ChangeSummary = Shapes::StructureShape.new(name: 'ChangeSummary')
26
+ ChangeType = Shapes::StringShape.new(name: 'ChangeType')
27
+ ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
28
+ DateTimeISO8601 = Shapes::StringShape.new(name: 'DateTimeISO8601')
29
+ DescribeChangeSetRequest = Shapes::StructureShape.new(name: 'DescribeChangeSetRequest')
30
+ DescribeChangeSetResponse = Shapes::StructureShape.new(name: 'DescribeChangeSetResponse')
31
+ DescribeEntityRequest = Shapes::StructureShape.new(name: 'DescribeEntityRequest')
32
+ DescribeEntityResponse = Shapes::StructureShape.new(name: 'DescribeEntityResponse')
33
+ Entity = Shapes::StructureShape.new(name: 'Entity')
34
+ EntitySummary = Shapes::StructureShape.new(name: 'EntitySummary')
35
+ EntitySummaryList = Shapes::ListShape.new(name: 'EntitySummaryList')
36
+ EntityType = Shapes::StringShape.new(name: 'EntityType')
37
+ ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
38
+ ErrorDetailList = Shapes::ListShape.new(name: 'ErrorDetailList')
39
+ Filter = Shapes::StructureShape.new(name: 'Filter')
40
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
41
+ FilterName = Shapes::StringShape.new(name: 'FilterName')
42
+ Identifier = Shapes::StringShape.new(name: 'Identifier')
43
+ InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
44
+ Json = Shapes::StringShape.new(name: 'Json')
45
+ ListChangeSetsRequest = Shapes::StructureShape.new(name: 'ListChangeSetsRequest')
46
+ ListChangeSetsResponse = Shapes::StructureShape.new(name: 'ListChangeSetsResponse')
47
+ ListEntitiesRequest = Shapes::StructureShape.new(name: 'ListEntitiesRequest')
48
+ ListEntitiesResponse = Shapes::StructureShape.new(name: 'ListEntitiesResponse')
49
+ MaxResultInteger = Shapes::IntegerShape.new(name: 'MaxResultInteger')
50
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
51
+ RequestedChangeList = Shapes::ListShape.new(name: 'RequestedChangeList')
52
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
53
+ ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
54
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
55
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
56
+ ResourceNotSupportedException = Shapes::StructureShape.new(name: 'ResourceNotSupportedException')
57
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
58
+ Sort = Shapes::StructureShape.new(name: 'Sort')
59
+ SortBy = Shapes::StringShape.new(name: 'SortBy')
60
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
61
+ StartChangeSetRequest = Shapes::StructureShape.new(name: 'StartChangeSetRequest')
62
+ StartChangeSetResponse = Shapes::StructureShape.new(name: 'StartChangeSetResponse')
63
+ StringValue = Shapes::StringShape.new(name: 'StringValue')
64
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
65
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
66
+ ValueList = Shapes::ListShape.new(name: 'ValueList')
67
+
68
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
69
+ AccessDeniedException.struct_class = Types::AccessDeniedException
70
+
71
+ CancelChangeSetRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location: "querystring", location_name: "catalog"))
72
+ CancelChangeSetRequest.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "querystring", location_name: "changeSetId"))
73
+ CancelChangeSetRequest.struct_class = Types::CancelChangeSetRequest
74
+
75
+ CancelChangeSetResponse.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ChangeSetId"))
76
+ CancelChangeSetResponse.add_member(:change_set_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ChangeSetArn"))
77
+ CancelChangeSetResponse.struct_class = Types::CancelChangeSetResponse
78
+
79
+ Change.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeType, required: true, location_name: "ChangeType"))
80
+ Change.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, required: true, location_name: "Entity"))
81
+ Change.add_member(:details, Shapes::ShapeRef.new(shape: Json, required: true, location_name: "Details"))
82
+ Change.struct_class = Types::Change
83
+
84
+ ChangeSetDescription.member = Shapes::ShapeRef.new(shape: ChangeSummary)
85
+
86
+ ChangeSetSummaryList.member = Shapes::ShapeRef.new(shape: ChangeSetSummaryListItem)
87
+
88
+ ChangeSetSummaryListItem.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ChangeSetId"))
89
+ ChangeSetSummaryListItem.add_member(:change_set_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ChangeSetArn"))
90
+ ChangeSetSummaryListItem.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName"))
91
+ ChangeSetSummaryListItem.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTimeISO8601, location_name: "StartTime"))
92
+ ChangeSetSummaryListItem.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTimeISO8601, location_name: "EndTime"))
93
+ ChangeSetSummaryListItem.add_member(:status, Shapes::ShapeRef.new(shape: ChangeStatus, location_name: "Status"))
94
+ ChangeSetSummaryListItem.add_member(:entity_id_list, Shapes::ShapeRef.new(shape: ResourceIdList, location_name: "EntityIdList"))
95
+ ChangeSetSummaryListItem.struct_class = Types::ChangeSetSummaryListItem
96
+
97
+ ChangeSummary.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeType, location_name: "ChangeType"))
98
+ ChangeSummary.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "Entity"))
99
+ ChangeSummary.add_member(:error_detail_list, Shapes::ShapeRef.new(shape: ErrorDetailList, location_name: "ErrorDetailList"))
100
+ ChangeSummary.struct_class = Types::ChangeSummary
101
+
102
+ DescribeChangeSetRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location: "querystring", location_name: "catalog"))
103
+ DescribeChangeSetRequest.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "querystring", location_name: "changeSetId"))
104
+ DescribeChangeSetRequest.struct_class = Types::DescribeChangeSetRequest
105
+
106
+ DescribeChangeSetResponse.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ChangeSetId"))
107
+ DescribeChangeSetResponse.add_member(:change_set_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ChangeSetArn"))
108
+ DescribeChangeSetResponse.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName"))
109
+ DescribeChangeSetResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTimeISO8601, location_name: "StartTime"))
110
+ DescribeChangeSetResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTimeISO8601, location_name: "EndTime"))
111
+ DescribeChangeSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChangeStatus, location_name: "Status"))
112
+ DescribeChangeSetResponse.add_member(:failure_description, Shapes::ShapeRef.new(shape: StringValue, location_name: "FailureDescription"))
113
+ DescribeChangeSetResponse.add_member(:change_set, Shapes::ShapeRef.new(shape: ChangeSetDescription, location_name: "ChangeSet"))
114
+ DescribeChangeSetResponse.struct_class = Types::DescribeChangeSetResponse
115
+
116
+ DescribeEntityRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location: "querystring", location_name: "catalog"))
117
+ DescribeEntityRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "querystring", location_name: "entityId"))
118
+ DescribeEntityRequest.struct_class = Types::DescribeEntityRequest
119
+
120
+ DescribeEntityResponse.add_member(:entity_type, Shapes::ShapeRef.new(shape: EntityType, location_name: "EntityType"))
121
+ DescribeEntityResponse.add_member(:entity_identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "EntityIdentifier"))
122
+ DescribeEntityResponse.add_member(:entity_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EntityArn"))
123
+ DescribeEntityResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: StringValue, location_name: "LastModifiedDate"))
124
+ DescribeEntityResponse.add_member(:details, Shapes::ShapeRef.new(shape: Json, location_name: "Details"))
125
+ DescribeEntityResponse.struct_class = Types::DescribeEntityResponse
126
+
127
+ Entity.add_member(:type, Shapes::ShapeRef.new(shape: EntityType, required: true, location_name: "Type"))
128
+ Entity.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "Identifier"))
129
+ Entity.struct_class = Types::Entity
130
+
131
+ EntitySummary.add_member(:name, Shapes::ShapeRef.new(shape: StringValue, location_name: "Name"))
132
+ EntitySummary.add_member(:entity_type, Shapes::ShapeRef.new(shape: EntityType, location_name: "EntityType"))
133
+ EntitySummary.add_member(:entity_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "EntityId"))
134
+ EntitySummary.add_member(:entity_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EntityArn"))
135
+ EntitySummary.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: StringValue, location_name: "LastModifiedDate"))
136
+ EntitySummary.add_member(:visibility, Shapes::ShapeRef.new(shape: StringValue, location_name: "Visibility"))
137
+ EntitySummary.struct_class = Types::EntitySummary
138
+
139
+ EntitySummaryList.member = Shapes::ShapeRef.new(shape: EntitySummary)
140
+
141
+ ErrorDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: StringValue, location_name: "ErrorCode"))
142
+ ErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: StringValue, location_name: "ErrorMessage"))
143
+ ErrorDetail.struct_class = Types::ErrorDetail
144
+
145
+ ErrorDetailList.member = Shapes::ShapeRef.new(shape: ErrorDetail)
146
+
147
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "Name"))
148
+ Filter.add_member(:value_list, Shapes::ShapeRef.new(shape: ValueList, location_name: "ValueList"))
149
+ Filter.struct_class = Types::Filter
150
+
151
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
152
+
153
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
154
+ InternalServiceException.struct_class = Types::InternalServiceException
155
+
156
+ ListChangeSetsRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location_name: "Catalog"))
157
+ ListChangeSetsRequest.add_member(:filter_list, Shapes::ShapeRef.new(shape: FilterList, location_name: "FilterList"))
158
+ ListChangeSetsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "Sort"))
159
+ ListChangeSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultInteger, location_name: "MaxResults"))
160
+ ListChangeSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
161
+ ListChangeSetsRequest.struct_class = Types::ListChangeSetsRequest
162
+
163
+ ListChangeSetsResponse.add_member(:change_set_summary_list, Shapes::ShapeRef.new(shape: ChangeSetSummaryList, location_name: "ChangeSetSummaryList"))
164
+ ListChangeSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
165
+ ListChangeSetsResponse.struct_class = Types::ListChangeSetsResponse
166
+
167
+ ListEntitiesRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location_name: "Catalog"))
168
+ ListEntitiesRequest.add_member(:entity_type, Shapes::ShapeRef.new(shape: EntityType, required: true, location_name: "EntityType"))
169
+ ListEntitiesRequest.add_member(:filter_list, Shapes::ShapeRef.new(shape: FilterList, location_name: "FilterList"))
170
+ ListEntitiesRequest.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "Sort"))
171
+ ListEntitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
172
+ ListEntitiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultInteger, location_name: "MaxResults"))
173
+ ListEntitiesRequest.struct_class = Types::ListEntitiesRequest
174
+
175
+ ListEntitiesResponse.add_member(:entity_summary_list, Shapes::ShapeRef.new(shape: EntitySummaryList, location_name: "EntitySummaryList"))
176
+ ListEntitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
177
+ ListEntitiesResponse.struct_class = Types::ListEntitiesResponse
178
+
179
+ RequestedChangeList.member = Shapes::ShapeRef.new(shape: Change)
180
+
181
+ ResourceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
182
+
183
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
184
+ ResourceInUseException.struct_class = Types::ResourceInUseException
185
+
186
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
187
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
188
+
189
+ ResourceNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
190
+ ResourceNotSupportedException.struct_class = Types::ResourceNotSupportedException
191
+
192
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
193
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
194
+
195
+ Sort.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortBy, location_name: "SortBy"))
196
+ Sort.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "SortOrder"))
197
+ Sort.struct_class = Types::Sort
198
+
199
+ StartChangeSetRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location_name: "Catalog"))
200
+ StartChangeSetRequest.add_member(:change_set, Shapes::ShapeRef.new(shape: RequestedChangeList, required: true, location_name: "ChangeSet"))
201
+ StartChangeSetRequest.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName"))
202
+ StartChangeSetRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
203
+ StartChangeSetRequest.struct_class = Types::StartChangeSetRequest
204
+
205
+ StartChangeSetResponse.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ChangeSetId"))
206
+ StartChangeSetResponse.add_member(:change_set_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ChangeSetArn"))
207
+ StartChangeSetResponse.struct_class = Types::StartChangeSetResponse
208
+
209
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
210
+ ThrottlingException.struct_class = Types::ThrottlingException
211
+
212
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: StringValue, location_name: "Message"))
213
+ ValidationException.struct_class = Types::ValidationException
214
+
215
+ ValueList.member = Shapes::ShapeRef.new(shape: StringValue)
216
+
217
+
218
+ # @api private
219
+ API = Seahorse::Model::Api.new.tap do |api|
220
+
221
+ api.version = "2018-09-17"
222
+
223
+ api.metadata = {
224
+ "apiVersion" => "2018-09-17",
225
+ "endpointPrefix" => "catalog.marketplace",
226
+ "jsonVersion" => "1.1",
227
+ "protocol" => "rest-json",
228
+ "serviceAbbreviation" => "AWS Marketplace Catalog",
229
+ "serviceFullName" => "AWS Marketplace Catalog Service",
230
+ "serviceId" => "Marketplace Catalog",
231
+ "signatureVersion" => "v4",
232
+ "signingName" => "aws-marketplace",
233
+ "uid" => "marketplace-catalog-2018-09-17",
234
+ }
235
+
236
+ api.add_operation(:cancel_change_set, Seahorse::Model::Operation.new.tap do |o|
237
+ o.name = "CancelChangeSet"
238
+ o.http_method = "PATCH"
239
+ o.http_request_uri = "/CancelChangeSet"
240
+ o.input = Shapes::ShapeRef.new(shape: CancelChangeSetRequest)
241
+ o.output = Shapes::ShapeRef.new(shape: CancelChangeSetResponse)
242
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
243
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
244
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
245
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
246
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
247
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
248
+ end)
249
+
250
+ api.add_operation(:describe_change_set, Seahorse::Model::Operation.new.tap do |o|
251
+ o.name = "DescribeChangeSet"
252
+ o.http_method = "GET"
253
+ o.http_request_uri = "/DescribeChangeSet"
254
+ o.input = Shapes::ShapeRef.new(shape: DescribeChangeSetRequest)
255
+ o.output = Shapes::ShapeRef.new(shape: DescribeChangeSetResponse)
256
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
257
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
258
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
259
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
261
+ end)
262
+
263
+ api.add_operation(:describe_entity, Seahorse::Model::Operation.new.tap do |o|
264
+ o.name = "DescribeEntity"
265
+ o.http_method = "GET"
266
+ o.http_request_uri = "/DescribeEntity"
267
+ o.input = Shapes::ShapeRef.new(shape: DescribeEntityRequest)
268
+ o.output = Shapes::ShapeRef.new(shape: DescribeEntityResponse)
269
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
270
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
271
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
272
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotSupportedException)
273
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
274
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
275
+ end)
276
+
277
+ api.add_operation(:list_change_sets, Seahorse::Model::Operation.new.tap do |o|
278
+ o.name = "ListChangeSets"
279
+ o.http_method = "POST"
280
+ o.http_request_uri = "/ListChangeSets"
281
+ o.input = Shapes::ShapeRef.new(shape: ListChangeSetsRequest)
282
+ o.output = Shapes::ShapeRef.new(shape: ListChangeSetsResponse)
283
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
284
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
285
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
286
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
287
+ o[:pager] = Aws::Pager.new(
288
+ limit_key: "max_results",
289
+ tokens: {
290
+ "next_token" => "next_token"
291
+ }
292
+ )
293
+ end)
294
+
295
+ api.add_operation(:list_entities, Seahorse::Model::Operation.new.tap do |o|
296
+ o.name = "ListEntities"
297
+ o.http_method = "POST"
298
+ o.http_request_uri = "/ListEntities"
299
+ o.input = Shapes::ShapeRef.new(shape: ListEntitiesRequest)
300
+ o.output = Shapes::ShapeRef.new(shape: ListEntitiesResponse)
301
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
302
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
303
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
305
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
306
+ o[:pager] = Aws::Pager.new(
307
+ limit_key: "max_results",
308
+ tokens: {
309
+ "next_token" => "next_token"
310
+ }
311
+ )
312
+ end)
313
+
314
+ api.add_operation(:start_change_set, Seahorse::Model::Operation.new.tap do |o|
315
+ o.name = "StartChangeSet"
316
+ o.http_method = "POST"
317
+ o.http_request_uri = "/StartChangeSet"
318
+ o.input = Shapes::ShapeRef.new(shape: StartChangeSetRequest)
319
+ o.output = Shapes::ShapeRef.new(shape: StartChangeSetResponse)
320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
321
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
322
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
323
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
324
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
325
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
326
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
327
+ end)
328
+ end
329
+
330
+ end
331
+ end
@@ -0,0 +1,142 @@
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::MarketplaceCatalog
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::MarketplaceCatalog::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class InternalServiceException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::MarketplaceCatalog::Types::InternalServiceException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class ResourceInUseException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::MarketplaceCatalog::Types::ResourceInUseException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ResourceNotFoundException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::MarketplaceCatalog::Types::ResourceNotFoundException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class ResourceNotSupportedException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::MarketplaceCatalog::Types::ResourceNotSupportedException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class ServiceQuotaExceededException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::MarketplaceCatalog::Types::ServiceQuotaExceededException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ThrottlingException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::MarketplaceCatalog::Types::ThrottlingException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class ValidationException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::MarketplaceCatalog::Types::ValidationException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ end
142
+ end