aws-sdk-appmesh 1.19.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ module Aws::AppMesh
12
12
  include Seahorse::Model
13
13
 
14
14
  AccessLog = Shapes::StructureShape.new(name: 'AccessLog')
15
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
15
16
  Arn = Shapes::StringShape.new(name: 'Arn')
16
17
  AwsCloudMapInstanceAttribute = Shapes::StructureShape.new(name: 'AwsCloudMapInstanceAttribute')
17
18
  AwsCloudMapInstanceAttributeKey = Shapes::StringShape.new(name: 'AwsCloudMapInstanceAttributeKey')
@@ -260,6 +261,7 @@ module Aws::AppMesh
260
261
 
261
262
  CreateRouteInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
262
263
  CreateRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
264
+ CreateRouteInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
263
265
  CreateRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
264
266
  CreateRouteInput.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, required: true, location_name: "spec"))
265
267
  CreateRouteInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags", metadata: {"tags"=>["not-preview"]}))
@@ -273,6 +275,7 @@ module Aws::AppMesh
273
275
 
274
276
  CreateVirtualNodeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
275
277
  CreateVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
278
+ CreateVirtualNodeInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
276
279
  CreateVirtualNodeInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, required: true, location_name: "spec"))
277
280
  CreateVirtualNodeInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags", metadata: {"tags"=>["not-preview"]}))
278
281
  CreateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
@@ -285,6 +288,7 @@ module Aws::AppMesh
285
288
 
286
289
  CreateVirtualRouterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
287
290
  CreateVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
291
+ CreateVirtualRouterInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
288
292
  CreateVirtualRouterInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, required: true, location_name: "spec"))
289
293
  CreateVirtualRouterInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags", metadata: {"tags"=>["not-preview"]}))
290
294
  CreateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
@@ -297,6 +301,7 @@ module Aws::AppMesh
297
301
 
298
302
  CreateVirtualServiceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
299
303
  CreateVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
304
+ CreateVirtualServiceInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
300
305
  CreateVirtualServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualServiceSpec, required: true, location_name: "spec"))
301
306
  CreateVirtualServiceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags", metadata: {"tags"=>["not-preview"]}))
302
307
  CreateVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
@@ -316,6 +321,7 @@ module Aws::AppMesh
316
321
  DeleteMeshOutput[:payload_member] = DeleteMeshOutput.member(:mesh)
317
322
 
318
323
  DeleteRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
324
+ DeleteRouteInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
319
325
  DeleteRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
320
326
  DeleteRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
321
327
  DeleteRouteInput.struct_class = Types::DeleteRouteInput
@@ -326,6 +332,7 @@ module Aws::AppMesh
326
332
  DeleteRouteOutput[:payload_member] = DeleteRouteOutput.member(:route)
327
333
 
328
334
  DeleteVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
335
+ DeleteVirtualNodeInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
329
336
  DeleteVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
330
337
  DeleteVirtualNodeInput.struct_class = Types::DeleteVirtualNodeInput
331
338
 
@@ -335,6 +342,7 @@ module Aws::AppMesh
335
342
  DeleteVirtualNodeOutput[:payload_member] = DeleteVirtualNodeOutput.member(:virtual_node)
336
343
 
337
344
  DeleteVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
345
+ DeleteVirtualRouterInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
338
346
  DeleteVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
339
347
  DeleteVirtualRouterInput.struct_class = Types::DeleteVirtualRouterInput
340
348
 
@@ -344,6 +352,7 @@ module Aws::AppMesh
344
352
  DeleteVirtualRouterOutput[:payload_member] = DeleteVirtualRouterOutput.member(:virtual_router)
345
353
 
346
354
  DeleteVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
355
+ DeleteVirtualServiceInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
347
356
  DeleteVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
348
357
  DeleteVirtualServiceInput.struct_class = Types::DeleteVirtualServiceInput
349
358
 
@@ -353,6 +362,7 @@ module Aws::AppMesh
353
362
  DeleteVirtualServiceOutput[:payload_member] = DeleteVirtualServiceOutput.member(:virtual_service)
354
363
 
355
364
  DescribeMeshInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
365
+ DescribeMeshInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
356
366
  DescribeMeshInput.struct_class = Types::DescribeMeshInput
357
367
 
358
368
  DescribeMeshOutput.add_member(:mesh, Shapes::ShapeRef.new(shape: MeshData, required: true, location_name: "mesh"))
@@ -361,6 +371,7 @@ module Aws::AppMesh
361
371
  DescribeMeshOutput[:payload_member] = DescribeMeshOutput.member(:mesh)
362
372
 
363
373
  DescribeRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
374
+ DescribeRouteInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
364
375
  DescribeRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
365
376
  DescribeRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
366
377
  DescribeRouteInput.struct_class = Types::DescribeRouteInput
@@ -371,6 +382,7 @@ module Aws::AppMesh
371
382
  DescribeRouteOutput[:payload_member] = DescribeRouteOutput.member(:route)
372
383
 
373
384
  DescribeVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
385
+ DescribeVirtualNodeInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
374
386
  DescribeVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
375
387
  DescribeVirtualNodeInput.struct_class = Types::DescribeVirtualNodeInput
376
388
 
@@ -380,6 +392,7 @@ module Aws::AppMesh
380
392
  DescribeVirtualNodeOutput[:payload_member] = DescribeVirtualNodeOutput.member(:virtual_node)
381
393
 
382
394
  DescribeVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
395
+ DescribeVirtualRouterInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
383
396
  DescribeVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
384
397
  DescribeVirtualRouterInput.struct_class = Types::DescribeVirtualRouterInput
385
398
 
@@ -389,6 +402,7 @@ module Aws::AppMesh
389
402
  DescribeVirtualRouterOutput[:payload_member] = DescribeVirtualRouterOutput.member(:virtual_router)
390
403
 
391
404
  DescribeVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
405
+ DescribeVirtualServiceInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
392
406
  DescribeVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
393
407
  DescribeVirtualServiceInput.struct_class = Types::DescribeVirtualServiceInput
394
408
 
@@ -510,6 +524,7 @@ module Aws::AppMesh
510
524
 
511
525
  ListRoutesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListRoutesLimit, location: "querystring", location_name: "limit"))
512
526
  ListRoutesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
527
+ ListRoutesInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
513
528
  ListRoutesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
514
529
  ListRoutesInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
515
530
  ListRoutesInput.struct_class = Types::ListRoutesInput
@@ -529,6 +544,7 @@ module Aws::AppMesh
529
544
 
530
545
  ListVirtualNodesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualNodesLimit, location: "querystring", location_name: "limit"))
531
546
  ListVirtualNodesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
547
+ ListVirtualNodesInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
532
548
  ListVirtualNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
533
549
  ListVirtualNodesInput.struct_class = Types::ListVirtualNodesInput
534
550
 
