@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAppMeshAsyncClient extends AWSAppMeshClient implements AWSAppMeshAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2.
App Mesh supports microservice applications that use service discovery naming for their components. For more
information about service discovery on Amazon ECS, see Service Discovery in
the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns
and
coredns
are supported. For more information, see DNS for Services and Pods in the
Kubernetes documentation.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createGatewayRoute, createMesh, createRoute, createVirtualGateway, createVirtualNode, createVirtualRouter, createVirtualService, deleteGatewayRoute, deleteMesh, deleteRoute, deleteVirtualGateway, deleteVirtualNode, deleteVirtualRouter, deleteVirtualService, describeGatewayRoute, describeMesh, describeRoute, describeVirtualGateway, describeVirtualNode, describeVirtualRouter, describeVirtualService, getCachedResponseMetadata, listGatewayRoutes, listMeshes, listRoutes, listTagsForResource, listVirtualGateways, listVirtualNodes, listVirtualRouters, listVirtualServices, tagResource, untagResource, updateGatewayRoute, updateMesh, updateRoute, updateVirtualGateway, updateVirtualNode, updateVirtualRouter, updateVirtualService
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createGatewayRoute, createMesh, createRoute, createVirtualGateway, createVirtualNode, createVirtualRouter, createVirtualService, deleteGatewayRoute, deleteMesh, deleteRoute, deleteVirtualGateway, deleteVirtualNode, deleteVirtualRouter, deleteVirtualService, describeGatewayRoute, describeMesh, describeRoute, describeVirtualGateway, describeVirtualNode, describeVirtualRouter, describeVirtualService, getCachedResponseMetadata, listGatewayRoutes, listMeshes, listRoutes, listTagsForResource, listVirtualGateways, listVirtualNodes, listVirtualRouters, listVirtualServices, tagResource, untagResource, updateGatewayRoute, updateMesh, updateRoute, updateVirtualGateway, updateVirtualNode, updateVirtualRouter, updateVirtualService
public static AWSAppMeshAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateGatewayRouteResult> createGatewayRouteAsync(CreateGatewayRouteRequest request)
AWSAppMeshAsync
Creates a gateway route.
A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request, it can distribute traffic to a target virtual service.
For more information about gateway routes, see Gateway routes.
createGatewayRouteAsync
in interface AWSAppMeshAsync
public Future<CreateGatewayRouteResult> createGatewayRouteAsync(CreateGatewayRouteRequest request, AsyncHandler<CreateGatewayRouteRequest,CreateGatewayRouteResult> asyncHandler)
AWSAppMeshAsync
Creates a gateway route.
A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request, it can distribute traffic to a target virtual service.
For more information about gateway routes, see Gateway routes.
createGatewayRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateMeshResult> createMeshAsync(CreateMeshRequest request)
AWSAppMeshAsync
Creates a service mesh.
A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
For more information about service meshes, see Service meshes.
createMeshAsync
in interface AWSAppMeshAsync
public Future<CreateMeshResult> createMeshAsync(CreateMeshRequest request, AsyncHandler<CreateMeshRequest,CreateMeshResult> asyncHandler)
AWSAppMeshAsync
Creates a service mesh.
A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
For more information about service meshes, see Service meshes.
createMeshAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRouteResult> createRouteAsync(CreateRouteRequest request)
AWSAppMeshAsync
Creates a route that is associated with a virtual router.
You can route several different protocols and define a retry policy for a route. Traffic can be routed to one or more virtual nodes.
For more information about routes, see Routes.
createRouteAsync
in interface AWSAppMeshAsync
public Future<CreateRouteResult> createRouteAsync(CreateRouteRequest request, AsyncHandler<CreateRouteRequest,CreateRouteResult> asyncHandler)
AWSAppMeshAsync
Creates a route that is associated with a virtual router.
You can route several different protocols and define a retry policy for a route. Traffic can be routed to one or more virtual nodes.
For more information about routes, see Routes.
createRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateVirtualGatewayResult> createVirtualGatewayAsync(CreateVirtualGatewayRequest request)
AWSAppMeshAsync
Creates a virtual gateway.
A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.
For more information about virtual gateways, see Virtual gateways.
createVirtualGatewayAsync
in interface AWSAppMeshAsync
public Future<CreateVirtualGatewayResult> createVirtualGatewayAsync(CreateVirtualGatewayRequest request, AsyncHandler<CreateVirtualGatewayRequest,CreateVirtualGatewayResult> asyncHandler)
AWSAppMeshAsync
Creates a virtual gateway.
A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.
For more information about virtual gateways, see Virtual gateways.
createVirtualGatewayAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateVirtualNodeResult> createVirtualNodeAsync(CreateVirtualNodeRequest request)
AWSAppMeshAsync
Creates a virtual node within a service mesh.
A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group, and whether the proxy running in a task group will communicate with other proxies using Transport Layer Security (TLS).
You define a listener
for any inbound traffic that your virtual node expects. Any virtual service
that your virtual node expects to communicate to is specified as a backend
.
The response metadata for your new virtual node contains the arn
that is associated with the virtual
node. Set this value to the full ARN; for example,
arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp
) as the
APPMESH_RESOURCE_ARN
environment variable for your task group's Envoy proxy container in your task
definition or pod spec. This is then mapped to the node.id
and node.cluster
Envoy
parameters.
By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN
when Envoy
is referring to itself in metrics and traces. You can override this behavior by setting the
APPMESH_RESOURCE_CLUSTER
environment variable with your own name.
For more information about virtual nodes, see Virtual nodes. You must be
using 1.15.0
or later of the Envoy image when setting these variables. For more information aboutApp
Mesh Envoy variables, see Envoy
image in the App Mesh User Guide.
createVirtualNodeAsync
in interface AWSAppMeshAsync
public Future<CreateVirtualNodeResult> createVirtualNodeAsync(CreateVirtualNodeRequest request, AsyncHandler<CreateVirtualNodeRequest,CreateVirtualNodeResult> asyncHandler)
AWSAppMeshAsync
Creates a virtual node within a service mesh.
A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group, and whether the proxy running in a task group will communicate with other proxies using Transport Layer Security (TLS).
You define a listener
for any inbound traffic that your virtual node expects. Any virtual service
that your virtual node expects to communicate to is specified as a backend
.
The response metadata for your new virtual node contains the arn
that is associated with the virtual
node. Set this value to the full ARN; for example,
arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp
) as the
APPMESH_RESOURCE_ARN
environment variable for your task group's Envoy proxy container in your task
definition or pod spec. This is then mapped to the node.id
and node.cluster
Envoy
parameters.
By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN
when Envoy
is referring to itself in metrics and traces. You can override this behavior by setting the
APPMESH_RESOURCE_CLUSTER
environment variable with your own name.
For more information about virtual nodes, see Virtual nodes. You must be
using 1.15.0
or later of the Envoy image when setting these variables. For more information aboutApp
Mesh Envoy variables, see Envoy
image in the App Mesh User Guide.
createVirtualNodeAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateVirtualRouterResult> createVirtualRouterAsync(CreateVirtualRouterRequest request)
AWSAppMeshAsync
Creates a virtual router within a service mesh.
Specify a listener
for any inbound traffic that your virtual router receives. Create a virtual
router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual
services within your mesh. After you create your virtual router, create and associate routes for your virtual
router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers.
createVirtualRouterAsync
in interface AWSAppMeshAsync
public Future<CreateVirtualRouterResult> createVirtualRouterAsync(CreateVirtualRouterRequest request, AsyncHandler<CreateVirtualRouterRequest,CreateVirtualRouterResult> asyncHandler)
AWSAppMeshAsync
Creates a virtual router within a service mesh.
Specify a listener
for any inbound traffic that your virtual router receives. Create a virtual
router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual
services within your mesh. After you create your virtual router, create and associate routes for your virtual
router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers.
createVirtualRouterAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateVirtualServiceResult> createVirtualServiceAsync(CreateVirtualServiceRequest request)
AWSAppMeshAsync
Creates a virtual service within a service mesh.
A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly
by means of a virtual router. Dependent services call your virtual service by its virtualServiceName
, and those requests are routed to the virtual node or virtual router that is specified as the provider for the
virtual service.
For more information about virtual services, see Virtual services.
createVirtualServiceAsync
in interface AWSAppMeshAsync
public Future<CreateVirtualServiceResult> createVirtualServiceAsync(CreateVirtualServiceRequest request, AsyncHandler<CreateVirtualServiceRequest,CreateVirtualServiceResult> asyncHandler)
AWSAppMeshAsync
Creates a virtual service within a service mesh.
A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly
by means of a virtual router. Dependent services call your virtual service by its virtualServiceName
, and those requests are routed to the virtual node or virtual router that is specified as the provider for the
virtual service.
For more information about virtual services, see Virtual services.
createVirtualServiceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGatewayRouteResult> deleteGatewayRouteAsync(DeleteGatewayRouteRequest request)
AWSAppMeshAsync
Deletes an existing gateway route.
deleteGatewayRouteAsync
in interface AWSAppMeshAsync
public Future<DeleteGatewayRouteResult> deleteGatewayRouteAsync(DeleteGatewayRouteRequest request, AsyncHandler<DeleteGatewayRouteRequest,DeleteGatewayRouteResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing gateway route.
deleteGatewayRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteMeshResult> deleteMeshAsync(DeleteMeshRequest request)
AWSAppMeshAsync
Deletes an existing service mesh.
You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.
deleteMeshAsync
in interface AWSAppMeshAsync
public Future<DeleteMeshResult> deleteMeshAsync(DeleteMeshRequest request, AsyncHandler<DeleteMeshRequest,DeleteMeshResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing service mesh.
You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.
deleteMeshAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request)
AWSAppMeshAsync
Deletes an existing route.
deleteRouteAsync
in interface AWSAppMeshAsync
public Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request, AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing route.
deleteRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVirtualGatewayResult> deleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request)
AWSAppMeshAsync
Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.
deleteVirtualGatewayAsync
in interface AWSAppMeshAsync
public Future<DeleteVirtualGatewayResult> deleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, AsyncHandler<DeleteVirtualGatewayRequest,DeleteVirtualGatewayResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.
deleteVirtualGatewayAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVirtualNodeResult> deleteVirtualNodeAsync(DeleteVirtualNodeRequest request)
AWSAppMeshAsync
Deletes an existing virtual node.
You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.
deleteVirtualNodeAsync
in interface AWSAppMeshAsync
request
- Deletes a virtual node input.public Future<DeleteVirtualNodeResult> deleteVirtualNodeAsync(DeleteVirtualNodeRequest request, AsyncHandler<DeleteVirtualNodeRequest,DeleteVirtualNodeResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing virtual node.
You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.
deleteVirtualNodeAsync
in interface AWSAppMeshAsync
request
- Deletes a virtual node input.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVirtualRouterResult> deleteVirtualRouterAsync(DeleteVirtualRouterRequest request)
AWSAppMeshAsync
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
deleteVirtualRouterAsync
in interface AWSAppMeshAsync
public Future<DeleteVirtualRouterResult> deleteVirtualRouterAsync(DeleteVirtualRouterRequest request, AsyncHandler<DeleteVirtualRouterRequest,DeleteVirtualRouterResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
deleteVirtualRouterAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVirtualServiceResult> deleteVirtualServiceAsync(DeleteVirtualServiceRequest request)
AWSAppMeshAsync
Deletes an existing virtual service.
deleteVirtualServiceAsync
in interface AWSAppMeshAsync
public Future<DeleteVirtualServiceResult> deleteVirtualServiceAsync(DeleteVirtualServiceRequest request, AsyncHandler<DeleteVirtualServiceRequest,DeleteVirtualServiceResult> asyncHandler)
AWSAppMeshAsync
Deletes an existing virtual service.
deleteVirtualServiceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeGatewayRouteResult> describeGatewayRouteAsync(DescribeGatewayRouteRequest request)
AWSAppMeshAsync
Describes an existing gateway route.
describeGatewayRouteAsync
in interface AWSAppMeshAsync
public Future<DescribeGatewayRouteResult> describeGatewayRouteAsync(DescribeGatewayRouteRequest request, AsyncHandler<DescribeGatewayRouteRequest,DescribeGatewayRouteResult> asyncHandler)
AWSAppMeshAsync
Describes an existing gateway route.
describeGatewayRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeMeshResult> describeMeshAsync(DescribeMeshRequest request)
AWSAppMeshAsync
Describes an existing service mesh.
describeMeshAsync
in interface AWSAppMeshAsync
public Future<DescribeMeshResult> describeMeshAsync(DescribeMeshRequest request, AsyncHandler<DescribeMeshRequest,DescribeMeshResult> asyncHandler)
AWSAppMeshAsync
Describes an existing service mesh.
describeMeshAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRouteResult> describeRouteAsync(DescribeRouteRequest request)
AWSAppMeshAsync
Describes an existing route.
describeRouteAsync
in interface AWSAppMeshAsync
public Future<DescribeRouteResult> describeRouteAsync(DescribeRouteRequest request, AsyncHandler<DescribeRouteRequest,DescribeRouteResult> asyncHandler)
AWSAppMeshAsync
Describes an existing route.
describeRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVirtualGatewayResult> describeVirtualGatewayAsync(DescribeVirtualGatewayRequest request)
AWSAppMeshAsync
Describes an existing virtual gateway.
describeVirtualGatewayAsync
in interface AWSAppMeshAsync
public Future<DescribeVirtualGatewayResult> describeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, AsyncHandler<DescribeVirtualGatewayRequest,DescribeVirtualGatewayResult> asyncHandler)
AWSAppMeshAsync
Describes an existing virtual gateway.
describeVirtualGatewayAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVirtualNodeResult> describeVirtualNodeAsync(DescribeVirtualNodeRequest request)
AWSAppMeshAsync
Describes an existing virtual node.
describeVirtualNodeAsync
in interface AWSAppMeshAsync
public Future<DescribeVirtualNodeResult> describeVirtualNodeAsync(DescribeVirtualNodeRequest request, AsyncHandler<DescribeVirtualNodeRequest,DescribeVirtualNodeResult> asyncHandler)
AWSAppMeshAsync
Describes an existing virtual node.
describeVirtualNodeAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVirtualRouterResult> describeVirtualRouterAsync(DescribeVirtualRouterRequest request)
AWSAppMeshAsync
Describes an existing virtual router.
describeVirtualRouterAsync
in interface AWSAppMeshAsync
public Future<DescribeVirtualRouterResult> describeVirtualRouterAsync(DescribeVirtualRouterRequest request, AsyncHandler<DescribeVirtualRouterRequest,DescribeVirtualRouterResult> asyncHandler)
AWSAppMeshAsync
Describes an existing virtual router.
describeVirtualRouterAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVirtualServiceResult> describeVirtualServiceAsync(DescribeVirtualServiceRequest request)
AWSAppMeshAsync
Describes an existing virtual service.
describeVirtualServiceAsync
in interface AWSAppMeshAsync
public Future<DescribeVirtualServiceResult> describeVirtualServiceAsync(DescribeVirtualServiceRequest request, AsyncHandler<DescribeVirtualServiceRequest,DescribeVirtualServiceResult> asyncHandler)
AWSAppMeshAsync
Describes an existing virtual service.
describeVirtualServiceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGatewayRoutesResult> listGatewayRoutesAsync(ListGatewayRoutesRequest request)
AWSAppMeshAsync
Returns a list of existing gateway routes that are associated to a virtual gateway.
listGatewayRoutesAsync
in interface AWSAppMeshAsync
public Future<ListGatewayRoutesResult> listGatewayRoutesAsync(ListGatewayRoutesRequest request, AsyncHandler<ListGatewayRoutesRequest,ListGatewayRoutesResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing gateway routes that are associated to a virtual gateway.
listGatewayRoutesAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListMeshesResult> listMeshesAsync(ListMeshesRequest request)
AWSAppMeshAsync
Returns a list of existing service meshes.
listMeshesAsync
in interface AWSAppMeshAsync
public Future<ListMeshesResult> listMeshesAsync(ListMeshesRequest request, AsyncHandler<ListMeshesRequest,ListMeshesResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing service meshes.
listMeshesAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request)
AWSAppMeshAsync
Returns a list of existing routes in a service mesh.
listRoutesAsync
in interface AWSAppMeshAsync
public Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request, AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing routes in a service mesh.
listRoutesAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSAppMeshAsync
List the tags for an App Mesh resource.
listTagsForResourceAsync
in interface AWSAppMeshAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSAppMeshAsync
List the tags for an App Mesh resource.
listTagsForResourceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListVirtualGatewaysResult> listVirtualGatewaysAsync(ListVirtualGatewaysRequest request)
AWSAppMeshAsync
Returns a list of existing virtual gateways in a service mesh.
listVirtualGatewaysAsync
in interface AWSAppMeshAsync
public Future<ListVirtualGatewaysResult> listVirtualGatewaysAsync(ListVirtualGatewaysRequest request, AsyncHandler<ListVirtualGatewaysRequest,ListVirtualGatewaysResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing virtual gateways in a service mesh.
listVirtualGatewaysAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListVirtualNodesResult> listVirtualNodesAsync(ListVirtualNodesRequest request)
AWSAppMeshAsync
Returns a list of existing virtual nodes.
listVirtualNodesAsync
in interface AWSAppMeshAsync
public Future<ListVirtualNodesResult> listVirtualNodesAsync(ListVirtualNodesRequest request, AsyncHandler<ListVirtualNodesRequest,ListVirtualNodesResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing virtual nodes.
listVirtualNodesAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListVirtualRoutersResult> listVirtualRoutersAsync(ListVirtualRoutersRequest request)
AWSAppMeshAsync
Returns a list of existing virtual routers in a service mesh.
listVirtualRoutersAsync
in interface AWSAppMeshAsync
public Future<ListVirtualRoutersResult> listVirtualRoutersAsync(ListVirtualRoutersRequest request, AsyncHandler<ListVirtualRoutersRequest,ListVirtualRoutersResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing virtual routers in a service mesh.
listVirtualRoutersAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListVirtualServicesResult> listVirtualServicesAsync(ListVirtualServicesRequest request)
AWSAppMeshAsync
Returns a list of existing virtual services in a service mesh.
listVirtualServicesAsync
in interface AWSAppMeshAsync
public Future<ListVirtualServicesResult> listVirtualServicesAsync(ListVirtualServicesRequest request, AsyncHandler<ListVirtualServicesRequest,ListVirtualServicesResult> asyncHandler)
AWSAppMeshAsync
Returns a list of existing virtual services in a service mesh.
listVirtualServicesAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSAppMeshAsync
Associates the specified tags to a resource with the specified resourceArn
. If existing tags on a
resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags
associated with that resource are also deleted.
tagResourceAsync
in interface AWSAppMeshAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSAppMeshAsync
Associates the specified tags to a resource with the specified resourceArn
. If existing tags on a
resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags
associated with that resource are also deleted.
tagResourceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSAppMeshAsync
Deletes specified tags from a resource.
untagResourceAsync
in interface AWSAppMeshAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSAppMeshAsync
Deletes specified tags from a resource.
untagResourceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateGatewayRouteResult> updateGatewayRouteAsync(UpdateGatewayRouteRequest request)
AWSAppMeshAsync
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
updateGatewayRouteAsync
in interface AWSAppMeshAsync
public Future<UpdateGatewayRouteResult> updateGatewayRouteAsync(UpdateGatewayRouteRequest request, AsyncHandler<UpdateGatewayRouteRequest,UpdateGatewayRouteResult> asyncHandler)
AWSAppMeshAsync
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
updateGatewayRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateMeshResult> updateMeshAsync(UpdateMeshRequest request)
AWSAppMeshAsync
Updates an existing service mesh.
updateMeshAsync
in interface AWSAppMeshAsync
public Future<UpdateMeshResult> updateMeshAsync(UpdateMeshRequest request, AsyncHandler<UpdateMeshRequest,UpdateMeshResult> asyncHandler)
AWSAppMeshAsync
Updates an existing service mesh.
updateMeshAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRouteResult> updateRouteAsync(UpdateRouteRequest request)
AWSAppMeshAsync
Updates an existing route for a specified service mesh and virtual router.
updateRouteAsync
in interface AWSAppMeshAsync
public Future<UpdateRouteResult> updateRouteAsync(UpdateRouteRequest request, AsyncHandler<UpdateRouteRequest,UpdateRouteResult> asyncHandler)
AWSAppMeshAsync
Updates an existing route for a specified service mesh and virtual router.
updateRouteAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVirtualGatewayResult> updateVirtualGatewayAsync(UpdateVirtualGatewayRequest request)
AWSAppMeshAsync
Updates an existing virtual gateway in a specified service mesh.
updateVirtualGatewayAsync
in interface AWSAppMeshAsync
public Future<UpdateVirtualGatewayResult> updateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, AsyncHandler<UpdateVirtualGatewayRequest,UpdateVirtualGatewayResult> asyncHandler)
AWSAppMeshAsync
Updates an existing virtual gateway in a specified service mesh.
updateVirtualGatewayAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVirtualNodeResult> updateVirtualNodeAsync(UpdateVirtualNodeRequest request)
AWSAppMeshAsync
Updates an existing virtual node in a specified service mesh.
updateVirtualNodeAsync
in interface AWSAppMeshAsync
public Future<UpdateVirtualNodeResult> updateVirtualNodeAsync(UpdateVirtualNodeRequest request, AsyncHandler<UpdateVirtualNodeRequest,UpdateVirtualNodeResult> asyncHandler)
AWSAppMeshAsync
Updates an existing virtual node in a specified service mesh.
updateVirtualNodeAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVirtualRouterResult> updateVirtualRouterAsync(UpdateVirtualRouterRequest request)
AWSAppMeshAsync
Updates an existing virtual router in a specified service mesh.
updateVirtualRouterAsync
in interface AWSAppMeshAsync
public Future<UpdateVirtualRouterResult> updateVirtualRouterAsync(UpdateVirtualRouterRequest request, AsyncHandler<UpdateVirtualRouterRequest,UpdateVirtualRouterResult> asyncHandler)
AWSAppMeshAsync
Updates an existing virtual router in a specified service mesh.
updateVirtualRouterAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVirtualServiceResult> updateVirtualServiceAsync(UpdateVirtualServiceRequest request)
AWSAppMeshAsync
Updates an existing virtual service in a specified service mesh.
updateVirtualServiceAsync
in interface AWSAppMeshAsync
public Future<UpdateVirtualServiceResult> updateVirtualServiceAsync(UpdateVirtualServiceRequest request, AsyncHandler<UpdateVirtualServiceRequest,UpdateVirtualServiceResult> asyncHandler)
AWSAppMeshAsync
Updates an existing virtual service in a specified service mesh.
updateVirtualServiceAsync
in interface AWSAppMeshAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSAppMesh
shutdown
in class AWSAppMeshClient