Skip to content

AppMeshClient#

Index > AppMesh > AppMeshClient

Auto-generated documentation for AppMesh type annotations stubs module mypy-boto3-appmesh.

AppMeshClient#

Type annotations and code completion for boto3.client("appmesh"). boto3 documentation

# AppMeshClient usage example

from boto3.session import Session
from mypy_boto3_appmesh.client import AppMeshClient

def get_appmesh_client() -> AppMeshClient:
    return Session().client("appmesh")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("appmesh").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("appmesh")

try:
    do_something(client)
except (
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.ForbiddenException,
    client.exceptions.InternalServerErrorException,
    client.exceptions.LimitExceededException,
    client.exceptions.NotFoundException,
    client.exceptions.ResourceInUseException,
    client.exceptions.ServiceUnavailableException,
    client.exceptions.TooManyRequestsException,
    client.exceptions.TooManyTagsException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_appmesh.client import Exceptions

def handle_error(exc: Exceptions.BadRequestException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("appmesh").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("appmesh").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_gateway_route#

Creates a gateway route.

Type annotations and code completion for boto3.client("appmesh").create_gateway_route method. boto3 documentation

# create_gateway_route method definition

def create_gateway_route(
    self,
    *,
    gatewayRouteName: str,
    meshName: str,
    spec: GatewayRouteSpecTypeDef,  # (1)
    virtualGatewayName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateGatewayRouteOutputTypeDef:  # (3)
    ...
  1. See GatewayRouteSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateGatewayRouteOutputTypeDef
# create_gateway_route method usage example with argument unpacking

kwargs: CreateGatewayRouteInputRequestTypeDef = {  # (1)
    "gatewayRouteName": ...,
    "meshName": ...,
    "spec": ...,
    "virtualGatewayName": ...,
}

parent.create_gateway_route(**kwargs)
  1. See CreateGatewayRouteInputRequestTypeDef

create_mesh#

Creates a service mesh.

Type annotations and code completion for boto3.client("appmesh").create_mesh method. boto3 documentation

# create_mesh method definition

def create_mesh(
    self,
    *,
    meshName: str,
    clientToken: str = ...,
    spec: MeshSpecTypeDef = ...,  # (1)
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateMeshOutputTypeDef:  # (3)
    ...
  1. See MeshSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateMeshOutputTypeDef
# create_mesh method usage example with argument unpacking

kwargs: CreateMeshInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.create_mesh(**kwargs)
  1. See CreateMeshInputRequestTypeDef

create_route#

Creates a route that is associated with a virtual router.

Type annotations and code completion for boto3.client("appmesh").create_route method. boto3 documentation

# create_route method definition

def create_route(
    self,
    *,
    meshName: str,
    routeName: str,
    spec: RouteSpecTypeDef,  # (1)
    virtualRouterName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateRouteOutputTypeDef:  # (3)
    ...
  1. See RouteSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateRouteOutputTypeDef
# create_route method usage example with argument unpacking

kwargs: CreateRouteInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "routeName": ...,
    "spec": ...,
    "virtualRouterName": ...,
}

parent.create_route(**kwargs)
  1. See CreateRouteInputRequestTypeDef

create_virtual_gateway#

Creates a virtual gateway.

Type annotations and code completion for boto3.client("appmesh").create_virtual_gateway method. boto3 documentation

# create_virtual_gateway method definition

def create_virtual_gateway(
    self,
    *,
    meshName: str,
    spec: VirtualGatewaySpecTypeDef,  # (1)
    virtualGatewayName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateVirtualGatewayOutputTypeDef:  # (3)
    ...
  1. See VirtualGatewaySpecTypeDef
  2. See TagRefTypeDef
  3. See CreateVirtualGatewayOutputTypeDef
# create_virtual_gateway method usage example with argument unpacking

kwargs: CreateVirtualGatewayInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualGatewayName": ...,
}

parent.create_virtual_gateway(**kwargs)
  1. See CreateVirtualGatewayInputRequestTypeDef

create_virtual_node#

Creates a virtual node within a service mesh.

Type annotations and code completion for boto3.client("appmesh").create_virtual_node method. boto3 documentation

# create_virtual_node method definition

def create_virtual_node(
    self,
    *,
    meshName: str,
    spec: VirtualNodeSpecTypeDef,  # (1)
    virtualNodeName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateVirtualNodeOutputTypeDef:  # (3)
    ...
  1. See VirtualNodeSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateVirtualNodeOutputTypeDef
# create_virtual_node method usage example with argument unpacking

kwargs: CreateVirtualNodeInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualNodeName": ...,
}

parent.create_virtual_node(**kwargs)
  1. See CreateVirtualNodeInputRequestTypeDef

create_virtual_router#

Creates a virtual router within a service mesh.

Type annotations and code completion for boto3.client("appmesh").create_virtual_router method. boto3 documentation

# create_virtual_router method definition

def create_virtual_router(
    self,
    *,
    meshName: str,
    spec: VirtualRouterSpecTypeDef,  # (1)
    virtualRouterName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateVirtualRouterOutputTypeDef:  # (3)
    ...
  1. See VirtualRouterSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateVirtualRouterOutputTypeDef
# create_virtual_router method usage example with argument unpacking

kwargs: CreateVirtualRouterInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualRouterName": ...,
}

parent.create_virtual_router(**kwargs)
  1. See CreateVirtualRouterInputRequestTypeDef

create_virtual_service#

Creates a virtual service within a service mesh.

Type annotations and code completion for boto3.client("appmesh").create_virtual_service method. boto3 documentation

# create_virtual_service method definition

def create_virtual_service(
    self,
    *,
    meshName: str,
    spec: VirtualServiceSpecTypeDef,  # (1)
    virtualServiceName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
    tags: Sequence[TagRefTypeDef] = ...,  # (2)
) -> CreateVirtualServiceOutputTypeDef:  # (3)
    ...
  1. See VirtualServiceSpecTypeDef
  2. See TagRefTypeDef
  3. See CreateVirtualServiceOutputTypeDef
# create_virtual_service method usage example with argument unpacking

kwargs: CreateVirtualServiceInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualServiceName": ...,
}

parent.create_virtual_service(**kwargs)
  1. See CreateVirtualServiceInputRequestTypeDef

delete_gateway_route#

Deletes an existing gateway route.

Type annotations and code completion for boto3.client("appmesh").delete_gateway_route method. boto3 documentation

# delete_gateway_route method definition

def delete_gateway_route(
    self,
    *,
    gatewayRouteName: str,
    meshName: str,
    virtualGatewayName: str,
    meshOwner: str = ...,
) -> DeleteGatewayRouteOutputTypeDef:  # (1)
    ...
  1. See DeleteGatewayRouteOutputTypeDef
# delete_gateway_route method usage example with argument unpacking

kwargs: DeleteGatewayRouteInputRequestTypeDef = {  # (1)
    "gatewayRouteName": ...,
    "meshName": ...,
    "virtualGatewayName": ...,
}

parent.delete_gateway_route(**kwargs)
  1. See DeleteGatewayRouteInputRequestTypeDef

delete_mesh#

Deletes an existing service mesh.

Type annotations and code completion for boto3.client("appmesh").delete_mesh method. boto3 documentation

# delete_mesh method definition

def delete_mesh(
    self,
    *,
    meshName: str,
) -> DeleteMeshOutputTypeDef:  # (1)
    ...
  1. See DeleteMeshOutputTypeDef
# delete_mesh method usage example with argument unpacking

kwargs: DeleteMeshInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.delete_mesh(**kwargs)
  1. See DeleteMeshInputRequestTypeDef

delete_route#

Deletes an existing route.

Type annotations and code completion for boto3.client("appmesh").delete_route method. boto3 documentation

# delete_route method definition

def delete_route(
    self,
    *,
    meshName: str,
    routeName: str,
    virtualRouterName: str,
    meshOwner: str = ...,
) -> DeleteRouteOutputTypeDef:  # (1)
    ...
  1. See DeleteRouteOutputTypeDef
# delete_route method usage example with argument unpacking

kwargs: DeleteRouteInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "routeName": ...,
    "virtualRouterName": ...,
}

parent.delete_route(**kwargs)
  1. See DeleteRouteInputRequestTypeDef

delete_virtual_gateway#

Deletes an existing virtual gateway.

Type annotations and code completion for boto3.client("appmesh").delete_virtual_gateway method. boto3 documentation

# delete_virtual_gateway method definition

def delete_virtual_gateway(
    self,
    *,
    meshName: str,
    virtualGatewayName: str,
    meshOwner: str = ...,
) -> DeleteVirtualGatewayOutputTypeDef:  # (1)
    ...
  1. See DeleteVirtualGatewayOutputTypeDef
# delete_virtual_gateway method usage example with argument unpacking

kwargs: DeleteVirtualGatewayInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualGatewayName": ...,
}

parent.delete_virtual_gateway(**kwargs)
  1. See DeleteVirtualGatewayInputRequestTypeDef

delete_virtual_node#

Deletes an existing virtual node.

Type annotations and code completion for boto3.client("appmesh").delete_virtual_node method. boto3 documentation

# delete_virtual_node method definition

def delete_virtual_node(
    self,
    *,
    meshName: str,
    virtualNodeName: str,
    meshOwner: str = ...,
) -> DeleteVirtualNodeOutputTypeDef:  # (1)
    ...
  1. See DeleteVirtualNodeOutputTypeDef
# delete_virtual_node method usage example with argument unpacking

kwargs: DeleteVirtualNodeInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualNodeName": ...,
}