@@ -538,6 +554,7 @@ module Aws::AppMesh
538
554
 
539
555
  ListVirtualRoutersInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualRoutersLimit, location: "querystring", location_name: "limit"))
540
556
  ListVirtualRoutersInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
557
+ ListVirtualRoutersInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
541
558
  ListVirtualRoutersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
542
559
  ListVirtualRoutersInput.struct_class = Types::ListVirtualRoutersInput
543
560
 
@@ -547,6 +564,7 @@ module Aws::AppMesh
547
564
 
548
565
  ListVirtualServicesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListVirtualServicesLimit, location: "querystring", location_name: "limit"))
549
566
  ListVirtualServicesInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
567
+ ListVirtualServicesInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
550
568
  ListVirtualServicesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
551
569
  ListVirtualServicesInput.struct_class = Types::ListVirtualServicesInput
552
570
 
@@ -593,6 +611,8 @@ module Aws::AppMesh
593
611
 
594
612
  MeshRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
595
613
  MeshRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
614
+ MeshRef.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
615
+ MeshRef.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
596
616
  MeshRef.struct_class = Types::MeshRef
597
617
 
598
618
  MeshSpec.add_member(:egress_filter, Shapes::ShapeRef.new(shape: EgressFilter, location_name: "egressFilter"))
@@ -616,6 +636,8 @@ module Aws::AppMesh
616
636
  ResourceMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
617
637
  ResourceMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
618
638
  ResourceMetadata.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedAt"))
639
+ ResourceMetadata.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
640
+ ResourceMetadata.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
619
641
  ResourceMetadata.add_member(:uid, Shapes::ShapeRef.new(shape: String, required: true, location_name: "uid"))
620
642
  ResourceMetadata.add_member(:version, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "version"))
621
643
  ResourceMetadata.struct_class = Types::ResourceMetadata
@@ -632,6 +654,8 @@ module Aws::AppMesh
632
654
 
633
655
  RouteRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
634
656
  RouteRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
657
+ RouteRef.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
658
+ RouteRef.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
635
659
  RouteRef.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "routeName"))
636
660
  RouteRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
637
661
  RouteRef.struct_class = Types::RouteRef
@@ -712,6 +736,7 @@ module Aws::AppMesh
712
736
 
713
737
  UpdateRouteInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
714
738
  UpdateRouteInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
739
+ UpdateRouteInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
715
740
  UpdateRouteInput.add_member(:route_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "routeName"))
716
741
  UpdateRouteInput.add_member(:spec, Shapes::ShapeRef.new(shape: RouteSpec, required: true, location_name: "spec"))
717
742
  UpdateRouteInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
@@ -724,6 +749,7 @@ module Aws::AppMesh
724
749
 
725
750
  UpdateVirtualNodeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
726
751
  UpdateVirtualNodeInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
752
+ UpdateVirtualNodeInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
727
753
  UpdateVirtualNodeInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualNodeSpec, required: true, location_name: "spec"))
728
754
  UpdateVirtualNodeInput.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualNodeName"))
729
755
  UpdateVirtualNodeInput.struct_class = Types::UpdateVirtualNodeInput
@@ -735,6 +761,7 @@ module Aws::AppMesh
735
761
 
736
762
  UpdateVirtualRouterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
737
763
  UpdateVirtualRouterInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
764
+ UpdateVirtualRouterInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
738
765
  UpdateVirtualRouterInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualRouterSpec, required: true, location_name: "spec"))
739
766
  UpdateVirtualRouterInput.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "virtualRouterName"))
740
767
  UpdateVirtualRouterInput.struct_class = Types::UpdateVirtualRouterInput
@@ -746,6 +773,7 @@ module Aws::AppMesh
746
773
 
747
774
  UpdateVirtualServiceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
748
775
  UpdateVirtualServiceInput.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "meshName"))
776
+ UpdateVirtualServiceInput.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "meshOwner"))
749
777
  UpdateVirtualServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: VirtualServiceSpec, required: true, location_name: "spec"))
750
778
  UpdateVirtualServiceInput.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location: "uri", location_name: "virtualServiceName"))
751
779
  UpdateVirtualServiceInput.struct_class = Types::UpdateVirtualServiceInput
@@ -766,6 +794,8 @@ module Aws::AppMesh
766
794
 
767
795
  VirtualNodeRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
768
796
  VirtualNodeRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
797
+ VirtualNodeRef.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
798
+ VirtualNodeRef.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
769
799
  VirtualNodeRef.add_member(:virtual_node_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualNodeName"))
770
800
  VirtualNodeRef.struct_class = Types::VirtualNodeRef
771
801
 
@@ -798,6 +828,8 @@ module Aws::AppMesh
798
828
 
799
829
  VirtualRouterRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
800
830
  VirtualRouterRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
831
+ VirtualRouterRef.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
832
+ VirtualRouterRef.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
801
833
  VirtualRouterRef.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
802
834
  VirtualRouterRef.struct_class = Types::VirtualRouterRef
803
835
 
@@ -829,6 +861,8 @@ module Aws::AppMesh
829
861
 
830
862
  VirtualServiceRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
831
863
  VirtualServiceRef.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
864
+ VirtualServiceRef.add_member(:mesh_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "meshOwner"))
865
+ VirtualServiceRef.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "resourceOwner"))
832
866
  VirtualServiceRef.add_member(:virtual_service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "virtualServiceName"))
833
867
  VirtualServiceRef.struct_class = Types::VirtualServiceRef
834
868
 
@@ -6,6 +6,42 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::AppMesh
9
+
10
+ # When AppMesh returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::AppMesh::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all AppMesh errors using ServiceError:
14
+ # begin
15
+ # # do stuff
16
+ # rescue Aws::AppMesh::Errors::ServiceError
17
+ # # rescues all AppMesh API errors
18
+ # end
19
+ #
20
+ # ## Request Context
21
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
22
+ # information about the request that generated the error, including:
23
+ # *
24
+ # * #params - The request params
25
+ # * #operation_name - Name of the API operation invoked
26
+ # * #http_request
27
+ # * #http_response
28
+ # * etc ...
29
+ #
30
+ # See {Seahorse::Client::RequestContext} for more information.
31
+ #
32
+ # ## Error Classes
33
+ # * {ResourceInUseException}
34
+ # * {BadRequestException}
35
+ # * {ConflictException}
36
+ # * {InternalServerErrorException}
37
+ # * {ForbiddenException}
38
+ # * {NotFoundException}
39
+ # * {ServiceUnavailableException}
40
+ # * {LimitExceededException}
41
+ # * {TooManyRequestsException}
42
+ # * {TooManyTagsException}
43
+ # Additionally, error classes are dynamically generated for service errors based on the error code
44
+ # if they are not defined above.
9
45
  module Errors
10
46
 
11
47
  extend Aws::Errors::DynamicErrors
