aws-sdk-appmesh 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,757 @@
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::AppMesh
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ Arn = Shapes::StringShape.new(name: 'Arn')
15
+ Backends = Shapes::ListShape.new(name: 'Backends')
16
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
17
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
18
+ CreateMeshInput = Shapes::StructureShape.new(name: 'CreateMeshInput')
19
+ CreateMeshOutput = Shapes::StructureShape.new(name: 'CreateMeshOutput')
20
+ CreateRouteInput = Shapes::StructureShape.new(name: 'CreateRouteInput')
21
+ CreateRouteOutput = Shapes::StructureShape.new(name: 'CreateRouteOutput')
22
+ CreateVirtualNodeInput = Shapes::StructureShape.new(name: 'CreateVirtualNodeInput')
23
+ CreateVirtualNodeOutput = Shapes::StructureShape.new(name: 'CreateVirtualNodeOutput')
24
+ CreateVirtualRouterInput = Shapes::StructureShape.new(name: 'CreateVirtualRouterInput')
25
+ CreateVirtualRouterOutput = Shapes::StructureShape.new(name: 'CreateVirtualRouterOutput')
26
+ DeleteMeshInput = Shapes::StructureShape.new(name: 'DeleteMeshInput')
27
+ DeleteMeshOutput = Shapes::StructureShape.new(name: 'DeleteMeshOutput')
28
+ DeleteRouteInput = Shapes::StructureShape.new(name: 'DeleteRouteInput')
29
+ DeleteRouteOutput = Shapes::StructureShape.new(name: 'DeleteRouteOutput')
30
+ DeleteVirtualNodeInput = Shapes::StructureShape.new(name: 'DeleteVirtualNodeInput')
31
+ DeleteVirtualNodeOutput = Shapes::StructureShape.new(name: 'DeleteVirtualNodeOutput')
32
+ DeleteVirtualRouterInput = Shapes::StructureShape.new(name: 'DeleteVirtualRouterInput')
33
+ DeleteVirtualRouterOutput = Shapes::StructureShape.new(name: 'DeleteVirtualRouterOutput')
34
+ DescribeMeshInput = Shapes::StructureShape.new(name: 'DescribeMeshInput')
35
+ DescribeMeshOutput = Shapes::StructureShape.new(name: 'DescribeMeshOutput')
36
+ DescribeRouteInput = Shapes::StructureShape.new(name: 'DescribeRouteInput')
37
+ DescribeRouteOutput = Shapes::StructureShape.new(name: 'DescribeRouteOutput')
38
+ DescribeVirtualNodeInput = Shapes::StructureShape.new(name: 'DescribeVirtualNodeInput')
39
+ DescribeVirtualNodeOutput = Shapes::StructureShape.new(name: 'DescribeVirtualNodeOutput')
40
+ DescribeVirtualRouterInput = Shapes::StructureShape.new(name: 'DescribeVirtualRouterInput')
41
+ DescribeVirtualRouterOutput = Shapes::StructureShape.new(name: 'DescribeVirtualRouterOutput')
42
+ DnsServiceDiscovery = Shapes::StructureShape.new(name: 'DnsServiceDiscovery')
43
+ DurationMillis = Shapes::IntegerShape.new(name: 'DurationMillis')
44
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
45
+ HealthCheckPolicy = Shapes::StructureShape.new(name: 'HealthCheckPolicy')
46
+ HttpRoute = Shapes::StructureShape.new(name: 'HttpRoute')
47
+ HttpRouteAction = Shapes::StructureShape.new(name: 'HttpRouteAction')
48
+ HttpRouteMatch = Shapes::StructureShape.new(name: 'HttpRouteMatch')
49
+ InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
50
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
51
+ ListMeshesInput = Shapes::StructureShape.new(name: 'ListMeshesInput')
52
+ ListMeshesLimit = Shapes::IntegerShape.new(name: 'ListMeshesLimit')
53
+ ListMeshesOutput = Shapes::StructureShape.new(name: 'ListMeshesOutput')
54
+ ListRoutesInput = Shapes::StructureShape.new(name: 'ListRoutesInput')
55
+ ListRoutesLimit = Shapes::IntegerShape.new(name: 'ListRoutesLimit')
56
+ ListRoutesOutput = Shapes::StructureShape.new(name: 'ListRoutesOutput')
57
+ ListVirtualNodesInput = Shapes::StructureShape.new(name: 'ListVirtualNodesInput')
58
+ ListVirtualNodesLimit = Shapes::IntegerShape.new(name: 'ListVirtualNodesLimit')
59
+ ListVirtualNodesOutput = Shapes::StructureShape.new(name: 'ListVirtualNodesOutput')
60
+ ListVirtualRoutersInput = Shapes::StructureShape.new(name: 'ListVirtualRoutersInput')
61
+ ListVirtualRoutersLimit = Shapes::IntegerShape.new(name: 'ListVirtualRoutersLimit')
62
+ ListVirtualRoutersOutput = Shapes::StructureShape.new(name: 'ListVirtualRoutersOutput')
63
+ Listener = Shapes::StructureShape.new(name: 'Listener')
64
+ Listeners = Shapes::ListShape.new(name: 'Listeners')
65
+ Long = Shapes::IntegerShape.new(name: 'Long')
66
+ MeshData = Shapes::StructureShape.new(name: 'MeshData')
67
+ MeshList = Shapes::ListShape.new(name: 'MeshList')
68
+ MeshRef = Shapes::StructureShape.new(name: 'MeshRef')
69
+ MeshStatus = Shapes::StructureShape.new(name: 'MeshStatus')
70
+ MeshStatusCode = Shapes::StringShape.new(name: 'MeshStatusCode')
71
+ NonNegativeInt = Shapes::IntegerShape.new(name: 'NonNegativeInt')
72
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
73
+ PercentInt = Shapes::IntegerShape.new(name: 'PercentInt')
74
+ PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
75
+ PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
76
+ PortProtocol = Shapes::StringShape.new(name: 'PortProtocol')
77
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
78
+ ResourceMetadata = Shapes::StructureShape.new(name: 'ResourceMetadata')
79
+ ResourceName = Shapes::StringShape.new(name: 'ResourceName')
80
+ RouteData = Shapes::StructureShape.new(name: 'RouteData')
81
+ RouteList = Shapes::ListShape.new(name: 'RouteList')
82
+ RouteRef = Shapes::StructureShape.new(name: 'RouteRef')
83
+ RouteSpec = Shapes::StructureShape.new(name: 'RouteSpec')
84
+ RouteStatus = Shapes::StructureShape.new(name: 'RouteStatus')
85
+ RouteStatusCode = Shapes::StringShape.new(name: 'RouteStatusCode')
86
+ ServiceDiscovery = Shapes::StructureShape.new(name: 'ServiceDiscovery')
87
+ ServiceName = Shapes::StringShape.new(name: 'ServiceName')
88
+ ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
89
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
90
+ String = Shapes::StringShape.new(name: 'String')
91
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
92
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
93
+ UpdateRouteInput = Shapes::StructureShape.new(name: 'UpdateRouteInput')
94
+ UpdateRouteOutput = Shapes::StructureShape.new(name: 'UpdateRouteOutput')
95
+ UpdateVirtualNodeInput = Shapes::StructureShape.new(name: 'UpdateVirtualNodeInput')
96
+ UpdateVirtualNodeOutput = Shapes::StructureShape.new(name: 'UpdateVirtualNodeOutput')
97
+ UpdateVirtualRouterInput = Shapes::StructureShape.new(name: 'UpdateVirtualRouterInput')
98
+ UpdateVirtualRouterOutput = Shapes::StructureShape.new(name: 'UpdateVirtualRouterOutput')
99
+ VirtualNodeData = Shapes::StructureShape.new(name: 'VirtualNodeData')
100
+ VirtualNodeList = Shapes::ListShape.new(name: 'VirtualNodeList')
101
+ VirtualNodeRef = Shapes::StructureShape.new(name: 'VirtualNodeRef')
102
+ VirtualNodeSpec = Shapes::StructureShape.new(name: 'VirtualNodeSpec')
103
+ VirtualNodeStatus = Shapes::StructureShape.new(name: 'VirtualNodeStatus')
104
+ VirtualNodeStatusCode = Shapes::StringShape.new(name: 'VirtualNodeStatusCode')
105
+ VirtualRouterData = Shapes::StructureShape.new(name: 'VirtualRouterData')
106
+ VirtualRouterList = Shapes::ListShape.new(name: 'VirtualRouterList')
107
+ VirtualRouterRef = Shapes::StructureShape.new(name: 'VirtualRouterRef')
108
+ VirtualRouterSpec = Shapes::StructureShape.new(name: 'VirtualRouterSpec')
109
+ VirtualRouterStatus = Shapes::StructureShape.new(name: 'VirtualRouterStatus')
110
+ VirtualRouterStatusCode = Shapes::StringShape.new(name: 'VirtualRouterStatusCode')
111
+ WeightedTarget = Shapes::StructureShape.new(name: 'WeightedTarget')
112
+ WeightedTargets = Shapes::ListShape.new(name: 'WeightedTargets')
113
+
114
+ Backends.member = Shapes::ShapeRef.new(shape: ServiceName)
115
+
116
+ CreateMeshInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
117
+ CreateMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
118
+ CreateMeshInput.struct_class = Types::CreateMeshInput
119
+
120
+ CreateMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
121
+ CreateMeshOutput.struct_class = Types::CreateMeshOutput
122
+ CreateMeshOutput[:payload] = :mesh
123
+ CreateMeshOutput[:payload_member] = CreateMeshOutput.member(:mesh)
124
+
125
+ CreateRouteInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
126
+ CreateRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
127
+ CreateRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
128
+ CreateRouteInput.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, required: true, location_name: "spec"))
129
+ CreateRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
130
+ CreateRouteInput.struct_class = Types::CreateRouteInput
131
+
132
+ CreateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
133
+ CreateRouteOutput.struct_class = Types::CreateRouteOutput
134
+ CreateRouteOutput[:payload] = :route
135
+ CreateRouteOutput[:payload_member] = CreateRouteOutput.member(:route)
136
+
137
+ CreateVirtualNodeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
138
+ CreateVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
139
+ CreateVirtualNodeInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, required: true, location_name: "spec"))
140
+ CreateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
141
+ CreateVirtualNodeInput.struct_class = Types::CreateVirtualNodeInput
142
+
143
+ CreateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
144
+ CreateVirtualNodeOutput.struct_class = Types::CreateVirtualNodeOutput
145
+ CreateVirtualNodeOutput[:payload] = :virtual_node
146
+ CreateVirtualNodeOutput[:payload_member] = CreateVirtualNodeOutput.member(:virtual_node)
147
+
148
+ CreateVirtualRouterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
149
+ CreateVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
150
+ CreateVirtualRouterInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, required: true, location_name: "spec"))
151
+ CreateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
152
+ CreateVirtualRouterInput.struct_class = Types::CreateVirtualRouterInput
153
+
154
+ CreateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
155
+ CreateVirtualRouterOutput.struct_class = Types::CreateVirtualRouterOutput
156
+ CreateVirtualRouterOutput[:payload] = :virtual_router
157
+ CreateVirtualRouterOutput[:payload_member] = CreateVirtualRouterOutput.member(:virtual_router)
158
+
159
+ DeleteMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
160
+ DeleteMeshInput.struct_class = Types::DeleteMeshInput
161
+
162
+ DeleteMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
163
+ DeleteMeshOutput.struct_class = Types::DeleteMeshOutput
164
+ DeleteMeshOutput[:payload] = :mesh
165
+ DeleteMeshOutput[:payload_member] = DeleteMeshOutput.member(:mesh)
166
+
167
+ DeleteRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
168
+ DeleteRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
169
+ DeleteRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
170
+ DeleteRouteInput.struct_class = Types::DeleteRouteInput
171
+
172
+ DeleteRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
173
+ DeleteRouteOutput.struct_class = Types::DeleteRouteOutput
174
+ DeleteRouteOutput[:payload] = :route
175
+ DeleteRouteOutput[:payload_member] = DeleteRouteOutput.member(:route)
176
+
177
+ DeleteVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
178
+ DeleteVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
179
+ DeleteVirtualNodeInput.struct_class = Types::DeleteVirtualNodeInput
180
+
181
+ DeleteVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
182
+ DeleteVirtualNodeOutput.struct_class = Types::DeleteVirtualNodeOutput
183
+ DeleteVirtualNodeOutput[:payload] = :virtual_node
184
+ DeleteVirtualNodeOutput[:payload_member] = DeleteVirtualNodeOutput.member(:virtual_node)
185
+
186
+ DeleteVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
187
+ DeleteVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
188
+ DeleteVirtualRouterInput.struct_class = Types::DeleteVirtualRouterInput
189
+
190
+ DeleteVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
191
+ DeleteVirtualRouterOutput.struct_class = Types::DeleteVirtualRouterOutput
192
+ DeleteVirtualRouterOutput[:payload] = :virtual_router
193
+ DeleteVirtualRouterOutput[:payload_member] = DeleteVirtualRouterOutput.member(:virtual_router)
194
+
195
+ DescribeMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
196
+ DescribeMeshInput.struct_class = Types::DescribeMeshInput
197
+
198
+ DescribeMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
199
+ DescribeMeshOutput.struct_class = Types::DescribeMeshOutput
200
+ DescribeMeshOutput[:payload] = :mesh
201
+ DescribeMeshOutput[:payload_member] = DescribeMeshOutput.member(:mesh)
202
+
203
+ DescribeRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
204
+ DescribeRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
205
+ DescribeRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
206
+ DescribeRouteInput.struct_class = Types::DescribeRouteInput
207
+
208
+ DescribeRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
209
+ DescribeRouteOutput.struct_class = Types::DescribeRouteOutput
210
+ DescribeRouteOutput[:payload] = :route
211
+ DescribeRouteOutput[:payload_member] = DescribeRouteOutput.member(:route)
212
+
213
+ DescribeVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
214
+ DescribeVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
215
+ DescribeVirtualNodeInput.struct_class = Types::DescribeVirtualNodeInput
216
+
217
+ DescribeVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
218
+ DescribeVirtualNodeOutput.struct_class = Types::DescribeVirtualNodeOutput
219
+ DescribeVirtualNodeOutput[:payload] = :virtual_node
220
+ DescribeVirtualNodeOutput[:payload_member] = DescribeVirtualNodeOutput.member(:virtual_node)
221
+
222
+ DescribeVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
223
+ DescribeVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
224
+ DescribeVirtualRouterInput.struct_class = Types::DescribeVirtualRouterInput
225
+
226
+ DescribeVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
227
+ DescribeVirtualRouterOutput.struct_class = Types::DescribeVirtualRouterOutput
228
+ DescribeVirtualRouterOutput[:payload] = :virtual_router
229
+ DescribeVirtualRouterOutput[:payload_member] = DescribeVirtualRouterOutput.member(:virtual_router)
230
+
231
+ DnsServiceDiscovery.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "serviceName"))
232
+ DnsServiceDiscovery.struct_class = Types::DnsServiceDiscovery
233
+
234
+ HealthCheckPolicy.add_member(:healthy_threshold, Shapes::ShapeRef.new(shape: NonNegativeInt, location_name: "healthyThreshold"))
235
+ HealthCheckPolicy.add_member(:interval_millis, Shapes::ShapeRef.new(shape: DurationMillis, location_name: "intervalMillis"))
236
+ HealthCheckPolicy.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
237
+ HealthCheckPolicy.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "port"))
238
+ HealthCheckPolicy.add_member(:protocol, Shapes::ShapeRef.new(shape: PortProtocol, location_name: "protocol"))
239
+ HealthCheckPolicy.add_member(:timeout_millis, Shapes::ShapeRef.new(shape: DurationMillis, location_name: "timeoutMillis"))
240
+ HealthCheckPolicy.add_member(:unhealthy_threshold, Shapes::ShapeRef.new(shape: NonNegativeInt, location_name: "unhealthyThreshold"))
241
+ HealthCheckPolicy.struct_class = Types::HealthCheckPolicy
242
+
243
+ HttpRoute.add_member(:action, Shapes::ShapeRef.new(shape: HttpRouteAction, location_name: "action"))
244
+ HttpRoute.add_member(:match, Shapes::ShapeRef.new(shape: HttpRouteMatch, location_name: "match"))
245
+ HttpRoute.struct_class = Types::HttpRoute
246
+
247
+ HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, location_name: "weightedTargets"))
248
+ HttpRouteAction.struct_class = Types::HttpRouteAction
249
+
250
+ HttpRouteMatch.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "prefix"))
251
+ HttpRouteMatch.struct_class = Types::HttpRouteMatch
252
+
253
+ ListMeshesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListMeshesLimit, location: "querystring", location_name: "limit"))
254
+ ListMeshesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
255
+ ListMeshesInput.struct_class = Types::ListMeshesInput
256
+
257
+ ListMeshesOutput.add_member(:meshes, Shapes::ShapeRef.new(shape: MeshList, required: true, location_name: "meshes"))
258
+ ListMeshesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
259
+ ListMeshesOutput.struct_class = Types::ListMeshesOutput
260
+
261
+ ListRoutesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListRoutesLimit, location: "querystring", location_name: "limit"))
262
+ ListRoutesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
263
+ ListRoutesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
264
+ ListRoutesInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
265
+ ListRoutesInput.struct_class = Types::ListRoutesInput
266
+
267
+ ListRoutesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
268
+ ListRoutesOutput.add_member(:routes, Shapes::ShapeRef.new(shape: RouteList, required: true, location_name: "routes"))
269
+ ListRoutesOutput.struct_class = Types::ListRoutesOutput
270
+
271
+ ListVirtualNodesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualNodesLimit, location: "querystring", location_name: "limit"))
272
+ ListVirtualNodesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
273
+ ListVirtualNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
274
+ ListVirtualNodesInput.struct_class = Types::ListVirtualNodesInput
275
+
276
+ ListVirtualNodesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
277
+ ListVirtualNodesOutput.add_member(:virtual_nodes, Shapes::ShapeRef.new(shape: VirtualNodeList, required: true, location_name: "virtualNodes"))
278
+ ListVirtualNodesOutput.struct_class = Types::ListVirtualNodesOutput
279
+
280
+ ListVirtualRoutersInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualRoutersLimit, location: "querystring", location_name: "limit"))
281
+ ListVirtualRoutersInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
282
+ ListVirtualRoutersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
283
+ ListVirtualRoutersInput.struct_class = Types::ListVirtualRoutersInput
284
+
285
+ ListVirtualRoutersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
286
+ ListVirtualRoutersOutput.add_member(:virtual_routers, Shapes::ShapeRef.new(shape: VirtualRouterList, required: true, location_name: "virtualRouters"))
287
+ ListVirtualRoutersOutput.struct_class = Types::ListVirtualRoutersOutput
288
+
289
+ Listener.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheckPolicy, location_name: "healthCheck"))
290
+ Listener.add_member(:port_mapping, Shapes::ShapeRef.new(shape: PortMapping, location_name: "portMapping"))
291
+ Listener.struct_class = Types::Listener
292
+
293
+ Listeners.member = Shapes::ShapeRef.new(shape: Listener)
294
+
295
+ MeshData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
296
+ MeshData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
297
+ MeshData.add_member(:status, Shapes::ShapeRef.new(shape: MeshStatus, location_name: "status"))
298
+ MeshData.struct_class = Types::MeshData
299
+
300
+ MeshList.member = Shapes::ShapeRef.new(shape: MeshRef)
301
+
302
+ MeshRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
303
+ MeshRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
304
+ MeshRef.struct_class = Types::MeshRef
305
+
306
+ MeshStatus.add_member(:status, Shapes::ShapeRef.new(shape: MeshStatusCode, location_name: "status"))
307
+ MeshStatus.struct_class = Types::MeshStatus
308
+
309
+ PortMapping.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "port"))
310
+ PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: PortProtocol, location_name: "protocol"))
311
+ PortMapping.struct_class = Types::PortMapping
312
+
313
+ ResourceMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
314
+ ResourceMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
315
+ ResourceMetadata.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
316
+ ResourceMetadata.add_member(:uid, Shapes::ShapeRef.new(shape: String, location_name: "uid"))
317
+ ResourceMetadata.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
318
+ ResourceMetadata.struct_class = Types::ResourceMetadata
319
+
320
+ RouteData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
321
+ RouteData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
322
+ RouteData.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
323
+ RouteData.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, location_name: "spec"))
324
+ RouteData.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatus, location_name: "status"))
325
+ RouteData.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
326
+ RouteData.struct_class = Types::RouteData
327
+
328
+ RouteList.member = Shapes::ShapeRef.new(shape: RouteRef)
329
+
330
+ RouteRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
331
+ RouteRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
332
+ RouteRef.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "routeName"))
333
+ RouteRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualRouterName"))
334
+ RouteRef.struct_class = Types::RouteRef
335
+
336
+ RouteSpec.add_member(:http_route, Shapes::ShapeRef.new(shape: HttpRoute, location_name: "httpRoute"))
337
+ RouteSpec.struct_class = Types::RouteSpec
338
+
339
+ RouteStatus.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatusCode, location_name: "status"))
340
+ RouteStatus.struct_class = Types::RouteStatus
341
+
342
+ ServiceDiscovery.add_member(:dns, Shapes::ShapeRef.new(shape: DnsServiceDiscovery, location_name: "dns"))
343
+ ServiceDiscovery.struct_class = Types::ServiceDiscovery
344
+
345
+ ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
346
+
347
+ UpdateRouteInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
348
+ UpdateRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
349
+ UpdateRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
350
+ UpdateRouteInput.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, required: true, location_name: "spec"))
351
+ UpdateRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
352
+ UpdateRouteInput.struct_class = Types::UpdateRouteInput
353
+
354
+ UpdateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
355
+ UpdateRouteOutput.struct_class = Types::UpdateRouteOutput
356
+ UpdateRouteOutput[:payload] = :route
357
+ UpdateRouteOutput[:payload_member] = UpdateRouteOutput.member(:route)
358
+
359
+ UpdateVirtualNodeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
360
+ UpdateVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
361
+ UpdateVirtualNodeInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, required: true, location_name: "spec"))
362
+ UpdateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
363
+ UpdateVirtualNodeInput.struct_class = Types::UpdateVirtualNodeInput
364
+
365
+ UpdateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
366
+ UpdateVirtualNodeOutput.struct_class = Types::UpdateVirtualNodeOutput
367
+ UpdateVirtualNodeOutput[:payload] = :virtual_node
368
+ UpdateVirtualNodeOutput[:payload_member] = UpdateVirtualNodeOutput.member(:virtual_node)
369
+
370
+ UpdateVirtualRouterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
371
+ UpdateVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
372
+ UpdateVirtualRouterInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, required: true, location_name: "spec"))
373
+ UpdateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
374
+ UpdateVirtualRouterInput.struct_class = Types::UpdateVirtualRouterInput
375
+
376
+ UpdateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
377
+ UpdateVirtualRouterOutput.struct_class = Types::UpdateVirtualRouterOutput
378
+ UpdateVirtualRouterOutput[:payload] = :virtual_router
379
+ UpdateVirtualRouterOutput[:payload_member] = UpdateVirtualRouterOutput.member(:virtual_router)
380
+
381
+ VirtualNodeData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
382
+ VirtualNodeData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
383
+ VirtualNodeData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, location_name: "spec"))
384
+ VirtualNodeData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatus, location_name: "status"))
385
+ VirtualNodeData.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
386
+ VirtualNodeData.struct_class = Types::VirtualNodeData
387
+
388
+ VirtualNodeList.member = Shapes::ShapeRef.new(shape: VirtualNodeRef)
389
+
390
+ VirtualNodeRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
391
+ VirtualNodeRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
392
+ VirtualNodeRef.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualNodeName"))
393
+ VirtualNodeRef.struct_class = Types::VirtualNodeRef
394
+
395
+ VirtualNodeSpec.add_member(:backends, Shapes::ShapeRef.new(shape: Backends, location_name: "backends"))
396
+ VirtualNodeSpec.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "listeners"))
397
+ VirtualNodeSpec.add_member(:service_discovery, Shapes::ShapeRef.new(shape: ServiceDiscovery, location_name: "serviceDiscovery"))
398
+ VirtualNodeSpec.struct_class = Types::VirtualNodeSpec
399
+
400
+ VirtualNodeStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatusCode, location_name: "status"))
401
+ VirtualNodeStatus.struct_class = Types::VirtualNodeStatus
402
+
403
+ VirtualRouterData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
404
+ VirtualRouterData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
405
+ VirtualRouterData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, location_name: "spec"))
406
+ VirtualRouterData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatus, location_name: "status"))
407
+ VirtualRouterData.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
408
+ VirtualRouterData.struct_class = Types::VirtualRouterData
409
+
410
+ VirtualRouterList.member = Shapes::ShapeRef.new(shape: VirtualRouterRef)
411
+
412
+ VirtualRouterRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
413
+ VirtualRouterRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
414
+ VirtualRouterRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualRouterName"))
415
+ VirtualRouterRef.struct_class = Types::VirtualRouterRef
416
+
417
+ VirtualRouterSpec.add_member(:service_names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "serviceNames"))
418
+ VirtualRouterSpec.struct_class = Types::VirtualRouterSpec
419
+
420
+ VirtualRouterStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatusCode, location_name: "status"))
421
+ VirtualRouterStatus.struct_class = Types::VirtualRouterStatus
422
+
423
+ WeightedTarget.add_member(:virtual_node, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualNode"))
424
+ WeightedTarget.add_member(:weight, Shapes::ShapeRef.new(shape: PercentInt, location_name: "weight"))
425
+ WeightedTarget.struct_class = Types::WeightedTarget
426
+
427
+ WeightedTargets.member = Shapes::ShapeRef.new(shape: WeightedTarget)
428
+
429
+
430
+ # @api private
431
+ API = Seahorse::Model::Api.new.tap do |api|
432
+
433
+ api.version = "2018-10-01"
434
+
435
+ api.metadata = {
436
+ "apiVersion" => "2018-10-01",
437
+ "endpointPrefix" => "appmesh",
438
+ "jsonVersion" => "1.1",
439
+ "protocol" => "rest-json",
440
+ "serviceFullName" => "AWS App Mesh",
441
+ "serviceId" => "App Mesh",
442
+ "signatureVersion" => "v4",
443
+ "signingName" => "appmesh",
444
+ "uid" => "appmesh-2018-10-01",
445
+ }
446
+
447
+ api.add_operation(:create_mesh, Seahorse::Model::Operation.new.tap do |o|
448
+ o.name = "CreateMesh"
449
+ o.http_method = "PUT"
450
+ o.http_request_uri = "/meshes"
451
+ o.input = Shapes::ShapeRef.new(shape: CreateMeshInput)
452
+ o.output = Shapes::ShapeRef.new(shape: CreateMeshOutput)
453
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
455
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
456
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
457
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
458
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
460
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
461
+ end)
462
+
463
+ api.add_operation(:create_route, Seahorse::Model::Operation.new.tap do |o|
464
+ o.name = "CreateRoute"
465
+ o.http_method = "PUT"
466
+ o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
467
+ o.input = Shapes::ShapeRef.new(shape: CreateRouteInput)
468
+ o.output = Shapes::ShapeRef.new(shape: CreateRouteOutput)
469
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
470
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
471
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
472
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
473
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
474
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
475
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
476
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
477
+ end)
478
+
479
+ api.add_operation(:create_virtual_node, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "CreateVirtualNode"
481
+ o.http_method = "PUT"
482
+ o.http_request_uri = "/meshes/{meshName}/virtualNodes"
483
+ o.input = Shapes::ShapeRef.new(shape: CreateVirtualNodeInput)
484
+ o.output = Shapes::ShapeRef.new(shape: CreateVirtualNodeOutput)
485
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
488
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
489
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
490
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
491
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
492
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
493
+ end)
494
+
495
+ api.add_operation(:create_virtual_router, Seahorse::Model::Operation.new.tap do |o|
496
+ o.name = "CreateVirtualRouter"
497
+ o.http_method = "PUT"
498
+ o.http_request_uri = "/meshes/{meshName}/virtualRouters"
499
+ o.input = Shapes::ShapeRef.new(shape: CreateVirtualRouterInput)
500
+ o.output = Shapes::ShapeRef.new(shape: CreateVirtualRouterOutput)
501
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
502
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
504
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
505
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
506
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
508
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
509
+ end)
510
+
511
+ api.add_operation(:delete_mesh, Seahorse::Model::Operation.new.tap do |o|
512
+ o.name = "DeleteMesh"
513
+ o.http_method = "DELETE"
514
+ o.http_request_uri = "/meshes/{meshName}"
515
+ o.input = Shapes::ShapeRef.new(shape: DeleteMeshInput)
516
+ o.output = Shapes::ShapeRef.new(shape: DeleteMeshOutput)
517
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
519
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
520
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
521
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
522
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
523
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
524
+ end)
525
+
526
+ api.add_operation(:delete_route, Seahorse::Model::Operation.new.tap do |o|
527
+ o.name = "DeleteRoute"
528
+ o.http_method = "DELETE"
529
+ o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
530
+ o.input = Shapes::ShapeRef.new(shape: DeleteRouteInput)
531
+ o.output = Shapes::ShapeRef.new(shape: DeleteRouteOutput)
532
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
534
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
535
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
536
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
537
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
538
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
539
+ end)
540
+
541
+ api.add_operation(:delete_virtual_node, Seahorse::Model::Operation.new.tap do |o|
542
+ o.name = "DeleteVirtualNode"
543
+ o.http_method = "DELETE"
544
+ o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
545
+ o.input = Shapes::ShapeRef.new(shape: DeleteVirtualNodeInput)
546
+ o.output = Shapes::ShapeRef.new(shape: DeleteVirtualNodeOutput)
547
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
549
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
550
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
552
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
553
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
554
+ end)
555
+
556
+ api.add_operation(:delete_virtual_router, Seahorse::Model::Operation.new.tap do |o|
557
+ o.name = "DeleteVirtualRouter"
558
+ o.http_method = "DELETE"
559
+ o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
560
+ o.input = Shapes::ShapeRef.new(shape: DeleteVirtualRouterInput)
561
+ o.output = Shapes::ShapeRef.new(shape: DeleteVirtualRouterOutput)
562
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
563
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
564
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
565
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
566
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
567
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
568
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
569
+ end)
570
+
571
+ api.add_operation(:describe_mesh, Seahorse::Model::Operation.new.tap do |o|
572
+ o.name = "DescribeMesh"
573
+ o.http_method = "GET"
574
+ o.http_request_uri = "/meshes/{meshName}"
575
+ o.input = Shapes::ShapeRef.new(shape: DescribeMeshInput)
576
+ o.output = Shapes::ShapeRef.new(shape: DescribeMeshOutput)
577
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
578
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
579
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
580
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
582
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
583
+ end)
584
+
585
+ api.add_operation(:describe_route, Seahorse::Model::Operation.new.tap do |o|
586
+ o.name = "DescribeRoute"
587
+ o.http_method = "GET"
588
+ o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
589
+ o.input = Shapes::ShapeRef.new(shape: DescribeRouteInput)
590
+ o.output = Shapes::ShapeRef.new(shape: DescribeRouteOutput)
591
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
592
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
593
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
594
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
595
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
596
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
597
+ end)
598
+
599
+ api.add_operation(:describe_virtual_node, Seahorse::Model::Operation.new.tap do |o|
600
+ o.name = "DescribeVirtualNode"
601
+ o.http_method = "GET"
602
+ o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
603
+ o.input = Shapes::ShapeRef.new(shape: DescribeVirtualNodeInput)
604
+ o.output = Shapes::ShapeRef.new(shape: DescribeVirtualNodeOutput)
605
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
606
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
607
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
608
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
610
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
611
+ end)
612
+
613
+ api.add_operation(:describe_virtual_router, Seahorse::Model::Operation.new.tap do |o|
614
+ o.name = "DescribeVirtualRouter"
615
+ o.http_method = "GET"
616
+ o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
617
+ o.input = Shapes::ShapeRef.new(shape: DescribeVirtualRouterInput)
618
+ o.output = Shapes::ShapeRef.new(shape: DescribeVirtualRouterOutput)
619
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
620
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
621
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
622
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
624
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
625
+ end)
626
+
627
+ api.add_operation(:list_meshes, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "ListMeshes"
629
+ o.http_method = "GET"
630
+ o.http_request_uri = "/meshes"
631
+ o.input = Shapes::ShapeRef.new(shape: ListMeshesInput)
632
+ o.output = Shapes::ShapeRef.new(shape: ListMeshesOutput)
633
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
634
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
635
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
636
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
638
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
639
+ o[:pager] = Aws::Pager.new(
640
+ limit_key: "limit",
641
+ tokens: {
642
+ "next_token" => "next_token"
643
+ }
644
+ )
645
+ end)
646
+
647
+ api.add_operation(:list_routes, Seahorse::Model::Operation.new.tap do |o|
648
+ o.name = "ListRoutes"
649
+ o.http_method = "GET"
650
+ o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
651
+ o.input = Shapes::ShapeRef.new(shape: ListRoutesInput)
652
+ o.output = Shapes::ShapeRef.new(shape: ListRoutesOutput)
653
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
655
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
656
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
658
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
659
+ o[:pager] = Aws::Pager.new(
660
+ limit_key: "limit",
661
+ tokens: {
662
+ "next_token" => "next_token"
663
+ }
664
+ )
665
+ end)
666
+
667
+ api.add_operation(:list_virtual_nodes, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "ListVirtualNodes"
669
+ o.http_method = "GET"
670
+ o.http_request_uri = "/meshes/{meshName}/virtualNodes"
671
+ o.input = Shapes::ShapeRef.new(shape: ListVirtualNodesInput)
672
+ o.output = Shapes::ShapeRef.new(shape: ListVirtualNodesOutput)
673
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
674
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
675
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
676
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
678
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
679
+ o[:pager] = Aws::Pager.new(
680
+ limit_key: "limit",
681
+ tokens: {
682
+ "next_token" => "next_token"
683
+ }
684
+ )
685
+ end)
686
+
687
+ api.add_operation(:list_virtual_routers, Seahorse::Model::Operation.new.tap do |o|
688
+ o.name = "ListVirtualRouters"
689
+ o.http_method = "GET"
690
+ o.http_request_uri = "/meshes/{meshName}/virtualRouters"
691
+ o.input = Shapes::ShapeRef.new(shape: ListVirtualRoutersInput)
692
+ o.output = Shapes::ShapeRef.new(shape: ListVirtualRoutersOutput)
693
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
695
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
696
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
698
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
699
+ o[:pager] = Aws::Pager.new(
700
+ limit_key: "limit",
701
+ tokens: {
702
+ "next_token" => "next_token"
703
+ }
704
+ )
705
+ end)
706
+
707
+ api.add_operation(:update_route, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "UpdateRoute"
709
+ o.http_method = "PUT"
710
+ o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
711
+ o.input = Shapes::ShapeRef.new(shape: UpdateRouteInput)
712
+ o.output = Shapes::ShapeRef.new(shape: UpdateRouteOutput)
713
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
717
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
718
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
720
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
721
+ end)
722
+
723
+ api.add_operation(:update_virtual_node, Seahorse::Model::Operation.new.tap do |o|
724
+ o.name = "UpdateVirtualNode"
725
+ o.http_method = "PUT"
726
+ o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
727
+ o.input = Shapes::ShapeRef.new(shape: UpdateVirtualNodeInput)
728
+ o.output = Shapes::ShapeRef.new(shape: UpdateVirtualNodeOutput)
729
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
732
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
733
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
734
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
736
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
737
+ end)
738
+
739
+ api.add_operation(:update_virtual_router, Seahorse::Model::Operation.new.tap do |o|
740
+ o.name = "UpdateVirtualRouter"
741
+ o.http_method = "PUT"
742
+ o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
743
+ o.input = Shapes::ShapeRef.new(shape: UpdateVirtualRouterInput)
744
+ o.output = Shapes::ShapeRef.new(shape: UpdateVirtualRouterOutput)
745
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
748
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
749
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
750
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
751
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
752
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
753
+ end)
754
+ end
755
+
756
+ end
757
+ end