aws-sdk-appmesh 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,7 @@ module Aws::AppMesh
12
12
  include Seahorse::Model
13
13
 
14
14
  Arn = Shapes::StringShape.new(name: 'Arn')
15
+ Backend = Shapes::StructureShape.new(name: 'Backend')
15
16
  Backends = Shapes::ListShape.new(name: 'Backends')
16
17
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
17
18
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -23,6 +24,8 @@ module Aws::AppMesh
23
24
  CreateVirtualNodeOutput = Shapes::StructureShape.new(name: 'CreateVirtualNodeOutput')
24
25
  CreateVirtualRouterInput = Shapes::StructureShape.new(name: 'CreateVirtualRouterInput')
25
26
  CreateVirtualRouterOutput = Shapes::StructureShape.new(name: 'CreateVirtualRouterOutput')
27
+ CreateVirtualServiceInput = Shapes::StructureShape.new(name: 'CreateVirtualServiceInput')
28
+ CreateVirtualServiceOutput = Shapes::StructureShape.new(name: 'CreateVirtualServiceOutput')
26
29
  DeleteMeshInput = Shapes::StructureShape.new(name: 'DeleteMeshInput')
27
30
  DeleteMeshOutput = Shapes::StructureShape.new(name: 'DeleteMeshOutput')
28
31
  DeleteRouteInput = Shapes::StructureShape.new(name: 'DeleteRouteInput')
@@ -31,6 +34,8 @@ module Aws::AppMesh
31
34
  DeleteVirtualNodeOutput = Shapes::StructureShape.new(name: 'DeleteVirtualNodeOutput')
32
35
  DeleteVirtualRouterInput = Shapes::StructureShape.new(name: 'DeleteVirtualRouterInput')
33
36
  DeleteVirtualRouterOutput = Shapes::StructureShape.new(name: 'DeleteVirtualRouterOutput')
37
+ DeleteVirtualServiceInput = Shapes::StructureShape.new(name: 'DeleteVirtualServiceInput')
38
+ DeleteVirtualServiceOutput = Shapes::StructureShape.new(name: 'DeleteVirtualServiceOutput')
34
39
  DescribeMeshInput = Shapes::StructureShape.new(name: 'DescribeMeshInput')
35
40
  DescribeMeshOutput = Shapes::StructureShape.new(name: 'DescribeMeshOutput')
36
41
  DescribeRouteInput = Shapes::StructureShape.new(name: 'DescribeRouteInput')
@@ -39,12 +44,15 @@ module Aws::AppMesh
39
44
  DescribeVirtualNodeOutput = Shapes::StructureShape.new(name: 'DescribeVirtualNodeOutput')
40
45
  DescribeVirtualRouterInput = Shapes::StructureShape.new(name: 'DescribeVirtualRouterInput')
41
46
  DescribeVirtualRouterOutput = Shapes::StructureShape.new(name: 'DescribeVirtualRouterOutput')
47
+ DescribeVirtualServiceInput = Shapes::StructureShape.new(name: 'DescribeVirtualServiceInput')
48
+ DescribeVirtualServiceOutput = Shapes::StructureShape.new(name: 'DescribeVirtualServiceOutput')
42
49
  DnsServiceDiscovery = Shapes::StructureShape.new(name: 'DnsServiceDiscovery')
43
50
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
44
51
  HealthCheckIntervalMillis = Shapes::IntegerShape.new(name: 'HealthCheckIntervalMillis')
45
52
  HealthCheckPolicy = Shapes::StructureShape.new(name: 'HealthCheckPolicy')
46
53
  HealthCheckThreshold = Shapes::IntegerShape.new(name: 'HealthCheckThreshold')
47
54
  HealthCheckTimeoutMillis = Shapes::IntegerShape.new(name: 'HealthCheckTimeoutMillis')
55
+ Hostname = Shapes::StringShape.new(name: 'Hostname')
48
56
  HttpRoute = Shapes::StructureShape.new(name: 'HttpRoute')
49
57
  HttpRouteAction = Shapes::StructureShape.new(name: 'HttpRouteAction')
50
58
  HttpRouteMatch = Shapes::StructureShape.new(name: 'HttpRouteMatch')
@@ -62,6 +70,9 @@ module Aws::AppMesh
62
70
  ListVirtualRoutersInput = Shapes::StructureShape.new(name: 'ListVirtualRoutersInput')
63
71
  ListVirtualRoutersLimit = Shapes::IntegerShape.new(name: 'ListVirtualRoutersLimit')
64
72
  ListVirtualRoutersOutput = Shapes::StructureShape.new(name: 'ListVirtualRoutersOutput')
73
+ ListVirtualServicesInput = Shapes::StructureShape.new(name: 'ListVirtualServicesInput')
74
+ ListVirtualServicesLimit = Shapes::IntegerShape.new(name: 'ListVirtualServicesLimit')
75
+ ListVirtualServicesOutput = Shapes::StructureShape.new(name: 'ListVirtualServicesOutput')
65
76
  Listener = Shapes::StructureShape.new(name: 'Listener')
66
77
  Listeners = Shapes::ListShape.new(name: 'Listeners')
67
78
  Long = Shapes::IntegerShape.new(name: 'Long')
@@ -86,7 +97,6 @@ module Aws::AppMesh
86
97
  RouteStatusCode = Shapes::StringShape.new(name: 'RouteStatusCode')
87
98
  ServiceDiscovery = Shapes::StructureShape.new(name: 'ServiceDiscovery')
88
99
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
89
- ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
90
100
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
91
101
  String = Shapes::StringShape.new(name: 'String')
92
102
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -97,28 +107,45 @@ module Aws::AppMesh
97
107
  UpdateVirtualNodeOutput = Shapes::StructureShape.new(name: 'UpdateVirtualNodeOutput')
98
108
  UpdateVirtualRouterInput = Shapes::StructureShape.new(name: 'UpdateVirtualRouterInput')
99
109
  UpdateVirtualRouterOutput = Shapes::StructureShape.new(name: 'UpdateVirtualRouterOutput')