@@ -6,6 +6,13 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::AppMesh
9
+ # This class provides a resource oriented interface for AppMesh.
10
+ # To create a resource object:
11
+ # resource = Aws::AppMesh::Resource.new(region: 'us-west-2')
12
+ # You can supply a client object with custom configuration that will be used for all resource operations.
13
+ # If you do not pass +:client+, a default client will be constructed.
14
+ # client = Aws::AppMesh::Client.new(region: 'us-west-2')
15
+ # resource = Aws::AppMesh::Resource.new(client: client)
9
16
  class Resource
10
17
 
11
18
  # @param options ({})
@@ -171,6 +171,28 @@ module Aws::AppMesh
171
171
  # updated.
172
172
  # @return [Time]
173
173
  #
174
+ # @!attribute [rw] mesh_owner
175
+ # The AWS IAM account ID of the service mesh owner. If the account ID
176
+ # is not your own, then it's the ID of the account that shared the
177
+ # mesh with your account. For more information about mesh sharing, see
178
+ # [Working with Shared Meshes][1].
179
+ #
180
+ #
181
+ #
182
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] resource_owner
186
+ # The AWS IAM account ID of the resource owner. If the account ID is
187
+ # not your own, then it's the ID of the mesh owner, or another
188
+ # account that the mesh is shared with. For more information about
189
+ # mesh sharing, see [Working with Shared Meshes][1].
190
+ #
191
+ #
192
+ #
193
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
194
+ # @return [String]
195
+ #
174
196
  # @!attribute [rw] uid
175
197
  # The unique identifier for the resource.
176
198
  # @return [String]
@@ -186,6 +208,8 @@ module Aws::AppMesh
186
208
  :arn,
187
209
  :created_at,
188
210
  :last_updated_at,
211
+ :mesh_owner,
212
+ :resource_owner,
189
213
  :uid,
190
214
  :version)
191
215
  include Aws::Structure
@@ -478,6 +502,7 @@ module Aws::AppMesh
478
502
  #
479
503
  # {
480
504
  # mesh_name: "ResourceName", # required
505
+ # mesh_owner: "AccountId",
481
506
  # route_name: "ResourceName", # required
482
507
  # virtual_router_name: "ResourceName", # required
483
508
  # }
@@ -486,6 +511,17 @@ module Aws::AppMesh
486
511
  # The name of the service mesh to delete the route in.
487
512
  # @return [String]
488
513
  #
514
+ # @!attribute [rw] mesh_owner
515
+ # The AWS IAM account ID of the service mesh owner. If the account ID
516
+ # is not your own, then it's the ID of the account that shared the
517
+ # mesh with your account. For more information about mesh sharing, see
518
+ # [Working with Shared Meshes][1].
519
+ #
520
+ #
521
+ #
522
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
523
+ # @return [String]
524
+ #
489
525
  # @!attribute [rw] route_name
490
526
  # The name of the route to delete.
491
527
  # @return [String]
@@ -498,6 +534,7 @@ module Aws::AppMesh
498
534
  #
499
535
  class DeleteRouteInput < Struct.new(
500
536
  :mesh_name,
537
+ :mesh_owner,
501
538
  :route_name,
502
539
  :virtual_router_name)
503
540
  include Aws::Structure
@@ -699,6 +736,7 @@ module Aws::AppMesh
699
736
  # {
700
737
  # client_token: "String",
701
738
  # mesh_name: "ResourceName", # required
739
+ # mesh_owner: "AccountId",
702
740
  # spec: { # required
703
741
  # listeners: [
704
742
  # {
@@ -731,6 +769,18 @@ module Aws::AppMesh
731
769
  # The name of the service mesh to create the virtual router in.
732
770
  # @return [String]
733
771
  #
772
+ # @!attribute [rw] mesh_owner
773
+ # The AWS IAM account ID of the service mesh owner. If the account ID
774
+ # is not your own, then the account that you specify must share the
775
+ # mesh with your account before you can create the resource in the
776
+ # service mesh. For more information about mesh sharing, see [Working
777
+ # with Shared Meshes][1].
778
+ #
779
+ #
780
+ #
781
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
782
+ # @return [String]
783
+ #
734
784
  # @!attribute [rw] spec
735
785
  # The virtual router specification to apply.
736
786
  # @return [Types::VirtualRouterSpec]
@@ -752,6 +802,7 @@ module Aws::AppMesh
752
802
  class CreateVirtualRouterInput < Struct.new(
753
803
  :client_token,
754
804
  :mesh_name,
805
+ :mesh_owner,
755
806
  :spec,
756
807
  :tags,
757
808
  :virtual_router_name)
@@ -1156,6 +1207,28 @@ module Aws::AppMesh
1156
1207
  # The name of the service mesh that the route resides in.
1157
1208
  # @return [String]
1158
1209
  #
1210
+ # @!attribute [rw] mesh_owner
1211
+ # The AWS IAM account ID of the service mesh owner. If the account ID
1212
+ # is not your own, then it's the ID of the account that shared the
1213
+ # mesh with your account. For more information about mesh sharing, see
1214
+ # [Working with Shared Meshes][1].
1215
+ #
1216
+ #
1217
+ #
1218
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
1219
+ # @return [String]
1220
+ #
1221
+ # @!attribute [rw] resource_owner
1222
+ # The AWS IAM account ID of the resource owner. If the account ID is
1223
+ # not your own, then it's the ID of the mesh owner, or another
1224
+ # account that the mesh is shared with. For more information about
1225
+ # mesh sharing, see [Working with Shared Meshes][1].
1226
+ #
1227
+ #
1228
+ #
1229
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
1230
+ # @return [String]
1231
+ #
1159
1232
  # @!attribute [rw] route_name
1160
1233
  # The name of the route.
1161
1234
  # @return [String]
@@ -1169,6 +1242,8 @@ module Aws::AppMesh
1169
1242
  class RouteRef < Struct.new(
1170
1243
  :arn,
1171
1244
  :mesh_name,
1245
+ :mesh_owner,
1246
+ :resource_owner,
1172
1247
  :route_name,
1173
1248
  :virtual_router_name)
1174
1249
  include Aws::Structure
@@ -1179,6 +1254,7 @@ module Aws::AppMesh
1179
1254
  #
1180
1255
  # {
1181
1256
  # mesh_name: "ResourceName", # required
1257
+ # mesh_owner: "AccountId",
1182
1258
  # virtual_node_name: "ResourceName", # required
1183
1259
  # }
1184
1260
  #
@@ -1186,6 +1262,17 @@ module Aws::AppMesh
1186
1262
  # The name of the service mesh to delete the virtual node in.
1187
1263
  # @return [String]
1188
1264
  #