parent.delete_virtual_node(**kwargs)
  1. See DeleteVirtualNodeInputRequestTypeDef

delete_virtual_router#

Deletes an existing virtual router.

Type annotations and code completion for boto3.client("appmesh").delete_virtual_router method. boto3 documentation

# delete_virtual_router method definition

def delete_virtual_router(
    self,
    *,
    meshName: str,
    virtualRouterName: str,
    meshOwner: str = ...,
) -> DeleteVirtualRouterOutputTypeDef:  # (1)
    ...
  1. See DeleteVirtualRouterOutputTypeDef
# delete_virtual_router method usage example with argument unpacking

kwargs: DeleteVirtualRouterInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualRouterName": ...,
}

parent.delete_virtual_router(**kwargs)
  1. See DeleteVirtualRouterInputRequestTypeDef

delete_virtual_service#

Deletes an existing virtual service.

Type annotations and code completion for boto3.client("appmesh").delete_virtual_service method. boto3 documentation

# delete_virtual_service method definition

def delete_virtual_service(
    self,
    *,
    meshName: str,
    virtualServiceName: str,
    meshOwner: str = ...,
) -> DeleteVirtualServiceOutputTypeDef:  # (1)
    ...
  1. See DeleteVirtualServiceOutputTypeDef
# delete_virtual_service method usage example with argument unpacking

