@Generated(value="software.amazon.awssdk:codegen") public interface AppMeshClient extends SdkClient
builder()
method.
AWS 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 AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, 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.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static AppMeshClientBuilder |
builder()
Create a builder that can be used to configure and create a
AppMeshClient . |
static AppMeshClient |
create()
Create a
AppMeshClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateGatewayRouteResponse |
createGatewayRoute(Consumer<CreateGatewayRouteRequest.Builder> createGatewayRouteRequest)
Creates a gateway route.
|
default CreateGatewayRouteResponse |
createGatewayRoute(CreateGatewayRouteRequest createGatewayRouteRequest)
Creates a gateway route.
|
default CreateMeshResponse |
createMesh(Consumer<CreateMeshRequest.Builder> createMeshRequest)
Creates a service mesh.
|
default CreateMeshResponse |
createMesh(CreateMeshRequest createMeshRequest)
Creates a service mesh.
|
default CreateRouteResponse |
createRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest)
Creates a route that is associated with a virtual router.
|
default CreateRouteResponse |
createRoute(CreateRouteRequest createRouteRequest)
Creates a route that is associated with a virtual router.
|
default CreateVirtualGatewayResponse |
createVirtualGateway(Consumer<CreateVirtualGatewayRequest.Builder> createVirtualGatewayRequest)
Creates a virtual gateway.
|
default CreateVirtualGatewayResponse |
createVirtualGateway(CreateVirtualGatewayRequest createVirtualGatewayRequest)
Creates a virtual gateway.
|
default CreateVirtualNodeResponse |
createVirtualNode(Consumer<CreateVirtualNodeRequest.Builder> createVirtualNodeRequest)
Creates a virtual node within a service mesh.
|
default CreateVirtualNodeResponse |
createVirtualNode(CreateVirtualNodeRequest createVirtualNodeRequest)
Creates a virtual node within a service mesh.
|
default CreateVirtualRouterResponse |
createVirtualRouter(Consumer<CreateVirtualRouterRequest.Builder> createVirtualRouterRequest)
Creates a virtual router within a service mesh.
|
default CreateVirtualRouterResponse |
createVirtualRouter(CreateVirtualRouterRequest createVirtualRouterRequest)
Creates a virtual router within a service mesh.
|
default CreateVirtualServiceResponse |
createVirtualService(Consumer<CreateVirtualServiceRequest.Builder> createVirtualServiceRequest)
Creates a virtual service within a service mesh.
|
default CreateVirtualServiceResponse |
createVirtualService(CreateVirtualServiceRequest createVirtualServiceRequest)
Creates a virtual service within a service mesh.
|
default DeleteGatewayRouteResponse |
deleteGatewayRoute(Consumer<DeleteGatewayRouteRequest.Builder> deleteGatewayRouteRequest)
Deletes an existing gateway route.
|
default DeleteGatewayRouteResponse |
deleteGatewayRoute(DeleteGatewayRouteRequest deleteGatewayRouteRequest)
Deletes an existing gateway route.
|
default DeleteMeshResponse |
deleteMesh(Consumer<DeleteMeshRequest.Builder> deleteMeshRequest)
Deletes an existing service mesh.
|
default DeleteMeshResponse |
deleteMesh(DeleteMeshRequest deleteMeshRequest)
Deletes an existing service mesh.
|
default DeleteRouteResponse |
deleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest)
Deletes an existing route.
|
default DeleteRouteResponse |
deleteRoute(DeleteRouteRequest deleteRouteRequest)
Deletes an existing route.
|
default DeleteVirtualGatewayResponse |
deleteVirtualGateway(Consumer<DeleteVirtualGatewayRequest.Builder> deleteVirtualGatewayRequest)
Deletes an existing virtual gateway.
|
default DeleteVirtualGatewayResponse |
deleteVirtualGateway(DeleteVirtualGatewayRequest deleteVirtualGatewayRequest)
Deletes an existing virtual gateway.
|
default DeleteVirtualNodeResponse |
deleteVirtualNode(Consumer<DeleteVirtualNodeRequest.Builder> deleteVirtualNodeRequest)
Deletes an existing virtual node.
|
default DeleteVirtualNodeResponse |
deleteVirtualNode(DeleteVirtualNodeRequest deleteVirtualNodeRequest)
Deletes an existing virtual node.
|
default DeleteVirtualRouterResponse |
deleteVirtualRouter(Consumer<DeleteVirtualRouterRequest.Builder> deleteVirtualRouterRequest)
Deletes an existing virtual router.
|
default DeleteVirtualRouterResponse |
deleteVirtualRouter(DeleteVirtualRouterRequest deleteVirtualRouterRequest)
Deletes an existing virtual router.
|
default DeleteVirtualServiceResponse |
deleteVirtualService(Consumer<DeleteVirtualServiceRequest.Builder> deleteVirtualServiceRequest)
Deletes an existing virtual service.
|
default DeleteVirtualServiceResponse |
deleteVirtualService(DeleteVirtualServiceRequest deleteVirtualServiceRequest)
Deletes an existing virtual service.
|
default DescribeGatewayRouteResponse |
describeGatewayRoute(Consumer<DescribeGatewayRouteRequest.Builder> describeGatewayRouteRequest)
Describes an existing gateway route.
|
default DescribeGatewayRouteResponse |
describeGatewayRoute(DescribeGatewayRouteRequest describeGatewayRouteRequest)
Describes an existing gateway route.
|
default DescribeMeshResponse |
describeMesh(Consumer<DescribeMeshRequest.Builder> describeMeshRequest)
Describes an existing service mesh.
|
default DescribeMeshResponse |
describeMesh(DescribeMeshRequest describeMeshRequest)
Describes an existing service mesh.
|
default DescribeRouteResponse |
describeRoute(Consumer<DescribeRouteRequest.Builder> describeRouteRequest)
Describes an existing route.
|
default DescribeRouteResponse |
describeRoute(DescribeRouteRequest describeRouteRequest)
Describes an existing route.
|
default DescribeVirtualGatewayResponse |
describeVirtualGateway(Consumer<DescribeVirtualGatewayRequest.Builder> describeVirtualGatewayRequest)
Describes an existing virtual gateway.
|
default DescribeVirtualGatewayResponse |
describeVirtualGateway(DescribeVirtualGatewayRequest describeVirtualGatewayRequest)
Describes an existing virtual gateway.
|
default DescribeVirtualNodeResponse |
describeVirtualNode(Consumer<DescribeVirtualNodeRequest.Builder> describeVirtualNodeRequest)
Describes an existing virtual node.
|
default DescribeVirtualNodeResponse |
describeVirtualNode(DescribeVirtualNodeRequest describeVirtualNodeRequest)
Describes an existing virtual node.
|
default DescribeVirtualRouterResponse |
describeVirtualRouter(Consumer<DescribeVirtualRouterRequest.Builder> describeVirtualRouterRequest)
Describes an existing virtual router.
|
default DescribeVirtualRouterResponse |
describeVirtualRouter(DescribeVirtualRouterRequest describeVirtualRouterRequest)
Describes an existing virtual router.
|
default DescribeVirtualServiceResponse |
describeVirtualService(Consumer<DescribeVirtualServiceRequest.Builder> describeVirtualServiceRequest)
Describes an existing virtual service.
|
default DescribeVirtualServiceResponse |
describeVirtualService(DescribeVirtualServiceRequest describeVirtualServiceRequest)
Describes an existing virtual service.
|
default ListGatewayRoutesResponse |
listGatewayRoutes(Consumer<ListGatewayRoutesRequest.Builder> listGatewayRoutesRequest)
Returns a list of existing gateway routes that are associated to a virtual gateway.
|
default ListGatewayRoutesResponse |
listGatewayRoutes(ListGatewayRoutesRequest listGatewayRoutesRequest)
Returns a list of existing gateway routes that are associated to a virtual gateway.
|
default ListGatewayRoutesIterable |
listGatewayRoutesPaginator(Consumer<ListGatewayRoutesRequest.Builder> listGatewayRoutesRequest)
Returns a list of existing gateway routes that are associated to a virtual gateway.
|
default ListGatewayRoutesIterable |
listGatewayRoutesPaginator(ListGatewayRoutesRequest listGatewayRoutesRequest)
Returns a list of existing gateway routes that are associated to a virtual gateway.
|
default ListMeshesResponse |
listMeshes()
Returns a list of existing service meshes.
|
default ListMeshesResponse |
listMeshes(Consumer<ListMeshesRequest.Builder> listMeshesRequest)
Returns a list of existing service meshes.
|
default ListMeshesResponse |
listMeshes(ListMeshesRequest listMeshesRequest)
Returns a list of existing service meshes.
|
default ListMeshesIterable |
listMeshesPaginator()
Returns a list of existing service meshes.
|
default ListMeshesIterable |
listMeshesPaginator(Consumer<ListMeshesRequest.Builder> listMeshesRequest)
Returns a list of existing service meshes.
|
default ListMeshesIterable |
listMeshesPaginator(ListMeshesRequest listMeshesRequest)
Returns a list of existing service meshes.
|
default ListRoutesResponse |
listRoutes(Consumer<ListRoutesRequest.Builder> listRoutesRequest)
Returns a list of existing routes in a service mesh.
|
default ListRoutesResponse |
listRoutes(ListRoutesRequest listRoutesRequest)
Returns a list of existing routes in a service mesh.
|
default ListRoutesIterable |
listRoutesPaginator(Consumer<ListRoutesRequest.Builder> listRoutesRequest)
Returns a list of existing routes in a service mesh.
|
default ListRoutesIterable |
listRoutesPaginator(ListRoutesRequest listRoutesRequest)
Returns a list of existing routes in a service mesh.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List the tags for an App Mesh resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for an App Mesh resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List the tags for an App Mesh resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for an App Mesh resource.
|
default ListVirtualGatewaysResponse |
listVirtualGateways(Consumer<ListVirtualGatewaysRequest.Builder> listVirtualGatewaysRequest)
Returns a list of existing virtual gateways in a service mesh.
|
default ListVirtualGatewaysResponse |
listVirtualGateways(ListVirtualGatewaysRequest listVirtualGatewaysRequest)
Returns a list of existing virtual gateways in a service mesh.
|
default ListVirtualGatewaysIterable |
listVirtualGatewaysPaginator(Consumer<ListVirtualGatewaysRequest.Builder> listVirtualGatewaysRequest)
Returns a list of existing virtual gateways in a service mesh.
|
default ListVirtualGatewaysIterable |
listVirtualGatewaysPaginator(ListVirtualGatewaysRequest listVirtualGatewaysRequest)
Returns a list of existing virtual gateways in a service mesh.
|
default ListVirtualNodesResponse |
listVirtualNodes(Consumer<ListVirtualNodesRequest.Builder> listVirtualNodesRequest)
Returns a list of existing virtual nodes.
|
default ListVirtualNodesResponse |
listVirtualNodes(ListVirtualNodesRequest listVirtualNodesRequest)
Returns a list of existing virtual nodes.
|
default ListVirtualNodesIterable |
listVirtualNodesPaginator(Consumer<ListVirtualNodesRequest.Builder> listVirtualNodesRequest)
Returns a list of existing virtual nodes.
|
default ListVirtualNodesIterable |
listVirtualNodesPaginator(ListVirtualNodesRequest listVirtualNodesRequest)
Returns a list of existing virtual nodes.
|
default ListVirtualRoutersResponse |
listVirtualRouters(Consumer<ListVirtualRoutersRequest.Builder> listVirtualRoutersRequest)
Returns a list of existing virtual routers in a service mesh.
|
default ListVirtualRoutersResponse |
listVirtualRouters(ListVirtualRoutersRequest listVirtualRoutersRequest)
Returns a list of existing virtual routers in a service mesh.
|
default ListVirtualRoutersIterable |
listVirtualRoutersPaginator(Consumer<ListVirtualRoutersRequest.Builder> listVirtualRoutersRequest)
Returns a list of existing virtual routers in a service mesh.
|
default ListVirtualRoutersIterable |
listVirtualRoutersPaginator(ListVirtualRoutersRequest listVirtualRoutersRequest)
Returns a list of existing virtual routers in a service mesh.
|
default ListVirtualServicesResponse |
listVirtualServices(Consumer<ListVirtualServicesRequest.Builder> listVirtualServicesRequest)
Returns a list of existing virtual services in a service mesh.
|
default ListVirtualServicesResponse |
listVirtualServices(ListVirtualServicesRequest listVirtualServicesRequest)
Returns a list of existing virtual services in a service mesh.
|
default ListVirtualServicesIterable |
listVirtualServicesPaginator(Consumer<ListVirtualServicesRequest.Builder> listVirtualServicesRequest)
Returns a list of existing virtual services in a service mesh.
|
default ListVirtualServicesIterable |
listVirtualServicesPaginator(ListVirtualServicesRequest listVirtualServicesRequest)
Returns a list of existing virtual services in a service mesh.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Associates the specified tags to a resource with the specified
resourceArn . |
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Associates the specified tags to a resource with the specified
resourceArn . |
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes specified tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes specified tags from a resource.
|
default UpdateGatewayRouteResponse |
updateGatewayRoute(Consumer<UpdateGatewayRouteRequest.Builder> updateGatewayRouteRequest)
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
|
default UpdateGatewayRouteResponse |
updateGatewayRoute(UpdateGatewayRouteRequest updateGatewayRouteRequest)
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
|
default UpdateMeshResponse |
updateMesh(Consumer<UpdateMeshRequest.Builder> updateMeshRequest)
Updates an existing service mesh.
|
default UpdateMeshResponse |
updateMesh(UpdateMeshRequest updateMeshRequest)
Updates an existing service mesh.
|
default UpdateRouteResponse |
updateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest)
Updates an existing route for a specified service mesh and virtual router.
|
default UpdateRouteResponse |
updateRoute(UpdateRouteRequest updateRouteRequest)
Updates an existing route for a specified service mesh and virtual router.
|
default UpdateVirtualGatewayResponse |
updateVirtualGateway(Consumer<UpdateVirtualGatewayRequest.Builder> updateVirtualGatewayRequest)
Updates an existing virtual gateway in a specified service mesh.
|
default UpdateVirtualGatewayResponse |
updateVirtualGateway(UpdateVirtualGatewayRequest updateVirtualGatewayRequest)
Updates an existing virtual gateway in a specified service mesh.
|
default UpdateVirtualNodeResponse |
updateVirtualNode(Consumer<UpdateVirtualNodeRequest.Builder> updateVirtualNodeRequest)
Updates an existing virtual node in a specified service mesh.
|
default UpdateVirtualNodeResponse |
updateVirtualNode(UpdateVirtualNodeRequest updateVirtualNodeRequest)
Updates an existing virtual node in a specified service mesh.
|
default UpdateVirtualRouterResponse |
updateVirtualRouter(Consumer<UpdateVirtualRouterRequest.Builder> updateVirtualRouterRequest)
Updates an existing virtual router in a specified service mesh.
|
default UpdateVirtualRouterResponse |
updateVirtualRouter(UpdateVirtualRouterRequest updateVirtualRouterRequest)
Updates an existing virtual router in a specified service mesh.
|
default UpdateVirtualServiceResponse |
updateVirtualService(Consumer<UpdateVirtualServiceRequest.Builder> updateVirtualServiceRequest)
Updates an existing virtual service in a specified service mesh.
|
default UpdateVirtualServiceResponse |
updateVirtualService(UpdateVirtualServiceRequest updateVirtualServiceRequest)
Updates an existing virtual service in a specified service mesh.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static AppMeshClient create()
AppMeshClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static AppMeshClientBuilder builder()
AppMeshClient
.default CreateGatewayRouteResponse createGatewayRoute(CreateGatewayRouteRequest createGatewayRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createGatewayRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateGatewayRouteResponse createGatewayRoute(Consumer<CreateGatewayRouteRequest.Builder> createGatewayRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateGatewayRouteRequest.Builder
avoiding the
need to create one manually via CreateGatewayRouteRequest.builder()
createGatewayRouteRequest
- A Consumer
that will call methods on CreateGatewayRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateMeshResponse createMesh(CreateMeshRequest createMeshRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createMeshRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateMeshResponse createMesh(Consumer<CreateMeshRequest.Builder> createMeshRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateMeshRequest.Builder
avoiding the need to
create one manually via CreateMeshRequest.builder()
createMeshRequest
- A Consumer
that will call methods on CreateMeshInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateRouteResponse createRoute(CreateRouteRequest createRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateRouteResponse createRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateRouteRequest.Builder
avoiding the need to
create one manually via CreateRouteRequest.builder()
createRouteRequest
- A Consumer
that will call methods on CreateRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualGatewayResponse createVirtualGateway(CreateVirtualGatewayRequest createVirtualGatewayRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createVirtualGatewayRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualGatewayResponse createVirtualGateway(Consumer<CreateVirtualGatewayRequest.Builder> createVirtualGatewayRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateVirtualGatewayRequest.Builder
avoiding the
need to create one manually via CreateVirtualGatewayRequest.builder()
createVirtualGatewayRequest
- A Consumer
that will call methods on CreateVirtualGatewayInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualNodeResponse createVirtualNode(CreateVirtualNodeRequest createVirtualNodeRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
AWS Cloud Map is not available in the eu-south-1 Region.
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 about
App Mesh Envoy variables, see Envoy
image in the AWS App Mesh User Guide.
createVirtualNodeRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualNodeResponse createVirtualNode(Consumer<CreateVirtualNodeRequest.Builder> createVirtualNodeRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
AWS Cloud Map is not available in the eu-south-1 Region.
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 about
App Mesh Envoy variables, see Envoy
image in the AWS App Mesh User Guide.
This is a convenience which creates an instance of the CreateVirtualNodeRequest.Builder
avoiding the need
to create one manually via CreateVirtualNodeRequest.builder()
createVirtualNodeRequest
- A Consumer
that will call methods on CreateVirtualNodeInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualRouterResponse createVirtualRouter(CreateVirtualRouterRequest createVirtualRouterRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createVirtualRouterRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualRouterResponse createVirtualRouter(Consumer<CreateVirtualRouterRequest.Builder> createVirtualRouterRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateVirtualRouterRequest.Builder
avoiding the
need to create one manually via CreateVirtualRouterRequest.builder()
createVirtualRouterRequest
- A Consumer
that will call methods on CreateVirtualRouterInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualServiceResponse createVirtualService(CreateVirtualServiceRequest createVirtualServiceRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
createVirtualServiceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateVirtualServiceResponse createVirtualService(Consumer<CreateVirtualServiceRequest.Builder> createVirtualServiceRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the CreateVirtualServiceRequest.Builder
avoiding the
need to create one manually via CreateVirtualServiceRequest.builder()
createVirtualServiceRequest
- A Consumer
that will call methods on CreateVirtualServiceInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteGatewayRouteResponse deleteGatewayRoute(DeleteGatewayRouteRequest deleteGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing gateway route.
deleteGatewayRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteGatewayRouteResponse deleteGatewayRoute(Consumer<DeleteGatewayRouteRequest.Builder> deleteGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing gateway route.
This is a convenience which creates an instance of the DeleteGatewayRouteRequest.Builder
avoiding the
need to create one manually via DeleteGatewayRouteRequest.builder()
deleteGatewayRouteRequest
- A Consumer
that will call methods on DeleteGatewayRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteMeshResponse deleteMesh(DeleteMeshRequest deleteMeshRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
deleteMeshRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteMeshResponse deleteMesh(Consumer<DeleteMeshRequest.Builder> deleteMeshRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the DeleteMeshRequest.Builder
avoiding the need to
create one manually via DeleteMeshRequest.builder()
deleteMeshRequest
- A Consumer
that will call methods on DeleteMeshInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRouteResponse deleteRoute(DeleteRouteRequest deleteRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing route.
deleteRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRouteResponse deleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing route.
This is a convenience which creates an instance of the DeleteRouteRequest.Builder
avoiding the need to
create one manually via DeleteRouteRequest.builder()
deleteRouteRequest
- A Consumer
that will call methods on DeleteRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualGatewayResponse deleteVirtualGateway(DeleteVirtualGatewayRequest deleteVirtualGatewayRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.
deleteVirtualGatewayRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualGatewayResponse deleteVirtualGateway(Consumer<DeleteVirtualGatewayRequest.Builder> deleteVirtualGatewayRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.
This is a convenience which creates an instance of the DeleteVirtualGatewayRequest.Builder
avoiding the
need to create one manually via DeleteVirtualGatewayRequest.builder()
deleteVirtualGatewayRequest
- A Consumer
that will call methods on DeleteVirtualGatewayInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualNodeResponse deleteVirtualNode(DeleteVirtualNodeRequest deleteVirtualNodeRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
deleteVirtualNodeRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualNodeResponse deleteVirtualNode(Consumer<DeleteVirtualNodeRequest.Builder> deleteVirtualNodeRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the DeleteVirtualNodeRequest.Builder
avoiding the need
to create one manually via DeleteVirtualNodeRequest.builder()
deleteVirtualNodeRequest
- A Consumer
that will call methods on DeleteVirtualNodeInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualRouterResponse deleteVirtualRouter(DeleteVirtualRouterRequest deleteVirtualRouterRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
deleteVirtualRouterRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualRouterResponse deleteVirtualRouter(Consumer<DeleteVirtualRouterRequest.Builder> deleteVirtualRouterRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
This is a convenience which creates an instance of the DeleteVirtualRouterRequest.Builder
avoiding the
need to create one manually via DeleteVirtualRouterRequest.builder()
deleteVirtualRouterRequest
- A Consumer
that will call methods on DeleteVirtualRouterInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualServiceResponse deleteVirtualService(DeleteVirtualServiceRequest deleteVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual service.
deleteVirtualServiceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteVirtualServiceResponse deleteVirtualService(Consumer<DeleteVirtualServiceRequest.Builder> deleteVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual service.
This is a convenience which creates an instance of the DeleteVirtualServiceRequest.Builder
avoiding the
need to create one manually via DeleteVirtualServiceRequest.builder()
deleteVirtualServiceRequest
- A Consumer
that will call methods on DeleteVirtualServiceInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ResourceInUseException
- You can't delete the specified resource because it's in use or required by another resource.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeGatewayRouteResponse describeGatewayRoute(DescribeGatewayRouteRequest describeGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing gateway route.
describeGatewayRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeGatewayRouteResponse describeGatewayRoute(Consumer<DescribeGatewayRouteRequest.Builder> describeGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing gateway route.
This is a convenience which creates an instance of the DescribeGatewayRouteRequest.Builder
avoiding the
need to create one manually via DescribeGatewayRouteRequest.builder()
describeGatewayRouteRequest
- A Consumer
that will call methods on DescribeGatewayRouteInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeMeshResponse describeMesh(DescribeMeshRequest describeMeshRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing service mesh.
describeMeshRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeMeshResponse describeMesh(Consumer<DescribeMeshRequest.Builder> describeMeshRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing service mesh.
This is a convenience which creates an instance of the DescribeMeshRequest.Builder
avoiding the need to
create one manually via DescribeMeshRequest.builder()
describeMeshRequest
- A Consumer
that will call methods on DescribeMeshInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeRouteResponse describeRoute(DescribeRouteRequest describeRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing route.
describeRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeRouteResponse describeRoute(Consumer<DescribeRouteRequest.Builder> describeRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing route.
This is a convenience which creates an instance of the DescribeRouteRequest.Builder
avoiding the need to
create one manually via DescribeRouteRequest.builder()
describeRouteRequest
- A Consumer
that will call methods on DescribeRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualGatewayResponse describeVirtualGateway(DescribeVirtualGatewayRequest describeVirtualGatewayRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual gateway.
describeVirtualGatewayRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualGatewayResponse describeVirtualGateway(Consumer<DescribeVirtualGatewayRequest.Builder> describeVirtualGatewayRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual gateway.
This is a convenience which creates an instance of the DescribeVirtualGatewayRequest.Builder
avoiding the
need to create one manually via DescribeVirtualGatewayRequest.builder()
describeVirtualGatewayRequest
- A Consumer
that will call methods on DescribeVirtualGatewayInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualNodeResponse describeVirtualNode(DescribeVirtualNodeRequest describeVirtualNodeRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual node.
describeVirtualNodeRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualNodeResponse describeVirtualNode(Consumer<DescribeVirtualNodeRequest.Builder> describeVirtualNodeRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual node.
This is a convenience which creates an instance of the DescribeVirtualNodeRequest.Builder
avoiding the
need to create one manually via DescribeVirtualNodeRequest.builder()
describeVirtualNodeRequest
- A Consumer
that will call methods on DescribeVirtualNodeInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualRouterResponse describeVirtualRouter(DescribeVirtualRouterRequest describeVirtualRouterRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual router.
describeVirtualRouterRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualRouterResponse describeVirtualRouter(Consumer<DescribeVirtualRouterRequest.Builder> describeVirtualRouterRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual router.
This is a convenience which creates an instance of the DescribeVirtualRouterRequest.Builder
avoiding the
need to create one manually via DescribeVirtualRouterRequest.builder()
describeVirtualRouterRequest
- A Consumer
that will call methods on DescribeVirtualRouterInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualServiceResponse describeVirtualService(DescribeVirtualServiceRequest describeVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual service.
describeVirtualServiceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeVirtualServiceResponse describeVirtualService(Consumer<DescribeVirtualServiceRequest.Builder> describeVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual service.
This is a convenience which creates an instance of the DescribeVirtualServiceRequest.Builder
avoiding the
need to create one manually via DescribeVirtualServiceRequest.builder()
describeVirtualServiceRequest
- A Consumer
that will call methods on DescribeVirtualServiceInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGatewayRoutesResponse listGatewayRoutes(ListGatewayRoutesRequest listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing gateway routes that are associated to a virtual gateway.
listGatewayRoutesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGatewayRoutesResponse listGatewayRoutes(Consumer<ListGatewayRoutesRequest.Builder> listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing gateway routes that are associated to a virtual gateway.
This is a convenience which creates an instance of the ListGatewayRoutesRequest.Builder
avoiding the need
to create one manually via ListGatewayRoutesRequest.builder()
listGatewayRoutesRequest
- A Consumer
that will call methods on ListGatewayRoutesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGatewayRoutesIterable listGatewayRoutesPaginator(ListGatewayRoutesRequest listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing gateway routes that are associated to a virtual gateway.
This is a variant of
listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client .listGatewayRoutesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)
operation.
listGatewayRoutesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGatewayRoutesIterable listGatewayRoutesPaginator(Consumer<ListGatewayRoutesRequest.Builder> listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing gateway routes that are associated to a virtual gateway.
This is a variant of
listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client .listGatewayRoutesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)
operation.
This is a convenience which creates an instance of the ListGatewayRoutesRequest.Builder
avoiding the need
to create one manually via ListGatewayRoutesRequest.builder()
listGatewayRoutesRequest
- A Consumer
that will call methods on ListGatewayRoutesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListMeshesResponse listMeshes() throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listMeshes(ListMeshesRequest)
,
AWS API
Documentationdefault ListMeshesResponse listMeshes(ListMeshesRequest listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
listMeshesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListMeshesResponse listMeshes(Consumer<ListMeshesRequest.Builder> listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
This is a convenience which creates an instance of the ListMeshesRequest.Builder
avoiding the need to
create one manually via ListMeshesRequest.builder()
listMeshesRequest
- A Consumer
that will call methods on ListMeshesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListMeshesIterable listMeshesPaginator() throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
This is a variant of listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation.
NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listMeshesPaginator(ListMeshesRequest)
,
AWS API
Documentationdefault ListMeshesIterable listMeshesPaginator(ListMeshesRequest listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
This is a variant of listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation.
listMeshesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListMeshesIterable listMeshesPaginator(Consumer<ListMeshesRequest.Builder> listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
This is a variant of listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)
operation.
This is a convenience which creates an instance of the ListMeshesRequest.Builder
avoiding the need to
create one manually via ListMeshesRequest.builder()
listMeshesRequest
- A Consumer
that will call methods on ListMeshesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRoutesResponse listRoutes(ListRoutesRequest listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing routes in a service mesh.
listRoutesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRoutesResponse listRoutes(Consumer<ListRoutesRequest.Builder> listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing routes in a service mesh.
This is a convenience which creates an instance of the ListRoutesRequest.Builder
avoiding the need to
create one manually via ListRoutesRequest.builder()
listRoutesRequest
- A Consumer
that will call methods on ListRoutesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRoutesIterable listRoutesPaginator(ListRoutesRequest listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing routes in a service mesh.
This is a variant of listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListRoutesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)
operation.
listRoutesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRoutesIterable listRoutesPaginator(Consumer<ListRoutesRequest.Builder> listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing routes in a service mesh.
This is a variant of listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListRoutesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)
operation.
This is a convenience which creates an instance of the ListRoutesRequest.Builder
avoiding the need to
create one manually via ListRoutesRequest.builder()
listRoutesRequest
- A Consumer
that will call methods on ListRoutesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
List the tags for an App Mesh resource.
listTagsForResourceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
List the tags for an App Mesh resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
List the tags for an App Mesh resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)
operation.
listTagsForResourceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
List the tags for an App Mesh resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)
operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualGatewaysResponse listVirtualGateways(ListVirtualGatewaysRequest listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual gateways in a service mesh.
listVirtualGatewaysRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualGatewaysResponse listVirtualGateways(Consumer<ListVirtualGatewaysRequest.Builder> listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual gateways in a service mesh.
This is a convenience which creates an instance of the ListVirtualGatewaysRequest.Builder
avoiding the
need to create one manually via ListVirtualGatewaysRequest.builder()
listVirtualGatewaysRequest
- A Consumer
that will call methods on ListVirtualGatewaysInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(ListVirtualGatewaysRequest listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual gateways in a service mesh.
This is a variant of
listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client .listVirtualGatewaysPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)
operation.
listVirtualGatewaysRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(Consumer<ListVirtualGatewaysRequest.Builder> listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual gateways in a service mesh.
This is a variant of
listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client .listVirtualGatewaysPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)
operation.
This is a convenience which creates an instance of the ListVirtualGatewaysRequest.Builder
avoiding the
need to create one manually via ListVirtualGatewaysRequest.builder()
listVirtualGatewaysRequest
- A Consumer
that will call methods on ListVirtualGatewaysInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualNodesResponse listVirtualNodes(ListVirtualNodesRequest listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual nodes.
listVirtualNodesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualNodesResponse listVirtualNodes(Consumer<ListVirtualNodesRequest.Builder> listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual nodes.
This is a convenience which creates an instance of the ListVirtualNodesRequest.Builder
avoiding the need
to create one manually via ListVirtualNodesRequest.builder()
listVirtualNodesRequest
- A Consumer
that will call methods on ListVirtualNodesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualNodesIterable listVirtualNodesPaginator(ListVirtualNodesRequest listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual nodes.
This is a variant of
listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client .listVirtualNodesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualNodesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)
operation.
listVirtualNodesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualNodesIterable listVirtualNodesPaginator(Consumer<ListVirtualNodesRequest.Builder> listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual nodes.
This is a variant of
listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client .listVirtualNodesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualNodesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)
operation.
This is a convenience which creates an instance of the ListVirtualNodesRequest.Builder
avoiding the need
to create one manually via ListVirtualNodesRequest.builder()
listVirtualNodesRequest
- A Consumer
that will call methods on ListVirtualNodesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualRoutersResponse listVirtualRouters(ListVirtualRoutersRequest listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual routers in a service mesh.
listVirtualRoutersRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualRoutersResponse listVirtualRouters(Consumer<ListVirtualRoutersRequest.Builder> listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual routers in a service mesh.
This is a convenience which creates an instance of the ListVirtualRoutersRequest.Builder
avoiding the
need to create one manually via ListVirtualRoutersRequest.builder()
listVirtualRoutersRequest
- A Consumer
that will call methods on ListVirtualRoutersInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualRoutersIterable listVirtualRoutersPaginator(ListVirtualRoutersRequest listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual routers in a service mesh.
This is a variant of
listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client .listVirtualRoutersPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)
operation.
listVirtualRoutersRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualRoutersIterable listVirtualRoutersPaginator(Consumer<ListVirtualRoutersRequest.Builder> listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual routers in a service mesh.
This is a variant of
listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client .listVirtualRoutersPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)
operation.
This is a convenience which creates an instance of the ListVirtualRoutersRequest.Builder
avoiding the
need to create one manually via ListVirtualRoutersRequest.builder()
listVirtualRoutersRequest
- A Consumer
that will call methods on ListVirtualRoutersInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualServicesResponse listVirtualServices(ListVirtualServicesRequest listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual services in a service mesh.
listVirtualServicesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualServicesResponse listVirtualServices(Consumer<ListVirtualServicesRequest.Builder> listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual services in a service mesh.
This is a convenience which creates an instance of the ListVirtualServicesRequest.Builder
avoiding the
need to create one manually via ListVirtualServicesRequest.builder()
listVirtualServicesRequest
- A Consumer
that will call methods on ListVirtualServicesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualServicesIterable listVirtualServicesPaginator(ListVirtualServicesRequest listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual services in a service mesh.
This is a variant of
listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client .listVirtualServicesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualServicesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)
operation.
listVirtualServicesRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListVirtualServicesIterable listVirtualServicesPaginator(Consumer<ListVirtualServicesRequest.Builder> listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual services in a service mesh.
This is a variant of
listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client .listVirtualServicesPaginator(request); for (software.amazon.awssdk.services.appmesh.model.ListVirtualServicesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)
operation.
This is a convenience which creates an instance of the ListVirtualServicesRequest.Builder
avoiding the
need to create one manually via ListVirtualServicesRequest.builder()
listVirtualServicesRequest
- A Consumer
that will call methods on ListVirtualServicesInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, BadRequestException, TooManyTagsException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
tagResourceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyTagsException
- The request exceeds the maximum allowed number of tags allowed per resource. The current limit is 50 user
tags per resource. You must reduce the number of tags in the request. None of the tags in this request
were applied.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, BadRequestException, TooManyTagsException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyTagsException
- The request exceeds the maximum allowed number of tags allowed per resource. The current limit is 50 user
tags per resource. You must reduce the number of tags in the request. None of the tags in this request
were applied.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes specified tags from a resource.
untagResourceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes specified tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateGatewayRouteResponse updateGatewayRoute(UpdateGatewayRouteRequest updateGatewayRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
updateGatewayRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateGatewayRouteResponse updateGatewayRoute(Consumer<UpdateGatewayRouteRequest.Builder> updateGatewayRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
This is a convenience which creates an instance of the UpdateGatewayRouteRequest.Builder
avoiding the
need to create one manually via UpdateGatewayRouteRequest.builder()
updateGatewayRouteRequest
- A Consumer
that will call methods on UpdateGatewayRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateMeshResponse updateMesh(UpdateMeshRequest updateMeshRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing service mesh.
updateMeshRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateMeshResponse updateMesh(Consumer<UpdateMeshRequest.Builder> updateMeshRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing service mesh.
This is a convenience which creates an instance of the UpdateMeshRequest.Builder
avoiding the need to
create one manually via UpdateMeshRequest.builder()
updateMeshRequest
- A Consumer
that will call methods on UpdateMeshInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateRouteResponse updateRoute(UpdateRouteRequest updateRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing route for a specified service mesh and virtual router.
updateRouteRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateRouteResponse updateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing route for a specified service mesh and virtual router.
This is a convenience which creates an instance of the UpdateRouteRequest.Builder
avoiding the need to
create one manually via UpdateRouteRequest.builder()
updateRouteRequest
- A Consumer
that will call methods on UpdateRouteInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualGatewayResponse updateVirtualGateway(UpdateVirtualGatewayRequest updateVirtualGatewayRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual gateway in a specified service mesh.
updateVirtualGatewayRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualGatewayResponse updateVirtualGateway(Consumer<UpdateVirtualGatewayRequest.Builder> updateVirtualGatewayRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual gateway in a specified service mesh.
This is a convenience which creates an instance of the UpdateVirtualGatewayRequest.Builder
avoiding the
need to create one manually via UpdateVirtualGatewayRequest.builder()
updateVirtualGatewayRequest
- A Consumer
that will call methods on UpdateVirtualGatewayInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualNodeResponse updateVirtualNode(UpdateVirtualNodeRequest updateVirtualNodeRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual node in a specified service mesh.
updateVirtualNodeRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualNodeResponse updateVirtualNode(Consumer<UpdateVirtualNodeRequest.Builder> updateVirtualNodeRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual node in a specified service mesh.
This is a convenience which creates an instance of the UpdateVirtualNodeRequest.Builder
avoiding the need
to create one manually via UpdateVirtualNodeRequest.builder()
updateVirtualNodeRequest
- A Consumer
that will call methods on UpdateVirtualNodeInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualRouterResponse updateVirtualRouter(UpdateVirtualRouterRequest updateVirtualRouterRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual router in a specified service mesh.
updateVirtualRouterRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualRouterResponse updateVirtualRouter(Consumer<UpdateVirtualRouterRequest.Builder> updateVirtualRouterRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual router in a specified service mesh.
This is a convenience which creates an instance of the UpdateVirtualRouterRequest.Builder
avoiding the
need to create one manually via UpdateVirtualRouterRequest.builder()
updateVirtualRouterRequest
- A Consumer
that will call methods on UpdateVirtualRouterInput.Builder
to create a request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualServiceResponse updateVirtualService(UpdateVirtualServiceRequest updateVirtualServiceRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual service in a specified service mesh.
updateVirtualServiceRequest
- NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateVirtualServiceResponse updateVirtualService(Consumer<UpdateVirtualServiceRequest.Builder> updateVirtualServiceRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing virtual service in a specified service mesh.
This is a convenience which creates an instance of the UpdateVirtualServiceRequest.Builder
avoiding the
need to create one manually via UpdateVirtualServiceRequest.builder()
updateVirtualServiceRequest
- A Consumer
that will call methods on UpdateVirtualServiceInput.Builder
to create a
request.NotFoundException
- The specified resource doesn't exist. Check your request syntax and try again.BadRequestException
- The request syntax was malformed. Check your request syntax and try again.ConflictException
- The request contains a client token that was used for a previous update resource call with different
specifications. Try the request again with a new client token.TooManyRequestsException
- The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best
results, use an increasing or variable sleep interval between requests.ForbiddenException
- You don't have permissions to perform this action.ServiceUnavailableException
- The request has failed due to a temporary failure of the service.InternalServerErrorException
- The request processing has failed because of an unknown error, exception, or failure.LimitExceededException
- You have exceeded a service limit for your account. For more information, see Service Limits in
the AWS App Mesh User Guide.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppMeshException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()