aws-sdk-appregistry 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,513 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppRegistry
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ Application = Shapes::StructureShape.new(name: 'Application')
17
+ ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
18
+ ApplicationId = Shapes::StringShape.new(name: 'ApplicationId')
19
+ ApplicationSpecifier = Shapes::StringShape.new(name: 'ApplicationSpecifier')
20
+ ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries')
21
+ ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
22
+ Arn = Shapes::StringShape.new(name: 'Arn')
23
+ AssociateAttributeGroupRequest = Shapes::StructureShape.new(name: 'AssociateAttributeGroupRequest')
24
+ AssociateAttributeGroupResponse = Shapes::StructureShape.new(name: 'AssociateAttributeGroupResponse')
25
+ AssociateResourceRequest = Shapes::StructureShape.new(name: 'AssociateResourceRequest')
26
+ AssociateResourceResponse = Shapes::StructureShape.new(name: 'AssociateResourceResponse')
27
+ AssociationCount = Shapes::IntegerShape.new(name: 'AssociationCount')
28
+ AttributeGroup = Shapes::StructureShape.new(name: 'AttributeGroup')
29
+ AttributeGroupArn = Shapes::StringShape.new(name: 'AttributeGroupArn')
30
+ AttributeGroupId = Shapes::StringShape.new(name: 'AttributeGroupId')
31
+ AttributeGroupIds = Shapes::ListShape.new(name: 'AttributeGroupIds')
32
+ AttributeGroupSpecifier = Shapes::StringShape.new(name: 'AttributeGroupSpecifier')
33
+ AttributeGroupSummaries = Shapes::ListShape.new(name: 'AttributeGroupSummaries')
34
+ AttributeGroupSummary = Shapes::StructureShape.new(name: 'AttributeGroupSummary')
35
+ Attributes = Shapes::StringShape.new(name: 'Attributes')
36
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
37
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
38
+ CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
39
+ CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
40
+ CreateAttributeGroupRequest = Shapes::StructureShape.new(name: 'CreateAttributeGroupRequest')
41
+ CreateAttributeGroupResponse = Shapes::StructureShape.new(name: 'CreateAttributeGroupResponse')
42
+ DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
43
+ DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
44
+ DeleteAttributeGroupRequest = Shapes::StructureShape.new(name: 'DeleteAttributeGroupRequest')
45
+ DeleteAttributeGroupResponse = Shapes::StructureShape.new(name: 'DeleteAttributeGroupResponse')
46
+ Description = Shapes::StringShape.new(name: 'Description')
47
+ DisassociateAttributeGroupRequest = Shapes::StructureShape.new(name: 'DisassociateAttributeGroupRequest')
48
+ DisassociateAttributeGroupResponse = Shapes::StructureShape.new(name: 'DisassociateAttributeGroupResponse')
49
+ DisassociateResourceRequest = Shapes::StructureShape.new(name: 'DisassociateResourceRequest')
50
+ DisassociateResourceResponse = Shapes::StructureShape.new(name: 'DisassociateResourceResponse')
51
+ GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
52
+ GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
53
+ GetAttributeGroupRequest = Shapes::StructureShape.new(name: 'GetAttributeGroupRequest')
54
+ GetAttributeGroupResponse = Shapes::StructureShape.new(name: 'GetAttributeGroupResponse')
55
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
56
+ ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
57
+ ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
58
+ ListAssociatedAttributeGroupsRequest = Shapes::StructureShape.new(name: 'ListAssociatedAttributeGroupsRequest')
59
+ ListAssociatedAttributeGroupsResponse = Shapes::StructureShape.new(name: 'ListAssociatedAttributeGroupsResponse')
60
+ ListAssociatedResourcesRequest = Shapes::StructureShape.new(name: 'ListAssociatedResourcesRequest')
61
+ ListAssociatedResourcesResponse = Shapes::StructureShape.new(name: 'ListAssociatedResourcesResponse')
62
+ ListAttributeGroupsRequest = Shapes::StructureShape.new(name: 'ListAttributeGroupsRequest')
63
+ ListAttributeGroupsResponse = Shapes::StructureShape.new(name: 'ListAttributeGroupsResponse')
64
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
65
+ Name = Shapes::StringShape.new(name: 'Name')
66
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
67
+ ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
68
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
69
+ ResourceSpecifier = Shapes::StringShape.new(name: 'ResourceSpecifier')
70
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
71
+ Resources = Shapes::ListShape.new(name: 'Resources')
72
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
73
+ StackArn = Shapes::StringShape.new(name: 'StackArn')
74
+ String = Shapes::StringShape.new(name: 'String')
75
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
76
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
77
+ Tags = Shapes::MapShape.new(name: 'Tags')
78
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
79
+ UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
80
+ UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
81
+ UpdateAttributeGroupRequest = Shapes::StructureShape.new(name: 'UpdateAttributeGroupRequest')
82
+ UpdateAttributeGroupResponse = Shapes::StructureShape.new(name: 'UpdateAttributeGroupResponse')
83
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
84
+
85
+ Application.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "id"))
86
+ Application.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "arn"))
87
+ Application.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
88
+ Application.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
89
+ Application.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
90
+ Application.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
91
+ Application.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
92
+ Application.struct_class = Types::Application
93
+
94
+ ApplicationSummaries.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
95
+
96
+ ApplicationSummary.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "id"))
97
+ ApplicationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "arn"))
98
+ ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
99
+ ApplicationSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
100
+ ApplicationSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
101
+ ApplicationSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
102
+ ApplicationSummary.struct_class = Types::ApplicationSummary
103
+
104
+ AssociateAttributeGroupRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
105
+ AssociateAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
106
+ AssociateAttributeGroupRequest.struct_class = Types::AssociateAttributeGroupRequest
107
+
108
+ AssociateAttributeGroupResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
109
+ AssociateAttributeGroupResponse.add_member(:attribute_group_arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "attributeGroupArn"))
110
+ AssociateAttributeGroupResponse.struct_class = Types::AssociateAttributeGroupResponse
111
+
112
+ AssociateResourceRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
113
+ AssociateResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "uri", location_name: "resourceType"))
114
+ AssociateResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
115
+ AssociateResourceRequest.struct_class = Types::AssociateResourceRequest
116
+
117
+ AssociateResourceResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
118
+ AssociateResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
119
+ AssociateResourceResponse.struct_class = Types::AssociateResourceResponse
120
+
121
+ AttributeGroup.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
122
+ AttributeGroup.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
123
+ AttributeGroup.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
124
+ AttributeGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
125
+ AttributeGroup.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
126
+ AttributeGroup.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
127
+ AttributeGroup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
128
+ AttributeGroup.struct_class = Types::AttributeGroup
129
+
130
+ AttributeGroupIds.member = Shapes::ShapeRef.new(shape: AttributeGroupId)
131
+
132
+ AttributeGroupSummaries.member = Shapes::ShapeRef.new(shape: AttributeGroupSummary)
133
+
134
+ AttributeGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
135
+ AttributeGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
136
+ AttributeGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
137
+ AttributeGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
138
+ AttributeGroupSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
139
+ AttributeGroupSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
140
+ AttributeGroupSummary.struct_class = Types::AttributeGroupSummary
141
+
142
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
143
+ ConflictException.struct_class = Types::ConflictException
144
+
145
+ CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
146
+ CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
147
+ CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
148
+ CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
149
+ CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
150
+
151
+ CreateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, location_name: "application"))
152
+ CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
153
+
154
+ CreateAttributeGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
155
+ CreateAttributeGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
156
+ CreateAttributeGroupRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
157
+ CreateAttributeGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
158
+ CreateAttributeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
159
+ CreateAttributeGroupRequest.struct_class = Types::CreateAttributeGroupRequest
160
+
161
+ CreateAttributeGroupResponse.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroup, location_name: "attributeGroup"))
162
+ CreateAttributeGroupResponse.struct_class = Types::CreateAttributeGroupResponse
163
+
164
+ DeleteApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
165
+ DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
166
+
167
+ DeleteApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSummary, location_name: "application"))
168
+ DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
169
+
170
+ DeleteAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
171
+ DeleteAttributeGroupRequest.struct_class = Types::DeleteAttributeGroupRequest
172
+
173
+ DeleteAttributeGroupResponse.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSummary, location_name: "attributeGroup"))
174
+ DeleteAttributeGroupResponse.struct_class = Types::DeleteAttributeGroupResponse
175
+
176
+ DisassociateAttributeGroupRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
177
+ DisassociateAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
178
+ DisassociateAttributeGroupRequest.struct_class = Types::DisassociateAttributeGroupRequest
179
+
180
+ DisassociateAttributeGroupResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
181
+ DisassociateAttributeGroupResponse.add_member(:attribute_group_arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "attributeGroupArn"))
182
+ DisassociateAttributeGroupResponse.struct_class = Types::DisassociateAttributeGroupResponse
183
+
184
+ DisassociateResourceRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
185
+ DisassociateResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "uri", location_name: "resourceType"))
186
+ DisassociateResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
187
+ DisassociateResourceRequest.struct_class = Types::DisassociateResourceRequest
188
+
189
+ DisassociateResourceResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
190
+ DisassociateResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
191
+ DisassociateResourceResponse.struct_class = Types::DisassociateResourceResponse
192
+
193
+ GetApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
194
+ GetApplicationRequest.struct_class = Types::GetApplicationRequest
195
+
196
+ GetApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "id"))
197
+ GetApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "arn"))
198
+ GetApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
199
+ GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
200
+ GetApplicationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
201
+ GetApplicationResponse.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
202
+ GetApplicationResponse.add_member(:associated_resource_count, Shapes::ShapeRef.new(shape: AssociationCount, location_name: "associatedResourceCount"))
203
+ GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
204
+ GetApplicationResponse.struct_class = Types::GetApplicationResponse
205
+
206
+ GetAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
207
+ GetAttributeGroupRequest.struct_class = Types::GetAttributeGroupRequest
208
+
209
+ GetAttributeGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
210
+ GetAttributeGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
211
+ GetAttributeGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
212
+ GetAttributeGroupResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
213
+ GetAttributeGroupResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
214
+ GetAttributeGroupResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
215
+ GetAttributeGroupResponse.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
216
+ GetAttributeGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
217
+ GetAttributeGroupResponse.struct_class = Types::GetAttributeGroupResponse
218
+
219
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
220
+ InternalServerException.struct_class = Types::InternalServerException
221
+
222
+ ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
223
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
224
+ ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
225
+
226
+ ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationSummaries, location_name: "applications"))
227
+ ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
228
+ ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
229
+
230
+ ListAssociatedAttributeGroupsRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
231
+ ListAssociatedAttributeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
232
+ ListAssociatedAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
233
+ ListAssociatedAttributeGroupsRequest.struct_class = Types::ListAssociatedAttributeGroupsRequest
234
+
235
+ ListAssociatedAttributeGroupsResponse.add_member(:attribute_groups, Shapes::ShapeRef.new(shape: AttributeGroupIds, location_name: "attributeGroups"))
236
+ ListAssociatedAttributeGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
237
+ ListAssociatedAttributeGroupsResponse.struct_class = Types::ListAssociatedAttributeGroupsResponse
238
+
239
+ ListAssociatedResourcesRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
240
+ ListAssociatedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
241
+ ListAssociatedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
242
+ ListAssociatedResourcesRequest.struct_class = Types::ListAssociatedResourcesRequest
243
+
244
+ ListAssociatedResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "resources"))
245
+ ListAssociatedResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
246
+ ListAssociatedResourcesResponse.struct_class = Types::ListAssociatedResourcesResponse
247
+
248
+ ListAttributeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
249
+ ListAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
250
+ ListAttributeGroupsRequest.struct_class = Types::ListAttributeGroupsRequest
251
+
252
+ ListAttributeGroupsResponse.add_member(:attribute_groups, Shapes::ShapeRef.new(shape: AttributeGroupSummaries, location_name: "attributeGroups"))
253
+ ListAttributeGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
254
+ ListAttributeGroupsResponse.struct_class = Types::ListAttributeGroupsResponse
255
+
256
+ ResourceInfo.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
257
+ ResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: StackArn, location_name: "arn"))
258
+ ResourceInfo.struct_class = Types::ResourceInfo
259
+
260
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
261
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
262
+
263
+ Resources.member = Shapes::ShapeRef.new(shape: ResourceInfo)
264
+
265
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
266
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
267
+
268
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
269
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
270
+
271
+ UpdateApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
272
+ UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
273
+ UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
274
+ UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
275
+
276
+ UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, location_name: "application"))
277
+ UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
278
+
279
+ UpdateAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
280
+ UpdateAttributeGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
281
+ UpdateAttributeGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
282
+ UpdateAttributeGroupRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
283
+ UpdateAttributeGroupRequest.struct_class = Types::UpdateAttributeGroupRequest
284
+
285
+ UpdateAttributeGroupResponse.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroup, location_name: "attributeGroup"))
286
+ UpdateAttributeGroupResponse.struct_class = Types::UpdateAttributeGroupResponse
287
+
288
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
289
+ ValidationException.struct_class = Types::ValidationException
290
+
291
+
292
+ # @api private
293
+ API = Seahorse::Model::Api.new.tap do |api|
294
+
295
+ api.version = "2020-06-24"
296
+
297
+ api.metadata = {
298
+ "apiVersion" => "2020-06-24",
299
+ "endpointPrefix" => "servicecatalog-appregistry",
300
+ "jsonVersion" => "1.1",
301
+ "protocol" => "rest-json",
302
+ "serviceAbbreviation" => "AppRegistry",
303
+ "serviceFullName" => "AWS Service Catalog App Registry",
304
+ "serviceId" => "Service Catalog AppRegistry",
305
+ "signatureVersion" => "v4",
306
+ "signingName" => "servicecatalog",
307
+ "uid" => "AWS242AppRegistry",
308
+ }
309
+
310
+ api.add_operation(:associate_attribute_group, Seahorse::Model::Operation.new.tap do |o|
311
+ o.name = "AssociateAttributeGroup"
312
+ o.http_method = "PUT"
313
+ o.http_request_uri = "/applications/{application}/attribute-groups/{attributeGroup}"
314
+ o.input = Shapes::ShapeRef.new(shape: AssociateAttributeGroupRequest)
315
+ o.output = Shapes::ShapeRef.new(shape: AssociateAttributeGroupResponse)
316
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
317
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
318
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
319
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
320
+ end)
321
+
322
+ api.add_operation(:associate_resource, Seahorse::Model::Operation.new.tap do |o|
323
+ o.name = "AssociateResource"
324
+ o.http_method = "PUT"
325
+ o.http_request_uri = "/applications/{application}/resources/{resourceType}/{resource}"
326
+ o.input = Shapes::ShapeRef.new(shape: AssociateResourceRequest)
327
+ o.output = Shapes::ShapeRef.new(shape: AssociateResourceResponse)
328
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
329
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
330
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
331
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
332
+ end)
333
+
334
+ api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
335
+ o.name = "CreateApplication"
336
+ o.http_method = "POST"
337
+ o.http_request_uri = "/applications"
338
+ o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
339
+ o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
340
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
341
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
342
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
343
+ end)
344
+
345
+ api.add_operation(:create_attribute_group, Seahorse::Model::Operation.new.tap do |o|
346
+ o.name = "CreateAttributeGroup"
347
+ o.http_method = "POST"
348
+ o.http_request_uri = "/attribute-groups"
349
+ o.input = Shapes::ShapeRef.new(shape: CreateAttributeGroupRequest)
350
+ o.output = Shapes::ShapeRef.new(shape: CreateAttributeGroupResponse)
351
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
352
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
353
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
354
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
355
+ end)
356
+
357
+ api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
358
+ o.name = "DeleteApplication"
359
+ o.http_method = "DELETE"
360
+ o.http_request_uri = "/applications/{application}"
361
+ o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
362
+ o.output = Shapes::ShapeRef.new(shape: DeleteApplicationResponse)
363
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
364
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
365
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
366
+ end)
367
+
368
+ api.add_operation(:delete_attribute_group, Seahorse::Model::Operation.new.tap do |o|
369
+ o.name = "DeleteAttributeGroup"
370
+ o.http_method = "DELETE"
371
+ o.http_request_uri = "/attribute-groups/{attributeGroup}"
372
+ o.input = Shapes::ShapeRef.new(shape: DeleteAttributeGroupRequest)
373
+ o.output = Shapes::ShapeRef.new(shape: DeleteAttributeGroupResponse)
374
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
375
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
376
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
377
+ end)
378
+
379
+ api.add_operation(:disassociate_attribute_group, Seahorse::Model::Operation.new.tap do |o|
380
+ o.name = "DisassociateAttributeGroup"
381
+ o.http_method = "DELETE"
382
+ o.http_request_uri = "/applications/{application}/attribute-groups/{attributeGroup}"
383
+ o.input = Shapes::ShapeRef.new(shape: DisassociateAttributeGroupRequest)
384
+ o.output = Shapes::ShapeRef.new(shape: DisassociateAttributeGroupResponse)
385
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
386
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
387
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
388
+ end)
389
+
390
+ api.add_operation(:disassociate_resource, Seahorse::Model::Operation.new.tap do |o|
391
+ o.name = "DisassociateResource"
392
+ o.http_method = "DELETE"
393
+ o.http_request_uri = "/applications/{application}/resources/{resourceType}/{resource}"
394
+ o.input = Shapes::ShapeRef.new(shape: DisassociateResourceRequest)
395
+ o.output = Shapes::ShapeRef.new(shape: DisassociateResourceResponse)
396
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
397
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
398
+ end)
399
+
400
+ api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
401
+ o.name = "GetApplication"
402
+ o.http_method = "GET"
403
+ o.http_request_uri = "/applications/{application}"
404
+ o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
405
+ o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
406
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
407
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
408
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
409
+ end)
410
+
411
+ api.add_operation(:get_attribute_group, Seahorse::Model::Operation.new.tap do |o|
412
+ o.name = "GetAttributeGroup"
413
+ o.http_method = "GET"
414
+ o.http_request_uri = "/attribute-groups/{attributeGroup}"
415
+ o.input = Shapes::ShapeRef.new(shape: GetAttributeGroupRequest)
416
+ o.output = Shapes::ShapeRef.new(shape: GetAttributeGroupResponse)
417
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
418
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
420
+ end)
421
+
422
+ api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
423
+ o.name = "ListApplications"
424
+ o.http_method = "GET"
425
+ o.http_request_uri = "/applications"
426
+ o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
427
+ o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
428
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
429
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
430
+ o[:pager] = Aws::Pager.new(
431
+ limit_key: "max_results",
432
+ tokens: {
433
+ "next_token" => "next_token"
434
+ }
435
+ )
436
+ end)
437
+
438
+ api.add_operation(:list_associated_attribute_groups, Seahorse::Model::Operation.new.tap do |o|
439
+ o.name = "ListAssociatedAttributeGroups"
440
+ o.http_method = "GET"
441
+ o.http_request_uri = "/applications/{application}/attribute-groups"
442
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedAttributeGroupsRequest)
443
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedAttributeGroupsResponse)
444
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
446
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
447
+ o[:pager] = Aws::Pager.new(
448
+ limit_key: "max_results",
449
+ tokens: {
450
+ "next_token" => "next_token"
451
+ }
452
+ )
453
+ end)
454
+
455
+ api.add_operation(:list_associated_resources, Seahorse::Model::Operation.new.tap do |o|
456
+ o.name = "ListAssociatedResources"
457
+ o.http_method = "GET"
458
+ o.http_request_uri = "/applications/{application}/resources"
459
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedResourcesRequest)
460
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedResourcesResponse)
461
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
462
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
463
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
464
+ o[:pager] = Aws::Pager.new(
465
+ limit_key: "max_results",
466
+ tokens: {
467
+ "next_token" => "next_token"
468
+ }
469
+ )
470
+ end)
471
+
472
+ api.add_operation(:list_attribute_groups, Seahorse::Model::Operation.new.tap do |o|
473
+ o.name = "ListAttributeGroups"
474
+ o.http_method = "GET"
475
+ o.http_request_uri = "/attribute-groups"
476
+ o.input = Shapes::ShapeRef.new(shape: ListAttributeGroupsRequest)
477
+ o.output = Shapes::ShapeRef.new(shape: ListAttributeGroupsResponse)
478
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
479
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
480
+ o[:pager] = Aws::Pager.new(
481
+ limit_key: "max_results",
482
+ tokens: {
483
+ "next_token" => "next_token"
484
+ }
485
+ )
486
+ end)
487
+
488
+ api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
489
+ o.name = "UpdateApplication"
490
+ o.http_method = "PATCH"
491
+ o.http_request_uri = "/applications/{application}"
492
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
493
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
494
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
495
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
496
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
497
+ end)
498
+
499
+ api.add_operation(:update_attribute_group, Seahorse::Model::Operation.new.tap do |o|
500
+ o.name = "UpdateAttributeGroup"
501
+ o.http_method = "PATCH"
502
+ o.http_request_uri = "/attribute-groups/{attributeGroup}"
503
+ o.input = Shapes::ShapeRef.new(shape: UpdateAttributeGroupRequest)
504
+ o.output = Shapes::ShapeRef.new(shape: UpdateAttributeGroupResponse)
505
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
508
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
509
+ end)
510
+ end
511
+
512
+ end
513
+ end