kwargs: DeleteVirtualServiceInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualServiceName": ...,
}

parent.delete_virtual_service(**kwargs)
  1. See DeleteVirtualServiceInputRequestTypeDef

describe_gateway_route#

Describes an existing gateway route.

Type annotations and code completion for boto3.client("appmesh").describe_gateway_route method. boto3 documentation

# describe_gateway_route method definition

def describe_gateway_route(
    self,
    *,
    gatewayRouteName: str,
    meshName: str,
    virtualGatewayName: str,
    meshOwner: str = ...,
) -> DescribeGatewayRouteOutputTypeDef:  # (1)
    ...
  1. See DescribeGatewayRouteOutputTypeDef
# describe_gateway_route method usage example with argument unpacking

kwargs: DescribeGatewayRouteInputRequestTypeDef = {  # (1)
    "gatewayRouteName": ...,
    "meshName": ...,
    "virtualGatewayName": ...,
}

parent.describe_gateway_route(**kwargs)
  1. See DescribeGatewayRouteInputRequestTypeDef

describe_mesh#

Describes an existing service mesh.

Type annotations and code completion for boto3.client("appmesh").describe_mesh method. boto3 documentation

# describe_mesh method definition

def describe_mesh(
    self,
    *,
    meshName: str,
    meshOwner: str = ...,
) -> DescribeMeshOutputTypeDef:  # (1)
    ...
  1. See DescribeMeshOutputTypeDef
# describe_mesh method usage example with argument unpacking

kwargs: DescribeMeshInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.describe_mesh(**kwargs)
  1. See DescribeMeshInputRequestTypeDef

describe_route#

Describes an existing route.

Type annotations and code completion for boto3.client("appmesh").describe_route method. boto3 documentation

# describe_route method definition

def describe_route(
    self,
    *,
    meshName: str,
    routeName: str,
    virtualRouterName: str,
    meshOwner: str = ...,
) -> DescribeRouteOutputTypeDef:  # (1)
    ...
  1. See DescribeRouteOutputTypeDef
# describe_route method usage example with argument unpacking

kwargs: DescribeRouteInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "routeName": ...,
    "virtualRouterName": ...,
}

parent.describe_route(**kwargs)
  1. See DescribeRouteInputRequestTypeDef

describe_virtual_gateway#

Describes an existing virtual gateway.

Type annotations and code completion for boto3.client("appmesh").describe_virtual_gateway method. boto3 documentation