110
+ UpdateVirtualServiceInput = Shapes::StructureShape.new(name: 'UpdateVirtualServiceInput')
111
+ UpdateVirtualServiceOutput = Shapes::StructureShape.new(name: 'UpdateVirtualServiceOutput')
100
112
  VirtualNodeData = Shapes::StructureShape.new(name: 'VirtualNodeData')
101
113
  VirtualNodeList = Shapes::ListShape.new(name: 'VirtualNodeList')
102
114
  VirtualNodeRef = Shapes::StructureShape.new(name: 'VirtualNodeRef')
115
+ VirtualNodeServiceProvider = Shapes::StructureShape.new(name: 'VirtualNodeServiceProvider')
103
116
  VirtualNodeSpec = Shapes::StructureShape.new(name: 'VirtualNodeSpec')
104
117
  VirtualNodeStatus = Shapes::StructureShape.new(name: 'VirtualNodeStatus')
105
118
  VirtualNodeStatusCode = Shapes::StringShape.new(name: 'VirtualNodeStatusCode')
106
119
  VirtualRouterData = Shapes::StructureShape.new(name: 'VirtualRouterData')
107
120
  VirtualRouterList = Shapes::ListShape.new(name: 'VirtualRouterList')
121
+ VirtualRouterListener = Shapes::StructureShape.new(name: 'VirtualRouterListener')
122
+ VirtualRouterListeners = Shapes::ListShape.new(name: 'VirtualRouterListeners')
108
123
  VirtualRouterRef = Shapes::StructureShape.new(name: 'VirtualRouterRef')
124
+ VirtualRouterServiceProvider = Shapes::StructureShape.new(name: 'VirtualRouterServiceProvider')
109
125
  VirtualRouterSpec = Shapes::StructureShape.new(name: 'VirtualRouterSpec')
110
126
  VirtualRouterStatus = Shapes::StructureShape.new(name: 'VirtualRouterStatus')
111
127
  VirtualRouterStatusCode = Shapes::StringShape.new(name: 'VirtualRouterStatusCode')
128
+ VirtualServiceBackend = Shapes::StructureShape.new(name: 'VirtualServiceBackend')
129
+ VirtualServiceData = Shapes::StructureShape.new(name: 'VirtualServiceData')
130
+ VirtualServiceList = Shapes::ListShape.new(name: 'VirtualServiceList')
131
+ VirtualServiceProvider = Shapes::StructureShape.new(name: 'VirtualServiceProvider')
132
+ VirtualServiceRef = Shapes::StructureShape.new(name: 'VirtualServiceRef')
133
+ VirtualServiceSpec = Shapes::StructureShape.new(name: 'VirtualServiceSpec')
134
+ VirtualServiceStatus = Shapes::StructureShape.new(name: 'VirtualServiceStatus')
135
+ VirtualServiceStatusCode = Shapes::StringShape.new(name: 'VirtualServiceStatusCode')
112
136
  WeightedTarget = Shapes::StructureShape.new(name: 'WeightedTarget')
113
137
  WeightedTargets = Shapes::ListShape.new(name: 'WeightedTargets')
114
138
 
115
- Backends.member = Shapes::ShapeRef.new(shape: ServiceName)
139
+ Backend.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceBackend, location_name: "virtualService"))
140
+ Backend.struct_class = Types::Backend
141
+
142
+ Backends.member = Shapes::ShapeRef.new(shape: Backend)
116
143
 
117
144
  CreateMeshInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
118
145
  CreateMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
119
146
  CreateMeshInput.struct_class = Types::CreateMeshInput
120
147
 
121
- CreateMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
148
+ CreateMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, required: true, location_name: "mesh"))
122
149
  CreateMeshOutput.struct_class = Types::CreateMeshOutput
123
150
  CreateMeshOutput[:payload] = :mesh
124
151
  CreateMeshOutput[:payload_member] = CreateMeshOutput.member(:mesh)
@@ -130,7 +157,7 @@ module Aws::AppMesh
130
157
  CreateRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
131
158
  CreateRouteInput.struct_class = Types::CreateRouteInput
132
159
 
133
- CreateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
160
+ CreateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, required: true, location_name: "route"))
134
161
  CreateRouteOutput.struct_class = Types::CreateRouteOutput
135
162
  CreateRouteOutput[:payload] = :route
136
163
  CreateRouteOutput[:payload_member] = CreateRouteOutput.member(:route)
@@ -141,7 +168,7 @@ module Aws::AppMesh
141
168
  CreateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
142
169
  CreateVirtualNodeInput.struct_class = Types::CreateVirtualNodeInput
143
170
 
144
- CreateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
171
+ CreateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, required: true, location_name: "virtualNode"))
145
172
  CreateVirtualNodeOutput.struct_class = Types::CreateVirtualNodeOutput
146
173
  CreateVirtualNodeOutput[:payload] = :virtual_node
147
174
  CreateVirtualNodeOutput[:payload_member] = CreateVirtualNodeOutput.member(:virtual_node)
@@ -152,15 +179,26 @@ module Aws::AppMesh
152
179
  CreateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
153
180
  CreateVirtualRouterInput.struct_class = Types::CreateVirtualRouterInput
154
181
 
155
- CreateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
182
+ CreateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, required: true, location_name: "virtualRouter"))
156
183
  CreateVirtualRouterOutput.struct_class = Types::CreateVirtualRouterOutput
157
184
  CreateVirtualRouterOutput[:payload] = :virtual_router
158
185
  CreateVirtualRouterOutput[:payload_member] = CreateVirtualRouterOutput.member(:virtual_router)
159
186
 
187
+ CreateVirtualServiceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
188
+ CreateVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
189
+ CreateVirtualServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualServiceSpec, required: true, location_name: "spec"))
190
+ CreateVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
191
+ CreateVirtualServiceInput.struct_class = Types::CreateVirtualServiceInput
192
+
193
+ CreateVirtualServiceOutput.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceData, required: true, location_name: "virtualService"))
194
+ CreateVirtualServiceOutput.struct_class = Types::CreateVirtualServiceOutput
195
+ CreateVirtualServiceOutput[:payload] = :virtual_service
196
+ CreateVirtualServiceOutput[:payload_member] = CreateVirtualServiceOutput.member(:virtual_service)
197
+
160
198
  DeleteMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