1265
+ # @!attribute [rw] mesh_owner
1266
+ # The AWS IAM account ID of the service mesh owner. If the account ID
1267
+ # is not your own, then it's the ID of the account that shared the
1268
+ # mesh with your account. For more information about mesh sharing, see
1269
+ # [Working with Shared Meshes][1].
1270
+ #
1271
+ #
1272
+ #
1273
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
1274
+ # @return [String]
1275
+ #
1189
1276
  # @!attribute [rw] virtual_node_name
1190
1277
  # The name of the virtual node to delete.
1191
1278
  # @return [String]
@@ -1194,6 +1281,7 @@ module Aws::AppMesh
1194
1281
  #
1195
1282
  class DeleteVirtualNodeInput < Struct.new(
1196
1283
  :mesh_name,
1284
+ :mesh_owner,
1197
1285
  :virtual_node_name)
1198
1286
  include Aws::Structure
1199
1287
  end
@@ -1525,6 +1613,7 @@ module Aws::AppMesh
1525
1613
  # {
1526
1614
  # client_token: "String",
1527
1615
  # mesh_name: "ResourceName", # required
1616
+ # mesh_owner: "AccountId",
1528
1617
  # spec: { # required
1529
1618
  # backend_defaults: {
1530
1619
  # client_policy: {
@@ -1641,6 +1730,18 @@ module Aws::AppMesh
1641
1730
  # The name of the service mesh to create the virtual node in.
1642
1731
  # @return [String]
1643
1732
  #
1733
+ # @!attribute [rw] mesh_owner
1734
+ # The AWS IAM account ID of the service mesh owner. If the account ID
1735
+ # is not your own, then the account that you specify must share the
1736
+ # mesh with your account before you can create the resource in the
1737
+ # service mesh. For more information about mesh sharing, see [Working
1738
+ # with Shared Meshes][1].
1739
+ #
1740
+ #
1741
+ #
1742
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
1743
+ # @return [String]
1744
+ #
1644
1745
  # @!attribute [rw] spec
1645
1746
  # The virtual node specification to apply.
1646
1747
  # @return [Types::VirtualNodeSpec]
@@ -1662,6 +1763,7 @@ module Aws::AppMesh
1662
1763
  class CreateVirtualNodeInput < Struct.new(
1663
1764
  :client_token,
1664
1765
  :mesh_name,
1766
+ :mesh_owner,
1665
1767
  :spec,
1666
1768
  :tags,
1667
1769
  :virtual_node_name)
@@ -1920,6 +2022,7 @@ module Aws::AppMesh
1920
2022
  #
1921
2023
  # {
1922
2024
  # mesh_name: "ResourceName", # required
2025
+ # mesh_owner: "AccountId",
1923
2026
  # virtual_service_name: "ServiceName", # required
1924
2027
  # }
1925
2028
  #
@@ -1927,6 +2030,17 @@ module Aws::AppMesh
1927
2030
  # The name of the service mesh to delete the virtual service in.
1928
2031
  # @return [String]
1929
2032
  #
2033
+ # @!attribute [rw] mesh_owner
2034
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2035
+ # is not your own, then it's the ID of the account that shared the
2036
+ # mesh with your account. For more information about mesh sharing, see
2037
+ # [Working with Shared Meshes][1].
2038
+ #
2039
+ #
2040
+ #
2041
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2042
+ # @return [String]
2043
+ #
1930
2044
  # @!attribute [rw] virtual_service_name
1931
2045
  # The name of the virtual service to delete.
1932
2046
  # @return [String]
@@ -1935,6 +2049,7 @@ module Aws::AppMesh
1935
2049
  #
1936
2050
  class DeleteVirtualServiceInput < Struct.new(
1937
2051
  :mesh_name,
2052
+ :mesh_owner,
1938
2053
  :virtual_service_name)
1939
2054
  include Aws::Structure
1940
2055
  end
@@ -1996,6 +2111,7 @@ module Aws::AppMesh
1996
2111
  # {
1997
2112
  # client_token: "String",
1998
2113
  # mesh_name: "ResourceName", # required
2114
+ # mesh_owner: "AccountId",
1999
2115
  # spec: { # required
2000
2116
  # backend_defaults: {
2001
2117
  # client_policy: {
@@ -2106,6 +2222,17 @@ module Aws::AppMesh
2106
2222
  # The name of the service mesh that the virtual node resides in.
2107
2223
  # @return [String]
2108
2224
  #
2225
+ # @!attribute [rw] mesh_owner
2226
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2227
+ # is not your own, then it's the ID of the account that shared the
2228
+ # mesh with your account. For more information about mesh sharing, see
2229
+ # [Working with Shared Meshes][1].
2230
+ #
2231
+ #
2232
+ #
2233
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2234
+ # @return [String]
2235
+ #
2109
2236
  # @!attribute [rw] spec
2110
2237
  # The new virtual node specification to apply. This overwrites the
2111
2238
  # existing data.
@@ -2120,6 +2247,7 @@ module Aws::AppMesh
2120
2247
  class UpdateVirtualNodeInput < Struct.new(
2121
2248
  :client_token,
2122
2249
  :mesh_name,
2250
+ :mesh_owner,
2123
2251
  :spec,
2124
2252
  :virtual_node_name)
2125
2253
  include Aws::Structure
@@ -2192,6 +2320,7 @@ module Aws::AppMesh
2192
2320
  # {
2193
2321
  # client_token: "String",
2194
2322
  # mesh_name: "ResourceName", # required
2323
+ # mesh_owner: "AccountId",
2195
2324
  # spec: { # required
2196
2325
  # provider: {
2197
2326
  # virtual_node: {
@@ -2224,6 +2353,18 @@ module Aws::AppMesh
2224
2353
  # The name of the service mesh to create the virtual service in.
2225
2354
  # @return [String]
2226
2355
  #
2356
+ # @!attribute [rw] mesh_owner
2357
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2358
+ # is not your own, then the account that you specify must share the
2359
+ # mesh with your account before you can create the resource in the
2360
+ # service mesh. For more information about mesh sharing, see [Working
2361
+ # with Shared Meshes][1].
2362
+ #
2363
+ #
2364
+ #
2365
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2366
+ # @return [String]
2367
+ #
2227
2368
  # @!attribute [rw] spec
2228
2369
  # The virtual service specification to apply.
2229
2370
  # @return [Types::VirtualServiceSpec]
@@ -2245,6 +2386,7 @@ module Aws::AppMesh
2245
2386
  class CreateVirtualServiceInput < Struct.new(
2246
2387
  :client_token,
2247
2388
  :mesh_name,
2389
+ :mesh_owner,
2248
2390
  :spec,
2249
2391
  :tags,
2250
2392
  :virtual_service_name)
@@ -2257,6 +2399,7 @@ module Aws::AppMesh
2257
2399
  # {
2258
2400
  # client_token: "String",
2259
2401
  # mesh_name: "ResourceName", # required
2402
+ # mesh_owner: "AccountId",
2260
2403
  # spec: { # required
2261
2404
  # listeners: [
2262
2405
  # {
