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