Interface ApiGatewayV2Client
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ApiGatewayV2Client extends AwsClient
Service client for accessing AmazonApiGatewayV2. This can be created using the staticbuilder()method.Amazon API Gateway V2
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createApi
default CreateApiResponse createApi(CreateApiRequest createApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Api resource.
- Parameters:
createApiRequest- Creates a new Api resource to represent an API.- Returns:
- Result of the CreateApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createApi
default CreateApiResponse createApi(Consumer<CreateApiRequest.Builder> createApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Api resource.
This is a convenience which creates an instance of the
CreateApiRequest.Builderavoiding the need to create one manually viaCreateApiRequest.builder()- Parameters:
createApiRequest- AConsumerthat will call methods onCreateApiRequest.Builderto create a request. Creates a new Api resource to represent an API.- Returns:
- Result of the CreateApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createApiMapping
default CreateApiMappingResponse createApiMapping(CreateApiMappingRequest createApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an API mapping.
- Parameters:
createApiMappingRequest- Creates a new ApiMapping resource to represent an API mapping.- Returns:
- Result of the CreateApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createApiMapping
default CreateApiMappingResponse createApiMapping(Consumer<CreateApiMappingRequest.Builder> createApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an API mapping.
This is a convenience which creates an instance of the
CreateApiMappingRequest.Builderavoiding the need to create one manually viaCreateApiMappingRequest.builder()- Parameters:
createApiMappingRequest- AConsumerthat will call methods onCreateApiMappingRequest.Builderto create a request. Creates a new ApiMapping resource to represent an API mapping.- Returns:
- Result of the CreateApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createAuthorizer
default CreateAuthorizerResponse createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Authorizer for an API.
- Parameters:
createAuthorizerRequest- Creates a new Authorizer resource to represent an authorizer.- Returns:
- Result of the CreateAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createAuthorizer
default CreateAuthorizerResponse createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Authorizer for an API.
This is a convenience which creates an instance of the
CreateAuthorizerRequest.Builderavoiding the need to create one manually viaCreateAuthorizerRequest.builder()- Parameters:
createAuthorizerRequest- AConsumerthat will call methods onCreateAuthorizerRequest.Builderto create a request. Creates a new Authorizer resource to represent an authorizer.- Returns:
- Result of the CreateAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createDeployment
default CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Deployment for an API.
- Parameters:
createDeploymentRequest- Creates a new Deployment resource to represent a deployment.- Returns:
- Result of the CreateDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createDeployment
default CreateDeploymentResponse createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Deployment for an API.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request. Creates a new Deployment resource to represent a deployment.- Returns:
- Result of the CreateDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createDomainName
default CreateDomainNameResponse createDomainName(CreateDomainNameRequest createDomainNameRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a domain name.
- Parameters:
createDomainNameRequest- Creates a new DomainName resource to represent a domain name.- Returns:
- Result of the CreateDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.AccessDeniedException- 403 responseSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createDomainName
default CreateDomainNameResponse createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a domain name.
This is a convenience which creates an instance of the
CreateDomainNameRequest.Builderavoiding the need to create one manually viaCreateDomainNameRequest.builder()- Parameters:
createDomainNameRequest- AConsumerthat will call methods onCreateDomainNameRequest.Builderto create a request. Creates a new DomainName resource to represent a domain name.- Returns:
- Result of the CreateDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.AccessDeniedException- 403 responseSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createIntegration
default CreateIntegrationResponse createIntegration(CreateIntegrationRequest createIntegrationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Integration.
- Parameters:
createIntegrationRequest- Creates a new Integration resource to represent an integration.- Returns:
- Result of the CreateIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createIntegration
default CreateIntegrationResponse createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an Integration.
This is a convenience which creates an instance of the
CreateIntegrationRequest.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto create a request. Creates a new Integration resource to represent an integration.- Returns:
- Result of the CreateIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createIntegrationResponse
default CreateIntegrationResponseResponse createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an IntegrationResponses.
- Parameters:
createIntegrationResponseRequest- Creates a new IntegrationResponse resource to represent an integration response.- Returns:
- Result of the CreateIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createIntegrationResponse
default CreateIntegrationResponseResponse createIntegrationResponse(Consumer<CreateIntegrationResponseRequest.Builder> createIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates an IntegrationResponses.
This is a convenience which creates an instance of the
CreateIntegrationResponseRequest.Builderavoiding the need to create one manually viaCreateIntegrationResponseRequest.builder()- Parameters:
createIntegrationResponseRequest- AConsumerthat will call methods onCreateIntegrationResponseRequest.Builderto create a request. Creates a new IntegrationResponse resource to represent an integration response.- Returns:
- Result of the CreateIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createModel
default CreateModelResponse createModel(CreateModelRequest createModelRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Model for an API.
- Parameters:
createModelRequest- Creates a new Model.- Returns:
- Result of the CreateModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createModel
default CreateModelResponse createModel(Consumer<CreateModelRequest.Builder> createModelRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Model for an API.
This is a convenience which creates an instance of the
CreateModelRequest.Builderavoiding the need to create one manually viaCreateModelRequest.builder()- Parameters:
createModelRequest- AConsumerthat will call methods onCreateModelRequest.Builderto create a request. Creates a new Model.- Returns:
- Result of the CreateModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRoute
default CreateRouteResponse createRoute(CreateRouteRequest createRouteRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Route for an API.
- Parameters:
createRouteRequest- Creates a new Route resource to represent a route.- Returns:
- Result of the CreateRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRoute
default CreateRouteResponse createRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Route for an API.
This is a convenience which creates an instance of the
CreateRouteRequest.Builderavoiding the need to create one manually viaCreateRouteRequest.builder()- Parameters:
createRouteRequest- AConsumerthat will call methods onCreateRouteRequest.Builderto create a request. Creates a new Route resource to represent a route.- Returns:
- Result of the CreateRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRouteResponse
default CreateRouteResponseResponse createRouteResponse(CreateRouteResponseRequest createRouteResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a RouteResponse for a Route.
- Parameters:
createRouteResponseRequest- Creates a new RouteResponse resource to represent a route response.- Returns:
- Result of the CreateRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRouteResponse
default CreateRouteResponseResponse createRouteResponse(Consumer<CreateRouteResponseRequest.Builder> createRouteResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a RouteResponse for a Route.
This is a convenience which creates an instance of the
CreateRouteResponseRequest.Builderavoiding the need to create one manually viaCreateRouteResponseRequest.builder()- Parameters:
createRouteResponseRequest- AConsumerthat will call methods onCreateRouteResponseRequest.Builderto create a request. Creates a new RouteResponse resource to represent a route response.- Returns:
- Result of the CreateRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRoutingRule
default CreateRoutingRuleResponse createRoutingRule(CreateRoutingRuleRequest createRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a RoutingRule.
- Parameters:
createRoutingRuleRequest-- Returns:
- Result of the CreateRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createRoutingRule
default CreateRoutingRuleResponse createRoutingRule(Consumer<CreateRoutingRuleRequest.Builder> createRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a RoutingRule.
This is a convenience which creates an instance of the
CreateRoutingRuleRequest.Builderavoiding the need to create one manually viaCreateRoutingRuleRequest.builder()- Parameters:
createRoutingRuleRequest- AConsumerthat will call methods onCreateRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the CreateRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createStage
default CreateStageResponse createStage(CreateStageRequest createStageRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Stage for an API.
- Parameters:
createStageRequest- Creates a new Stage resource to represent a stage.- Returns:
- Result of the CreateStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createStage
default CreateStageResponse createStage(Consumer<CreateStageRequest.Builder> createStageRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a Stage for an API.
This is a convenience which creates an instance of the
CreateStageRequest.Builderavoiding the need to create one manually viaCreateStageRequest.builder()- Parameters:
createStageRequest- AConsumerthat will call methods onCreateStageRequest.Builderto create a request. Creates a new Stage resource to represent a stage.- Returns:
- Result of the CreateStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createVpcLink
default CreateVpcLinkResponse createVpcLink(CreateVpcLinkRequest createVpcLinkRequest) throws BadRequestException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a VPC link.
- Parameters:
createVpcLinkRequest- Creates a VPC link- Returns:
- Result of the CreateVpcLink operation returned by the service.
- Throws:
BadRequestException- One of the parameters in the request is invalid.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createVpcLink
default CreateVpcLinkResponse createVpcLink(Consumer<CreateVpcLinkRequest.Builder> createVpcLinkRequest) throws BadRequestException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a VPC link.
This is a convenience which creates an instance of the
CreateVpcLinkRequest.Builderavoiding the need to create one manually viaCreateVpcLinkRequest.builder()- Parameters:
createVpcLinkRequest- AConsumerthat will call methods onCreateVpcLinkRequest.Builderto create a request. Creates a VPC link- Returns:
- Result of the CreateVpcLink operation returned by the service.
- Throws:
BadRequestException- One of the parameters in the request is invalid.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteAccessLogSettings
default DeleteAccessLogSettingsResponse deleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
- Parameters:
deleteAccessLogSettingsRequest-- Returns:
- Result of the DeleteAccessLogSettings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteAccessLogSettings
default DeleteAccessLogSettingsResponse deleteAccessLogSettings(Consumer<DeleteAccessLogSettingsRequest.Builder> deleteAccessLogSettingsRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
This is a convenience which creates an instance of the
DeleteAccessLogSettingsRequest.Builderavoiding the need to create one manually viaDeleteAccessLogSettingsRequest.builder()- Parameters:
deleteAccessLogSettingsRequest- AConsumerthat will call methods onDeleteAccessLogSettingsRequest.Builderto create a request.- Returns:
- Result of the DeleteAccessLogSettings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteApi
default DeleteApiResponse deleteApi(DeleteApiRequest deleteApiRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Api resource.
- Parameters:
deleteApiRequest-- Returns:
- Result of the DeleteApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteApi
default DeleteApiResponse deleteApi(Consumer<DeleteApiRequest.Builder> deleteApiRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Api resource.
This is a convenience which creates an instance of the
DeleteApiRequest.Builderavoiding the need to create one manually viaDeleteApiRequest.builder()- Parameters:
deleteApiRequest- AConsumerthat will call methods onDeleteApiRequest.Builderto create a request.- Returns:
- Result of the DeleteApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteApiMapping
default DeleteApiMappingResponse deleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an API mapping.
- Parameters:
deleteApiMappingRequest-- Returns:
- Result of the DeleteApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteApiMapping
default DeleteApiMappingResponse deleteApiMapping(Consumer<DeleteApiMappingRequest.Builder> deleteApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an API mapping.
This is a convenience which creates an instance of the
DeleteApiMappingRequest.Builderavoiding the need to create one manually viaDeleteApiMappingRequest.builder()- Parameters:
deleteApiMappingRequest- AConsumerthat will call methods onDeleteApiMappingRequest.Builderto create a request.- Returns:
- Result of the DeleteApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteAuthorizer
default DeleteAuthorizerResponse deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Authorizer.
- Parameters:
deleteAuthorizerRequest-- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteAuthorizer
default DeleteAuthorizerResponse deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Authorizer.
This is a convenience which creates an instance of the
DeleteAuthorizerRequest.Builderavoiding the need to create one manually viaDeleteAuthorizerRequest.builder()- Parameters:
deleteAuthorizerRequest- AConsumerthat will call methods onDeleteAuthorizerRequest.Builderto create a request.- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteCorsConfiguration
default DeleteCorsConfigurationResponse deleteCorsConfiguration(DeleteCorsConfigurationRequest deleteCorsConfigurationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a CORS configuration.
- Parameters:
deleteCorsConfigurationRequest-- Returns:
- Result of the DeleteCorsConfiguration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteCorsConfiguration
default DeleteCorsConfigurationResponse deleteCorsConfiguration(Consumer<DeleteCorsConfigurationRequest.Builder> deleteCorsConfigurationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a CORS configuration.
This is a convenience which creates an instance of the
DeleteCorsConfigurationRequest.Builderavoiding the need to create one manually viaDeleteCorsConfigurationRequest.builder()- Parameters:
deleteCorsConfigurationRequest- AConsumerthat will call methods onDeleteCorsConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteCorsConfiguration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteDeployment
default DeleteDeploymentResponse deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Deployment.
- Parameters:
deleteDeploymentRequest-- Returns:
- Result of the DeleteDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteDeployment
default DeleteDeploymentResponse deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Deployment.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- Result of the DeleteDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteDomainName
default DeleteDomainNameResponse deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a domain name.
- Parameters:
deleteDomainNameRequest-- Returns:
- Result of the DeleteDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteDomainName
default DeleteDomainNameResponse deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a domain name.
This is a convenience which creates an instance of the
DeleteDomainNameRequest.Builderavoiding the need to create one manually viaDeleteDomainNameRequest.builder()- Parameters:
deleteDomainNameRequest- AConsumerthat will call methods onDeleteDomainNameRequest.Builderto create a request.- Returns:
- Result of the DeleteDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Integration.
- Parameters:
deleteIntegrationRequest-- Returns:
- Result of the DeleteIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an Integration.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto create a request.- Returns:
- Result of the DeleteIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteIntegrationResponse
default DeleteIntegrationResponseResponse deleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an IntegrationResponses.
- Parameters:
deleteIntegrationResponseRequest-- Returns:
- Result of the DeleteIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteIntegrationResponse
default DeleteIntegrationResponseResponse deleteIntegrationResponse(Consumer<DeleteIntegrationResponseRequest.Builder> deleteIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes an IntegrationResponses.
This is a convenience which creates an instance of the
DeleteIntegrationResponseRequest.Builderavoiding the need to create one manually viaDeleteIntegrationResponseRequest.builder()- Parameters:
deleteIntegrationResponseRequest- AConsumerthat will call methods onDeleteIntegrationResponseRequest.Builderto create a request.- Returns:
- Result of the DeleteIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteModel
default DeleteModelResponse deleteModel(DeleteModelRequest deleteModelRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Model.
- Parameters:
deleteModelRequest-- Returns:
- Result of the DeleteModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteModel
default DeleteModelResponse deleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Model.
This is a convenience which creates an instance of the
DeleteModelRequest.Builderavoiding the need to create one manually viaDeleteModelRequest.builder()- Parameters:
deleteModelRequest- AConsumerthat will call methods onDeleteModelRequest.Builderto create a request.- Returns:
- Result of the DeleteModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRoute
default DeleteRouteResponse deleteRoute(DeleteRouteRequest deleteRouteRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Route.
- Parameters:
deleteRouteRequest-- Returns:
- Result of the DeleteRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRoute
default DeleteRouteResponse deleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Route.
This is a convenience which creates an instance of the
DeleteRouteRequest.Builderavoiding the need to create one manually viaDeleteRouteRequest.builder()- Parameters:
deleteRouteRequest- AConsumerthat will call methods onDeleteRouteRequest.Builderto create a request.- Returns:
- Result of the DeleteRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteRequestParameter
default DeleteRouteRequestParameterResponse deleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a route request parameter. Supported only for WebSocket APIs.
- Parameters:
deleteRouteRequestParameterRequest-- Returns:
- Result of the DeleteRouteRequestParameter operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteRequestParameter
default DeleteRouteRequestParameterResponse deleteRouteRequestParameter(Consumer<DeleteRouteRequestParameterRequest.Builder> deleteRouteRequestParameterRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a route request parameter. Supported only for WebSocket APIs.
This is a convenience which creates an instance of the
DeleteRouteRequestParameterRequest.Builderavoiding the need to create one manually viaDeleteRouteRequestParameterRequest.builder()- Parameters:
deleteRouteRequestParameterRequest- AConsumerthat will call methods onDeleteRouteRequestParameterRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteRequestParameter operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteResponse
default DeleteRouteResponseResponse deleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a RouteResponse.
- Parameters:
deleteRouteResponseRequest-- Returns:
- Result of the DeleteRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteResponse
default DeleteRouteResponseResponse deleteRouteResponse(Consumer<DeleteRouteResponseRequest.Builder> deleteRouteResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a RouteResponse.
This is a convenience which creates an instance of the
DeleteRouteResponseRequest.Builderavoiding the need to create one manually viaDeleteRouteResponseRequest.builder()- Parameters:
deleteRouteResponseRequest- AConsumerthat will call methods onDeleteRouteResponseRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteSettings
default DeleteRouteSettingsResponse deleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes the RouteSettings for a stage.
- Parameters:
deleteRouteSettingsRequest-- Returns:
- Result of the DeleteRouteSettings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRouteSettings
default DeleteRouteSettingsResponse deleteRouteSettings(Consumer<DeleteRouteSettingsRequest.Builder> deleteRouteSettingsRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes the RouteSettings for a stage.
This is a convenience which creates an instance of the
DeleteRouteSettingsRequest.Builderavoiding the need to create one manually viaDeleteRouteSettingsRequest.builder()- Parameters:
deleteRouteSettingsRequest- AConsumerthat will call methods onDeleteRouteSettingsRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteSettings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRoutingRule
default DeleteRoutingRuleResponse deleteRoutingRule(DeleteRoutingRuleRequest deleteRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a routing rule.
- Parameters:
deleteRoutingRuleRequest-- Returns:
- Result of the DeleteRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteRoutingRule
default DeleteRoutingRuleResponse deleteRoutingRule(Consumer<DeleteRoutingRuleRequest.Builder> deleteRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a routing rule.
This is a convenience which creates an instance of the
DeleteRoutingRuleRequest.Builderavoiding the need to create one manually viaDeleteRoutingRuleRequest.builder()- Parameters:
deleteRoutingRuleRequest- AConsumerthat will call methods onDeleteRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteStage
default DeleteStageResponse deleteStage(DeleteStageRequest deleteStageRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Stage.
- Parameters:
deleteStageRequest-- Returns:
- Result of the DeleteStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteStage
default DeleteStageResponse deleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Stage.
This is a convenience which creates an instance of the
DeleteStageRequest.Builderavoiding the need to create one manually viaDeleteStageRequest.builder()- Parameters:
deleteStageRequest- AConsumerthat will call methods onDeleteStageRequest.Builderto create a request.- Returns:
- Result of the DeleteStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteVpcLink
default DeleteVpcLinkResponse deleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a VPC link.
- Parameters:
deleteVpcLinkRequest-- Returns:
- Result of the DeleteVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteVpcLink
default DeleteVpcLinkResponse deleteVpcLink(Consumer<DeleteVpcLinkRequest.Builder> deleteVpcLinkRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a VPC link.
This is a convenience which creates an instance of the
DeleteVpcLinkRequest.Builderavoiding the need to create one manually viaDeleteVpcLinkRequest.builder()- Parameters:
deleteVpcLinkRequest- AConsumerthat will call methods onDeleteVpcLinkRequest.Builderto create a request.- Returns:
- Result of the DeleteVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
exportApi
default ExportApiResponse exportApi(ExportApiRequest exportApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Invokes the ExportApi operation.- Parameters:
exportApiRequest-- Returns:
- Result of the ExportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
exportApi
default ExportApiResponse exportApi(Consumer<ExportApiRequest.Builder> exportApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Invokes the ExportApi operation.
This is a convenience which creates an instance of the
ExportApiRequest.Builderavoiding the need to create one manually viaExportApiRequest.builder()- Parameters:
exportApiRequest- AConsumerthat will call methods onExportApiRequest.Builderto create a request.- Returns:
- Result of the ExportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApi
default GetApiResponse getApi(GetApiRequest getApiRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Api resource.
- Parameters:
getApiRequest-- Returns:
- Result of the GetApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApi
default GetApiResponse getApi(Consumer<GetApiRequest.Builder> getApiRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Api resource.
This is a convenience which creates an instance of the
GetApiRequest.Builderavoiding the need to create one manually viaGetApiRequest.builder()- Parameters:
getApiRequest- AConsumerthat will call methods onGetApiRequest.Builderto create a request.- Returns:
- Result of the GetApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApiMapping
default GetApiMappingResponse getApiMapping(GetApiMappingRequest getApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an API mapping.
- Parameters:
getApiMappingRequest-- Returns:
- Result of the GetApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApiMapping
default GetApiMappingResponse getApiMapping(Consumer<GetApiMappingRequest.Builder> getApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an API mapping.
This is a convenience which creates an instance of the
GetApiMappingRequest.Builderavoiding the need to create one manually viaGetApiMappingRequest.builder()- Parameters:
getApiMappingRequest- AConsumerthat will call methods onGetApiMappingRequest.Builderto create a request.- Returns:
- Result of the GetApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApiMappings
default GetApiMappingsResponse getApiMappings(GetApiMappingsRequest getApiMappingsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets API mappings.
- Parameters:
getApiMappingsRequest-- Returns:
- Result of the GetApiMappings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApiMappings
default GetApiMappingsResponse getApiMappings(Consumer<GetApiMappingsRequest.Builder> getApiMappingsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets API mappings.
This is a convenience which creates an instance of the
GetApiMappingsRequest.Builderavoiding the need to create one manually viaGetApiMappingsRequest.builder()- Parameters:
getApiMappingsRequest- AConsumerthat will call methods onGetApiMappingsRequest.Builderto create a request.- Returns:
- Result of the GetApiMappings operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApis
default GetApisResponse getApis(GetApisRequest getApisRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of Api resources.
- Parameters:
getApisRequest-- Returns:
- Result of the GetApis operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApis
default GetApisResponse getApis(Consumer<GetApisRequest.Builder> getApisRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of Api resources.
This is a convenience which creates an instance of the
GetApisRequest.Builderavoiding the need to create one manually viaGetApisRequest.builder()- Parameters:
getApisRequest- AConsumerthat will call methods onGetApisRequest.Builderto create a request.- Returns:
- Result of the GetApis operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getApis
default GetApisResponse getApis() throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of Api resources.
- Returns:
- Result of the GetApis operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getApis(GetApisRequest)
-
getAuthorizer
default GetAuthorizerResponse getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Authorizer.
- Parameters:
getAuthorizerRequest-- Returns:
- Result of the GetAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getAuthorizer
default GetAuthorizerResponse getAuthorizer(Consumer<GetAuthorizerRequest.Builder> getAuthorizerRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Authorizer.
This is a convenience which creates an instance of the
GetAuthorizerRequest.Builderavoiding the need to create one manually viaGetAuthorizerRequest.builder()- Parameters:
getAuthorizerRequest- AConsumerthat will call methods onGetAuthorizerRequest.Builderto create a request.- Returns:
- Result of the GetAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getAuthorizers
default GetAuthorizersResponse getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Authorizers for an API.
- Parameters:
getAuthorizersRequest-- Returns:
- Result of the GetAuthorizers operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getAuthorizers
default GetAuthorizersResponse getAuthorizers(Consumer<GetAuthorizersRequest.Builder> getAuthorizersRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Authorizers for an API.
This is a convenience which creates an instance of the
GetAuthorizersRequest.Builderavoiding the need to create one manually viaGetAuthorizersRequest.builder()- Parameters:
getAuthorizersRequest- AConsumerthat will call methods onGetAuthorizersRequest.Builderto create a request.- Returns:
- Result of the GetAuthorizers operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDeployment
default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Deployment.
- Parameters:
getDeploymentRequest-- Returns:
- Result of the GetDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDeployment
default GetDeploymentResponse getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Deployment.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- Result of the GetDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDeployments
default GetDeploymentsResponse getDeployments(GetDeploymentsRequest getDeploymentsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Deployments for an API.
- Parameters:
getDeploymentsRequest-- Returns:
- Result of the GetDeployments operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDeployments
default GetDeploymentsResponse getDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Deployments for an API.
This is a convenience which creates an instance of the
GetDeploymentsRequest.Builderavoiding the need to create one manually viaGetDeploymentsRequest.builder()- Parameters:
getDeploymentsRequest- AConsumerthat will call methods onGetDeploymentsRequest.Builderto create a request.- Returns:
- Result of the GetDeployments operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDomainName
default GetDomainNameResponse getDomainName(GetDomainNameRequest getDomainNameRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a domain name.
- Parameters:
getDomainNameRequest-- Returns:
- Result of the GetDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDomainName
default GetDomainNameResponse getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a domain name.
This is a convenience which creates an instance of the
GetDomainNameRequest.Builderavoiding the need to create one manually viaGetDomainNameRequest.builder()- Parameters:
getDomainNameRequest- AConsumerthat will call methods onGetDomainNameRequest.Builderto create a request.- Returns:
- Result of the GetDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDomainNames
default GetDomainNamesResponse getDomainNames(GetDomainNamesRequest getDomainNamesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the domain names for an AWS account.
- Parameters:
getDomainNamesRequest-- Returns:
- Result of the GetDomainNames operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDomainNames
default GetDomainNamesResponse getDomainNames(Consumer<GetDomainNamesRequest.Builder> getDomainNamesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the domain names for an AWS account.
This is a convenience which creates an instance of the
GetDomainNamesRequest.Builderavoiding the need to create one manually viaGetDomainNamesRequest.builder()- Parameters:
getDomainNamesRequest- AConsumerthat will call methods onGetDomainNamesRequest.Builderto create a request.- Returns:
- Result of the GetDomainNames operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getDomainNames
default GetDomainNamesResponse getDomainNames() throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the domain names for an AWS account.
- Returns:
- Result of the GetDomainNames operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getDomainNames(GetDomainNamesRequest)
-
getIntegration
default GetIntegrationResponse getIntegration(GetIntegrationRequest getIntegrationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Integration.
- Parameters:
getIntegrationRequest-- Returns:
- Result of the GetIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegration
default GetIntegrationResponse getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an Integration.
This is a convenience which creates an instance of the
GetIntegrationRequest.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto create a request.- Returns:
- Result of the GetIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrationResponse
default GetIntegrationResponseResponse getIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an IntegrationResponses.
- Parameters:
getIntegrationResponseRequest-- Returns:
- Result of the GetIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrationResponse
default GetIntegrationResponseResponse getIntegrationResponse(Consumer<GetIntegrationResponseRequest.Builder> getIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets an IntegrationResponses.
This is a convenience which creates an instance of the
GetIntegrationResponseRequest.Builderavoiding the need to create one manually viaGetIntegrationResponseRequest.builder()- Parameters:
getIntegrationResponseRequest- AConsumerthat will call methods onGetIntegrationResponseRequest.Builderto create a request.- Returns:
- Result of the GetIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrationResponses
default GetIntegrationResponsesResponse getIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the IntegrationResponses for an Integration.
- Parameters:
getIntegrationResponsesRequest-- Returns:
- Result of the GetIntegrationResponses operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrationResponses
default GetIntegrationResponsesResponse getIntegrationResponses(Consumer<GetIntegrationResponsesRequest.Builder> getIntegrationResponsesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the IntegrationResponses for an Integration.
This is a convenience which creates an instance of the
GetIntegrationResponsesRequest.Builderavoiding the need to create one manually viaGetIntegrationResponsesRequest.builder()- Parameters:
getIntegrationResponsesRequest- AConsumerthat will call methods onGetIntegrationResponsesRequest.Builderto create a request.- Returns:
- Result of the GetIntegrationResponses operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrations
default GetIntegrationsResponse getIntegrations(GetIntegrationsRequest getIntegrationsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Integrations for an API.
- Parameters:
getIntegrationsRequest-- Returns:
- Result of the GetIntegrations operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getIntegrations
default GetIntegrationsResponse getIntegrations(Consumer<GetIntegrationsRequest.Builder> getIntegrationsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Integrations for an API.
This is a convenience which creates an instance of the
GetIntegrationsRequest.Builderavoiding the need to create one manually viaGetIntegrationsRequest.builder()- Parameters:
getIntegrationsRequest- AConsumerthat will call methods onGetIntegrationsRequest.Builderto create a request.- Returns:
- Result of the GetIntegrations operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModel
default GetModelResponse getModel(GetModelRequest getModelRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Model.
- Parameters:
getModelRequest-- Returns:
- Result of the GetModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModel
default GetModelResponse getModel(Consumer<GetModelRequest.Builder> getModelRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Model.
This is a convenience which creates an instance of the
GetModelRequest.Builderavoiding the need to create one manually viaGetModelRequest.builder()- Parameters:
getModelRequest- AConsumerthat will call methods onGetModelRequest.Builderto create a request.- Returns:
- Result of the GetModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModelTemplate
default GetModelTemplateResponse getModelTemplate(GetModelTemplateRequest getModelTemplateRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a model template.
- Parameters:
getModelTemplateRequest-- Returns:
- Result of the GetModelTemplate operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModelTemplate
default GetModelTemplateResponse getModelTemplate(Consumer<GetModelTemplateRequest.Builder> getModelTemplateRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a model template.
This is a convenience which creates an instance of the
GetModelTemplateRequest.Builderavoiding the need to create one manually viaGetModelTemplateRequest.builder()- Parameters:
getModelTemplateRequest- AConsumerthat will call methods onGetModelTemplateRequest.Builderto create a request.- Returns:
- Result of the GetModelTemplate operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModels
default GetModelsResponse getModels(GetModelsRequest getModelsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Models for an API.
- Parameters:
getModelsRequest-- Returns:
- Result of the GetModels operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getModels
default GetModelsResponse getModels(Consumer<GetModelsRequest.Builder> getModelsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Models for an API.
This is a convenience which creates an instance of the
GetModelsRequest.Builderavoiding the need to create one manually viaGetModelsRequest.builder()- Parameters:
getModelsRequest- AConsumerthat will call methods onGetModelsRequest.Builderto create a request.- Returns:
- Result of the GetModels operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoute
default GetRouteResponse getRoute(GetRouteRequest getRouteRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Route.
- Parameters:
getRouteRequest-- Returns:
- Result of the GetRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoute
default GetRouteResponse getRoute(Consumer<GetRouteRequest.Builder> getRouteRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Route.
This is a convenience which creates an instance of the
GetRouteRequest.Builderavoiding the need to create one manually viaGetRouteRequest.builder()- Parameters:
getRouteRequest- AConsumerthat will call methods onGetRouteRequest.Builderto create a request.- Returns:
- Result of the GetRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRouteResponse
default GetRouteResponseResponse getRouteResponse(GetRouteResponseRequest getRouteResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a RouteResponse.
- Parameters:
getRouteResponseRequest-- Returns:
- Result of the GetRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRouteResponse
default GetRouteResponseResponse getRouteResponse(Consumer<GetRouteResponseRequest.Builder> getRouteResponseRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a RouteResponse.
This is a convenience which creates an instance of the
GetRouteResponseRequest.Builderavoiding the need to create one manually viaGetRouteResponseRequest.builder()- Parameters:
getRouteResponseRequest- AConsumerthat will call methods onGetRouteResponseRequest.Builderto create a request.- Returns:
- Result of the GetRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRouteResponses
default GetRouteResponsesResponse getRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the RouteResponses for a Route.
- Parameters:
getRouteResponsesRequest-- Returns:
- Result of the GetRouteResponses operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRouteResponses
default GetRouteResponsesResponse getRouteResponses(Consumer<GetRouteResponsesRequest.Builder> getRouteResponsesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the RouteResponses for a Route.
This is a convenience which creates an instance of the
GetRouteResponsesRequest.Builderavoiding the need to create one manually viaGetRouteResponsesRequest.builder()- Parameters:
getRouteResponsesRequest- AConsumerthat will call methods onGetRouteResponsesRequest.Builderto create a request.- Returns:
- Result of the GetRouteResponses operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoutes
default GetRoutesResponse getRoutes(GetRoutesRequest getRoutesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Routes for an API.
- Parameters:
getRoutesRequest-- Returns:
- Result of the GetRoutes operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoutes
default GetRoutesResponse getRoutes(Consumer<GetRoutesRequest.Builder> getRoutesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Routes for an API.
This is a convenience which creates an instance of the
GetRoutesRequest.Builderavoiding the need to create one manually viaGetRoutesRequest.builder()- Parameters:
getRoutesRequest- AConsumerthat will call methods onGetRoutesRequest.Builderto create a request.- Returns:
- Result of the GetRoutes operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoutingRule
default GetRoutingRuleResponse getRoutingRule(GetRoutingRuleRequest getRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a routing rule.
- Parameters:
getRoutingRuleRequest-- Returns:
- Result of the GetRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getRoutingRule
default GetRoutingRuleResponse getRoutingRule(Consumer<GetRoutingRuleRequest.Builder> getRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a routing rule.
This is a convenience which creates an instance of the
GetRoutingRuleRequest.Builderavoiding the need to create one manually viaGetRoutingRuleRequest.builder()- Parameters:
getRoutingRuleRequest- AConsumerthat will call methods onGetRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the GetRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getStage
default GetStageResponse getStage(GetStageRequest getStageRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Stage.
- Parameters:
getStageRequest-- Returns:
- Result of the GetStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getStage
default GetStageResponse getStage(Consumer<GetStageRequest.Builder> getStageRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a Stage.
This is a convenience which creates an instance of the
GetStageRequest.Builderavoiding the need to create one manually viaGetStageRequest.builder()- Parameters:
getStageRequest- AConsumerthat will call methods onGetStageRequest.Builderto create a request.- Returns:
- Result of the GetStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getStages
default GetStagesResponse getStages(GetStagesRequest getStagesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Stages for an API.
- Parameters:
getStagesRequest-- Returns:
- Result of the GetStages operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getStages
default GetStagesResponse getStages(Consumer<GetStagesRequest.Builder> getStagesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets the Stages for an API.
This is a convenience which creates an instance of the
GetStagesRequest.Builderavoiding the need to create one manually viaGetStagesRequest.builder()- Parameters:
getStagesRequest- AConsumerthat will call methods onGetStagesRequest.Builderto create a request.- Returns:
- Result of the GetStages operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getTags
default GetTagsResponse getTags(GetTagsRequest getTagsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of Tag resources.
- Parameters:
getTagsRequest-- Returns:
- Result of the GetTags operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getTags
default GetTagsResponse getTags(Consumer<GetTagsRequest.Builder> getTagsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of Tag resources.
This is a convenience which creates an instance of the
GetTagsRequest.Builderavoiding the need to create one manually viaGetTagsRequest.builder()- Parameters:
getTagsRequest- AConsumerthat will call methods onGetTagsRequest.Builderto create a request.- Returns:
- Result of the GetTags operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getVpcLink
default GetVpcLinkResponse getVpcLink(GetVpcLinkRequest getVpcLinkRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a VPC link.
- Parameters:
getVpcLinkRequest-- Returns:
- Result of the GetVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getVpcLink
default GetVpcLinkResponse getVpcLink(Consumer<GetVpcLinkRequest.Builder> getVpcLinkRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a VPC link.
This is a convenience which creates an instance of the
GetVpcLinkRequest.Builderavoiding the need to create one manually viaGetVpcLinkRequest.builder()- Parameters:
getVpcLinkRequest- AConsumerthat will call methods onGetVpcLinkRequest.Builderto create a request.- Returns:
- Result of the GetVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getVpcLinks
default GetVpcLinksResponse getVpcLinks(GetVpcLinksRequest getVpcLinksRequest) throws BadRequestException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of VPC links.
- Parameters:
getVpcLinksRequest-- Returns:
- Result of the GetVpcLinks operation returned by the service.
- Throws:
BadRequestException- One of the parameters in the request is invalid.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
getVpcLinks
default GetVpcLinksResponse getVpcLinks(Consumer<GetVpcLinksRequest.Builder> getVpcLinksRequest) throws BadRequestException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Gets a collection of VPC links.
This is a convenience which creates an instance of the
GetVpcLinksRequest.Builderavoiding the need to create one manually viaGetVpcLinksRequest.builder()- Parameters:
getVpcLinksRequest- AConsumerthat will call methods onGetVpcLinksRequest.Builderto create a request.- Returns:
- Result of the GetVpcLinks operation returned by the service.
- Throws:
BadRequestException- One of the parameters in the request is invalid.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
importApi
default ImportApiResponse importApi(ImportApiRequest importApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Imports an API.
- Parameters:
importApiRequest-- Returns:
- Result of the ImportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
importApi
default ImportApiResponse importApi(Consumer<ImportApiRequest.Builder> importApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Imports an API.
This is a convenience which creates an instance of the
ImportApiRequest.Builderavoiding the need to create one manually viaImportApiRequest.builder()- Parameters:
importApiRequest- AConsumerthat will call methods onImportApiRequest.Builderto create a request.- Returns:
- Result of the ImportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listRoutingRules
default ListRoutingRulesResponse listRoutingRules(ListRoutingRulesRequest listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Lists routing rules.
- Parameters:
listRoutingRulesRequest-- Returns:
- Result of the ListRoutingRules operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listRoutingRules
default ListRoutingRulesResponse listRoutingRules(Consumer<ListRoutingRulesRequest.Builder> listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Lists routing rules.
This is a convenience which creates an instance of the
ListRoutingRulesRequest.Builderavoiding the need to create one manually viaListRoutingRulesRequest.builder()- Parameters:
listRoutingRulesRequest- AConsumerthat will call methods onListRoutingRulesRequest.Builderto create a request.- Returns:
- Result of the ListRoutingRules operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listRoutingRulesPaginator
default ListRoutingRulesIterable listRoutingRulesPaginator(ListRoutingRulesRequest listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
This is a variant of
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client .listRoutingRulesPaginator(request); for (software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults 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
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.- Parameters:
listRoutingRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listRoutingRulesPaginator
default ListRoutingRulesIterable listRoutingRulesPaginator(Consumer<ListRoutingRulesRequest.Builder> listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
This is a variant of
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client .listRoutingRulesPaginator(request); for (software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults 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
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.
This is a convenience which creates an instance of the
ListRoutingRulesRequest.Builderavoiding the need to create one manually viaListRoutingRulesRequest.builder()- Parameters:
listRoutingRulesRequest- AConsumerthat will call methods onListRoutingRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
putRoutingRule
default PutRoutingRuleResponse putRoutingRule(PutRoutingRuleRequest putRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a routing rule.
- Parameters:
putRoutingRuleRequest-- Returns:
- Result of the PutRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
putRoutingRule
default PutRoutingRuleResponse putRoutingRule(Consumer<PutRoutingRuleRequest.Builder> putRoutingRuleRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a routing rule.
This is a convenience which creates an instance of the
PutRoutingRuleRequest.Builderavoiding the need to create one manually viaPutRoutingRuleRequest.builder()- Parameters:
putRoutingRuleRequest- AConsumerthat will call methods onPutRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the PutRoutingRule operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
reimportApi
default ReimportApiResponse reimportApi(ReimportApiRequest reimportApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Puts an Api resource.
- Parameters:
reimportApiRequest-- Returns:
- Result of the ReimportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
reimportApi
default ReimportApiResponse reimportApi(Consumer<ReimportApiRequest.Builder> reimportApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Puts an Api resource.
This is a convenience which creates an instance of the
ReimportApiRequest.Builderavoiding the need to create one manually viaReimportApiRequest.builder()- Parameters:
reimportApiRequest- AConsumerthat will call methods onReimportApiRequest.Builderto create a request.- Returns:
- Result of the ReimportApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
resetAuthorizersCache
default ResetAuthorizersCacheResponse resetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
- Parameters:
resetAuthorizersCacheRequest-- Returns:
- Result of the ResetAuthorizersCache operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
resetAuthorizersCache
default ResetAuthorizersCacheResponse resetAuthorizersCache(Consumer<ResetAuthorizersCacheRequest.Builder> resetAuthorizersCacheRequest) throws NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
This is a convenience which creates an instance of the
ResetAuthorizersCacheRequest.Builderavoiding the need to create one manually viaResetAuthorizersCacheRequest.builder()- Parameters:
resetAuthorizersCacheRequest- AConsumerthat will call methods onResetAuthorizersCacheRequest.Builderto create a request.- Returns:
- Result of the ResetAuthorizersCache operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a new Tag resource to represent a tag.
- Parameters:
tagResourceRequest- Creates a new Tag resource to represent a tag.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Creates a new Tag resource to represent a tag.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. Creates a new Tag resource to represent a tag.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Tag.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Deletes a Tag.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateApi
default UpdateApiResponse updateApi(UpdateApiRequest updateApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Api resource.
- Parameters:
updateApiRequest- Updates an Api.- Returns:
- Result of the UpdateApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateApi
default UpdateApiResponse updateApi(Consumer<UpdateApiRequest.Builder> updateApiRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Api resource.
This is a convenience which creates an instance of the
UpdateApiRequest.Builderavoiding the need to create one manually viaUpdateApiRequest.builder()- Parameters:
updateApiRequest- AConsumerthat will call methods onUpdateApiRequest.Builderto create a request. Updates an Api.- Returns:
- Result of the UpdateApi operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateApiMapping
default UpdateApiMappingResponse updateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
The API mapping.
- Parameters:
updateApiMappingRequest- Updates an ApiMapping.- Returns:
- Result of the UpdateApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateApiMapping
default UpdateApiMappingResponse updateApiMapping(Consumer<UpdateApiMappingRequest.Builder> updateApiMappingRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
The API mapping.
This is a convenience which creates an instance of the
UpdateApiMappingRequest.Builderavoiding the need to create one manually viaUpdateApiMappingRequest.builder()- Parameters:
updateApiMappingRequest- AConsumerthat will call methods onUpdateApiMappingRequest.Builderto create a request. Updates an ApiMapping.- Returns:
- Result of the UpdateApiMapping operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateAuthorizer
default UpdateAuthorizerResponse updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Authorizer.
- Parameters:
updateAuthorizerRequest- Updates an Authorizer.- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateAuthorizer
default UpdateAuthorizerResponse updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Authorizer.
This is a convenience which creates an instance of the
UpdateAuthorizerRequest.Builderavoiding the need to create one manually viaUpdateAuthorizerRequest.builder()- Parameters:
updateAuthorizerRequest- AConsumerthat will call methods onUpdateAuthorizerRequest.Builderto create a request. Updates an Authorizer.- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateDeployment
default UpdateDeploymentResponse updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Deployment.
- Parameters:
updateDeploymentRequest- Updates a Deployment.- Returns:
- Result of the UpdateDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateDeployment
default UpdateDeploymentResponse updateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Deployment.
This is a convenience which creates an instance of the
UpdateDeploymentRequest.Builderavoiding the need to create one manually viaUpdateDeploymentRequest.builder()- Parameters:
updateDeploymentRequest- AConsumerthat will call methods onUpdateDeploymentRequest.Builderto create a request. Updates a Deployment.- Returns:
- Result of the UpdateDeployment operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateDomainName
default UpdateDomainNameResponse updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a domain name.
- Parameters:
updateDomainNameRequest- Updates a DomainName.- Returns:
- Result of the UpdateDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateDomainName
default UpdateDomainNameResponse updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a domain name.
This is a convenience which creates an instance of the
UpdateDomainNameRequest.Builderavoiding the need to create one manually viaUpdateDomainNameRequest.builder()- Parameters:
updateDomainNameRequest- AConsumerthat will call methods onUpdateDomainNameRequest.Builderto create a request. Updates a DomainName.- Returns:
- Result of the UpdateDomainName operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateIntegration
default UpdateIntegrationResponse updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Integration.
- Parameters:
updateIntegrationRequest- Updates an Integration.- Returns:
- Result of the UpdateIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateIntegration
default UpdateIntegrationResponse updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an Integration.
This is a convenience which creates an instance of the
UpdateIntegrationRequest.Builderavoiding the need to create one manually viaUpdateIntegrationRequest.builder()- Parameters:
updateIntegrationRequest- AConsumerthat will call methods onUpdateIntegrationRequest.Builderto create a request. Updates an Integration.- Returns:
- Result of the UpdateIntegration operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateIntegrationResponse
default UpdateIntegrationResponseResponse updateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an IntegrationResponses.
- Parameters:
updateIntegrationResponseRequest- Updates an IntegrationResponses.- Returns:
- Result of the UpdateIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateIntegrationResponse
default UpdateIntegrationResponseResponse updateIntegrationResponse(Consumer<UpdateIntegrationResponseRequest.Builder> updateIntegrationResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates an IntegrationResponses.
This is a convenience which creates an instance of the
UpdateIntegrationResponseRequest.Builderavoiding the need to create one manually viaUpdateIntegrationResponseRequest.builder()- Parameters:
updateIntegrationResponseRequest- AConsumerthat will call methods onUpdateIntegrationResponseRequest.Builderto create a request. Updates an IntegrationResponses.- Returns:
- Result of the UpdateIntegrationResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateModel
default UpdateModelResponse updateModel(UpdateModelRequest updateModelRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Model.
- Parameters:
updateModelRequest- Updates a Model.- Returns:
- Result of the UpdateModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateModel
default UpdateModelResponse updateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Model.
This is a convenience which creates an instance of the
UpdateModelRequest.Builderavoiding the need to create one manually viaUpdateModelRequest.builder()- Parameters:
updateModelRequest- AConsumerthat will call methods onUpdateModelRequest.Builderto create a request. Updates a Model.- Returns:
- Result of the UpdateModel operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateRoute
default UpdateRouteResponse updateRoute(UpdateRouteRequest updateRouteRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Route.
- Parameters:
updateRouteRequest- Updates a Route.- Returns:
- Result of the UpdateRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateRoute
default UpdateRouteResponse updateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Route.
This is a convenience which creates an instance of the
UpdateRouteRequest.Builderavoiding the need to create one manually viaUpdateRouteRequest.builder()- Parameters:
updateRouteRequest- AConsumerthat will call methods onUpdateRouteRequest.Builderto create a request. Updates a Route.- Returns:
- Result of the UpdateRoute operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateRouteResponse
default UpdateRouteResponseResponse updateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a RouteResponse.
- Parameters:
updateRouteResponseRequest- Updates a RouteResponse.- Returns:
- Result of the UpdateRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateRouteResponse
default UpdateRouteResponseResponse updateRouteResponse(Consumer<UpdateRouteResponseRequest.Builder> updateRouteResponseRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a RouteResponse.
This is a convenience which creates an instance of the
UpdateRouteResponseRequest.Builderavoiding the need to create one manually viaUpdateRouteResponseRequest.builder()- Parameters:
updateRouteResponseRequest- AConsumerthat will call methods onUpdateRouteResponseRequest.Builderto create a request. Updates a RouteResponse.- Returns:
- Result of the UpdateRouteResponse operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateStage
default UpdateStageResponse updateStage(UpdateStageRequest updateStageRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Stage.
- Parameters:
updateStageRequest- Updates a Stage.- Returns:
- Result of the UpdateStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateStage
default UpdateStageResponse updateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a Stage.
This is a convenience which creates an instance of the
UpdateStageRequest.Builderavoiding the need to create one manually viaUpdateStageRequest.builder()- Parameters:
updateStageRequest- AConsumerthat will call methods onUpdateStageRequest.Builderto create a request. Updates a Stage.- Returns:
- Result of the UpdateStage operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.ConflictException- The resource already exists.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateVpcLink
default UpdateVpcLinkResponse updateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a VPC link.
- Parameters:
updateVpcLinkRequest- Updates a VPC link.- Returns:
- Result of the UpdateVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateVpcLink
default UpdateVpcLinkResponse updateVpcLink(Consumer<UpdateVpcLinkRequest.Builder> updateVpcLinkRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception
Updates a VPC link.
This is a convenience which creates an instance of the
UpdateVpcLinkRequest.Builderavoiding the need to create one manually viaUpdateVpcLinkRequest.builder()- Parameters:
updateVpcLinkRequest- AConsumerthat will call methods onUpdateVpcLinkRequest.Builderto create a request. Updates a VPC link.- Returns:
- Result of the UpdateVpcLink operation returned by the service.
- Throws:
NotFoundException- The resource specified in the request was not found.TooManyRequestsException- The client is sending more than the allowed number of requests per unit of time.BadRequestException- One of the parameters in the request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApiGatewayV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
create
static ApiGatewayV2Client create()
Create aApiGatewayV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ApiGatewayV2ClientBuilder builder()
Create a builder that can be used to configure and create aApiGatewayV2Client.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default ApiGatewayV2ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-