# describe_virtual_gateway method definition

def describe_virtual_gateway(
    self,
    *,
    meshName: str,
    virtualGatewayName: str,
    meshOwner: str = ...,
) -> DescribeVirtualGatewayOutputTypeDef:  # (1)
    ...
  1. See DescribeVirtualGatewayOutputTypeDef
# describe_virtual_gateway method usage example with argument unpacking

kwargs: DescribeVirtualGatewayInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualGatewayName": ...,
}

parent.describe_virtual_gateway(**kwargs)
  1. See DescribeVirtualGatewayInputRequestTypeDef

describe_virtual_node#

Describes an existing virtual node.

Type annotations and code completion for boto3.client("appmesh").describe_virtual_node method. boto3 documentation

# describe_virtual_node method definition

def describe_virtual_node(
    self,
    *,
    meshName: str,
    virtualNodeName: str,
    meshOwner: str = ...,
) -> DescribeVirtualNodeOutputTypeDef:  # (1)
    ...
  1. See DescribeVirtualNodeOutputTypeDef
# describe_virtual_node method usage example with argument unpacking

kwargs: DescribeVirtualNodeInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualNodeName": ...,
}

parent.describe_virtual_node(**kwargs)
  1. See DescribeVirtualNodeInputRequestTypeDef

describe_virtual_router#

Describes an existing virtual router.

Type annotations and code completion for boto3.client("appmesh").describe_virtual_router method. boto3 documentation

# describe_virtual_router method definition

def describe_virtual_router(
    self,
    *,
    meshName: str,
    virtualRouterName: str,
    meshOwner: str = ...,
) -> DescribeVirtualRouterOutputTypeDef:  # (1)
    ...
  1. See DescribeVirtualRouterOutputTypeDef
# describe_virtual_router method usage example with argument unpacking

kwargs: DescribeVirtualRouterInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualRouterName": ...,
}

parent.describe_virtual_router(**kwargs)
  1. See DescribeVirtualRouterInputRequestTypeDef

describe_virtual_service#

Describes an existing virtual service.

Type annotations and code completion for boto3.client("appmesh").describe_virtual_service method. boto3 documentation

# describe_virtual_service method definition

def describe_virtual_service(
    self,
    *,
    meshName: str,
    virtualServiceName: str,
    meshOwner: str = ...,
) -> DescribeVirtualServiceOutputTypeDef:  # (1)
    ...
  1. See DescribeVirtualServiceOutputTypeDef
# describe_virtual_service method usage example with argument unpacking

kwargs: DescribeVirtualServiceInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualServiceName": ...,
}

parent.describe_virtual_service(**kwargs)
  1. See DescribeVirtualServiceInputRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("appmesh").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_gateway_routes#

Returns a list of existing gateway routes that are associated to a virtual gateway.

Type annotations and code completion for boto3.client("appmesh").list_gateway_routes method. boto3 documentation

# list_gateway_routes method definition

def list_gateway_routes(
    self,
    *,
    meshName: str,
    virtualGatewayName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListGatewayRoutesOutputTypeDef:  # (1)
    ...
  1. See ListGatewayRoutesOutputTypeDef
# list_gateway_routes method usage example with argument unpacking

kwargs: ListGatewayRoutesInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualGatewayName": ...,
}

parent.list_gateway_routes(**kwargs)
  1. See ListGatewayRoutesInputRequestTypeDef

list_meshes#

Returns a list of existing service meshes.

Type annotations and code completion for boto3.client("appmesh").list_meshes method. boto3 documentation

# list_meshes method definition

def list_meshes(
    self,
    *,
    limit: int = ...,
    nextToken: str = ...,
) -> ListMeshesOutputTypeDef:  # (1)
    ...
  1. See ListMeshesOutputTypeDef
# list_meshes method usage example with argument unpacking

kwargs: ListMeshesInputRequestTypeDef = {  # (1)
    "limit": ...,
}

parent.list_meshes(**kwargs)
  1. See ListMeshesInputRequestTypeDef

list_routes#

Returns a list of existing routes in a service mesh.

Type annotations and code completion for boto3.client("appmesh").list_routes method. boto3 documentation

# list_routes method definition

def list_routes(
    self,
    *,
    meshName: str,
    virtualRouterName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListRoutesOutputTypeDef:  # (1)
    ...
  1. See ListRoutesOutputTypeDef
# list_routes method usage example with argument unpacking

kwargs: ListRoutesInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "virtualRouterName": ...,
}