161
199
  DeleteMeshInput.struct_class = Types::DeleteMeshInput
162
200
 
163
- DeleteMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
201
+ DeleteMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, required: true, location_name: "mesh"))
164
202
  DeleteMeshOutput.struct_class = Types::DeleteMeshOutput
165
203
  DeleteMeshOutput[:payload] = :mesh
166
204
  DeleteMeshOutput[:payload_member] = DeleteMeshOutput.member(:mesh)
@@ -170,7 +208,7 @@ module Aws::AppMesh
170
208
  DeleteRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
171
209
  DeleteRouteInput.struct_class = Types::DeleteRouteInput
172
210
 
173
- DeleteRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
211
+ DeleteRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, required: true, location_name: "route"))
174
212
  DeleteRouteOutput.struct_class = Types::DeleteRouteOutput
175
213
  DeleteRouteOutput[:payload] = :route
176
214
  DeleteRouteOutput[:payload_member] = DeleteRouteOutput.member(:route)
@@ -179,7 +217,7 @@ module Aws::AppMesh
179
217
  DeleteVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
180
218
  DeleteVirtualNodeInput.struct_class = Types::DeleteVirtualNodeInput
181
219
 
182
- DeleteVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
220
+ DeleteVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, required: true, location_name: "virtualNode"))
183
221
  DeleteVirtualNodeOutput.struct_class = Types::DeleteVirtualNodeOutput
184
222
  DeleteVirtualNodeOutput[:payload] = :virtual_node
185
223
  DeleteVirtualNodeOutput[:payload_member] = DeleteVirtualNodeOutput.member(:virtual_node)
@@ -188,15 +226,24 @@ module Aws::AppMesh
188
226
  DeleteVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
189
227
  DeleteVirtualRouterInput.struct_class = Types::DeleteVirtualRouterInput
190
228
 
191
- DeleteVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
229
+ DeleteVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, required: true, location_name: "virtualRouter"))
192
230
  DeleteVirtualRouterOutput.struct_class = Types::DeleteVirtualRouterOutput
193
231
  DeleteVirtualRouterOutput[:payload] = :virtual_router
194
232
  DeleteVirtualRouterOutput[:payload_member] = DeleteVirtualRouterOutput.member(:virtual_router)
195
233
 
234
+ DeleteVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
235
+ DeleteVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
236
+ DeleteVirtualServiceInput.struct_class = Types::DeleteVirtualServiceInput
237
+
238
+ DeleteVirtualServiceOutput.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceData, required: true, location_name: "virtualService"))
239
+ DeleteVirtualServiceOutput.struct_class = Types::DeleteVirtualServiceOutput
240
+ DeleteVirtualServiceOutput[:payload] = :virtual_service
241
+ DeleteVirtualServiceOutput[:payload_member] = DeleteVirtualServiceOutput.member(:virtual_service)
242
+
196
243
  DescribeMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
197
244
  DescribeMeshInput.struct_class = Types::DescribeMeshInput
198
245
 
199
- DescribeMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, location_name: "mesh"))
246
+ DescribeMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, required: true, location_name: "mesh"))
200
247
  DescribeMeshOutput.struct_class = Types::DescribeMeshOutput
201
248
  DescribeMeshOutput[:payload] = :mesh
202
249
  DescribeMeshOutput[:payload_member] = DescribeMeshOutput.member(:mesh)
@@ -206,7 +253,7 @@ module Aws::AppMesh
206
253
  DescribeRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
207
254
  DescribeRouteInput.struct_class = Types::DescribeRouteInput
208
255
 
209
- DescribeRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
256
+ DescribeRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, required: true, location_name: "route"))
210
257
  DescribeRouteOutput.struct_class = Types::DescribeRouteOutput
211
258
  DescribeRouteOutput[:payload] = :route
212
259
  DescribeRouteOutput[:payload_member] = DescribeRouteOutput.member(:route)
@@ -215,7 +262,7 @@ module Aws::AppMesh
215
262
  DescribeVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
216
263
  DescribeVirtualNodeInput.struct_class = Types::DescribeVirtualNodeInput
217
264
 
218
- DescribeVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
265
+ DescribeVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, required: true, location_name: "virtualNode"))
219
266
  DescribeVirtualNodeOutput.struct_class = Types::DescribeVirtualNodeOutput
220
267
  DescribeVirtualNodeOutput[:payload] = :virtual_node
221
268
  DescribeVirtualNodeOutput[:payload_member] = DescribeVirtualNodeOutput.member(:virtual_node)
@@ -224,12 +271,21 @@ module Aws::AppMesh
224
271
  DescribeVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
225
272
  DescribeVirtualRouterInput.struct_class = Types::DescribeVirtualRouterInput
226
273
 
227
- DescribeVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
274
+ DescribeVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, required: true, location_name: "virtualRouter"))
228
275
  DescribeVirtualRouterOutput.struct_class = Types::DescribeVirtualRouterOutput
229
276
  DescribeVirtualRouterOutput[:payload] = :virtual_router
230
277
  DescribeVirtualRouterOutput[:payload_member] = DescribeVirtualRouterOutput.member(:virtual_router)
231
278
 
232
- DnsServiceDiscovery.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "serviceName"))
279
+ DescribeVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
280
+ DescribeVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
281
+ DescribeVirtualServiceInput.struct_class = Types::DescribeVirtualServiceInput
282
+
283
+ DescribeVirtualServiceOutput.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceData, required: true, location_name: "virtualService"))
284
+ DescribeVirtualServiceOutput.struct_class = Types::DescribeVirtualServiceOutput
285
+ DescribeVirtualServiceOutput[:payload] = :virtual_service
286
+ DescribeVirtualServiceOutput[:payload_member] = DescribeVirtualServiceOutput.member(:virtual_service)
287
+
288
+ DnsServiceDiscovery.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, required: true, location_name: "hostname"))
233
289
  DnsServiceDiscovery.struct_class = Types::DnsServiceDiscovery
