software.amazon.awssdk.services.appmesh.AppMeshClient Maven / Gradle / Ivy
Show all versions of appmesh Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.appmesh;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.appmesh.model.AppMeshException;
import software.amazon.awssdk.services.appmesh.model.BadRequestException;
import software.amazon.awssdk.services.appmesh.model.ConflictException;
import software.amazon.awssdk.services.appmesh.model.CreateGatewayRouteRequest;
import software.amazon.awssdk.services.appmesh.model.CreateGatewayRouteResponse;
import software.amazon.awssdk.services.appmesh.model.CreateMeshRequest;
import software.amazon.awssdk.services.appmesh.model.CreateMeshResponse;
import software.amazon.awssdk.services.appmesh.model.CreateRouteRequest;
import software.amazon.awssdk.services.appmesh.model.CreateRouteResponse;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualGatewayRequest;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualGatewayResponse;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualNodeRequest;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualNodeResponse;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualRouterRequest;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualRouterResponse;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualServiceRequest;
import software.amazon.awssdk.services.appmesh.model.CreateVirtualServiceResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteGatewayRouteRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteGatewayRouteResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteMeshRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteMeshResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteRouteRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteRouteResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualGatewayRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualGatewayResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualNodeRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualNodeResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualRouterRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualRouterResponse;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualServiceRequest;
import software.amazon.awssdk.services.appmesh.model.DeleteVirtualServiceResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeGatewayRouteRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeGatewayRouteResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeMeshRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeMeshResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeRouteRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeRouteResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualGatewayRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualGatewayResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualNodeRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualNodeResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualRouterRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualRouterResponse;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualServiceRequest;
import software.amazon.awssdk.services.appmesh.model.DescribeVirtualServiceResponse;
import software.amazon.awssdk.services.appmesh.model.ForbiddenException;
import software.amazon.awssdk.services.appmesh.model.InternalServerErrorException;
import software.amazon.awssdk.services.appmesh.model.LimitExceededException;
import software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest;
import software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesResponse;
import software.amazon.awssdk.services.appmesh.model.ListMeshesRequest;
import software.amazon.awssdk.services.appmesh.model.ListMeshesResponse;
import software.amazon.awssdk.services.appmesh.model.ListRoutesRequest;
import software.amazon.awssdk.services.appmesh.model.ListRoutesResponse;
import software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.appmesh.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest;
import software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysResponse;
import software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest;
import software.amazon.awssdk.services.appmesh.model.ListVirtualNodesResponse;
import software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest;
import software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersResponse;
import software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest;
import software.amazon.awssdk.services.appmesh.model.ListVirtualServicesResponse;
import software.amazon.awssdk.services.appmesh.model.NotFoundException;
import software.amazon.awssdk.services.appmesh.model.ResourceInUseException;
import software.amazon.awssdk.services.appmesh.model.ServiceUnavailableException;
import software.amazon.awssdk.services.appmesh.model.TagResourceRequest;
import software.amazon.awssdk.services.appmesh.model.TagResourceResponse;
import software.amazon.awssdk.services.appmesh.model.TooManyRequestsException;
import software.amazon.awssdk.services.appmesh.model.TooManyTagsException;
import software.amazon.awssdk.services.appmesh.model.UntagResourceRequest;
import software.amazon.awssdk.services.appmesh.model.UntagResourceResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateGatewayRouteRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateGatewayRouteResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateMeshRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateMeshResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateRouteRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateRouteResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualGatewayRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualGatewayResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualNodeRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualNodeResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualRouterRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualRouterResponse;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualServiceRequest;
import software.amazon.awssdk.services.appmesh.model.UpdateVirtualServiceResponse;
import software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable;
import software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable;
/**
* Service client for accessing AWS App Mesh. This can be created using the static {@link #builder()} method.
*
*
* AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App
* Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high
* availability for your applications.
*
*
* App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You
* can use App Mesh with AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, and Amazon EC2.
*
*
*
* App Mesh supports microservice applications that use service discovery naming for their components. For more
* information about service discovery on Amazon ECS, see Service Discovery in
* the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns
and
* coredns
are supported. For more information, see DNS for Services and Pods in the
* Kubernetes documentation.
*
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface AppMeshClient extends SdkClient {
String SERVICE_NAME = "appmesh";
/**
* Create a {@link AppMeshClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static AppMeshClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link AppMeshClient}.
*/
static AppMeshClientBuilder builder() {
return new DefaultAppMeshClientBuilder();
}
/**
*
* 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.
*
*
* @param createGatewayRouteRequest
* @return Result of the CreateGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateGatewayRoute
* @see AWS API
* Documentation
*/
default CreateGatewayRouteResponse createGatewayRoute(CreateGatewayRouteRequest createGatewayRouteRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateGatewayRouteRequest.Builder} avoiding the
* need to create one manually via {@link CreateGatewayRouteRequest#builder()}
*
*
* @param createGatewayRouteRequest
* A {@link Consumer} that will call methods on {@link CreateGatewayRouteInput.Builder} to create a request.
* @return Result of the CreateGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateGatewayRoute
* @see AWS API
* Documentation
*/
default CreateGatewayRouteResponse createGatewayRoute(Consumer createGatewayRouteRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
return createGatewayRoute(CreateGatewayRouteRequest.builder().applyMutation(createGatewayRouteRequest).build());
}
/**
*
* 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.
*
*
* @param createMeshRequest
* @return Result of the CreateMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateMesh
* @see AWS API
* Documentation
*/
default CreateMeshResponse createMesh(CreateMeshRequest createMeshRequest) throws NotFoundException, BadRequestException,
ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateMeshRequest.Builder} avoiding the need to
* create one manually via {@link CreateMeshRequest#builder()}
*
*
* @param createMeshRequest
* A {@link Consumer} that will call methods on {@link CreateMeshInput.Builder} to create a request.
* @return Result of the CreateMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateMesh
* @see AWS API
* Documentation
*/
default CreateMeshResponse createMesh(Consumer createMeshRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return createMesh(CreateMeshRequest.builder().applyMutation(createMeshRequest).build());
}
/**
*
* 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.
*
*
* @param createRouteRequest
* @return Result of the CreateRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateRoute
* @see AWS API
* Documentation
*/
default CreateRouteResponse createRoute(CreateRouteRequest createRouteRequest) throws NotFoundException, BadRequestException,
ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateRouteRequest.Builder} avoiding the need to
* create one manually via {@link CreateRouteRequest#builder()}
*
*
* @param createRouteRequest
* A {@link Consumer} that will call methods on {@link CreateRouteInput.Builder} to create a request.
* @return Result of the CreateRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateRoute
* @see AWS API
* Documentation
*/
default CreateRouteResponse createRoute(Consumer createRouteRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return createRoute(CreateRouteRequest.builder().applyMutation(createRouteRequest).build());
}
/**
*
* 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.
*
*
* @param createVirtualGatewayRequest
* @return Result of the CreateVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualGateway
* @see AWS
* API Documentation
*/
default CreateVirtualGatewayResponse createVirtualGateway(CreateVirtualGatewayRequest createVirtualGatewayRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateVirtualGatewayRequest.Builder} avoiding the
* need to create one manually via {@link CreateVirtualGatewayRequest#builder()}
*
*
* @param createVirtualGatewayRequest
* A {@link Consumer} that will call methods on {@link CreateVirtualGatewayInput.Builder} to create a
* request.
* @return Result of the CreateVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualGateway
* @see AWS
* API Documentation
*/
default CreateVirtualGatewayResponse createVirtualGateway(
Consumer createVirtualGatewayRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return createVirtualGateway(CreateVirtualGatewayRequest.builder().applyMutation(createVirtualGatewayRequest).build());
}
/**
*
* Creates a virtual node within a service mesh.
*
*
* A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a
* Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your
* task group, and whether the proxy running in a task group will communicate with other proxies using Transport
* Layer Security (TLS).
*
*
* You define a listener
for any inbound traffic that your virtual node expects. Any virtual service
* that your virtual node expects to communicate to is specified as a backend
.
*
*
* The response metadata for your new virtual node contains the arn
that is associated with the virtual
* node. Set this value to the full ARN; for example,
* arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp
) as the
* APPMESH_RESOURCE_ARN
environment variable for your task group's Envoy proxy container in your task
* definition or pod spec. This is then mapped to the node.id
and node.cluster
Envoy
* parameters.
*
*
*
* By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN
when Envoy
* is referring to itself in metrics and traces. You can override this behavior by setting the
* APPMESH_RESOURCE_CLUSTER
environment variable with your own name.
*
*
* AWS Cloud Map is not available in the eu-south-1 Region.
*
*
*
* For more information about virtual nodes, see Virtual nodes. You must be
* using 1.15.0
or later of the Envoy image when setting these variables. For more information about
* App Mesh Envoy variables, see Envoy
* image in the AWS App Mesh User Guide.
*
*
* @param createVirtualNodeRequest
* @return Result of the CreateVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualNode
* @see AWS API
* Documentation
*/
default CreateVirtualNodeResponse createVirtualNode(CreateVirtualNodeRequest createVirtualNodeRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a virtual node within a service mesh.
*
*
* A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a
* Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your
* task group, and whether the proxy running in a task group will communicate with other proxies using Transport
* Layer Security (TLS).
*
*
* You define a listener
for any inbound traffic that your virtual node expects. Any virtual service
* that your virtual node expects to communicate to is specified as a backend
.
*
*
* The response metadata for your new virtual node contains the arn
that is associated with the virtual
* node. Set this value to the full ARN; for example,
* arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp
) as the
* APPMESH_RESOURCE_ARN
environment variable for your task group's Envoy proxy container in your task
* definition or pod spec. This is then mapped to the node.id
and node.cluster
Envoy
* parameters.
*
*
*
* By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN
when Envoy
* is referring to itself in metrics and traces. You can override this behavior by setting the
* APPMESH_RESOURCE_CLUSTER
environment variable with your own name.
*
*
* AWS Cloud Map is not available in the eu-south-1 Region.
*
*
*
* For more information about virtual nodes, see Virtual nodes. You must be
* using 1.15.0
or later of the Envoy image when setting these variables. For more information about
* App Mesh Envoy variables, see Envoy
* image in the AWS App Mesh User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateVirtualNodeRequest.Builder} avoiding the need
* to create one manually via {@link CreateVirtualNodeRequest#builder()}
*
*
* @param createVirtualNodeRequest
* A {@link Consumer} that will call methods on {@link CreateVirtualNodeInput.Builder} to create a request.
* @return Result of the CreateVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualNode
* @see AWS API
* Documentation
*/
default CreateVirtualNodeResponse createVirtualNode(Consumer createVirtualNodeRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
return createVirtualNode(CreateVirtualNodeRequest.builder().applyMutation(createVirtualNodeRequest).build());
}
/**
*
* Creates a virtual router within a service mesh.
*
*
* Specify a listener
for any inbound traffic that your virtual router receives. Create a virtual
* router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual
* services within your mesh. After you create your virtual router, create and associate routes for your virtual
* router that direct incoming requests to different virtual nodes.
*
*
* For more information about virtual routers, see Virtual routers.
*
*
* @param createVirtualRouterRequest
* @return Result of the CreateVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualRouter
* @see AWS
* API Documentation
*/
default CreateVirtualRouterResponse createVirtualRouter(CreateVirtualRouterRequest createVirtualRouterRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a virtual router within a service mesh.
*
*
* Specify a listener
for any inbound traffic that your virtual router receives. Create a virtual
* router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual
* services within your mesh. After you create your virtual router, create and associate routes for your virtual
* router that direct incoming requests to different virtual nodes.
*
*
* For more information about virtual routers, see Virtual routers.
*
*
*
* This is a convenience which creates an instance of the {@link CreateVirtualRouterRequest.Builder} avoiding the
* need to create one manually via {@link CreateVirtualRouterRequest#builder()}
*
*
* @param createVirtualRouterRequest
* A {@link Consumer} that will call methods on {@link CreateVirtualRouterInput.Builder} to create a request.
* @return Result of the CreateVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualRouter
* @see AWS
* API Documentation
*/
default CreateVirtualRouterResponse createVirtualRouter(
Consumer createVirtualRouterRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return createVirtualRouter(CreateVirtualRouterRequest.builder().applyMutation(createVirtualRouterRequest).build());
}
/**
*
* 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.
*
*
* @param createVirtualServiceRequest
* @return Result of the CreateVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualService
* @see AWS
* API Documentation
*/
default CreateVirtualServiceResponse createVirtualService(CreateVirtualServiceRequest createVirtualServiceRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateVirtualServiceRequest.Builder} avoiding the
* need to create one manually via {@link CreateVirtualServiceRequest#builder()}
*
*
* @param createVirtualServiceRequest
* A {@link Consumer} that will call methods on {@link CreateVirtualServiceInput.Builder} to create a
* request.
* @return Result of the CreateVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.CreateVirtualService
* @see AWS
* API Documentation
*/
default CreateVirtualServiceResponse createVirtualService(
Consumer createVirtualServiceRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return createVirtualService(CreateVirtualServiceRequest.builder().applyMutation(createVirtualServiceRequest).build());
}
/**
*
* Deletes an existing gateway route.
*
*
* @param deleteGatewayRouteRequest
* @return Result of the DeleteGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteGatewayRoute
* @see AWS API
* Documentation
*/
default DeleteGatewayRouteResponse deleteGatewayRoute(DeleteGatewayRouteRequest deleteGatewayRouteRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an existing gateway route.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteGatewayRouteRequest.Builder} avoiding the
* need to create one manually via {@link DeleteGatewayRouteRequest#builder()}
*
*
* @param deleteGatewayRouteRequest
* A {@link Consumer} that will call methods on {@link DeleteGatewayRouteInput.Builder} to create a request.
* @return Result of the DeleteGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteGatewayRoute
* @see AWS API
* Documentation
*/
default DeleteGatewayRouteResponse deleteGatewayRoute(Consumer deleteGatewayRouteRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteGatewayRoute(DeleteGatewayRouteRequest.builder().applyMutation(deleteGatewayRouteRequest).build());
}
/**
*
* 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.
*
*
* @param deleteMeshRequest
* @return Result of the DeleteMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteMesh
* @see AWS API
* Documentation
*/
default DeleteMeshResponse deleteMesh(DeleteMeshRequest deleteMeshRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteMeshRequest.Builder} avoiding the need to
* create one manually via {@link DeleteMeshRequest#builder()}
*
*
* @param deleteMeshRequest
* A {@link Consumer} that will call methods on {@link DeleteMeshInput.Builder} to create a request.
* @return Result of the DeleteMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteMesh
* @see AWS API
* Documentation
*/
default DeleteMeshResponse deleteMesh(Consumer deleteMeshRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteMesh(DeleteMeshRequest.builder().applyMutation(deleteMeshRequest).build());
}
/**
*
* Deletes an existing route.
*
*
* @param deleteRouteRequest
* @return Result of the DeleteRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteRoute
* @see AWS API
* Documentation
*/
default DeleteRouteResponse deleteRoute(DeleteRouteRequest deleteRouteRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ResourceInUseException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an existing route.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRouteRequest.Builder} avoiding the need to
* create one manually via {@link DeleteRouteRequest#builder()}
*
*
* @param deleteRouteRequest
* A {@link Consumer} that will call methods on {@link DeleteRouteInput.Builder} to create a request.
* @return Result of the DeleteRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteRoute
* @see AWS API
* Documentation
*/
default DeleteRouteResponse deleteRoute(Consumer deleteRouteRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteRoute(DeleteRouteRequest.builder().applyMutation(deleteRouteRequest).build());
}
/**
*
* Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to
* it.
*
*
* @param deleteVirtualGatewayRequest
* @return Result of the DeleteVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualGateway
* @see AWS
* API Documentation
*/
default DeleteVirtualGatewayResponse deleteVirtualGateway(DeleteVirtualGatewayRequest deleteVirtualGatewayRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteVirtualGatewayRequest.Builder} avoiding the
* need to create one manually via {@link DeleteVirtualGatewayRequest#builder()}
*
*
* @param deleteVirtualGatewayRequest
* A {@link Consumer} that will call methods on {@link DeleteVirtualGatewayInput.Builder} to create a
* request.
* @return Result of the DeleteVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualGateway
* @see AWS
* API Documentation
*/
default DeleteVirtualGatewayResponse deleteVirtualGateway(
Consumer deleteVirtualGatewayRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteVirtualGateway(DeleteVirtualGatewayRequest.builder().applyMutation(deleteVirtualGatewayRequest).build());
}
/**
*
* 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.
*
*
* @param deleteVirtualNodeRequest
* @return Result of the DeleteVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualNode
* @see AWS API
* Documentation
*/
default DeleteVirtualNodeResponse deleteVirtualNode(DeleteVirtualNodeRequest deleteVirtualNodeRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteVirtualNodeRequest.Builder} avoiding the need
* to create one manually via {@link DeleteVirtualNodeRequest#builder()}
*
*
* @param deleteVirtualNodeRequest
* A {@link Consumer} that will call methods on {@link DeleteVirtualNodeInput.Builder} to create a request.
* @return Result of the DeleteVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualNode
* @see AWS API
* Documentation
*/
default DeleteVirtualNodeResponse deleteVirtualNode(Consumer deleteVirtualNodeRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteVirtualNode(DeleteVirtualNodeRequest.builder().applyMutation(deleteVirtualNodeRequest).build());
}
/**
*
* Deletes an existing virtual router.
*
*
* You must delete any routes associated with the virtual router before you can delete the router itself.
*
*
* @param deleteVirtualRouterRequest
* @return Result of the DeleteVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualRouter
* @see AWS
* API Documentation
*/
default DeleteVirtualRouterResponse deleteVirtualRouter(DeleteVirtualRouterRequest deleteVirtualRouterRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteVirtualRouterRequest.Builder} avoiding the
* need to create one manually via {@link DeleteVirtualRouterRequest#builder()}
*
*
* @param deleteVirtualRouterRequest
* A {@link Consumer} that will call methods on {@link DeleteVirtualRouterInput.Builder} to create a request.
* @return Result of the DeleteVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualRouter
* @see AWS
* API Documentation
*/
default DeleteVirtualRouterResponse deleteVirtualRouter(
Consumer deleteVirtualRouterRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteVirtualRouter(DeleteVirtualRouterRequest.builder().applyMutation(deleteVirtualRouterRequest).build());
}
/**
*
* Deletes an existing virtual service.
*
*
* @param deleteVirtualServiceRequest
* @return Result of the DeleteVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualService
* @see AWS
* API Documentation
*/
default DeleteVirtualServiceResponse deleteVirtualService(DeleteVirtualServiceRequest deleteVirtualServiceRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an existing virtual service.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteVirtualServiceRequest.Builder} avoiding the
* need to create one manually via {@link DeleteVirtualServiceRequest#builder()}
*
*
* @param deleteVirtualServiceRequest
* A {@link Consumer} that will call methods on {@link DeleteVirtualServiceInput.Builder} to create a
* request.
* @return Result of the DeleteVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ResourceInUseException
* You can't delete the specified resource because it's in use or required by another resource.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DeleteVirtualService
* @see AWS
* API Documentation
*/
default DeleteVirtualServiceResponse deleteVirtualService(
Consumer deleteVirtualServiceRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ResourceInUseException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return deleteVirtualService(DeleteVirtualServiceRequest.builder().applyMutation(deleteVirtualServiceRequest).build());
}
/**
*
* Describes an existing gateway route.
*
*
* @param describeGatewayRouteRequest
* @return Result of the DescribeGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeGatewayRoute
* @see AWS
* API Documentation
*/
default DescribeGatewayRouteResponse describeGatewayRoute(DescribeGatewayRouteRequest describeGatewayRouteRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing gateway route.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeGatewayRouteRequest.Builder} avoiding the
* need to create one manually via {@link DescribeGatewayRouteRequest#builder()}
*
*
* @param describeGatewayRouteRequest
* A {@link Consumer} that will call methods on {@link DescribeGatewayRouteInput.Builder} to create a
* request.
* @return Result of the DescribeGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeGatewayRoute
* @see AWS
* API Documentation
*/
default DescribeGatewayRouteResponse describeGatewayRoute(
Consumer describeGatewayRouteRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeGatewayRoute(DescribeGatewayRouteRequest.builder().applyMutation(describeGatewayRouteRequest).build());
}
/**
*
* Describes an existing service mesh.
*
*
* @param describeMeshRequest
* @return Result of the DescribeMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeMesh
* @see AWS API
* Documentation
*/
default DescribeMeshResponse describeMesh(DescribeMeshRequest describeMeshRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeMeshRequest.Builder} avoiding the need to
* create one manually via {@link DescribeMeshRequest#builder()}
*
*
* @param describeMeshRequest
* A {@link Consumer} that will call methods on {@link DescribeMeshInput.Builder} to create a request.
* @return Result of the DescribeMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeMesh
* @see AWS API
* Documentation
*/
default DescribeMeshResponse describeMesh(Consumer describeMeshRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeMesh(DescribeMeshRequest.builder().applyMutation(describeMeshRequest).build());
}
/**
*
* Describes an existing route.
*
*
* @param describeRouteRequest
* @return Result of the DescribeRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeRoute
* @see AWS API
* Documentation
*/
default DescribeRouteResponse describeRoute(DescribeRouteRequest describeRouteRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing route.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRouteRequest.Builder} avoiding the need to
* create one manually via {@link DescribeRouteRequest#builder()}
*
*
* @param describeRouteRequest
* A {@link Consumer} that will call methods on {@link DescribeRouteInput.Builder} to create a request.
* @return Result of the DescribeRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeRoute
* @see AWS API
* Documentation
*/
default DescribeRouteResponse describeRoute(Consumer describeRouteRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeRoute(DescribeRouteRequest.builder().applyMutation(describeRouteRequest).build());
}
/**
*
* Describes an existing virtual gateway.
*
*
* @param describeVirtualGatewayRequest
* @return Result of the DescribeVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualGateway
* @see AWS
* API Documentation
*/
default DescribeVirtualGatewayResponse describeVirtualGateway(DescribeVirtualGatewayRequest describeVirtualGatewayRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing virtual gateway.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeVirtualGatewayRequest.Builder} avoiding the
* need to create one manually via {@link DescribeVirtualGatewayRequest#builder()}
*
*
* @param describeVirtualGatewayRequest
* A {@link Consumer} that will call methods on {@link DescribeVirtualGatewayInput.Builder} to create a
* request.
* @return Result of the DescribeVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualGateway
* @see AWS
* API Documentation
*/
default DescribeVirtualGatewayResponse describeVirtualGateway(
Consumer describeVirtualGatewayRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeVirtualGateway(DescribeVirtualGatewayRequest.builder().applyMutation(describeVirtualGatewayRequest)
.build());
}
/**
*
* Describes an existing virtual node.
*
*
* @param describeVirtualNodeRequest
* @return Result of the DescribeVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualNode
* @see AWS
* API Documentation
*/
default DescribeVirtualNodeResponse describeVirtualNode(DescribeVirtualNodeRequest describeVirtualNodeRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing virtual node.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeVirtualNodeRequest.Builder} avoiding the
* need to create one manually via {@link DescribeVirtualNodeRequest#builder()}
*
*
* @param describeVirtualNodeRequest
* A {@link Consumer} that will call methods on {@link DescribeVirtualNodeInput.Builder} to create a request.
* @return Result of the DescribeVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualNode
* @see AWS
* API Documentation
*/
default DescribeVirtualNodeResponse describeVirtualNode(
Consumer describeVirtualNodeRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeVirtualNode(DescribeVirtualNodeRequest.builder().applyMutation(describeVirtualNodeRequest).build());
}
/**
*
* Describes an existing virtual router.
*
*
* @param describeVirtualRouterRequest
* @return Result of the DescribeVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualRouter
* @see AWS
* API Documentation
*/
default DescribeVirtualRouterResponse describeVirtualRouter(DescribeVirtualRouterRequest describeVirtualRouterRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing virtual router.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeVirtualRouterRequest.Builder} avoiding the
* need to create one manually via {@link DescribeVirtualRouterRequest#builder()}
*
*
* @param describeVirtualRouterRequest
* A {@link Consumer} that will call methods on {@link DescribeVirtualRouterInput.Builder} to create a
* request.
* @return Result of the DescribeVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualRouter
* @see AWS
* API Documentation
*/
default DescribeVirtualRouterResponse describeVirtualRouter(
Consumer describeVirtualRouterRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeVirtualRouter(DescribeVirtualRouterRequest.builder().applyMutation(describeVirtualRouterRequest).build());
}
/**
*
* Describes an existing virtual service.
*
*
* @param describeVirtualServiceRequest
* @return Result of the DescribeVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualService
* @see AWS
* API Documentation
*/
default DescribeVirtualServiceResponse describeVirtualService(DescribeVirtualServiceRequest describeVirtualServiceRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an existing virtual service.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeVirtualServiceRequest.Builder} avoiding the
* need to create one manually via {@link DescribeVirtualServiceRequest#builder()}
*
*
* @param describeVirtualServiceRequest
* A {@link Consumer} that will call methods on {@link DescribeVirtualServiceInput.Builder} to create a
* request.
* @return Result of the DescribeVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.DescribeVirtualService
* @see AWS
* API Documentation
*/
default DescribeVirtualServiceResponse describeVirtualService(
Consumer describeVirtualServiceRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return describeVirtualService(DescribeVirtualServiceRequest.builder().applyMutation(describeVirtualServiceRequest)
.build());
}
/**
*
* Returns a list of existing gateway routes that are associated to a virtual gateway.
*
*
* @param listGatewayRoutesRequest
* @return Result of the ListGatewayRoutes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListGatewayRoutes
* @see AWS API
* Documentation
*/
default ListGatewayRoutesResponse listGatewayRoutes(ListGatewayRoutesRequest listGatewayRoutesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing gateway routes that are associated to a virtual gateway.
*
*
*
* This is a convenience which creates an instance of the {@link ListGatewayRoutesRequest.Builder} avoiding the need
* to create one manually via {@link ListGatewayRoutesRequest#builder()}
*
*
* @param listGatewayRoutesRequest
* A {@link Consumer} that will call methods on {@link ListGatewayRoutesInput.Builder} to create a request.
* @return Result of the ListGatewayRoutes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListGatewayRoutes
* @see AWS API
* Documentation
*/
default ListGatewayRoutesResponse listGatewayRoutes(Consumer listGatewayRoutesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listGatewayRoutes(ListGatewayRoutesRequest.builder().applyMutation(listGatewayRoutesRequest).build());
}
/**
*
* Returns a list of existing gateway routes that are associated to a virtual gateway.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client
* .listGatewayRoutesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)} operation.
*
*
* @param listGatewayRoutesRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListGatewayRoutes
* @see AWS API
* Documentation
*/
default ListGatewayRoutesIterable listGatewayRoutesPaginator(ListGatewayRoutesRequest listGatewayRoutesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing gateway routes that are associated to a virtual gateway.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client
* .listGatewayRoutesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListGatewayRoutesIterable responses = client.listGatewayRoutesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listGatewayRoutes(software.amazon.awssdk.services.appmesh.model.ListGatewayRoutesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListGatewayRoutesRequest.Builder} avoiding the need
* to create one manually via {@link ListGatewayRoutesRequest#builder()}
*
*
* @param listGatewayRoutesRequest
* A {@link Consumer} that will call methods on {@link ListGatewayRoutesInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListGatewayRoutes
* @see AWS API
* Documentation
*/
default ListGatewayRoutesIterable listGatewayRoutesPaginator(
Consumer listGatewayRoutesRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException,
AwsServiceException, SdkClientException, AppMeshException {
return listGatewayRoutesPaginator(ListGatewayRoutesRequest.builder().applyMutation(listGatewayRoutesRequest).build());
}
/**
*
* Returns a list of existing service meshes.
*
*
* @return Result of the ListMeshes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see #listMeshes(ListMeshesRequest)
* @see AWS API
* Documentation
*/
default ListMeshesResponse listMeshes() throws NotFoundException, BadRequestException, TooManyRequestsException,
ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException,
SdkClientException, AppMeshException {
return listMeshes(ListMeshesRequest.builder().build());
}
/**
*
* Returns a list of existing service meshes.
*
*
* @param listMeshesRequest
* @return Result of the ListMeshes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see AWS API
* Documentation
*/
default ListMeshesResponse listMeshes(ListMeshesRequest listMeshesRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException,
AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing service meshes.
*
*
*
* This is a convenience which creates an instance of the {@link ListMeshesRequest.Builder} avoiding the need to
* create one manually via {@link ListMeshesRequest#builder()}
*
*
* @param listMeshesRequest
* A {@link Consumer} that will call methods on {@link ListMeshesInput.Builder} to create a request.
* @return Result of the ListMeshes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see AWS API
* Documentation
*/
default ListMeshesResponse listMeshes(Consumer listMeshesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listMeshes(ListMeshesRequest.builder().applyMutation(listMeshesRequest).build());
}
/**
*
* Returns a list of existing service meshes.
*
*
*
* This is a variant of {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)} operation.
*
*
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see #listMeshesPaginator(ListMeshesRequest)
* @see AWS API
* Documentation
*/
default ListMeshesIterable listMeshesPaginator() throws NotFoundException, BadRequestException, TooManyRequestsException,
ForbiddenException, ServiceUnavailableException, InternalServerErrorException, AwsServiceException,
SdkClientException, AppMeshException {
return listMeshesPaginator(ListMeshesRequest.builder().build());
}
/**
*
* Returns a list of existing service meshes.
*
*
*
* This is a variant of {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)} operation.
*
*
* @param listMeshesRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see AWS API
* Documentation
*/
default ListMeshesIterable listMeshesPaginator(ListMeshesRequest listMeshesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing service meshes.
*
*
*
* This is a variant of {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListMeshesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListMeshesIterable responses = client.listMeshesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMeshes(software.amazon.awssdk.services.appmesh.model.ListMeshesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListMeshesRequest.Builder} avoiding the need to
* create one manually via {@link ListMeshesRequest#builder()}
*
*
* @param listMeshesRequest
* A {@link Consumer} that will call methods on {@link ListMeshesInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListMeshes
* @see AWS API
* Documentation
*/
default ListMeshesIterable listMeshesPaginator(Consumer listMeshesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listMeshesPaginator(ListMeshesRequest.builder().applyMutation(listMeshesRequest).build());
}
/**
*
* Returns a list of existing routes in a service mesh.
*
*
* @param listRoutesRequest
* @return Result of the ListRoutes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListRoutes
* @see AWS API
* Documentation
*/
default ListRoutesResponse listRoutes(ListRoutesRequest listRoutesRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException,
AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing routes in a service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link ListRoutesRequest.Builder} avoiding the need to
* create one manually via {@link ListRoutesRequest#builder()}
*
*
* @param listRoutesRequest
* A {@link Consumer} that will call methods on {@link ListRoutesInput.Builder} to create a request.
* @return Result of the ListRoutes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListRoutes
* @see AWS API
* Documentation
*/
default ListRoutesResponse listRoutes(Consumer listRoutesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listRoutes(ListRoutesRequest.builder().applyMutation(listRoutesRequest).build());
}
/**
*
* Returns a list of existing routes in a service mesh.
*
*
*
* This is a variant of {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListRoutesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)} operation.
*
*
* @param listRoutesRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListRoutes
* @see AWS API
* Documentation
*/
default ListRoutesIterable listRoutesPaginator(ListRoutesRequest listRoutesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing routes in a service mesh.
*
*
*
* This is a variant of {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListRoutesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListRoutesIterable responses = client.listRoutesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listRoutes(software.amazon.awssdk.services.appmesh.model.ListRoutesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListRoutesRequest.Builder} avoiding the need to
* create one manually via {@link ListRoutesRequest#builder()}
*
*
* @param listRoutesRequest
* A {@link Consumer} that will call methods on {@link ListRoutesInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListRoutes
* @see AWS API
* Documentation
*/
default ListRoutesIterable listRoutesPaginator(Consumer listRoutesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listRoutesPaginator(ListRoutesRequest.builder().applyMutation(listRoutesRequest).build());
}
/**
*
* List the tags for an App Mesh resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* List the tags for an App Mesh resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceInput.Builder} to create a request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* List the tags for an App Mesh resource.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client
* .listTagsForResourcePaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListTagsForResourceResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)}
* operation.
*
*
* @param listTagsForResourceRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* List the tags for an App Mesh resource.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client
* .listTagsForResourcePaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListTagsForResourceResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listTagsForResource(software.amazon.awssdk.services.appmesh.model.ListTagsForResourceRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceIterable listTagsForResourcePaginator(
Consumer listTagsForResourceRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listTagsForResourcePaginator(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest)
.build());
}
/**
*
* Returns a list of existing virtual gateways in a service mesh.
*
*
* @param listVirtualGatewaysRequest
* @return Result of the ListVirtualGateways operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualGateways
* @see AWS
* API Documentation
*/
default ListVirtualGatewaysResponse listVirtualGateways(ListVirtualGatewaysRequest listVirtualGatewaysRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual gateways in a service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link ListVirtualGatewaysRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualGatewaysRequest#builder()}
*
*
* @param listVirtualGatewaysRequest
* A {@link Consumer} that will call methods on {@link ListVirtualGatewaysInput.Builder} to create a request.
* @return Result of the ListVirtualGateways operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualGateways
* @see AWS
* API Documentation
*/
default ListVirtualGatewaysResponse listVirtualGateways(
Consumer listVirtualGatewaysRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualGateways(ListVirtualGatewaysRequest.builder().applyMutation(listVirtualGatewaysRequest).build());
}
/**
*
* Returns a list of existing virtual gateways in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client
* .listVirtualGatewaysPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)}
* operation.
*
*
* @param listVirtualGatewaysRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualGateways
* @see AWS
* API Documentation
*/
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(ListVirtualGatewaysRequest listVirtualGatewaysRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual gateways in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client
* .listVirtualGatewaysPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualGatewaysIterable responses = client.listVirtualGatewaysPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualGateways(software.amazon.awssdk.services.appmesh.model.ListVirtualGatewaysRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListVirtualGatewaysRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualGatewaysRequest#builder()}
*
*
* @param listVirtualGatewaysRequest
* A {@link Consumer} that will call methods on {@link ListVirtualGatewaysInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualGateways
* @see AWS
* API Documentation
*/
default ListVirtualGatewaysIterable listVirtualGatewaysPaginator(
Consumer listVirtualGatewaysRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualGatewaysPaginator(ListVirtualGatewaysRequest.builder().applyMutation(listVirtualGatewaysRequest)
.build());
}
/**
*
* Returns a list of existing virtual nodes.
*
*
* @param listVirtualNodesRequest
* @return Result of the ListVirtualNodes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualNodes
* @see AWS API
* Documentation
*/
default ListVirtualNodesResponse listVirtualNodes(ListVirtualNodesRequest listVirtualNodesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual nodes.
*
*
*
* This is a convenience which creates an instance of the {@link ListVirtualNodesRequest.Builder} avoiding the need
* to create one manually via {@link ListVirtualNodesRequest#builder()}
*
*
* @param listVirtualNodesRequest
* A {@link Consumer} that will call methods on {@link ListVirtualNodesInput.Builder} to create a request.
* @return Result of the ListVirtualNodes operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualNodes
* @see AWS API
* Documentation
*/
default ListVirtualNodesResponse listVirtualNodes(Consumer listVirtualNodesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualNodes(ListVirtualNodesRequest.builder().applyMutation(listVirtualNodesRequest).build());
}
/**
*
* Returns a list of existing virtual nodes.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client
* .listVirtualNodesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualNodesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)} operation.
*
*
* @param listVirtualNodesRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualNodes
* @see AWS API
* Documentation
*/
default ListVirtualNodesIterable listVirtualNodesPaginator(ListVirtualNodesRequest listVirtualNodesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual nodes.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client
* .listVirtualNodesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualNodesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualNodesIterable responses = client.listVirtualNodesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualNodes(software.amazon.awssdk.services.appmesh.model.ListVirtualNodesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListVirtualNodesRequest.Builder} avoiding the need
* to create one manually via {@link ListVirtualNodesRequest#builder()}
*
*
* @param listVirtualNodesRequest
* A {@link Consumer} that will call methods on {@link ListVirtualNodesInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualNodes
* @see AWS API
* Documentation
*/
default ListVirtualNodesIterable listVirtualNodesPaginator(Consumer listVirtualNodesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualNodesPaginator(ListVirtualNodesRequest.builder().applyMutation(listVirtualNodesRequest).build());
}
/**
*
* Returns a list of existing virtual routers in a service mesh.
*
*
* @param listVirtualRoutersRequest
* @return Result of the ListVirtualRouters operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualRouters
* @see AWS API
* Documentation
*/
default ListVirtualRoutersResponse listVirtualRouters(ListVirtualRoutersRequest listVirtualRoutersRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual routers in a service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link ListVirtualRoutersRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualRoutersRequest#builder()}
*
*
* @param listVirtualRoutersRequest
* A {@link Consumer} that will call methods on {@link ListVirtualRoutersInput.Builder} to create a request.
* @return Result of the ListVirtualRouters operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualRouters
* @see AWS API
* Documentation
*/
default ListVirtualRoutersResponse listVirtualRouters(Consumer listVirtualRoutersRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualRouters(ListVirtualRoutersRequest.builder().applyMutation(listVirtualRoutersRequest).build());
}
/**
*
* Returns a list of existing virtual routers in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client
* .listVirtualRoutersPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)}
* operation.
*
*
* @param listVirtualRoutersRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualRouters
* @see AWS API
* Documentation
*/
default ListVirtualRoutersIterable listVirtualRoutersPaginator(ListVirtualRoutersRequest listVirtualRoutersRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual routers in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client
* .listVirtualRoutersPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualRoutersIterable responses = client.listVirtualRoutersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualRouters(software.amazon.awssdk.services.appmesh.model.ListVirtualRoutersRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListVirtualRoutersRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualRoutersRequest#builder()}
*
*
* @param listVirtualRoutersRequest
* A {@link Consumer} that will call methods on {@link ListVirtualRoutersInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualRouters
* @see AWS API
* Documentation
*/
default ListVirtualRoutersIterable listVirtualRoutersPaginator(
Consumer listVirtualRoutersRequest) throws NotFoundException, BadRequestException,
TooManyRequestsException, ForbiddenException, ServiceUnavailableException, InternalServerErrorException,
AwsServiceException, SdkClientException, AppMeshException {
return listVirtualRoutersPaginator(ListVirtualRoutersRequest.builder().applyMutation(listVirtualRoutersRequest).build());
}
/**
*
* Returns a list of existing virtual services in a service mesh.
*
*
* @param listVirtualServicesRequest
* @return Result of the ListVirtualServices operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualServices
* @see AWS
* API Documentation
*/
default ListVirtualServicesResponse listVirtualServices(ListVirtualServicesRequest listVirtualServicesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual services in a service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link ListVirtualServicesRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualServicesRequest#builder()}
*
*
* @param listVirtualServicesRequest
* A {@link Consumer} that will call methods on {@link ListVirtualServicesInput.Builder} to create a request.
* @return Result of the ListVirtualServices operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualServices
* @see AWS
* API Documentation
*/
default ListVirtualServicesResponse listVirtualServices(
Consumer listVirtualServicesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualServices(ListVirtualServicesRequest.builder().applyMutation(listVirtualServicesRequest).build());
}
/**
*
* Returns a list of existing virtual services in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client
* .listVirtualServicesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualServicesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)}
* operation.
*
*
* @param listVirtualServicesRequest
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualServices
* @see AWS
* API Documentation
*/
default ListVirtualServicesIterable listVirtualServicesPaginator(ListVirtualServicesRequest listVirtualServicesRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of existing virtual services in a service mesh.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client
* .listVirtualServicesPaginator(request);
* for (software.amazon.awssdk.services.appmesh.model.ListVirtualServicesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.appmesh.paginators.ListVirtualServicesIterable responses = client.listVirtualServicesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of limit won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listVirtualServices(software.amazon.awssdk.services.appmesh.model.ListVirtualServicesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListVirtualServicesRequest.Builder} avoiding the
* need to create one manually via {@link ListVirtualServicesRequest#builder()}
*
*
* @param listVirtualServicesRequest
* A {@link Consumer} that will call methods on {@link ListVirtualServicesInput.Builder} to create a request.
* @return 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.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.ListVirtualServices
* @see AWS
* API Documentation
*/
default ListVirtualServicesIterable listVirtualServicesPaginator(
Consumer listVirtualServicesRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return listVirtualServicesPaginator(ListVirtualServicesRequest.builder().applyMutation(listVirtualServicesRequest)
.build());
}
/**
*
* 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.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, BadRequestException,
TooManyTagsException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceInput.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest) throws NotFoundException,
BadRequestException, TooManyTagsException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Deletes specified tags from a resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException,
BadRequestException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes specified tags from a resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceInput.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws NotFoundException, BadRequestException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
*
*
* @param updateGatewayRouteRequest
* @return Result of the UpdateGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateGatewayRoute
* @see AWS API
* Documentation
*/
default UpdateGatewayRouteResponse updateGatewayRoute(UpdateGatewayRouteRequest updateGatewayRouteRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link UpdateGatewayRouteRequest.Builder} avoiding the
* need to create one manually via {@link UpdateGatewayRouteRequest#builder()}
*
*
* @param updateGatewayRouteRequest
* A {@link Consumer} that will call methods on {@link UpdateGatewayRouteInput.Builder} to create a request.
* @return Result of the UpdateGatewayRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateGatewayRoute
* @see AWS API
* Documentation
*/
default UpdateGatewayRouteResponse updateGatewayRoute(Consumer updateGatewayRouteRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
return updateGatewayRoute(UpdateGatewayRouteRequest.builder().applyMutation(updateGatewayRouteRequest).build());
}
/**
*
* Updates an existing service mesh.
*
*
* @param updateMeshRequest
* @return Result of the UpdateMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateMesh
* @see AWS API
* Documentation
*/
default UpdateMeshResponse updateMesh(UpdateMeshRequest updateMeshRequest) throws NotFoundException, BadRequestException,
ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMeshRequest.Builder} avoiding the need to
* create one manually via {@link UpdateMeshRequest#builder()}
*
*
* @param updateMeshRequest
* A {@link Consumer} that will call methods on {@link UpdateMeshInput.Builder} to create a request.
* @return Result of the UpdateMesh operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateMesh
* @see AWS API
* Documentation
*/
default UpdateMeshResponse updateMesh(Consumer updateMeshRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, AwsServiceException, SdkClientException, AppMeshException {
return updateMesh(UpdateMeshRequest.builder().applyMutation(updateMeshRequest).build());
}
/**
*
* Updates an existing route for a specified service mesh and virtual router.
*
*
* @param updateRouteRequest
* @return Result of the UpdateRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateRoute
* @see AWS API
* Documentation
*/
default UpdateRouteResponse updateRoute(UpdateRouteRequest updateRouteRequest) throws NotFoundException, BadRequestException,
ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing route for a specified service mesh and virtual router.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRouteRequest.Builder} avoiding the need to
* create one manually via {@link UpdateRouteRequest#builder()}
*
*
* @param updateRouteRequest
* A {@link Consumer} that will call methods on {@link UpdateRouteInput.Builder} to create a request.
* @return Result of the UpdateRoute operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateRoute
* @see AWS API
* Documentation
*/
default UpdateRouteResponse updateRoute(Consumer updateRouteRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return updateRoute(UpdateRouteRequest.builder().applyMutation(updateRouteRequest).build());
}
/**
*
* Updates an existing virtual gateway in a specified service mesh.
*
*
* @param updateVirtualGatewayRequest
* @return Result of the UpdateVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualGateway
* @see AWS
* API Documentation
*/
default UpdateVirtualGatewayResponse updateVirtualGateway(UpdateVirtualGatewayRequest updateVirtualGatewayRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing virtual gateway in a specified service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVirtualGatewayRequest.Builder} avoiding the
* need to create one manually via {@link UpdateVirtualGatewayRequest#builder()}
*
*
* @param updateVirtualGatewayRequest
* A {@link Consumer} that will call methods on {@link UpdateVirtualGatewayInput.Builder} to create a
* request.
* @return Result of the UpdateVirtualGateway operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualGateway
* @see AWS
* API Documentation
*/
default UpdateVirtualGatewayResponse updateVirtualGateway(
Consumer updateVirtualGatewayRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return updateVirtualGateway(UpdateVirtualGatewayRequest.builder().applyMutation(updateVirtualGatewayRequest).build());
}
/**
*
* Updates an existing virtual node in a specified service mesh.
*
*
* @param updateVirtualNodeRequest
* @return Result of the UpdateVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualNode
* @see AWS API
* Documentation
*/
default UpdateVirtualNodeResponse updateVirtualNode(UpdateVirtualNodeRequest updateVirtualNodeRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing virtual node in a specified service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVirtualNodeRequest.Builder} avoiding the need
* to create one manually via {@link UpdateVirtualNodeRequest#builder()}
*
*
* @param updateVirtualNodeRequest
* A {@link Consumer} that will call methods on {@link UpdateVirtualNodeInput.Builder} to create a request.
* @return Result of the UpdateVirtualNode operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualNode
* @see AWS API
* Documentation
*/
default UpdateVirtualNodeResponse updateVirtualNode(Consumer updateVirtualNodeRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
return updateVirtualNode(UpdateVirtualNodeRequest.builder().applyMutation(updateVirtualNodeRequest).build());
}
/**
*
* Updates an existing virtual router in a specified service mesh.
*
*
* @param updateVirtualRouterRequest
* @return Result of the UpdateVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualRouter
* @see AWS
* API Documentation
*/
default UpdateVirtualRouterResponse updateVirtualRouter(UpdateVirtualRouterRequest updateVirtualRouterRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing virtual router in a specified service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVirtualRouterRequest.Builder} avoiding the
* need to create one manually via {@link UpdateVirtualRouterRequest#builder()}
*
*
* @param updateVirtualRouterRequest
* A {@link Consumer} that will call methods on {@link UpdateVirtualRouterInput.Builder} to create a request.
* @return Result of the UpdateVirtualRouter operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualRouter
* @see AWS
* API Documentation
*/
default UpdateVirtualRouterResponse updateVirtualRouter(
Consumer updateVirtualRouterRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return updateVirtualRouter(UpdateVirtualRouterRequest.builder().applyMutation(updateVirtualRouterRequest).build());
}
/**
*
* Updates an existing virtual service in a specified service mesh.
*
*
* @param updateVirtualServiceRequest
* @return Result of the UpdateVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualService
* @see AWS
* API Documentation
*/
default UpdateVirtualServiceResponse updateVirtualService(UpdateVirtualServiceRequest updateVirtualServiceRequest)
throws NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException,
ServiceUnavailableException, InternalServerErrorException, LimitExceededException, AwsServiceException,
SdkClientException, AppMeshException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing virtual service in a specified service mesh.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVirtualServiceRequest.Builder} avoiding the
* need to create one manually via {@link UpdateVirtualServiceRequest#builder()}
*
*
* @param updateVirtualServiceRequest
* A {@link Consumer} that will call methods on {@link UpdateVirtualServiceInput.Builder} to create a
* request.
* @return Result of the UpdateVirtualService operation returned by the service.
* @throws NotFoundException
* The specified resource doesn't exist. Check your request syntax and try again.
* @throws BadRequestException
* The request syntax was malformed. Check your request syntax and try again.
* @throws 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.
* @throws 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.
* @throws ForbiddenException
* You don't have permissions to perform this action.
* @throws ServiceUnavailableException
* The request has failed due to a temporary failure of the service.
* @throws InternalServerErrorException
* The request processing has failed because of an unknown error, exception, or failure.
* @throws LimitExceededException
* You have exceeded a service limit for your account. For more information, see Service Limits in
* the AWS App Mesh User Guide.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws AppMeshException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppMeshClient.UpdateVirtualService
* @see AWS
* API Documentation
*/
default UpdateVirtualServiceResponse updateVirtualService(
Consumer updateVirtualServiceRequest) throws NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, ForbiddenException, ServiceUnavailableException,
InternalServerErrorException, LimitExceededException, AwsServiceException, SdkClientException, AppMeshException {
return updateVirtualService(UpdateVirtualServiceRequest.builder().applyMutation(updateVirtualServiceRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("appmesh");
}
}