@@ -2283,6 +2426,17 @@ module Aws::AppMesh
2283
2426
  # The name of the service mesh that the virtual router resides in.
2284
2427
  # @return [String]
2285
2428
  #
2429
+ # @!attribute [rw] mesh_owner
2430
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2431
+ # is not your own, then it's the ID of the account that shared the
2432
+ # mesh with your account. For more information about mesh sharing, see
2433
+ # [Working with Shared Meshes][1].
2434
+ #
2435
+ #
2436
+ #
2437
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2438
+ # @return [String]
2439
+ #
2286
2440
  # @!attribute [rw] spec
2287
2441
  # The new virtual router specification to apply. This overwrites the
2288
2442
  # existing data.
@@ -2297,6 +2451,7 @@ module Aws::AppMesh
2297
2451
  class UpdateVirtualRouterInput < Struct.new(
2298
2452
  :client_token,
2299
2453
  :mesh_name,
2454
+ :mesh_owner,
2300
2455
  :spec,
2301
2456
  :virtual_router_name)
2302
2457
  include Aws::Structure
@@ -2372,6 +2527,7 @@ module Aws::AppMesh
2372
2527
  #
2373
2528
  # {
2374
2529
  # mesh_name: "ResourceName", # required
2530
+ # mesh_owner: "AccountId",
2375
2531
  # virtual_router_name: "ResourceName", # required
2376
2532
  # }
2377
2533
  #
@@ -2379,6 +2535,17 @@ module Aws::AppMesh
2379
2535
  # The name of the service mesh to delete the virtual router in.
2380
2536
  # @return [String]
2381
2537
  #
2538
+ # @!attribute [rw] mesh_owner
2539
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2540
+ # is not your own, then it's the ID of the account that shared the
2541
+ # mesh with your account. For more information about mesh sharing, see
2542
+ # [Working with Shared Meshes][1].
2543
+ #
2544
+ #
2545
+ #
2546
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2547
+ # @return [String]
2548
+ #
2382
2549
  # @!attribute [rw] virtual_router_name
2383
2550
  # The name of the virtual router to delete.
2384
2551
  # @return [String]
@@ -2387,6 +2554,7 @@ module Aws::AppMesh
2387
2554
  #
2388
2555
  class DeleteVirtualRouterInput < Struct.new(
2389
2556
  :mesh_name,
2557
+ :mesh_owner,
2390
2558
  :virtual_router_name)
2391
2559
  include Aws::Structure
2392
2560
  end
@@ -2396,6 +2564,7 @@ module Aws::AppMesh
2396
2564
  #
2397
2565
  # {
2398
2566
  # mesh_name: "ResourceName", # required
2567
+ # mesh_owner: "AccountId",
2399
2568
  # route_name: "ResourceName", # required
2400
2569
  # virtual_router_name: "ResourceName", # required
2401
2570
  # }
@@ -2404,6 +2573,17 @@ module Aws::AppMesh
2404
2573
  # The name of the service mesh that the route resides in.
2405
2574
  # @return [String]
2406
2575
  #
2576
+ # @!attribute [rw] mesh_owner
2577
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2578
+ # is not your own, then it's the ID of the account that shared the
2579
+ # mesh with your account. For more information about mesh sharing, see
2580
+ # [Working with Shared Meshes][1].
2581
+ #
2582
+ #
2583
+ #
2584
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2585
+ # @return [String]
2586
+ #
2407
2587
  # @!attribute [rw] route_name
2408
2588
  # The name of the route to describe.
2409
2589
  # @return [String]
@@ -2416,6 +2596,7 @@ module Aws::AppMesh
2416
2596
  #
2417
2597
  class DescribeRouteInput < Struct.new(
2418
2598
  :mesh_name,
2599
+ :mesh_owner,
2419
2600
  :route_name,
2420
2601
  :virtual_router_name)
2421
2602
  include Aws::Structure
@@ -2438,6 +2619,7 @@ module Aws::AppMesh
2438
2619
  # {
2439
2620
  # client_token: "String",
2440
2621
  # mesh_name: "ResourceName", # required
2622
+ # mesh_owner: "AccountId",
2441
2623
  # spec: { # required
2442
2624
  # provider: {
2443
2625
  # virtual_node: {
@@ -2464,6 +2646,17 @@ module Aws::AppMesh
2464
2646
  # The name of the service mesh that the virtual service resides in.
2465
2647
  # @return [String]
2466
2648
  #
2649
+ # @!attribute [rw] mesh_owner
2650
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2651
+ # is not your own, then it's the ID of the account that shared the
2652
+ # mesh with your account. For more information about mesh sharing, see
2653
+ # [Working with Shared Meshes][1].
2654
+ #
2655
+ #
2656
+ #
2657
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2658
+ # @return [String]
2659
+ #
2467
2660
  # @!attribute [rw] spec
2468
2661
  # The new virtual service specification to apply. This overwrites the
2469
2662
  # existing data.
@@ -2478,6 +2671,7 @@ module Aws::AppMesh
2478
2671
  class UpdateVirtualServiceInput < Struct.new(
2479
2672
  :client_token,
2480
2673
  :mesh_name,
2674
+ :mesh_owner,
2481
2675
  :spec,
2482
2676
  :virtual_service_name)
2483
2677
  include Aws::Structure
@@ -2526,6 +2720,7 @@ module Aws::AppMesh
2526
2720
  # {
2527
2721
  # limit: 1,
2528
2722
  # mesh_name: "ResourceName", # required
2723
+ # mesh_owner: "AccountId",
2529
2724
  # next_token: "String",
2530
2725
  # virtual_router_name: "ResourceName", # required
2531
2726
  # }
@@ -2545,6 +2740,17 @@ module Aws::AppMesh
2545
2740
  # The name of the service mesh to list routes in.
2546
2741
  # @return [String]
2547
2742
  #
2743
+ # @!attribute [rw] mesh_owner
2744
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2745
+ # is not your own, then it's the ID of the account that shared the
2746
+ # mesh with your account. For more information about mesh sharing, see
2747
+ # [Working with Shared Meshes][1].
2748
+ #
2749
+ #
2750
+ #
2751
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2752
+ # @return [String]
2753
+ #
2548
2754
  # @!attribute [rw] next_token
2549
2755
  # The `nextToken` value returned from a previous paginated
2550
2756
  # `ListRoutes` request where `limit` was used and the results exceeded
@@ -2561,6 +2767,7 @@ module Aws::AppMesh
2561
2767
  class ListRoutesInput < Struct.new(
2562
2768
  :limit,
2563
2769
  :mesh_name,
2770
+ :mesh_owner,
2564
2771
  :next_token,
2565
2772
  :virtual_router_name)
2566
2773
  include Aws::Structure
@@ -2577,6 +2784,28 @@ module Aws::AppMesh
2577
2784
  # The name of the service mesh that the virtual service resides in.
2578
2785
  # @return [String]
2579
2786
  #