234
290
 
235
291
  HealthCheckPolicy.add_member(:healthy_threshold, Shapes::ShapeRef.new(shape: HealthCheckThreshold, required: true, location_name: "healthyThreshold"))
@@ -241,14 +297,14 @@ module Aws::AppMesh
241
297
  HealthCheckPolicy.add_member(:unhealthy_threshold, Shapes::ShapeRef.new(shape: HealthCheckThreshold, required: true, location_name: "unhealthyThreshold"))
242
298
  HealthCheckPolicy.struct_class = Types::HealthCheckPolicy
243
299
 
244
- HttpRoute.add_member(:action, Shapes::ShapeRef.new(shape: HttpRouteAction, location_name: "action"))
245
- HttpRoute.add_member(:match, Shapes::ShapeRef.new(shape: HttpRouteMatch, location_name: "match"))
300
+ HttpRoute.add_member(:action, Shapes::ShapeRef.new(shape: HttpRouteAction, required: true, location_name: "action"))
301
+ HttpRoute.add_member(:match, Shapes::ShapeRef.new(shape: HttpRouteMatch, required: true, location_name: "match"))
246
302
  HttpRoute.struct_class = Types::HttpRoute
247
303
 
248
- HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, location_name: "weightedTargets"))
304
+ HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
249
305
  HttpRouteAction.struct_class = Types::HttpRouteAction
250
306
 
251
- HttpRouteMatch.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "prefix"))
307
+ HttpRouteMatch.add_member(:prefix, Shapes::ShapeRef.new(shape: String, required: true, location_name: "prefix"))
252
308
  HttpRouteMatch.struct_class = Types::HttpRouteMatch
253
309
 
254
310
  ListMeshesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListMeshesLimit, location: "querystring", location_name: "limit"))
@@ -287,64 +343,71 @@ module Aws::AppMesh
287
343
  ListVirtualRoutersOutput.add_member(:virtual_routers, Shapes::ShapeRef.new(shape: VirtualRouterList, required: true, location_name: "virtualRouters"))
288
344
  ListVirtualRoutersOutput.struct_class = Types::ListVirtualRoutersOutput
289
345
 
346
+ ListVirtualServicesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualServicesLimit, location: "querystring", location_name: "limit"))
347
+ ListVirtualServicesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
348
+ ListVirtualServicesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
349
+ ListVirtualServicesInput.struct_class = Types::ListVirtualServicesInput
350
+
351
+ ListVirtualServicesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
352
+ ListVirtualServicesOutput.add_member(:virtual_services, Shapes::ShapeRef.new(shape: VirtualServiceList, required: true, location_name: "virtualServices"))
353
+ ListVirtualServicesOutput.struct_class = Types::ListVirtualServicesOutput
354
+
290
355
  Listener.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheckPolicy, location_name: "healthCheck"))
291
- Listener.add_member(:port_mapping, Shapes::ShapeRef.new(shape: PortMapping, location_name: "portMapping"))
356
+ Listener.add_member(:port_mapping, Shapes::ShapeRef.new(shape: PortMapping, required: true, location_name: "portMapping"))
292
357
  Listener.struct_class = Types::Listener
293
358
 
294
359
  Listeners.member = Shapes::ShapeRef.new(shape: Listener)
295
360
 
296
361
  MeshData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
297
362
  MeshData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
298
- MeshData.add_member(:status, Shapes::ShapeRef.new(shape: MeshStatus, location_name: "status"))
363
+ MeshData.add_member(:status, Shapes::ShapeRef.new(shape: MeshStatus, required: true, location_name: "status"))
299
364
  MeshData.struct_class = Types::MeshData
300
365
 
301
366
  MeshList.member = Shapes::ShapeRef.new(shape: MeshRef)
302
367
 
303
- MeshRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
304
- MeshRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
368
+ MeshRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
369
+ MeshRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
305
370
  MeshRef.struct_class = Types::MeshRef
306
371
 
307
372
  MeshStatus.add_member(:status, Shapes::ShapeRef.new(shape: MeshStatusCode, location_name: "status"))
308
373
  MeshStatus.struct_class = Types::MeshStatus
309
374
 
310
- PortMapping.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "port"))
311
- PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: PortProtocol, location_name: "protocol"))
375
+ PortMapping.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
376
+ PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: PortProtocol, required: true, location_name: "protocol"))
312
377
  PortMapping.struct_class = Types::PortMapping
313
378
 
314
- ResourceMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
315
- ResourceMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
316
- ResourceMetadata.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
317
- ResourceMetadata.add_member(:uid, Shapes::ShapeRef.new(shape: String, location_name: "uid"))
318
- ResourceMetadata.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
379
+ ResourceMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
380
+ ResourceMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
381
+ ResourceMetadata.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedAt"))
382
+ ResourceMetadata.add_member(:uid, Shapes::ShapeRef.new(shape: String, required: true, location_name: "uid"))
383
+ ResourceMetadata.add_member(:version, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "version"))
319
384
  ResourceMetadata.struct_class = Types::ResourceMetadata
320
385
 
321
386
  RouteData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
322
- RouteData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
387
+ RouteData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
323
388
  RouteData.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
324
- RouteData.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, location_name: "spec"))
325
- RouteData.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatus, location_name: "status"))
389
+ RouteData.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, required: true, location_name: "spec"))
390
+ RouteData.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatus, required: true, location_name: "status"))
326
391
  RouteData.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
327
392
  RouteData.struct_class = Types::RouteData
328
393
 
329
394
  RouteList.member = Shapes::ShapeRef.new(shape: RouteRef)
330
395
 
331
- RouteRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
332
- RouteRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
333
- RouteRef.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "routeName"))
334
- RouteRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualRouterName"))
396
+ RouteRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
397
+ RouteRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
398
+ RouteRef.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
399
+ RouteRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
335
400
  RouteRef.struct_class = Types::RouteRef