parent.list_routes(**kwargs)
  1. See ListRoutesInputRequestTypeDef

list_tags_for_resource#

List the tags for an App Mesh resource.

Type annotations and code completion for boto3.client("appmesh").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
    limit: int = ...,
    nextToken: str = ...,
) -> ListTagsForResourceOutputTypeDef:  # (1)
    ...
  1. See ListTagsForResourceOutputTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceInputRequestTypeDef

list_virtual_gateways#

Returns a list of existing virtual gateways in a service mesh.

Type annotations and code completion for boto3.client("appmesh").list_virtual_gateways method. boto3 documentation

# list_virtual_gateways method definition

def list_virtual_gateways(
    self,
    *,
    meshName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListVirtualGatewaysOutputTypeDef:  # (1)
    ...
  1. See ListVirtualGatewaysOutputTypeDef
# list_virtual_gateways method usage example with argument unpacking

kwargs: ListVirtualGatewaysInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.list_virtual_gateways(**kwargs)
  1. See ListVirtualGatewaysInputRequestTypeDef

list_virtual_nodes#

Returns a list of existing virtual nodes.

Type annotations and code completion for boto3.client("appmesh").list_virtual_nodes method. boto3 documentation

# list_virtual_nodes method definition

def list_virtual_nodes(
    self,
    *,
    meshName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListVirtualNodesOutputTypeDef:  # (1)
    ...
  1. See ListVirtualNodesOutputTypeDef
# list_virtual_nodes method usage example with argument unpacking

kwargs: ListVirtualNodesInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.list_virtual_nodes(**kwargs)
  1. See ListVirtualNodesInputRequestTypeDef

list_virtual_routers#

Returns a list of existing virtual routers in a service mesh.

Type annotations and code completion for boto3.client("appmesh").list_virtual_routers method. boto3 documentation

# list_virtual_routers method definition

def list_virtual_routers(
    self,
    *,
    meshName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListVirtualRoutersOutputTypeDef:  # (1)
    ...
  1. See ListVirtualRoutersOutputTypeDef
# list_virtual_routers method usage example with argument unpacking

kwargs: ListVirtualRoutersInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.list_virtual_routers(**kwargs)
  1. See ListVirtualRoutersInputRequestTypeDef

list_virtual_services#

Returns a list of existing virtual services in a service mesh.

Type annotations and code completion for boto3.client("appmesh").list_virtual_services method. boto3 documentation

# list_virtual_services method definition

def list_virtual_services(
    self,
    *,
    meshName: str,
    limit: int = ...,
    meshOwner: str = ...,
    nextToken: str = ...,
) -> ListVirtualServicesOutputTypeDef:  # (1)
    ...
  1. See ListVirtualServicesOutputTypeDef
# list_virtual_services method usage example with argument unpacking

kwargs: ListVirtualServicesInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.list_virtual_services(**kwargs)
  1. See ListVirtualServicesInputRequestTypeDef

tag_resource#

Associates the specified tags to a resource with the specified resourceArn.

Type annotations and code completion for boto3.client("appmesh").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Sequence[TagRefTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagRefTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceInputRequestTypeDef

untag_resource#

Deletes specified tags from a resource.

Type annotations and code completion for boto3.client("appmesh").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceInputRequestTypeDef

update_gateway_route#

Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.

Type annotations and code completion for boto3.client("appmesh").update_gateway_route method. boto3 documentation

# update_gateway_route method definition

def update_gateway_route(
    self,
    *,
    gatewayRouteName: str,
    meshName: str,
    spec: GatewayRouteSpecTypeDef,  # (1)
    virtualGatewayName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateGatewayRouteOutputTypeDef:  # (2)
    ...
  1. See GatewayRouteSpecTypeDef
  2. See UpdateGatewayRouteOutputTypeDef
# update_gateway_route method usage example with argument unpacking

kwargs: UpdateGatewayRouteInputRequestTypeDef = {  # (1)
    "gatewayRouteName": ...,
    "meshName": ...,
    "spec": ...,
    "virtualGatewayName": ...,
}

parent.update_gateway_route(**kwargs)
  1. See UpdateGatewayRouteInputRequestTypeDef

update_mesh#

Updates an existing service mesh.

Type annotations and code completion for boto3.client("appmesh").update_mesh method. boto3 documentation

# update_mesh method definition

def update_mesh(
    self,
    *,
    meshName: str,
    clientToken: str = ...,
    spec: MeshSpecTypeDef = ...,  # (1)
) -> UpdateMeshOutputTypeDef:  # (2)
    ...
  1. See MeshSpecTypeDef
  2. See UpdateMeshOutputTypeDef
# update_mesh method usage example with argument unpacking

kwargs: UpdateMeshInputRequestTypeDef = {  # (1)
    "meshName": ...,
}

parent.update_mesh(**kwargs)
  1. See UpdateMeshInputRequestTypeDef

update_route#

Updates an existing route for a specified service mesh and virtual router.

Type annotations and code completion for boto3.client("appmesh").update_route method. boto3 documentation

# update_route method definition

def update_route(
    self,
    *,
    meshName: str,
    routeName: str,
    spec: RouteSpecTypeDef,  # (1)
    virtualRouterName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateRouteOutputTypeDef:  # (2)
    ...
  1. See RouteSpecTypeDef
  2. See UpdateRouteOutputTypeDef
# update_route method usage example with argument unpacking

kwargs: UpdateRouteInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "routeName": ...,
    "spec": ...,
    "virtualRouterName": ...,
}

parent.update_route(**kwargs)
  1. See UpdateRouteInputRequestTypeDef

update_virtual_gateway#

Updates an existing virtual gateway in a specified service mesh.

Type annotations and code completion for boto3.client("appmesh").update_virtual_gateway method. boto3 documentation

# update_virtual_gateway method definition

def update_virtual_gateway(
    self,
    *,
    meshName: str,
    spec: VirtualGatewaySpecTypeDef,  # (1)
    virtualGatewayName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateVirtualGatewayOutputTypeDef:  # (2)
    ...
  1. See VirtualGatewaySpecTypeDef
  2. See UpdateVirtualGatewayOutputTypeDef
# update_virtual_gateway method usage example with argument unpacking

kwargs: UpdateVirtualGatewayInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualGatewayName": ...,
}

parent.update_virtual_gateway(**kwargs)
  1. See UpdateVirtualGatewayInputRequestTypeDef

update_virtual_node#

Updates an existing virtual node in a specified service mesh.

Type annotations and code completion for boto3.client("appmesh").update_virtual_node method. boto3 documentation

# update_virtual_node method definition

def update_virtual_node(
    self,
    *,
    meshName: str,
    spec: VirtualNodeSpecTypeDef,  # (1)
    virtualNodeName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateVirtualNodeOutputTypeDef:  # (2)
    ...
  1. See VirtualNodeSpecTypeDef
  2. See UpdateVirtualNodeOutputTypeDef
# update_virtual_node method usage example with argument unpacking

kwargs: UpdateVirtualNodeInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualNodeName": ...,
}

parent.update_virtual_node(**kwargs)
  1. See UpdateVirtualNodeInputRequestTypeDef

update_virtual_router#

Updates an existing virtual router in a specified service mesh.

Type annotations and code completion for boto3.client("appmesh").update_virtual_router method. boto3 documentation

# update_virtual_router method definition

def update_virtual_router(
    self,
    *,
    meshName: str,
    spec: VirtualRouterSpecTypeDef,  # (1)
    virtualRouterName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateVirtualRouterOutputTypeDef:  # (2)
    ...
  1. See VirtualRouterSpecTypeDef
  2. See UpdateVirtualRouterOutputTypeDef
# update_virtual_router method usage example with argument unpacking

kwargs: UpdateVirtualRouterInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualRouterName": ...,
}

parent.update_virtual_router(**kwargs)
  1. See UpdateVirtualRouterInputRequestTypeDef

update_virtual_service#

Updates an existing virtual service in a specified service mesh.

Type annotations and code completion for boto3.client("appmesh").update_virtual_service method. boto3 documentation

# update_virtual_service method definition

def update_virtual_service(
    self,
    *,
    meshName: str,
    spec: VirtualServiceSpecTypeDef,  # (1)
    virtualServiceName: str,
    clientToken: str = ...,
    meshOwner: str = ...,
) -> UpdateVirtualServiceOutputTypeDef:  # (2)
    ...
  1. See VirtualServiceSpecTypeDef
  2. See UpdateVirtualServiceOutputTypeDef
# update_virtual_service method usage example with argument unpacking

kwargs: UpdateVirtualServiceInputRequestTypeDef = {  # (1)
    "meshName": ...,
    "spec": ...,
    "virtualServiceName": ...,
}

parent.update_virtual_service(**kwargs)
  1. See UpdateVirtualServiceInputRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("appmesh").get_paginator method with overloads.