2787
+ # @!attribute [rw] mesh_owner
2788
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2789
+ # is not your own, then it's the ID of the account that shared the
2790
+ # mesh with your account. For more information about mesh sharing, see
2791
+ # [Working with Shared Meshes][1].
2792
+ #
2793
+ #
2794
+ #
2795
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2796
+ # @return [String]
2797
+ #
2798
+ # @!attribute [rw] resource_owner
2799
+ # The AWS IAM account ID of the resource owner. If the account ID is
2800
+ # not your own, then it's the ID of the mesh owner, or another
2801
+ # account that the mesh is shared with. For more information about
2802
+ # mesh sharing, see [Working with Shared Meshes][1].
2803
+ #
2804
+ #
2805
+ #
2806
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2807
+ # @return [String]
2808
+ #
2580
2809
  # @!attribute [rw] virtual_service_name
2581
2810
  # The name of the virtual service.
2582
2811
  # @return [String]
@@ -2586,6 +2815,8 @@ module Aws::AppMesh
2586
2815
  class VirtualServiceRef < Struct.new(
2587
2816
  :arn,
2588
2817
  :mesh_name,
2818
+ :mesh_owner,
2819
+ :resource_owner,
2589
2820
  :virtual_service_name)
2590
2821
  include Aws::Structure
2591
2822
  end
@@ -2614,6 +2845,28 @@ module Aws::AppMesh
2614
2845
  # The name of the service mesh that the virtual router resides in.
2615
2846
  # @return [String]
2616
2847
  #
2848
+ # @!attribute [rw] mesh_owner
2849
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2850
+ # is not your own, then it's the ID of the account that shared the
2851
+ # mesh with your account. For more information about mesh sharing, see
2852
+ # [Working with Shared Meshes][1].
2853
+ #
2854
+ #
2855
+ #
2856
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2857
+ # @return [String]
2858
+ #
2859
+ # @!attribute [rw] resource_owner
2860
+ # The AWS IAM account ID of the resource owner. If the account ID is
2861
+ # not your own, then it's the ID of the mesh owner, or another
2862
+ # account that the mesh is shared with. For more information about
2863
+ # mesh sharing, see [Working with Shared Meshes][1].
2864
+ #
2865
+ #
2866
+ #
2867
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2868
+ # @return [String]
2869
+ #
2617
2870
  # @!attribute [rw] virtual_router_name
2618
2871
  # The name of the virtual router.
2619
2872
  # @return [String]
@@ -2623,6 +2876,8 @@ module Aws::AppMesh
2623
2876
  class VirtualRouterRef < Struct.new(
2624
2877
  :arn,
2625
2878
  :mesh_name,
2879
+ :mesh_owner,
2880
+ :resource_owner,
2626
2881
  :virtual_router_name)
2627
2882
  include Aws::Structure
2628
2883
  end
@@ -2714,6 +2969,28 @@ module Aws::AppMesh
2714
2969
  # The name of the service mesh that the virtual node resides in.
2715
2970
  # @return [String]
2716
2971
  #
2972
+ # @!attribute [rw] mesh_owner
2973
+ # The AWS IAM account ID of the service mesh owner. If the account ID
2974
+ # is not your own, then it's the ID of the account that shared the
2975
+ # mesh with your account. For more information about mesh sharing, see
2976
+ # [Working with Shared Meshes][1].
2977
+ #
2978
+ #
2979
+ #
2980
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2981
+ # @return [String]
2982
+ #
2983
+ # @!attribute [rw] resource_owner
2984
+ # The AWS IAM account ID of the resource owner. If the account ID is
2985
+ # not your own, then it's the ID of the mesh owner, or another
2986
+ # account that the mesh is shared with. For more information about
2987
+ # mesh sharing, see [Working with Shared Meshes][1].
2988
+ #
2989
+ #
2990
+ #
2991
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
2992
+ # @return [String]
2993
+ #
2717
2994
  # @!attribute [rw] virtual_node_name
2718
2995
  # The name of the virtual node.
2719
2996
  # @return [String]
@@ -2723,6 +3000,8 @@ module Aws::AppMesh
2723
3000
  class VirtualNodeRef < Struct.new(
2724
3001
  :arn,
2725
3002
  :mesh_name,
3003
+ :mesh_owner,
3004
+ :resource_owner,
2726
3005
  :virtual_node_name)
2727
3006
  include Aws::Structure
2728
3007
  end
@@ -2890,6 +3169,7 @@ module Aws::AppMesh
2890
3169
  #
2891
3170
  # {
2892
3171
  # mesh_name: "ResourceName", # required
3172
+ # mesh_owner: "AccountId",
2893
3173
  # virtual_service_name: "ServiceName", # required
2894
3174
  # }
2895
3175
  #
@@ -2897,6 +3177,17 @@ module Aws::AppMesh
2897
3177
  # The name of the service mesh that the virtual service resides in.
2898
3178
  # @return [String]
2899
3179
  #
3180
+ # @!attribute [rw] mesh_owner
3181
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3182
+ # is not your own, then it's the ID of the account that shared the
3183
+ # mesh with your account. For more information about mesh sharing, see
3184
+ # [Working with Shared Meshes][1].
3185
+ #
3186
+ #
3187
+ #
3188
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3189
+ # @return [String]
3190
+ #
2900
3191
  # @!attribute [rw] virtual_service_name
2901
3192
  # The name of the virtual service to describe.
2902
3193
  # @return [String]
@@ -2905,6 +3196,7 @@ module Aws::AppMesh
2905
3196
  #
2906
3197
  class DescribeVirtualServiceInput < Struct.new(
2907
3198
  :mesh_name,
3199
+ :mesh_owner,
2908
3200
  :virtual_service_name)
2909
3201
  include Aws::Structure
2910
3202
  end
@@ -3030,6 +3322,7 @@ module Aws::AppMesh
3030
3322
  # {
3031
3323
  # limit: 1,
3032
3324
  # mesh_name: "ResourceName", # required
3325
+ # mesh_owner: "AccountId",
3033
3326
  # next_token: "String",
3034
3327
  # }
3035
3328
  #
@@ -3048,6 +3341,17 @@ module Aws::AppMesh
3048
3341
  # The name of the service mesh to list virtual routers in.
3049
3342
  # @return [String]
3050
3343
  #
3344
+ # @!attribute [rw] mesh_owner
3345
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3346
+ # is not your own, then it's the ID of the account that shared the
3347
+ # mesh with your account. For more information about mesh sharing, see
3348
+ # [Working with Shared Meshes][1].
3349
+ #
3350
+ #
3351
+ #
3352
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3353
+ # @return [String]
3354
+ #
3051
3355
  # @!attribute [rw] next_token
3052
3356
  # The `nextToken` value returned from a previous paginated
3053
3357
  # `ListVirtualRouters` request where `limit` was used and the results