336
401
 
337
402
  RouteSpec.add_member(:http_route, Shapes::ShapeRef.new(shape: HttpRoute, location_name: "httpRoute"))
338
403
  RouteSpec.struct_class = Types::RouteSpec
339
404
 
340
- RouteStatus.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatusCode, location_name: "status"))
405
+ RouteStatus.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatusCode, required: true, location_name: "status"))
341
406
  RouteStatus.struct_class = Types::RouteStatus
342
407
 
343
408
  ServiceDiscovery.add_member(:dns, Shapes::ShapeRef.new(shape: DnsServiceDiscovery, location_name: "dns"))
344
409
  ServiceDiscovery.struct_class = Types::ServiceDiscovery
345
410
 
346
- ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
347
-
348
411
  UpdateRouteInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
349
412
  UpdateRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
350
413
  UpdateRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
@@ -352,7 +415,7 @@ module Aws::AppMesh
352
415
  UpdateRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
353
416
  UpdateRouteInput.struct_class = Types::UpdateRouteInput
354
417
 
355
- UpdateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, location_name: "route"))
418
+ UpdateRouteOutput.add_member(:route, Shapes::ShapeRef.new(shape: RouteData, required: true, location_name: "route"))
356
419
  UpdateRouteOutput.struct_class = Types::UpdateRouteOutput
357
420
  UpdateRouteOutput[:payload] = :route
358
421
  UpdateRouteOutput[:payload_member] = UpdateRouteOutput.member(:route)
@@ -363,7 +426,7 @@ module Aws::AppMesh
363
426
  UpdateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
364
427
  UpdateVirtualNodeInput.struct_class = Types::UpdateVirtualNodeInput
365
428
 
366
- UpdateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, location_name: "virtualNode"))
429
+ UpdateVirtualNodeOutput.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeData, required: true, location_name: "virtualNode"))
367
430
  UpdateVirtualNodeOutput.struct_class = Types::UpdateVirtualNodeOutput
368
431
  UpdateVirtualNodeOutput[:payload] = :virtual_node
369
432
  UpdateVirtualNodeOutput[:payload_member] = UpdateVirtualNodeOutput.member(:virtual_node)
@@ -374,55 +437,104 @@ module Aws::AppMesh
374
437
  UpdateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
375
438
  UpdateVirtualRouterInput.struct_class = Types::UpdateVirtualRouterInput
376
439
 
377
- UpdateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, location_name: "virtualRouter"))
440
+ UpdateVirtualRouterOutput.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterData, required: true, location_name: "virtualRouter"))
378
441
  UpdateVirtualRouterOutput.struct_class = Types::UpdateVirtualRouterOutput
379
442
  UpdateVirtualRouterOutput[:payload] = :virtual_router
380
443
  UpdateVirtualRouterOutput[:payload_member] = UpdateVirtualRouterOutput.member(:virtual_router)
381
444
 
445
+ UpdateVirtualServiceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
446
+ UpdateVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
447
+ UpdateVirtualServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualServiceSpec, required: true, location_name: "spec"))
448
+ UpdateVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
449
+ UpdateVirtualServiceInput.struct_class = Types::UpdateVirtualServiceInput
450
+
451
+ UpdateVirtualServiceOutput.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceData, required: true, location_name: "virtualService"))
452
+ UpdateVirtualServiceOutput.struct_class = Types::UpdateVirtualServiceOutput
453
+ UpdateVirtualServiceOutput[:payload] = :virtual_service
454
+ UpdateVirtualServiceOutput[:payload_member] = UpdateVirtualServiceOutput.member(:virtual_service)
455
+
382
456
  VirtualNodeData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
383
- VirtualNodeData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
384
- VirtualNodeData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, location_name: "spec"))
385
- VirtualNodeData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatus, location_name: "status"))
457
+ VirtualNodeData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
458
+ VirtualNodeData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, required: true, location_name: "spec"))
459
+ VirtualNodeData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatus, required: true, location_name: "status"))
386
460
  VirtualNodeData.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
387
461
  VirtualNodeData.struct_class = Types::VirtualNodeData
388
462
 
389
463
  VirtualNodeList.member = Shapes::ShapeRef.new(shape: VirtualNodeRef)
390
464
 
391
- VirtualNodeRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
392
- VirtualNodeRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
393
- VirtualNodeRef.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualNodeName"))
465
+ VirtualNodeRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
466
+ VirtualNodeRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
467
+ VirtualNodeRef.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
394
468
  VirtualNodeRef.struct_class = Types::VirtualNodeRef
395
469
 
470
+ VirtualNodeServiceProvider.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
471
+ VirtualNodeServiceProvider.struct_class = Types::VirtualNodeServiceProvider
472
+
396
473
  VirtualNodeSpec.add_member(:backends, Shapes::ShapeRef.new(shape: Backends, location_name: "backends"))
397
474
  VirtualNodeSpec.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "listeners"))
398
475
  VirtualNodeSpec.add_member(:service_discovery, Shapes::ShapeRef.new(shape: ServiceDiscovery, location_name: "serviceDiscovery"))
399
476
  VirtualNodeSpec.struct_class = Types::VirtualNodeSpec
400
477
 
401
- VirtualNodeStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatusCode, location_name: "status"))
478
+ VirtualNodeStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualNodeStatusCode, required: true, location_name: "status"))
402
479
  VirtualNodeStatus.struct_class = Types::VirtualNodeStatus
403
480
 
404
481
  VirtualRouterData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
405
- VirtualRouterData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "metadata"))
406
- VirtualRouterData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, location_name: "spec"))
407
- VirtualRouterData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatus, location_name: "status"))
482
+ VirtualRouterData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
483
+ VirtualRouterData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, required: true, location_name: "spec"))
484
+ VirtualRouterData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatus, required: true, location_name: "status"))
408
485
  VirtualRouterData.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
409
486
  VirtualRouterData.struct_class = Types::VirtualRouterData
410
487
 
