Interface ApiGatewayV2Client
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon API Gateway V2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiGatewayV2ClientBuilderbuilder()Create a builder that can be used to configure and create aApiGatewayV2Client.static ApiGatewayV2Clientcreate()Create aApiGatewayV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApiResponsecreateApi(Consumer<CreateApiRequest.Builder> createApiRequest) Creates an Api resource.default CreateApiResponsecreateApi(CreateApiRequest createApiRequest) Creates an Api resource.default CreateApiMappingResponsecreateApiMapping(Consumer<CreateApiMappingRequest.Builder> createApiMappingRequest) Creates an API mapping.default CreateApiMappingResponsecreateApiMapping(CreateApiMappingRequest createApiMappingRequest) Creates an API mapping.default CreateAuthorizerResponsecreateAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) Creates an Authorizer for an API.default CreateAuthorizerResponsecreateAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) Creates an Authorizer for an API.default CreateDeploymentResponsecreateDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a Deployment for an API.default CreateDeploymentResponsecreateDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a Deployment for an API.default CreateDomainNameResponsecreateDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) Creates a domain name.default CreateDomainNameResponsecreateDomainName(CreateDomainNameRequest createDomainNameRequest) Creates a domain name.default CreateIntegrationResponsecreateIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates an Integration.default CreateIntegrationResponsecreateIntegration(CreateIntegrationRequest createIntegrationRequest) Creates an Integration.createIntegrationResponse(Consumer<CreateIntegrationResponseRequest.Builder> createIntegrationResponseRequest) Creates an IntegrationResponses.createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest) Creates an IntegrationResponses.default CreateModelResponsecreateModel(Consumer<CreateModelRequest.Builder> createModelRequest) Creates a Model for an API.default CreateModelResponsecreateModel(CreateModelRequest createModelRequest) Creates a Model for an API.default CreateRouteResponsecreateRoute(Consumer<CreateRouteRequest.Builder> createRouteRequest) Creates a Route for an API.default CreateRouteResponsecreateRoute(CreateRouteRequest createRouteRequest) Creates a Route for an API.default CreateRouteResponseResponsecreateRouteResponse(Consumer<CreateRouteResponseRequest.Builder> createRouteResponseRequest) Creates a RouteResponse for a Route.default CreateRouteResponseResponsecreateRouteResponse(CreateRouteResponseRequest createRouteResponseRequest) Creates a RouteResponse for a Route.default CreateRoutingRuleResponsecreateRoutingRule(Consumer<CreateRoutingRuleRequest.Builder> createRoutingRuleRequest) Creates a RoutingRule.default CreateRoutingRuleResponsecreateRoutingRule(CreateRoutingRuleRequest createRoutingRuleRequest) Creates a RoutingRule.default CreateStageResponsecreateStage(Consumer<CreateStageRequest.Builder> createStageRequest) Creates a Stage for an API.default CreateStageResponsecreateStage(CreateStageRequest createStageRequest) Creates a Stage for an API.default CreateVpcLinkResponsecreateVpcLink(Consumer<CreateVpcLinkRequest.Builder> createVpcLinkRequest) Creates a VPC link.default CreateVpcLinkResponsecreateVpcLink(CreateVpcLinkRequest createVpcLinkRequest) Creates a VPC link.default DeleteAccessLogSettingsResponsedeleteAccessLogSettings(Consumer<DeleteAccessLogSettingsRequest.Builder> deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage.default DeleteAccessLogSettingsResponsedeleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest) Deletes the AccessLogSettings for a Stage.default DeleteApiResponsedeleteApi(Consumer<DeleteApiRequest.Builder> deleteApiRequest) Deletes an Api resource.default DeleteApiResponsedeleteApi(DeleteApiRequest deleteApiRequest) Deletes an Api resource.default DeleteApiMappingResponsedeleteApiMapping(Consumer<DeleteApiMappingRequest.Builder> deleteApiMappingRequest) Deletes an API mapping.default DeleteApiMappingResponsedeleteApiMapping(DeleteApiMappingRequest deleteApiMappingRequest) Deletes an API mapping.default DeleteAuthorizerResponsedeleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) Deletes an Authorizer.default DeleteAuthorizerResponsedeleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) Deletes an Authorizer.default DeleteCorsConfigurationResponsedeleteCorsConfiguration(Consumer<DeleteCorsConfigurationRequest.Builder> deleteCorsConfigurationRequest) Deletes a CORS configuration.default DeleteCorsConfigurationResponsedeleteCorsConfiguration(DeleteCorsConfigurationRequest deleteCorsConfigurationRequest) Deletes a CORS configuration.default DeleteDeploymentResponsedeleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a Deployment.default DeleteDeploymentResponsedeleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a Deployment.default DeleteDomainNameResponsedeleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) Deletes a domain name.default DeleteDomainNameResponsedeleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) Deletes a domain name.default DeleteIntegrationResponsedeleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an Integration.default DeleteIntegrationResponsedeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an Integration.deleteIntegrationResponse(Consumer<DeleteIntegrationResponseRequest.Builder> deleteIntegrationResponseRequest) Deletes an IntegrationResponses.deleteIntegrationResponse(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) Deletes an IntegrationResponses.default DeleteModelResponsedeleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest) Deletes a Model.default DeleteModelResponsedeleteModel(DeleteModelRequest deleteModelRequest) Deletes a Model.default DeleteRouteResponsedeleteRoute(Consumer<DeleteRouteRequest.Builder> deleteRouteRequest) Deletes a Route.default DeleteRouteResponsedeleteRoute(DeleteRouteRequest deleteRouteRequest) Deletes a Route.deleteRouteRequestParameter(Consumer<DeleteRouteRequestParameterRequest.Builder> deleteRouteRequestParameterRequest) Deletes a route request parameter.deleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest) Deletes a route request parameter.default DeleteRouteResponseResponsedeleteRouteResponse(Consumer<DeleteRouteResponseRequest.Builder> deleteRouteResponseRequest) Deletes a RouteResponse.default DeleteRouteResponseResponsedeleteRouteResponse(DeleteRouteResponseRequest deleteRouteResponseRequest) Deletes a RouteResponse.default DeleteRouteSettingsResponsedeleteRouteSettings(Consumer<DeleteRouteSettingsRequest.Builder> deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.default DeleteRouteSettingsResponsedeleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest) Deletes the RouteSettings for a stage.default DeleteRoutingRuleResponsedeleteRoutingRule(Consumer<DeleteRoutingRuleRequest.Builder> deleteRoutingRuleRequest) Deletes a routing rule.default DeleteRoutingRuleResponsedeleteRoutingRule(DeleteRoutingRuleRequest deleteRoutingRuleRequest) Deletes a routing rule.default DeleteStageResponsedeleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest) Deletes a Stage.default DeleteStageResponsedeleteStage(DeleteStageRequest deleteStageRequest) Deletes a Stage.default DeleteVpcLinkResponsedeleteVpcLink(Consumer<DeleteVpcLinkRequest.Builder> deleteVpcLinkRequest) Deletes a VPC link.default DeleteVpcLinkResponsedeleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest) Deletes a VPC link.default ExportApiResponseexportApi(Consumer<ExportApiRequest.Builder> exportApiRequest) Invokes the ExportApi operation.default ExportApiResponseexportApi(ExportApiRequest exportApiRequest) Invokes the ExportApi operation.default GetApiResponsegetApi(Consumer<GetApiRequest.Builder> getApiRequest) Gets an Api resource.default GetApiResponsegetApi(GetApiRequest getApiRequest) Gets an Api resource.default GetApiMappingResponsegetApiMapping(Consumer<GetApiMappingRequest.Builder> getApiMappingRequest) Gets an API mapping.default GetApiMappingResponsegetApiMapping(GetApiMappingRequest getApiMappingRequest) Gets an API mapping.default GetApiMappingsResponsegetApiMappings(Consumer<GetApiMappingsRequest.Builder> getApiMappingsRequest) Gets API mappings.default GetApiMappingsResponsegetApiMappings(GetApiMappingsRequest getApiMappingsRequest) Gets API mappings.default GetApisResponsegetApis()Gets a collection of Api resources.default GetApisResponsegetApis(Consumer<GetApisRequest.Builder> getApisRequest) Gets a collection of Api resources.default GetApisResponsegetApis(GetApisRequest getApisRequest) Gets a collection of Api resources.default GetAuthorizerResponsegetAuthorizer(Consumer<GetAuthorizerRequest.Builder> getAuthorizerRequest) Gets an Authorizer.default GetAuthorizerResponsegetAuthorizer(GetAuthorizerRequest getAuthorizerRequest) Gets an Authorizer.default GetAuthorizersResponsegetAuthorizers(Consumer<GetAuthorizersRequest.Builder> getAuthorizersRequest) Gets the Authorizers for an API.default GetAuthorizersResponsegetAuthorizers(GetAuthorizersRequest getAuthorizersRequest) Gets the Authorizers for an API.default GetDeploymentResponsegetDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Gets a Deployment.default GetDeploymentResponsegetDeployment(GetDeploymentRequest getDeploymentRequest) Gets a Deployment.default GetDeploymentsResponsegetDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest) Gets the Deployments for an API.default GetDeploymentsResponsegetDeployments(GetDeploymentsRequest getDeploymentsRequest) Gets the Deployments for an API.default GetDomainNameResponsegetDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) Gets a domain name.default GetDomainNameResponsegetDomainName(GetDomainNameRequest getDomainNameRequest) Gets a domain name.default GetDomainNamesResponseGets the domain names for an AWS account.default GetDomainNamesResponsegetDomainNames(Consumer<GetDomainNamesRequest.Builder> getDomainNamesRequest) Gets the domain names for an AWS account.default GetDomainNamesResponsegetDomainNames(GetDomainNamesRequest getDomainNamesRequest) Gets the domain names for an AWS account.default GetIntegrationResponsegetIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Gets an Integration.default GetIntegrationResponsegetIntegration(GetIntegrationRequest getIntegrationRequest) Gets an Integration.default GetIntegrationResponseResponsegetIntegrationResponse(Consumer<GetIntegrationResponseRequest.Builder> getIntegrationResponseRequest) Gets an IntegrationResponses.default GetIntegrationResponseResponsegetIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest) Gets an IntegrationResponses.default GetIntegrationResponsesResponsegetIntegrationResponses(Consumer<GetIntegrationResponsesRequest.Builder> getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.default GetIntegrationResponsesResponsegetIntegrationResponses(GetIntegrationResponsesRequest getIntegrationResponsesRequest) Gets the IntegrationResponses for an Integration.default GetIntegrationsResponsegetIntegrations(Consumer<GetIntegrationsRequest.Builder> getIntegrationsRequest) Gets the Integrations for an API.default GetIntegrationsResponsegetIntegrations(GetIntegrationsRequest getIntegrationsRequest) Gets the Integrations for an API.default GetModelResponsegetModel(Consumer<GetModelRequest.Builder> getModelRequest) Gets a Model.default GetModelResponsegetModel(GetModelRequest getModelRequest) Gets a Model.default GetModelsResponsegetModels(Consumer<GetModelsRequest.Builder> getModelsRequest) Gets the Models for an API.default GetModelsResponsegetModels(GetModelsRequest getModelsRequest) Gets the Models for an API.default GetModelTemplateResponsegetModelTemplate(Consumer<GetModelTemplateRequest.Builder> getModelTemplateRequest) Gets a model template.default GetModelTemplateResponsegetModelTemplate(GetModelTemplateRequest getModelTemplateRequest) Gets a model template.default GetRouteResponsegetRoute(Consumer<GetRouteRequest.Builder> getRouteRequest) Gets a Route.default GetRouteResponsegetRoute(GetRouteRequest getRouteRequest) Gets a Route.default GetRouteResponseResponsegetRouteResponse(Consumer<GetRouteResponseRequest.Builder> getRouteResponseRequest) Gets a RouteResponse.default GetRouteResponseResponsegetRouteResponse(GetRouteResponseRequest getRouteResponseRequest) Gets a RouteResponse.default GetRouteResponsesResponsegetRouteResponses(Consumer<GetRouteResponsesRequest.Builder> getRouteResponsesRequest) Gets the RouteResponses for a Route.default GetRouteResponsesResponsegetRouteResponses(GetRouteResponsesRequest getRouteResponsesRequest) Gets the RouteResponses for a Route.default GetRoutesResponsegetRoutes(Consumer<GetRoutesRequest.Builder> getRoutesRequest) Gets the Routes for an API.default GetRoutesResponsegetRoutes(GetRoutesRequest getRoutesRequest) Gets the Routes for an API.default GetRoutingRuleResponsegetRoutingRule(Consumer<GetRoutingRuleRequest.Builder> getRoutingRuleRequest) Gets a routing rule.default GetRoutingRuleResponsegetRoutingRule(GetRoutingRuleRequest getRoutingRuleRequest) Gets a routing rule.default GetStageResponsegetStage(Consumer<GetStageRequest.Builder> getStageRequest) Gets a Stage.default GetStageResponsegetStage(GetStageRequest getStageRequest) Gets a Stage.default GetStagesResponsegetStages(Consumer<GetStagesRequest.Builder> getStagesRequest) Gets the Stages for an API.default GetStagesResponsegetStages(GetStagesRequest getStagesRequest) Gets the Stages for an API.default GetTagsResponsegetTags(Consumer<GetTagsRequest.Builder> getTagsRequest) Gets a collection of Tag resources.default GetTagsResponsegetTags(GetTagsRequest getTagsRequest) Gets a collection of Tag resources.default GetVpcLinkResponsegetVpcLink(Consumer<GetVpcLinkRequest.Builder> getVpcLinkRequest) Gets a VPC link.default GetVpcLinkResponsegetVpcLink(GetVpcLinkRequest getVpcLinkRequest) Gets a VPC link.default GetVpcLinksResponsegetVpcLinks(Consumer<GetVpcLinksRequest.Builder> getVpcLinksRequest) Gets a collection of VPC links.default GetVpcLinksResponsegetVpcLinks(GetVpcLinksRequest getVpcLinksRequest) Gets a collection of VPC links.default ImportApiResponseimportApi(Consumer<ImportApiRequest.Builder> importApiRequest) Imports an API.default ImportApiResponseimportApi(ImportApiRequest importApiRequest) Imports an API.default ListRoutingRulesResponselistRoutingRules(Consumer<ListRoutingRulesRequest.Builder> listRoutingRulesRequest) Lists routing rules.default ListRoutingRulesResponselistRoutingRules(ListRoutingRulesRequest listRoutingRulesRequest) Lists routing rules.default ListRoutingRulesIterablelistRoutingRulesPaginator(Consumer<ListRoutingRulesRequest.Builder> listRoutingRulesRequest) This is a variant oflistRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.default ListRoutingRulesIterablelistRoutingRulesPaginator(ListRoutingRulesRequest listRoutingRulesRequest) This is a variant oflistRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.default PutRoutingRuleResponseputRoutingRule(Consumer<PutRoutingRuleRequest.Builder> putRoutingRuleRequest) Updates a routing rule.default PutRoutingRuleResponseputRoutingRule(PutRoutingRuleRequest putRoutingRuleRequest) Updates a routing rule.default ReimportApiResponsereimportApi(Consumer<ReimportApiRequest.Builder> reimportApiRequest) Puts an Api resource.default ReimportApiResponsereimportApi(ReimportApiRequest reimportApiRequest) Puts an Api resource.default ResetAuthorizersCacheResponseresetAuthorizersCache(Consumer<ResetAuthorizersCacheRequest.Builder> resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage.default ResetAuthorizersCacheResponseresetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) Resets all authorizer cache entries on a stage.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Creates a new Tag resource to represent a tag.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Creates a new Tag resource to represent a tag.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes a Tag.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Deletes a Tag.default UpdateApiResponseupdateApi(Consumer<UpdateApiRequest.Builder> updateApiRequest) Updates an Api resource.default UpdateApiResponseupdateApi(UpdateApiRequest updateApiRequest) Updates an Api resource.default UpdateApiMappingResponseupdateApiMapping(Consumer<UpdateApiMappingRequest.Builder> updateApiMappingRequest) The API mapping.default UpdateApiMappingResponseupdateApiMapping(UpdateApiMappingRequest updateApiMappingRequest) The API mapping.default UpdateAuthorizerResponseupdateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) Updates an Authorizer.default UpdateAuthorizerResponseupdateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) Updates an Authorizer.default UpdateDeploymentResponseupdateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) Updates a Deployment.default UpdateDeploymentResponseupdateDeployment(UpdateDeploymentRequest updateDeploymentRequest) Updates a Deployment.default UpdateDomainNameResponseupdateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) Updates a domain name.default UpdateDomainNameResponseupdateDomainName(UpdateDomainNameRequest updateDomainNameRequest) Updates a domain name.default UpdateIntegrationResponseupdateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Updates an Integration.default UpdateIntegrationResponseupdateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Updates an Integration.updateIntegrationResponse(Consumer<UpdateIntegrationResponseRequest.Builder> updateIntegrationResponseRequest) Updates an IntegrationResponses.updateIntegrationResponse(UpdateIntegrationResponseRequest updateIntegrationResponseRequest) Updates an IntegrationResponses.default UpdateModelResponseupdateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest) Updates a Model.default UpdateModelResponseupdateModel(UpdateModelRequest updateModelRequest) Updates a Model.default UpdateRouteResponseupdateRoute(Consumer<UpdateRouteRequest.Builder> updateRouteRequest) Updates a Route.default UpdateRouteResponseupdateRoute(UpdateRouteRequest updateRouteRequest) Updates a Route.default UpdateRouteResponseResponseupdateRouteResponse(Consumer<UpdateRouteResponseRequest.Builder> updateRouteResponseRequest) Updates a RouteResponse.default UpdateRouteResponseResponseupdateRouteResponse(UpdateRouteResponseRequest updateRouteResponseRequest) Updates a RouteResponse.default UpdateStageResponseupdateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest) Updates a Stage.default UpdateStageResponseupdateStage(UpdateStageRequest updateStageRequest) Updates a Stage.default UpdateVpcLinkResponseupdateVpcLink(Consumer<UpdateVpcLinkRequest.Builder> updateVpcLinkRequest) Updates a VPC link.default UpdateVpcLinkResponseupdateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest) Updates a VPC link.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaCreateApiRequest.builder()- Parameters:
createApiRequest- AConsumerthat will call methods onCreateApiRequest.Builderto create a request. Creates a new Api resource to represent an API.- Returns:
- Result of the CreateApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateApiMappingRequest.builder()- Parameters:
createApiMappingRequest- AConsumerthat will call methods onCreateApiMappingRequest.Builderto create a request. Creates a new ApiMapping resource to represent an API mapping.- Returns:
- Result of the CreateApiMapping operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateAuthorizerRequest.builder()- Parameters:
createAuthorizerRequest- AConsumerthat will call methods onCreateAuthorizerRequest.Builderto create a request. Creates a new Authorizer resource to represent an authorizer.- Returns:
- Result of the CreateAuthorizer operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request. Creates a new Deployment resource to represent a deployment.- Returns:
- Result of the CreateDeployment operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateDomainNameRequest.builder()- Parameters:
createDomainNameRequest- AConsumerthat will call methods onCreateDomainNameRequest.Builderto create a request. Creates a new DomainName resource to represent a domain name.- Returns:
- Result of the CreateDomainName operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto create a request. Creates a new Integration resource to represent an integration.- Returns:
- Result of the CreateIntegration operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateIntegrationResponseRequest.builder()- Parameters:
createIntegrationResponseRequest- AConsumerthat will call methods onCreateIntegrationResponseRequest.Builderto create a request. Creates a new IntegrationResponse resource to represent an integration response.- Returns:
- Result of the CreateIntegrationResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateModelRequest.builder()- Parameters:
createModelRequest- AConsumerthat will call methods onCreateModelRequest.Builderto create a request. Creates a new Model.- Returns:
- Result of the CreateModel operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateRouteRequest.builder()- Parameters:
createRouteRequest- AConsumerthat will call methods onCreateRouteRequest.Builderto create a request. Creates a new Route resource to represent a route.- Returns:
- Result of the CreateRoute operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateRouteResponseRequest.builder()- Parameters:
createRouteResponseRequest- AConsumerthat will call methods onCreateRouteResponseRequest.Builderto create a request. Creates a new RouteResponse resource to represent a route response.- Returns:
- Result of the CreateRouteResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateRoutingRuleRequest.builder()- Parameters:
createRoutingRuleRequest- AConsumerthat will call methods onCreateRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the CreateRoutingRule operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateStageRequest.builder()- Parameters:
createStageRequest- AConsumerthat will call methods onCreateStageRequest.Builderto create a request. Creates a new Stage resource to represent a stage.- Returns:
- Result of the CreateStage operation returned by the service.
-
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.Builderavoiding the need to create one manually viaCreateVpcLinkRequest.builder()- Parameters:
createVpcLinkRequest- AConsumerthat will call methods onCreateVpcLinkRequest.Builderto create a request. Creates a VPC link- Returns:
- Result of the CreateVpcLink operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteAccessLogSettingsRequest.builder()- Parameters:
deleteAccessLogSettingsRequest- AConsumerthat will call methods onDeleteAccessLogSettingsRequest.Builderto create a request.- Returns:
- Result of the DeleteAccessLogSettings operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteApiRequest.builder()- Parameters:
deleteApiRequest- AConsumerthat will call methods onDeleteApiRequest.Builderto create a request.- Returns:
- Result of the DeleteApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteApiMappingRequest.builder()- Parameters:
deleteApiMappingRequest- AConsumerthat will call methods onDeleteApiMappingRequest.Builderto create a request.- Returns:
- Result of the DeleteApiMapping operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteAuthorizerRequest.builder()- Parameters:
deleteAuthorizerRequest- AConsumerthat will call methods onDeleteAuthorizerRequest.Builderto create a request.- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteCorsConfigurationRequest.builder()- Parameters:
deleteCorsConfigurationRequest- AConsumerthat will call methods onDeleteCorsConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteCorsConfiguration operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- Result of the DeleteDeployment operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteDomainNameRequest.builder()- Parameters:
deleteDomainNameRequest- AConsumerthat will call methods onDeleteDomainNameRequest.Builderto create a request.- Returns:
- Result of the DeleteDomainName operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto create a request.- Returns:
- Result of the DeleteIntegration operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteIntegrationResponseRequest.builder()- Parameters:
deleteIntegrationResponseRequest- AConsumerthat will call methods onDeleteIntegrationResponseRequest.Builderto create a request.- Returns:
- Result of the DeleteIntegrationResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteModelRequest.builder()- Parameters:
deleteModelRequest- AConsumerthat will call methods onDeleteModelRequest.Builderto create a request.- Returns:
- Result of the DeleteModel operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteRouteRequest.builder()- Parameters:
deleteRouteRequest- AConsumerthat will call methods onDeleteRouteRequest.Builderto create a request.- Returns:
- Result of the DeleteRoute operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteRouteRequestParameterRequest.builder()- Parameters:
deleteRouteRequestParameterRequest- AConsumerthat will call methods onDeleteRouteRequestParameterRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteRequestParameter operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteRouteResponseRequest.builder()- Parameters:
deleteRouteResponseRequest- AConsumerthat will call methods onDeleteRouteResponseRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteRouteSettingsRequest.builder()- Parameters:
deleteRouteSettingsRequest- AConsumerthat will call methods onDeleteRouteSettingsRequest.Builderto create a request.- Returns:
- Result of the DeleteRouteSettings operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteRoutingRuleRequest.builder()- Parameters:
deleteRoutingRuleRequest- AConsumerthat will call methods onDeleteRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteRoutingRule operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteStageRequest.builder()- Parameters:
deleteStageRequest- AConsumerthat will call methods onDeleteStageRequest.Builderto create a request.- Returns:
- Result of the DeleteStage operation returned by the service.
-
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.Builderavoiding the need to create one manually viaDeleteVpcLinkRequest.builder()- Parameters:
deleteVpcLinkRequest- AConsumerthat will call methods onDeleteVpcLinkRequest.Builderto create a request.- Returns:
- Result of the DeleteVpcLink operation returned by the service.
-
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.Builderavoiding the need to create one manually viaExportApiRequest.builder()- Parameters:
exportApiRequest- AConsumerthat will call methods onExportApiRequest.Builderto create a request.- Returns:
- Result of the ExportApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetApiRequest.builder()- Parameters:
getApiRequest- AConsumerthat will call methods onGetApiRequest.Builderto create a request.- Returns:
- Result of the GetApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetApiMappingRequest.builder()- Parameters:
getApiMappingRequest- AConsumerthat will call methods onGetApiMappingRequest.Builderto create a request.- Returns:
- Result of the GetApiMapping operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetApiMappingsRequest.builder()- Parameters:
getApiMappingsRequest- AConsumerthat will call methods onGetApiMappingsRequest.Builderto create a request.- Returns:
- Result of the GetApiMappings operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetApisRequest.builder()- Parameters:
getApisRequest- AConsumerthat will call methods onGetApisRequest.Builderto create a request.- Returns:
- Result of the GetApis operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetAuthorizerRequest.builder()- Parameters:
getAuthorizerRequest- AConsumerthat will call methods onGetAuthorizerRequest.Builderto create a request.- Returns:
- Result of the GetAuthorizer operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetAuthorizersRequest.builder()- Parameters:
getAuthorizersRequest- AConsumerthat will call methods onGetAuthorizersRequest.Builderto create a request.- Returns:
- Result of the GetAuthorizers operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- Result of the GetDeployment operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetDeploymentsRequest.builder()- Parameters:
getDeploymentsRequest- AConsumerthat will call methods onGetDeploymentsRequest.Builderto create a request.- Returns:
- Result of the GetDeployments operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetDomainNameRequest.builder()- Parameters:
getDomainNameRequest- AConsumerthat will call methods onGetDomainNameRequest.Builderto create a request.- Returns:
- Result of the GetDomainName operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetDomainNamesRequest.builder()- Parameters:
getDomainNamesRequest- AConsumerthat will call methods onGetDomainNamesRequest.Builderto create a request.- Returns:
- Result of the GetDomainNames operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto create a request.- Returns:
- Result of the GetIntegration operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetIntegrationResponseRequest.builder()- Parameters:
getIntegrationResponseRequest- AConsumerthat will call methods onGetIntegrationResponseRequest.Builderto create a request.- Returns:
- Result of the GetIntegrationResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetIntegrationResponsesRequest.builder()- Parameters:
getIntegrationResponsesRequest- AConsumerthat will call methods onGetIntegrationResponsesRequest.Builderto create a request.- Returns:
- Result of the GetIntegrationResponses operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetIntegrationsRequest.builder()- Parameters:
getIntegrationsRequest- AConsumerthat will call methods onGetIntegrationsRequest.Builderto create a request.- Returns:
- Result of the GetIntegrations operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetModelRequest.builder()- Parameters:
getModelRequest- AConsumerthat will call methods onGetModelRequest.Builderto create a request.- Returns:
- Result of the GetModel operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetModelTemplateRequest.builder()- Parameters:
getModelTemplateRequest- AConsumerthat will call methods onGetModelTemplateRequest.Builderto create a request.- Returns:
- Result of the GetModelTemplate operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetModelsRequest.builder()- Parameters:
getModelsRequest- AConsumerthat will call methods onGetModelsRequest.Builderto create a request.- Returns:
- Result of the GetModels operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetRouteRequest.builder()- Parameters:
getRouteRequest- AConsumerthat will call methods onGetRouteRequest.Builderto create a request.- Returns:
- Result of the GetRoute operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetRouteResponseRequest.builder()- Parameters:
getRouteResponseRequest- AConsumerthat will call methods onGetRouteResponseRequest.Builderto create a request.- Returns:
- Result of the GetRouteResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetRouteResponsesRequest.builder()- Parameters:
getRouteResponsesRequest- AConsumerthat will call methods onGetRouteResponsesRequest.Builderto create a request.- Returns:
- Result of the GetRouteResponses operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetRoutesRequest.builder()- Parameters:
getRoutesRequest- AConsumerthat will call methods onGetRoutesRequest.Builderto create a request.- Returns:
- Result of the GetRoutes operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetRoutingRuleRequest.builder()- Parameters:
getRoutingRuleRequest- AConsumerthat will call methods onGetRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the GetRoutingRule operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetStageRequest.builder()- Parameters:
getStageRequest- AConsumerthat will call methods onGetStageRequest.Builderto create a request.- Returns:
- Result of the GetStage operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetStagesRequest.builder()- Parameters:
getStagesRequest- AConsumerthat will call methods onGetStagesRequest.Builderto create a request.- Returns:
- Result of the GetStages operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetTagsRequest.builder()- Parameters:
getTagsRequest- AConsumerthat will call methods onGetTagsRequest.Builderto create a request.- Returns:
- Result of the GetTags operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetVpcLinkRequest.builder()- Parameters:
getVpcLinkRequest- AConsumerthat will call methods onGetVpcLinkRequest.Builderto create a request.- Returns:
- Result of the GetVpcLink operation returned by the service.
-
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.Builderavoiding the need to create one manually viaGetVpcLinksRequest.builder()- Parameters:
getVpcLinksRequest- AConsumerthat will call methods onGetVpcLinksRequest.Builderto create a request.- Returns:
- Result of the GetVpcLinks operation returned by the service.
-
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.Builderavoiding the need to create one manually viaImportApiRequest.builder()- Parameters:
importApiRequest- AConsumerthat will call methods onImportApiRequest.Builderto create a request.- Returns:
- Result of the ImportApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaListRoutingRulesRequest.builder()- Parameters:
listRoutingRulesRequest- AConsumerthat will call methods onListRoutingRulesRequest.Builderto create a request.- Returns:
- Result of the ListRoutingRules operation returned by the service.
-
listRoutingRulesPaginator
default ListRoutingRulesIterable listRoutingRulesPaginator(ListRoutingRulesRequest listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception This is a variant of
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client .listRoutingRulesPaginator(request); for (software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.- Parameters:
listRoutingRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listRoutingRulesPaginator
default ListRoutingRulesIterable listRoutingRulesPaginator(Consumer<ListRoutingRulesRequest.Builder> listRoutingRulesRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, AwsServiceException, SdkClientException, ApiGatewayV2Exception This is a variant of
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client .listRoutingRulesPaginator(request); for (software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apigatewayv2.paginators.ListRoutingRulesIterable responses = client.listRoutingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingRules(software.amazon.awssdk.services.apigatewayv2.model.ListRoutingRulesRequest)operation.
This is a convenience which creates an instance of the
ListRoutingRulesRequest.Builderavoiding the need to create one manually viaListRoutingRulesRequest.builder()- Parameters:
listRoutingRulesRequest- AConsumerthat will call methods onListRoutingRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
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.Builderavoiding the need to create one manually viaPutRoutingRuleRequest.builder()- Parameters:
putRoutingRuleRequest- AConsumerthat will call methods onPutRoutingRuleRequest.Builderto create a request.- Returns:
- Result of the PutRoutingRule operation returned by the service.
-
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.Builderavoiding the need to create one manually viaReimportApiRequest.builder()- Parameters:
reimportApiRequest- AConsumerthat will call methods onReimportApiRequest.Builderto create a request.- Returns:
- Result of the ReimportApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaResetAuthorizersCacheRequest.builder()- Parameters:
resetAuthorizersCacheRequest- AConsumerthat will call methods onResetAuthorizersCacheRequest.Builderto create a request.- Returns:
- Result of the ResetAuthorizersCache operation returned by the service.
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. Creates a new Tag resource to represent a tag.- Returns:
- Result of the TagResource operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateApiRequest.builder()- Parameters:
updateApiRequest- AConsumerthat will call methods onUpdateApiRequest.Builderto create a request. Updates an Api.- Returns:
- Result of the UpdateApi operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateApiMappingRequest.builder()- Parameters:
updateApiMappingRequest- AConsumerthat will call methods onUpdateApiMappingRequest.Builderto create a request. Updates an ApiMapping.- Returns:
- Result of the UpdateApiMapping operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateAuthorizerRequest.builder()- Parameters:
updateAuthorizerRequest- AConsumerthat will call methods onUpdateAuthorizerRequest.Builderto create a request. Updates an Authorizer.- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateDeploymentRequest.builder()- Parameters:
updateDeploymentRequest- AConsumerthat will call methods onUpdateDeploymentRequest.Builderto create a request. Updates a Deployment.- Returns:
- Result of the UpdateDeployment operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateDomainNameRequest.builder()- Parameters:
updateDomainNameRequest- AConsumerthat will call methods onUpdateDomainNameRequest.Builderto create a request. Updates a DomainName.- Returns:
- Result of the UpdateDomainName operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateIntegrationRequest.builder()- Parameters:
updateIntegrationRequest- AConsumerthat will call methods onUpdateIntegrationRequest.Builderto create a request. Updates an Integration.- Returns:
- Result of the UpdateIntegration operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateIntegrationResponseRequest.builder()- Parameters:
updateIntegrationResponseRequest- AConsumerthat will call methods onUpdateIntegrationResponseRequest.Builderto create a request. Updates an IntegrationResponses.- Returns:
- Result of the UpdateIntegrationResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateModelRequest.builder()- Parameters:
updateModelRequest- AConsumerthat will call methods onUpdateModelRequest.Builderto create a request. Updates a Model.- Returns:
- Result of the UpdateModel operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateRouteRequest.builder()- Parameters:
updateRouteRequest- AConsumerthat will call methods onUpdateRouteRequest.Builderto create a request. Updates a Route.- Returns:
- Result of the UpdateRoute operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateRouteResponseRequest.builder()- Parameters:
updateRouteResponseRequest- AConsumerthat will call methods onUpdateRouteResponseRequest.Builderto create a request. Updates a RouteResponse.- Returns:
- Result of the UpdateRouteResponse operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateStageRequest.builder()- Parameters:
updateStageRequest- AConsumerthat will call methods onUpdateStageRequest.Builderto create a request. Updates a Stage.- Returns:
- Result of the UpdateStage operation returned by the service.
-
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.Builderavoiding the need to create one manually viaUpdateVpcLinkRequest.builder()- Parameters:
updateVpcLinkRequest- AConsumerthat will call methods onUpdateVpcLinkRequest.Builderto create a request. Updates a VPC link.- Returns:
- Result of the UpdateVpcLink operation returned by the service.
-
create
Create aApiGatewayV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aApiGatewayV2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-