@@ -3060,6 +3364,7 @@ module Aws::AppMesh
3060
3364
  class ListVirtualRoutersInput < Struct.new(
3061
3365
  :limit,
3062
3366
  :mesh_name,
3367
+ :mesh_owner,
3063
3368
  :next_token)
3064
3369
  include Aws::Structure
3065
3370
  end
@@ -3070,6 +3375,7 @@ module Aws::AppMesh
3070
3375
  # {
3071
3376
  # limit: 1,
3072
3377
  # mesh_name: "ResourceName", # required
3378
+ # mesh_owner: "AccountId",
3073
3379
  # next_token: "String",
3074
3380
  # }
3075
3381
  #
@@ -3088,6 +3394,17 @@ module Aws::AppMesh
3088
3394
  # The name of the service mesh to list virtual services in.
3089
3395
  # @return [String]
3090
3396
  #
3397
+ # @!attribute [rw] mesh_owner
3398
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3399
+ # is not your own, then it's the ID of the account that shared the
3400
+ # mesh with your account. For more information about mesh sharing, see
3401
+ # [Working with Shared Meshes][1].
3402
+ #
3403
+ #
3404
+ #
3405
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3406
+ # @return [String]
3407
+ #
3091
3408
  # @!attribute [rw] next_token
3092
3409
  # The `nextToken` value returned from a previous paginated
3093
3410
  # `ListVirtualServices` request where `limit` was used and the results
@@ -3100,6 +3417,7 @@ module Aws::AppMesh
3100
3417
  class ListVirtualServicesInput < Struct.new(
3101
3418
  :limit,
3102
3419
  :mesh_name,
3420
+ :mesh_owner,
3103
3421
  :next_token)
3104
3422
  include Aws::Structure
3105
3423
  end
@@ -3133,6 +3451,7 @@ module Aws::AppMesh
3133
3451
  # {
3134
3452
  # limit: 1,
3135
3453
  # mesh_name: "ResourceName", # required
3454
+ # mesh_owner: "AccountId",
3136
3455
  # next_token: "String",
3137
3456
  # }
3138
3457
  #
@@ -3151,6 +3470,17 @@ module Aws::AppMesh
3151
3470
  # The name of the service mesh to list virtual nodes in.
3152
3471
  # @return [String]
3153
3472
  #
3473
+ # @!attribute [rw] mesh_owner
3474
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3475
+ # is not your own, then it's the ID of the account that shared the
3476
+ # mesh with your account. For more information about mesh sharing, see
3477
+ # [Working with Shared Meshes][1].
3478
+ #
3479
+ #
3480
+ #
3481
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3482
+ # @return [String]
3483
+ #
3154
3484
  # @!attribute [rw] next_token
3155
3485
  # The `nextToken` value returned from a previous paginated
3156
3486
  # `ListVirtualNodes` request where `limit` was used and the results
@@ -3163,6 +3493,7 @@ module Aws::AppMesh
3163
3493
  class ListVirtualNodesInput < Struct.new(
3164
3494
  :limit,
3165
3495
  :mesh_name,
3496
+ :mesh_owner,
3166
3497
  :next_token)
3167
3498
  include Aws::Structure
3168
3499
  end
@@ -3320,11 +3651,35 @@ module Aws::AppMesh
3320
3651
  # The name of the service mesh.
3321
3652
  # @return [String]
3322
3653
  #
3654
+ # @!attribute [rw] mesh_owner
3655
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3656
+ # is not your own, then it's the ID of the account that shared the
3657
+ # mesh with your account. For more information about mesh sharing, see
3658
+ # [Working with Shared Meshes][1].
3659
+ #
3660
+ #
3661
+ #
3662
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3663
+ # @return [String]
3664
+ #
3665
+ # @!attribute [rw] resource_owner
3666
+ # The AWS IAM account ID of the resource owner. If the account ID is
3667
+ # not your own, then it's the ID of the mesh owner, or another
3668
+ # account that the mesh is shared with. For more information about
3669
+ # mesh sharing, see [Working with Shared Meshes][1].
3670
+ #
3671
+ #
3672
+ #
3673
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3674
+ # @return [String]
3675
+ #
3323
3676
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshRef AWS API Documentation
3324
3677
  #
3325
3678
  class MeshRef < Struct.new(
3326
3679
  :arn,
3327
- :mesh_name)
3680
+ :mesh_name,
3681
+ :mesh_owner,
3682
+ :resource_owner)
3328
3683
  include Aws::Structure
3329
3684
  end
3330
3685
 
@@ -3401,6 +3756,7 @@ module Aws::AppMesh
3401
3756
  #
3402
3757
  # {
3403
3758
  # mesh_name: "ResourceName", # required
3759
+ # mesh_owner: "AccountId",
3404
3760
  # virtual_node_name: "ResourceName", # required
3405
3761
  # }
3406
3762
  #
@@ -3408,6 +3764,17 @@ module Aws::AppMesh
3408
3764
  # The name of the service mesh that the virtual node resides in.
3409
3765
  # @return [String]
3410
3766
  #
3767
+ # @!attribute [rw] mesh_owner
3768
+ # The AWS IAM account ID of the service mesh owner. If the account ID
3769
+ # is not your own, then it's the ID of the account that shared the
3770
+ # mesh with your account. For more information about mesh sharing, see
3771
+ # [Working with Shared Meshes][1].
3772
+ #
3773
+ #
3774
+ #
3775
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
3776
+ # @return [String]
3777
+ #
3411
3778
  # @!attribute [rw] virtual_node_name
3412
3779
  # The name of the virtual node to describe.
3413
3780
  # @return [String]
@@ -3416,6 +3783,7 @@ module Aws::AppMesh
3416
3783
  #
3417
3784
  class DescribeVirtualNodeInput < Struct.new(
3418
3785
  :mesh_name,
3786
+ :mesh_owner,
3419
3787
  :virtual_node_name)
3420
3788
  include Aws::Structure
3421
3789
  end
@@ -3668,11 +4036,12 @@ module Aws::AppMesh
3668
4036
 
3669
4037
  # An object that represents a local file certificate. The certificate
3670
4038
  # must meet specific requirements and you must have proxy authorization
3671
- # enabled. For more information, see [TLS Encryption][1].
4039
+ # enabled. For more information, see [Transport Layer Security
4040
+ # (TLS)][1].
3672
4041
  #
3673
4042
  #
3674
4043
  #
3675
- # [1]: https://docs.aws.amazon.com//app-mesh/latest/userguide/virtual-node-tls.html#virtual-node-tls-prerequisites
4044
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual-node-tls.html#virtual-node-tls-prerequisites
3676
4045
  #
3677
4046
  # @note When making an API call, you may pass ListenerTlsFileCertificate
3678
4047
  # data as a hash:
@@ -3756,6 +4125,7 @@ module Aws::AppMesh
3756
4125
  #
3757
4126
  # {
3758
4127
  # mesh_name: "ResourceName", # required