411
488
  VirtualRouterList.member = Shapes::ShapeRef.new(shape: VirtualRouterRef)
412
489
 
413
- VirtualRouterRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
414
- VirtualRouterRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "meshName"))
415
- VirtualRouterRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualRouterName"))
490
+ VirtualRouterListener.add_member(:port_mapping, Shapes::ShapeRef.new(shape: PortMapping, required: true, location_name: "portMapping"))
491
+ VirtualRouterListener.struct_class = Types::VirtualRouterListener
492
+
493
+ VirtualRouterListeners.member = Shapes::ShapeRef.new(shape: VirtualRouterListener)
494
+
495
+ VirtualRouterRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
496
+ VirtualRouterRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
497
+ VirtualRouterRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
416
498
  VirtualRouterRef.struct_class = Types::VirtualRouterRef
417
499
 
418
- VirtualRouterSpec.add_member(:service_names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "serviceNames"))
500
+ VirtualRouterServiceProvider.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
501
+ VirtualRouterServiceProvider.struct_class = Types::VirtualRouterServiceProvider
502
+
503
+ VirtualRouterSpec.add_member(:listeners, Shapes::ShapeRef.new(shape: VirtualRouterListeners, required: true, location_name: "listeners"))
419
504
  VirtualRouterSpec.struct_class = Types::VirtualRouterSpec
420
505
 
421
- VirtualRouterStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatusCode, location_name: "status"))
506
+ VirtualRouterStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatusCode, required: true, location_name: "status"))
422
507
  VirtualRouterStatus.struct_class = Types::VirtualRouterStatus
423
508
 
