Interface AppMeshClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AppMeshClient extends AwsClient
Service client for accessing AWS App Mesh. This can be created using the staticbuilder()method.App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2.
App Mesh supports microservice applications that use service discovery naming for their components. For more information about service discovery on Amazon ECS, see Service Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes
kube-dnsandcorednsare supported. For more information, see DNS for Services and Pods in the Kubernetes documentation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createGatewayRoute
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.
- Parameters:
createGatewayRouteRequest-- Returns:
- Result of the CreateGatewayRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createGatewayRoute
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.Builderavoiding the need to create one manually viaCreateGatewayRouteRequest.builder()- Parameters:
createGatewayRouteRequest- AConsumerthat will call methods onCreateGatewayRouteRequest.Builderto create a request.- Returns:
- Result of the CreateGatewayRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createMesh
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.
- Parameters:
createMeshRequest-- Returns:
- Result of the CreateMesh operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createMesh
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.Builderavoiding the need to create one manually viaCreateMeshRequest.builder()- Parameters:
createMeshRequest- AConsumerthat will call methods onCreateMeshRequest.Builderto create a request.- Returns:
- Result of the CreateMesh operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createRoute
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.
- Parameters:
createRouteRequest-- Returns:
- Result of the CreateRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createRoute
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.Builderavoiding the need to create one manually viaCreateRouteRequest.builder()- Parameters:
createRouteRequest- AConsumerthat will call methods onCreateRouteRequest.Builderto create a request.- Returns:
- Result of the CreateRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualGateway
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.
- Parameters:
createVirtualGatewayRequest-- Returns:
- Result of the CreateVirtualGateway operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualGateway
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.Builderavoiding the need to create one manually viaCreateVirtualGatewayRequest.builder()- Parameters:
createVirtualGatewayRequest- AConsumerthat will call methods onCreateVirtualGatewayRequest.Builderto create a request.- Returns:
- Result of the CreateVirtualGateway operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualNode
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
listenerfor any inbound traffic that your virtual node expects. Any virtual service that your virtual node expects to communicate to is specified as abackend.The response metadata for your new virtual node contains the
arnthat 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 theAPPMESH_RESOURCE_ARNenvironment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to thenode.idandnode.clusterEnvoy parameters.By default, App Mesh uses the name of the resource you specified in
APPMESH_RESOURCE_ARNwhen Envoy is referring to itself in metrics and traces. You can override this behavior by setting theAPPMESH_RESOURCE_CLUSTERenvironment variable with your own name.For more information about virtual nodes, see Virtual nodes. You must be using
1.15.0or later of the Envoy image when setting these variables. For more information aboutApp Mesh Envoy variables, see Envoy image in the App Mesh User Guide.- Parameters:
createVirtualNodeRequest-- Returns:
- Result of the CreateVirtualNode operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualNode
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
listenerfor any inbound traffic that your virtual node expects. Any virtual service that your virtual node expects to communicate to is specified as abackend.The response metadata for your new virtual node contains the
arnthat 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 theAPPMESH_RESOURCE_ARNenvironment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to thenode.idandnode.clusterEnvoy parameters.By default, App Mesh uses the name of the resource you specified in
APPMESH_RESOURCE_ARNwhen Envoy is referring to itself in metrics and traces. You can override this behavior by setting theAPPMESH_RESOURCE_CLUSTERenvironment variable with your own name.For more information about virtual nodes, see Virtual nodes. You must be using
1.15.0or later of the Envoy image when setting these variables. For more information aboutApp Mesh Envoy variables, see Envoy image in the App Mesh User Guide.
This is a convenience which creates an instance of the
CreateVirtualNodeRequest.Builderavoiding the need to create one manually viaCreateVirtualNodeRequest.builder()- Parameters:
createVirtualNodeRequest- AConsumerthat will call methods onCreateVirtualNodeRequest.Builderto create a request.- Returns:
- Result of the CreateVirtualNode operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualRouter
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
listenerfor 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.
- Parameters:
createVirtualRouterRequest-- Returns:
- Result of the CreateVirtualRouter operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualRouter
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
listenerfor 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.Builderavoiding the need to create one manually viaCreateVirtualRouterRequest.builder()- Parameters:
createVirtualRouterRequest- AConsumerthat will call methods onCreateVirtualRouterRequest.Builderto create a request.- Returns:
- Result of the CreateVirtualRouter operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualService
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.
- Parameters:
createVirtualServiceRequest-- Returns:
- Result of the CreateVirtualService operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
createVirtualService
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.Builderavoiding the need to create one manually viaCreateVirtualServiceRequest.builder()- Parameters:
createVirtualServiceRequest- AConsumerthat will call methods onCreateVirtualServiceRequest.Builderto create a request.- Returns:
- Result of the CreateVirtualService operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
deleteGatewayRoute
default DeleteGatewayRouteResponse deleteGatewayRoute(DeleteGatewayRouteRequest deleteGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing gateway route.
- Parameters:
deleteGatewayRouteRequest-- Returns:
- Result of the DeleteGatewayRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteGatewayRoute
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.Builderavoiding the need to create one manually viaDeleteGatewayRouteRequest.builder()- Parameters:
deleteGatewayRouteRequest- AConsumerthat will call methods onDeleteGatewayRouteRequest.Builderto create a request.- Returns:
- Result of the DeleteGatewayRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteMesh
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.
- Parameters:
deleteMeshRequest-- Returns:
- Result of the DeleteMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteMesh
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.Builderavoiding the need to create one manually viaDeleteMeshRequest.builder()- Parameters:
deleteMeshRequest- AConsumerthat will call methods onDeleteMeshRequest.Builderto create a request.- Returns:
- Result of the DeleteMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteRoute
default DeleteRouteResponse deleteRoute(DeleteRouteRequest deleteRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing route.
- Parameters:
deleteRouteRequest-- Returns:
- Result of the DeleteRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteRoute
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.Builderavoiding the need to create one manually viaDeleteRouteRequest.builder()- Parameters:
deleteRouteRequest- AConsumerthat will call methods onDeleteRouteRequest.Builderto create a request.- Returns:
- Result of the DeleteRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualGateway
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.
- Parameters:
deleteVirtualGatewayRequest-- Returns:
- Result of the DeleteVirtualGateway operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualGateway
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.Builderavoiding the need to create one manually viaDeleteVirtualGatewayRequest.builder()- Parameters:
deleteVirtualGatewayRequest- AConsumerthat will call methods onDeleteVirtualGatewayRequest.Builderto create a request.- Returns:
- Result of the DeleteVirtualGateway operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualNode
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.
- Parameters:
deleteVirtualNodeRequest- Deletes a virtual node input.- Returns:
- Result of the DeleteVirtualNode operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualNode
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.Builderavoiding the need to create one manually viaDeleteVirtualNodeRequest.builder()- Parameters:
deleteVirtualNodeRequest- AConsumerthat will call methods onDeleteVirtualNodeRequest.Builderto create a request. Deletes a virtual node input.- Returns:
- Result of the DeleteVirtualNode operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualRouter
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.
- Parameters:
deleteVirtualRouterRequest-- Returns:
- Result of the DeleteVirtualRouter operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualRouter
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.Builderavoiding the need to create one manually viaDeleteVirtualRouterRequest.builder()- Parameters:
deleteVirtualRouterRequest- AConsumerthat will call methods onDeleteVirtualRouterRequest.Builderto create a request.- Returns:
- Result of the DeleteVirtualRouter operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualService
default DeleteVirtualServiceResponse deleteVirtualService(DeleteVirtualServiceRequest deleteVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes an existing virtual service.
- Parameters:
deleteVirtualServiceRequest-- Returns:
- Result of the DeleteVirtualService operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
deleteVirtualService
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.Builderavoiding the need to create one manually viaDeleteVirtualServiceRequest.builder()- Parameters:
deleteVirtualServiceRequest- AConsumerthat will call methods onDeleteVirtualServiceRequest.Builderto create a request.- Returns:
- Result of the DeleteVirtualService operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeGatewayRoute
default DescribeGatewayRouteResponse describeGatewayRoute(DescribeGatewayRouteRequest describeGatewayRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing gateway route.
- Parameters:
describeGatewayRouteRequest-- Returns:
- Result of the DescribeGatewayRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeGatewayRoute
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.Builderavoiding the need to create one manually viaDescribeGatewayRouteRequest.builder()- Parameters:
describeGatewayRouteRequest- AConsumerthat will call methods onDescribeGatewayRouteRequest.Builderto create a request.- Returns:
- Result of the DescribeGatewayRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeMesh
default DescribeMeshResponse describeMesh(DescribeMeshRequest describeMeshRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing service mesh.
- Parameters:
describeMeshRequest-- Returns:
- Result of the DescribeMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeMesh
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.Builderavoiding the need to create one manually viaDescribeMeshRequest.builder()- Parameters:
describeMeshRequest- AConsumerthat will call methods onDescribeMeshRequest.Builderto create a request.- Returns:
- Result of the DescribeMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeRoute
default DescribeRouteResponse describeRoute(DescribeRouteRequest describeRouteRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing route.
- Parameters:
describeRouteRequest-- Returns:
- Result of the DescribeRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeRoute
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.Builderavoiding the need to create one manually viaDescribeRouteRequest.builder()- Parameters:
describeRouteRequest- AConsumerthat will call methods onDescribeRouteRequest.Builderto create a request.- Returns:
- Result of the DescribeRoute operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualGateway
default DescribeVirtualGatewayResponse describeVirtualGateway(DescribeVirtualGatewayRequest describeVirtualGatewayRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual gateway.
- Parameters:
describeVirtualGatewayRequest-- Returns:
- Result of the DescribeVirtualGateway operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualGateway
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.Builderavoiding the need to create one manually viaDescribeVirtualGatewayRequest.builder()- Parameters:
describeVirtualGatewayRequest- AConsumerthat will call methods onDescribeVirtualGatewayRequest.Builderto create a request.- Returns:
- Result of the DescribeVirtualGateway operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualNode
default DescribeVirtualNodeResponse describeVirtualNode(DescribeVirtualNodeRequest describeVirtualNodeRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual node.
- Parameters:
describeVirtualNodeRequest-- Returns:
- Result of the DescribeVirtualNode operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualNode
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.Builderavoiding the need to create one manually viaDescribeVirtualNodeRequest.builder()- Parameters:
describeVirtualNodeRequest- AConsumerthat will call methods onDescribeVirtualNodeRequest.Builderto create a request.- Returns:
- Result of the DescribeVirtualNode operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualRouter
default DescribeVirtualRouterResponse describeVirtualRouter(DescribeVirtualRouterRequest describeVirtualRouterRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual router.
- Parameters:
describeVirtualRouterRequest-- Returns:
- Result of the DescribeVirtualRouter operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualRouter
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.Builderavoiding the need to create one manually viaDescribeVirtualRouterRequest.builder()- Parameters:
describeVirtualRouterRequest- AConsumerthat will call methods onDescribeVirtualRouterRequest.Builderto create a request.- Returns:
- Result of the DescribeVirtualRouter operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualService
default DescribeVirtualServiceResponse describeVirtualService(DescribeVirtualServiceRequest describeVirtualServiceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Describes an existing virtual service.
- Parameters:
describeVirtualServiceRequest-- Returns:
- Result of the DescribeVirtualService operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeVirtualService
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.Builderavoiding the need to create one manually viaDescribeVirtualServiceRequest.builder()- Parameters:
describeVirtualServiceRequest- AConsumerthat will call methods onDescribeVirtualServiceRequest.Builderto create a request.- Returns:
- Result of the DescribeVirtualService operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listGatewayRoutes
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.
- Parameters:
listGatewayRoutesRequest-- Returns:
- Result of the ListGatewayRoutes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listGatewayRoutes
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.Builderavoiding the need to create one manually viaListGatewayRoutesRequest.builder()- Parameters:
listGatewayRoutesRequest- AConsumerthat will call methods onListGatewayRoutesRequest.Builderto create a request.- Returns:
- Result of the ListGatewayRoutes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listGatewayRoutesPaginator
default ListGatewayRoutesIterable listGatewayRoutesPaginator(ListGatewayRoutesRequest listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listGatewayRoutesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listGatewayRoutesPaginator
default ListGatewayRoutesIterable listGatewayRoutesPaginator(Consumer<ListGatewayRoutesRequest.Builder> listGatewayRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListGatewayRoutesRequest.builder()- Parameters:
listGatewayRoutesRequest- AConsumerthat will call methods onListGatewayRoutesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listMeshes
default ListMeshesResponse listMeshes(ListMeshesRequest listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
- Parameters:
listMeshesRequest-- Returns:
- Result of the ListMeshes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listMeshes
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.Builderavoiding the need to create one manually viaListMeshesRequest.builder()- Parameters:
listMeshesRequest- AConsumerthat will call methods onListMeshesRequest.Builderto create a request.- Returns:
- Result of the ListMeshes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listMeshes
default ListMeshesResponse listMeshes() throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing service meshes.
- Returns:
- Result of the ListMeshes operation returned by the service.
- Throws:
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- See Also:
listMeshes(ListMeshesRequest), AWS API Documentation
-
listMeshesPaginator
default ListMeshesIterable listMeshesPaginator() throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
listMeshesPaginator(ListMeshesRequest), AWS API Documentation
-
listMeshesPaginator
default ListMeshesIterable listMeshesPaginator(ListMeshesRequest listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listMeshesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listMeshesPaginator
default ListMeshesIterable listMeshesPaginator(Consumer<ListMeshesRequest.Builder> listMeshesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListMeshesRequest.builder()- Parameters:
listMeshesRequest- AConsumerthat will call methods onListMeshesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listRoutes
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.
- Parameters:
listRoutesRequest-- Returns:
- Result of the ListRoutes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listRoutes
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.Builderavoiding the need to create one manually viaListRoutesRequest.builder()- Parameters:
listRoutesRequest- AConsumerthat will call methods onListRoutesRequest.Builderto create a request.- Returns:
- Result of the ListRoutes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listRoutesPaginator
default ListRoutesIterable listRoutesPaginator(ListRoutesRequest listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listRoutesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listRoutesPaginator
default ListRoutesIterable listRoutesPaginator(Consumer<ListRoutesRequest.Builder> listRoutesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListRoutesRequest.builder()- Parameters:
listRoutesRequest- AConsumerthat will call methods onListRoutesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
List the tags for an App Mesh resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listTagsForResource
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listTagsForResourceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualGateways
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.
- Parameters:
listVirtualGatewaysRequest-- Returns:
- Result of the ListVirtualGateways operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualGateways
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.Builderavoiding the need to create one manually viaListVirtualGatewaysRequest.builder()- Parameters:
listVirtualGatewaysRequest- AConsumerthat will call methods onListVirtualGatewaysRequest.Builderto create a request.- Returns:
- Result of the ListVirtualGateways operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualGatewaysPaginator
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(ListVirtualGatewaysRequest listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listVirtualGatewaysRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualGatewaysPaginator
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(Consumer<ListVirtualGatewaysRequest.Builder> listVirtualGatewaysRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListVirtualGatewaysRequest.builder()- Parameters:
listVirtualGatewaysRequest- AConsumerthat will call methods onListVirtualGatewaysRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualNodes
default ListVirtualNodesResponse listVirtualNodes(ListVirtualNodesRequest listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Returns a list of existing virtual nodes.
- Parameters:
listVirtualNodesRequest-- Returns:
- Result of the ListVirtualNodes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualNodes
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.Builderavoiding the need to create one manually viaListVirtualNodesRequest.builder()- Parameters:
listVirtualNodesRequest- AConsumerthat will call methods onListVirtualNodesRequest.Builderto create a request.- Returns:
- Result of the ListVirtualNodes operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualNodesPaginator
default ListVirtualNodesIterable listVirtualNodesPaginator(ListVirtualNodesRequest listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listVirtualNodesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualNodesPaginator
default ListVirtualNodesIterable listVirtualNodesPaginator(Consumer<ListVirtualNodesRequest.Builder> listVirtualNodesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListVirtualNodesRequest.builder()- Parameters:
listVirtualNodesRequest- AConsumerthat will call methods onListVirtualNodesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualRouters
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.
- Parameters:
listVirtualRoutersRequest-- Returns:
- Result of the ListVirtualRouters operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualRouters
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.Builderavoiding the need to create one manually viaListVirtualRoutersRequest.builder()- Parameters:
listVirtualRoutersRequest- AConsumerthat will call methods onListVirtualRoutersRequest.Builderto create a request.- Returns:
- Result of the ListVirtualRouters operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualRoutersPaginator
default ListVirtualRoutersIterable listVirtualRoutersPaginator(ListVirtualRoutersRequest listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listVirtualRoutersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualRoutersPaginator
default ListVirtualRoutersIterable listVirtualRoutersPaginator(Consumer<ListVirtualRoutersRequest.Builder> listVirtualRoutersRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListVirtualRoutersRequest.builder()- Parameters:
listVirtualRoutersRequest- AConsumerthat will call methods onListVirtualRoutersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualServices
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.
- Parameters:
listVirtualServicesRequest-- Returns:
- Result of the ListVirtualServices operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualServices
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.Builderavoiding the need to create one manually viaListVirtualServicesRequest.builder()- Parameters:
listVirtualServicesRequest- AConsumerthat will call methods onListVirtualServicesRequest.Builderto create a request.- Returns:
- Result of the ListVirtualServices operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualServicesPaginator
default ListVirtualServicesIterable listVirtualServicesPaginator(ListVirtualServicesRequest listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listVirtualServicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
listVirtualServicesPaginator
default ListVirtualServicesIterable listVirtualServicesPaginator(Consumer<ListVirtualServicesRequest.Builder> listVirtualServicesRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
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
2) Using For loopsoftware.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListVirtualServicesRequest.builder()- Parameters:
listVirtualServicesRequest- AConsumerthat will call methods onListVirtualServicesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
tagResource
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.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
tagResource
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Deletes specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
untagResource
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
updateGatewayRoute
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.
- Parameters:
updateGatewayRouteRequest-- Returns:
- Result of the UpdateGatewayRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateGatewayRoute
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.Builderavoiding the need to create one manually viaUpdateGatewayRouteRequest.builder()- Parameters:
updateGatewayRouteRequest- AConsumerthat will call methods onUpdateGatewayRouteRequest.Builderto create a request.- Returns:
- Result of the UpdateGatewayRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateMesh
default UpdateMeshResponse updateMesh(UpdateMeshRequest updateMeshRequest) throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException
Updates an existing service mesh.
- Parameters:
updateMeshRequest-- Returns:
- Result of the UpdateMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
updateMesh
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.Builderavoiding the need to create one manually viaUpdateMeshRequest.builder()- Parameters:
updateMeshRequest- AConsumerthat will call methods onUpdateMeshRequest.Builderto create a request.- Returns:
- Result of the UpdateMesh operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
updateRoute
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.
- Parameters:
updateRouteRequest-- Returns:
- Result of the UpdateRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateRoute
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.Builderavoiding the need to create one manually viaUpdateRouteRequest.builder()- Parameters:
updateRouteRequest- AConsumerthat will call methods onUpdateRouteRequest.Builderto create a request.- Returns:
- Result of the UpdateRoute operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualGateway
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.
- Parameters:
updateVirtualGatewayRequest-- Returns:
- Result of the UpdateVirtualGateway operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualGateway
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.Builderavoiding the need to create one manually viaUpdateVirtualGatewayRequest.builder()- Parameters:
updateVirtualGatewayRequest- AConsumerthat will call methods onUpdateVirtualGatewayRequest.Builderto create a request.- Returns:
- Result of the UpdateVirtualGateway operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualNode
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.
- Parameters:
updateVirtualNodeRequest-- Returns:
- Result of the UpdateVirtualNode operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualNode
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.Builderavoiding the need to create one manually viaUpdateVirtualNodeRequest.builder()- Parameters:
updateVirtualNodeRequest- AConsumerthat will call methods onUpdateVirtualNodeRequest.Builderto create a request.- Returns:
- Result of the UpdateVirtualNode operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualRouter
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.
- Parameters:
updateVirtualRouterRequest-- Returns:
- Result of the UpdateVirtualRouter operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualRouter
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.Builderavoiding the need to create one manually viaUpdateVirtualRouterRequest.builder()- Parameters:
updateVirtualRouterRequest- AConsumerthat will call methods onUpdateVirtualRouterRequest.Builderto create a request.- Returns:
- Result of the UpdateVirtualRouter operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualService
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.
- Parameters:
updateVirtualServiceRequest-- Returns:
- Result of the UpdateVirtualService operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
updateVirtualService
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.Builderavoiding the need to create one manually viaUpdateVirtualServiceRequest.builder()- Parameters:
updateVirtualServiceRequest- AConsumerthat will call methods onUpdateVirtualServiceRequest.Builderto create a request.- Returns:
- Result of the UpdateVirtualService operation returned by the service.
- Throws:
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 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- See Also:
- AWS API Documentation
-
create
static AppMeshClient create()
Create aAppMeshClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AppMeshClientBuilder builder()
Create a builder that can be used to configure and create aAppMeshClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AppMeshServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-