4128
+ # mesh_owner: "AccountId",
3759
4129
  # virtual_router_name: "ResourceName", # required
3760
4130
  # }
3761
4131
  #
@@ -3763,6 +4133,17 @@ module Aws::AppMesh
3763
4133
  # The name of the service mesh that the virtual router resides in.
3764
4134
  # @return [String]
3765
4135
  #
4136
+ # @!attribute [rw] mesh_owner
4137
+ # The AWS IAM account ID of the service mesh owner. If the account ID
4138
+ # is not your own, then it's the ID of the account that shared the
4139
+ # mesh with your account. For more information about mesh sharing, see
4140
+ # [Working with Shared Meshes][1].
4141
+ #
4142
+ #
4143
+ #
4144
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
4145
+ # @return [String]
4146
+ #
3766
4147
  # @!attribute [rw] virtual_router_name
3767
4148
  # The name of the virtual router to describe.
3768
4149
  # @return [String]
@@ -3771,6 +4152,7 @@ module Aws::AppMesh
3771
4152
  #
3772
4153
  class DescribeVirtualRouterInput < Struct.new(
3773
4154
  :mesh_name,
4155
+ :mesh_owner,
3774
4156
  :virtual_router_name)
3775
4157
  include Aws::Structure
3776
4158
  end
@@ -3864,6 +4246,7 @@ module Aws::AppMesh
3864
4246
  # {
3865
4247
  # client_token: "String",
3866
4248
  # mesh_name: "ResourceName", # required
4249
+ # mesh_owner: "AccountId",
3867
4250
  # route_name: "ResourceName", # required
3868
4251
  # spec: { # required
3869
4252
  # grpc_route: {
@@ -4020,6 +4403,18 @@ module Aws::AppMesh
4020
4403
  # The name of the service mesh to create the route in.
4021
4404
  # @return [String]
4022
4405
  #
4406
+ # @!attribute [rw] mesh_owner
4407
+ # The AWS IAM account ID of the service mesh owner. If the account ID
4408
+ # is not your own, then the account that you specify must share the
4409
+ # mesh with your account before you can create the resource in the
4410
+ # service mesh. For more information about mesh sharing, see [Working
4411
+ # with Shared Meshes][1].
4412
+ #
4413
+ #
4414
+ #
4415
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
4416
+ # @return [String]
4417
+ #
4023
4418
  # @!attribute [rw] route_name
4024
4419
  # The name to use for the route.
4025
4420
  # @return [String]
@@ -4037,7 +4432,9 @@ module Aws::AppMesh
4037
4432
  # @return [Array<Types::TagRef>]
4038
4433
  #
4039
4434
  # @!attribute [rw] virtual_router_name
4040
- # The name of the virtual router in which to create the route.
4435
+ # The name of the virtual router in which to create the route. If the
4436
+ # virtual router is in a shared mesh, then you must be the owner of
4437
+ # the virtual router resource.
4041
4438
  # @return [String]
4042
4439
  #
4043
4440
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRouteInput AWS API Documentation
@@ -4045,6 +4442,7 @@ module Aws::AppMesh
4045
4442
  class CreateRouteInput < Struct.new(
4046
4443
  :client_token,
4047
4444
  :mesh_name,
4445
+ :mesh_owner,
4048
4446
  :route_name,
4049
4447
  :spec,
4050
4448
  :tags,
@@ -4058,6 +4456,7 @@ module Aws::AppMesh
4058
4456
  # {
4059
4457
  # client_token: "String",
4060
4458
  # mesh_name: "ResourceName", # required
4459
+ # mesh_owner: "AccountId",
4061
4460
  # route_name: "ResourceName", # required
4062
4461
  # spec: { # required
4063
4462
  # grpc_route: {
@@ -4208,6 +4607,17 @@ module Aws::AppMesh
4208
4607
  # The name of the service mesh that the route resides in.
4209
4608
  # @return [String]
4210
4609
  #
4610
+ # @!attribute [rw] mesh_owner
4611
+ # The AWS IAM account ID of the service mesh owner. If the account ID
4612
+ # is not your own, then it's the ID of the account that shared the
4613
+ # mesh with your account. For more information about mesh sharing, see
4614
+ # [Working with Shared Meshes][1].
4615
+ #
4616
+ #
4617
+ #
4618
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
4619
+ # @return [String]
4620
+ #
4211
4621
  # @!attribute [rw] route_name
4212
4622
  # The name of the route to update.
4213
4623
  # @return [String]
@@ -4226,6 +4636,7 @@ module Aws::AppMesh
4226
4636
  class UpdateRouteInput < Struct.new(
4227
4637
  :client_token,
4228
4638
  :mesh_name,
4639
+ :mesh_owner,
4229
4640
  :route_name,
4230
4641
  :spec,
4231
4642
  :virtual_router_name)
@@ -4306,16 +4717,29 @@ module Aws::AppMesh
4306
4717
  #
4307
4718
  # {
4308
4719
  # mesh_name: "ResourceName", # required
4720
+ # mesh_owner: "AccountId",
4309
4721
  # }
4310
4722
  #
4311
4723
  # @!attribute [rw] mesh_name
4312
4724
  # The name of the service mesh to describe.
4313
4725
  # @return [String]
4314
4726
  #
4727
+ # @!attribute [rw] mesh_owner
4728
+ # The AWS IAM account ID of the service mesh owner. If the account ID
4729
+ # is not your own, then it's the ID of the account that shared the
4730
+ # mesh with your account. For more information about mesh sharing, see
4731
+ # [Working with Shared Meshes][1].
4732
+ #
4733
+ #
4734
+ #
4735
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
4736
+ # @return [String]
4737
+ #
4315
4738
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMeshInput AWS API Documentation
4316
4739
  #
4317
4740
  class DescribeMeshInput < Struct.new(
4318
- :mesh_name)
4741
+ :mesh_name,
4742
+ :mesh_owner)
4319
4743
  include Aws::Structure
4320
4744
  end
4321
4745
 
@@ -4455,12 +4879,12 @@ module Aws::AppMesh
4455
4879
  # @!attribute [rw] certificate_arn
4456
4880
  # The Amazon Resource Name (ARN) for the certificate. The certificate
4457
4881
  # must meet specific requirements and you must have proxy
4458
- # authorization enabled. For more information, see [TLS
4459
- # Encryption][1].
4882
+ # authorization enabled. For more information, see [Transport Layer
4883
+ # Security (TLS)][1].
4460
4884
  #
4461
4885
  #
4462
4886
  #
4463
- # [1]: https://docs.aws.amazon.com//app-mesh/latest/userguide/virtual-node-tls.html#virtual-node-tls-prerequisites
4887
+ # [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual-node-tls.html#virtual-node-tls-prerequisites
4464
4888
  # @return [String]
4465
4889
  #
4466
4890
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListenerTlsAcmCertificate AWS API Documentation