424
- WeightedTarget.add_member(:virtual_node, Shapes::ShapeRef.new(shape: ResourceName, location_name: "virtualNode"))
425
- WeightedTarget.add_member(:weight, Shapes::ShapeRef.new(shape: PercentInt, location_name: "weight"))
509
+ VirtualServiceBackend.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
510
+ VirtualServiceBackend.struct_class = Types::VirtualServiceBackend
511
+
512
+ VirtualServiceData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
513
+ VirtualServiceData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
514
+ VirtualServiceData.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualServiceSpec, required: true, location_name: "spec"))
515
+ VirtualServiceData.add_member(:status, Shapes::ShapeRef.new(shape: VirtualServiceStatus, required: true, location_name: "status"))
516
+ VirtualServiceData.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
517
+ VirtualServiceData.struct_class = Types::VirtualServiceData
518
+
519
+ VirtualServiceList.member = Shapes::ShapeRef.new(shape: VirtualServiceRef)
520
+
521
+ VirtualServiceProvider.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeServiceProvider, location_name: "virtualNode"))
522
+ VirtualServiceProvider.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterServiceProvider, location_name: "virtualRouter"))
523
+ VirtualServiceProvider.struct_class = Types::VirtualServiceProvider
524
+
525
+ VirtualServiceRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
526
+ VirtualServiceRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
527
+ VirtualServiceRef.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
528
+ VirtualServiceRef.struct_class = Types::VirtualServiceRef
529
+
530
+ VirtualServiceSpec.add_member(:provider, Shapes::ShapeRef.new(shape: VirtualServiceProvider, location_name: "provider"))
531
+ VirtualServiceSpec.struct_class = Types::VirtualServiceSpec
532
+
533
+ VirtualServiceStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualServiceStatusCode, required: true, location_name: "status"))
534
+ VirtualServiceStatus.struct_class = Types::VirtualServiceStatus
535
+
536
+ WeightedTarget.add_member(:virtual_node, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNode"))
537
+ WeightedTarget.add_member(:weight, Shapes::ShapeRef.new(shape: PercentInt, required: true, location_name: "weight"))
426
538
  WeightedTarget.struct_class = Types::WeightedTarget
427
539
 
428
540
  WeightedTargets.member = Shapes::ShapeRef.new(shape: WeightedTarget)
@@ -431,10 +543,10 @@ module Aws::AppMesh
431
543
  # @api private
432
544
  API = Seahorse::Model::Api.new.tap do |api|
433
545
 
434
- api.version = "2018-10-01"
546
+ api.version = "2019-01-25"
435
547
 
436
548
  api.metadata = {
437
- "apiVersion" => "2018-10-01",
549
+ "apiVersion" => "2019-01-25",
438
550
  "endpointPrefix" => "appmesh",
439
551
  "jsonVersion" => "1.1",
440
552
  "protocol" => "rest-json",
@@ -442,13 +554,13 @@ module Aws::AppMesh
442
554
  "serviceId" => "App Mesh",
443
555
  "signatureVersion" => "v4",
444
556
  "signingName" => "appmesh",
445
- "uid" => "appmesh-2018-10-01",
557
+ "uid" => "appmesh-2019-01-25",
446
558
  }
447
559
 
448
560
  api.add_operation(:create_mesh, Seahorse::Model::Operation.new.tap do |o|
449
561
  o.name = "CreateMesh"
450
562
  o.http_method = "PUT"
451
- o.http_request_uri = "/meshes"
563
+ o.http_request_uri = "/v20190125/meshes"
452
564
  o.input = Shapes::ShapeRef.new(shape: CreateMeshInput)
453
565
  o.output = Shapes::ShapeRef.new(shape: CreateMeshOutput)
454
566
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -464,7 +576,7 @@ module Aws::AppMesh
464
576
  api.add_operation(:create_route, Seahorse::Model::Operation.new.tap do |o|
465
577
  o.name = "CreateRoute"
466
578
  o.http_method = "PUT"
467
- o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
579
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
468
580
  o.input = Shapes::ShapeRef.new(shape: CreateRouteInput)
469
581
  o.output = Shapes::ShapeRef.new(shape: CreateRouteOutput)
470
582
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -480,7 +592,7 @@ module Aws::AppMesh
480
592
  api.add_operation(:create_virtual_node, Seahorse::Model::Operation.new.tap do |o|
481
593
  o.name = "CreateVirtualNode"
482
594
  o.http_method = "PUT"
483
- o.http_request_uri = "/meshes/{meshName}/virtualNodes"
595
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualNodes"
484
596
  o.input = Shapes::ShapeRef.new(shape: CreateVirtualNodeInput)
485
597
  o.output = Shapes::ShapeRef.new(shape: CreateVirtualNodeOutput)
486
598
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -496,7 +608,7 @@ module Aws::AppMesh
496
608
  api.add_operation(:create_virtual_router, Seahorse::Model::Operation.new.tap do |o|
497
609
  o.name = "CreateVirtualRouter"
498
610
  o.http_method = "PUT"
499
- o.http_request_uri = "/meshes/{meshName}/virtualRouters"
611
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouters"
500
612
  o.input = Shapes::ShapeRef.new(shape: CreateVirtualRouterInput)
501
613
  o.output = Shapes::ShapeRef.new(shape: CreateVirtualRouterOutput)
502
614
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -509,10 +621,26 @@ module Aws::AppMesh
509
621
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
510
622
  end)
511
623
 
624
+ api.add_operation(:create_virtual_service, Seahorse::Model::Operation.new.tap do |o|
625
+ o.name = "CreateVirtualService"
626
+ o.http_method = "PUT"
627
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualServices"
628
+ o.input = Shapes::ShapeRef.new(shape: CreateVirtualServiceInput)
629
+ o.output = Shapes::ShapeRef.new(shape: CreateVirtualServiceOutput)
630
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
631
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
633
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
634
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
635
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
637
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
638
+ end)
639
+
512
640
  api.add_operation(:delete_mesh, Seahorse::Model::Operation.new.tap do |o|
513
641
  o.name = "DeleteMesh"
514
642
  o.http_method = "DELETE"
515
- o.http_request_uri = "/meshes/{meshName}"
643
+ o.http_request_uri = "/v20190125/meshes/{meshName}"
516
644
  o.input = Shapes::ShapeRef.new(shape: DeleteMeshInput)
517
645
  o.output = Shapes::ShapeRef.new(shape: DeleteMeshOutput)
518
646
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -527,7 +655,7 @@ module Aws::AppMesh
527
655
  api.add_operation(:delete_route, Seahorse::Model::Operation.new.tap do |o|
528
656
  o.name = "DeleteRoute"
529
657
  o.http_method = "DELETE"
530
- o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
658
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
531
659
  o.input = Shapes::ShapeRef.new(shape: DeleteRouteInput)
532
660
  o.output = Shapes::ShapeRef.new(shape: DeleteRouteOutput)
533
661
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -542,7 +670,7 @@ module Aws::AppMesh
542
670
  api.add_operation(:delete_virtual_node, Seahorse::Model::Operation.new.tap do |o|
543
671
  o.name = "DeleteVirtualNode"
544
672
  o.http_method = "DELETE"
545
- o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
673
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}"
546
674
  o.input = Shapes::ShapeRef.new(shape: DeleteVirtualNodeInput)
547
675
  o.output = Shapes::ShapeRef.new(shape: DeleteVirtualNodeOutput)
548
676
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -557,7 +685,7 @@ module Aws::AppMesh
557
685
  api.add_operation(:delete_virtual_router, Seahorse::Model::Operation.new.tap do |o|
558
686
  o.name = "DeleteVirtualRouter"
559
687
  o.http_method = "DELETE"
560
- o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
688
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}"
561
689
  o.input = Shapes::ShapeRef.new(shape: DeleteVirtualRouterInput)
562
690
  o.output = Shapes::ShapeRef.new(shape: DeleteVirtualRouterOutput)
563
691
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -569,10 +697,24 @@ module Aws::AppMesh
569
697
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
570
698
  end)
571
699
 
700
+ api.add_operation(:delete_virtual_service, Seahorse::Model::Operation.new.tap do |o|
701
+ o.name = "DeleteVirtualService"
702
+ o.http_method = "DELETE"
703
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}"
704
+ o.input = Shapes::ShapeRef.new(shape: DeleteVirtualServiceInput)
705
+ o.output = Shapes::ShapeRef.new(shape: DeleteVirtualServiceOutput)
706
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
709
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
711
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
712
+ end)
713
+
572
714
  api.add_operation(:describe_mesh, Seahorse::Model::Operation.new.tap do |o|
573
715
  o.name = "DescribeMesh"
574
716
  o.http_method = "GET"
575
- o.http_request_uri = "/meshes/{meshName}"
717
+ o.http_request_uri = "/v20190125/meshes/{meshName}"
576
718
  o.input = Shapes::ShapeRef.new(shape: DescribeMeshInput)
577
719
  o.output = Shapes::ShapeRef.new(shape: DescribeMeshOutput)
578
720
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -586,7 +728,7 @@ module Aws::AppMesh
586
728
  api.add_operation(:describe_route, Seahorse::Model::Operation.new.tap do |o|
587
729
  o.name = "DescribeRoute"
588
730
  o.http_method = "GET"
589
- o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
731
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
590
732
  o.input = Shapes::ShapeRef.new(shape: DescribeRouteInput)
591
733
  o.output = Shapes::ShapeRef.new(shape: DescribeRouteOutput)
592
734
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -600,7 +742,7 @@ module Aws::AppMesh
600
742
  api.add_operation(:describe_virtual_node, Seahorse::Model::Operation.new.tap do |o|
601
743
  o.name = "DescribeVirtualNode"
602
744
  o.http_method = "GET"
603
- o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
745
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}"
604
746
  o.input = Shapes::ShapeRef.new(shape: DescribeVirtualNodeInput)
605
747
  o.output = Shapes::ShapeRef.new(shape: DescribeVirtualNodeOutput)
606
748
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -614,7 +756,7 @@ module Aws::AppMesh
614
756
  api.add_operation(:describe_virtual_router, Seahorse::Model::Operation.new.tap do |o|
615
757
  o.name = "DescribeVirtualRouter"
616
758
  o.http_method = "GET"
617
- o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
759
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}"
618
760
  o.input = Shapes::ShapeRef.new(shape: DescribeVirtualRouterInput)
619
761
  o.output = Shapes::ShapeRef.new(shape: DescribeVirtualRouterOutput)
620
762
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -625,10 +767,24 @@ module Aws::AppMesh
625
767
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
626
768
  end)
627
769
 
770
+ api.add_operation(:describe_virtual_service, Seahorse::Model::Operation.new.tap do |o|
771
+ o.name = "DescribeVirtualService"
772
+ o.http_method = "GET"
773
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}"
774
+ o.input = Shapes::ShapeRef.new(shape: DescribeVirtualServiceInput)
775
+ o.output = Shapes::ShapeRef.new(shape: DescribeVirtualServiceOutput)
776
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
778
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
779
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
781
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
782
+ end)
783
+
628
784
  api.add_operation(:list_meshes, Seahorse::Model::Operation.new.tap do |o|
629
785
  o.name = "ListMeshes"
630
786
  o.http_method = "GET"
631
- o.http_request_uri = "/meshes"
787
+ o.http_request_uri = "/v20190125/meshes"
632
788
  o.input = Shapes::ShapeRef.new(shape: ListMeshesInput)
633
789
  o.output = Shapes::ShapeRef.new(shape: ListMeshesOutput)
634
790
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -648,7 +804,7 @@ module Aws::AppMesh
648
804
  api.add_operation(:list_routes, Seahorse::Model::Operation.new.tap do |o|
649
805
  o.name = "ListRoutes"
650
806
  o.http_method = "GET"
651
- o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
807
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
652
808
  o.input = Shapes::ShapeRef.new(shape: ListRoutesInput)
653
809
  o.output = Shapes::ShapeRef.new(shape: ListRoutesOutput)
654
810
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -668,7 +824,7 @@ module Aws::AppMesh
668
824
  api.add_operation(:list_virtual_nodes, Seahorse::Model::Operation.new.tap do |o|
669
825
  o.name = "ListVirtualNodes"
670
826
  o.http_method = "GET"
671
- o.http_request_uri = "/meshes/{meshName}/virtualNodes"
827
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualNodes"
672
828
  o.input = Shapes::ShapeRef.new(shape: ListVirtualNodesInput)
673
829
  o.output = Shapes::ShapeRef.new(shape: ListVirtualNodesOutput)
674
830
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -688,7 +844,7 @@ module Aws::AppMesh
688
844
  api.add_operation(:list_virtual_routers, Seahorse::Model::Operation.new.tap do |o|
689
845
  o.name = "ListVirtualRouters"
690
846
  o.http_method = "GET"
691
- o.http_request_uri = "/meshes/{meshName}/virtualRouters"
847
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouters"
692
848
  o.input = Shapes::ShapeRef.new(shape: ListVirtualRoutersInput)
693
849
  o.output = Shapes::ShapeRef.new(shape: ListVirtualRoutersOutput)
694
850
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -705,10 +861,30 @@ module Aws::AppMesh
705
861
  )
706
862
  end)
707
863
 
864
+ api.add_operation(:list_virtual_services, Seahorse::Model::Operation.new.tap do |o|
865
+ o.name = "ListVirtualServices"
866
+ o.http_method = "GET"
867
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualServices"
868
+ o.input = Shapes::ShapeRef.new(shape: ListVirtualServicesInput)
869
+ o.output = Shapes::ShapeRef.new(shape: ListVirtualServicesOutput)
870
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
872
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
873
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
874
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
875
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
876
+ o[:pager] = Aws::Pager.new(
877
+ limit_key: "limit",
878
+ tokens: {
879
+ "next_token" => "next_token"
880
+ }
881
+ )
882
+ end)
883
+
708
884
  api.add_operation(:update_route, Seahorse::Model::Operation.new.tap do |o|
709
885
  o.name = "UpdateRoute"
710
886
  o.http_method = "PUT"
711
- o.http_request_uri = "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
887
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}"
712
888
  o.input = Shapes::ShapeRef.new(shape: UpdateRouteInput)
713
889
  o.output = Shapes::ShapeRef.new(shape: UpdateRouteOutput)
714
890
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -724,7 +900,7 @@ module Aws::AppMesh
724
900
  api.add_operation(:update_virtual_node, Seahorse::Model::Operation.new.tap do |o|
725
901
  o.name = "UpdateVirtualNode"
726
902
  o.http_method = "PUT"
727
- o.http_request_uri = "/meshes/{meshName}/virtualNodes/{virtualNodeName}"
903
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}"
728
904
  o.input = Shapes::ShapeRef.new(shape: UpdateVirtualNodeInput)
729
905
  o.output = Shapes::ShapeRef.new(shape: UpdateVirtualNodeOutput)
730
906
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -740,7 +916,7 @@ module Aws::AppMesh
740
916
  api.add_operation(:update_virtual_router, Seahorse::Model::Operation.new.tap do |o|
741
917
  o.name = "UpdateVirtualRouter"
742
918
  o.http_method = "PUT"
743
- o.http_request_uri = "/meshes/{meshName}/virtualRouters/{virtualRouterName}"
919
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}"
744
920
  o.input = Shapes::ShapeRef.new(shape: UpdateVirtualRouterInput)
745
921
  o.output = Shapes::ShapeRef.new(shape: UpdateVirtualRouterOutput)
746
922
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -752,6 +928,22 @@ module Aws::AppMesh
752
928
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
753
929
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
754
930
  end)
931
+
932
+ api.add_operation(:update_virtual_service, Seahorse::Model::Operation.new.tap do |o|
933
+ o.name = "UpdateVirtualService"
934
+ o.http_method = "PUT"
935
+ o.http_request_uri = "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}"
936
+ o.input = Shapes::ShapeRef.new(shape: UpdateVirtualServiceInput)
937
+ o.output = Shapes::ShapeRef.new(shape: UpdateVirtualServiceOutput)
938
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
939
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
941
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
942
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
943
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
944
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
945
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
946
+ end)
755
947
  end
756
948
 
757
949
  end