JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apigatewayv2

Interface AmazonApiGatewayV2

    • Method Detail

      • createApi

        CreateApiResult createApi(CreateApiRequest createApiRequest)

        Creates an Api resource.

        Parameters:
        createApiRequest - Creates a new Api resource to represent an API.
        Returns:
        Result of the CreateApi operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createApiMapping

        CreateApiMappingResult createApiMapping(CreateApiMappingRequest createApiMappingRequest)

        Creates an API mapping.

        Parameters:
        createApiMappingRequest - Creates a new ApiMapping resource to represent an API mapping.
        Returns:
        Result of the CreateApiMapping operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createAuthorizer

        CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)

        Creates an Authorizer for an API.

        Parameters:
        createAuthorizerRequest - Creates a new Authorizer resource to represent an authorizer.
        Returns:
        Result of the CreateAuthorizer operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createDeployment

        CreateDeploymentResult createDeployment(CreateDeploymentRequest createDeploymentRequest)

        Creates a Deployment for an API.

        Parameters:
        createDeploymentRequest - Creates a new Deployment resource to represent a deployment.
        Returns:
        Result of the CreateDeployment operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createIntegration

        CreateIntegrationResult createIntegration(CreateIntegrationRequest createIntegrationRequest)

        Creates an Integration.

        Parameters:
        createIntegrationRequest - Creates a new Integration resource to represent an integration.
        Returns:
        Result of the CreateIntegration operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createIntegrationResponse

        CreateIntegrationResponseResult createIntegrationResponse(CreateIntegrationResponseRequest createIntegrationResponseRequest)

        Creates an IntegrationResponses.

        Parameters:
        createIntegrationResponseRequest - Creates a new IntegrationResponse resource to represent an integration response.
        Returns:
        Result of the CreateIntegrationResponse operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createRoute

        CreateRouteResult createRoute(CreateRouteRequest createRouteRequest)

        Creates a Route for an API.

        Parameters:
        createRouteRequest - Creates a new Route resource to represent a route.
        Returns:
        Result of the CreateRoute operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createRouteResponse

        CreateRouteResponseResult createRouteResponse(CreateRouteResponseRequest createRouteResponseRequest)

        Creates a RouteResponse for a Route.

        Parameters:
        createRouteResponseRequest - Creates a new RouteResponse resource to represent a route response.
        Returns:
        Result of the CreateRouteResponse operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createStage

        CreateStageResult createStage(CreateStageRequest createStageRequest)

        Creates a Stage for an API.

        Parameters:
        createStageRequest - Creates a new Stage resource to represent a stage.
        Returns:
        Result of the CreateStage operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • createVpcLink

        CreateVpcLinkResult createVpcLink(CreateVpcLinkRequest createVpcLinkRequest)

        Creates a VPC link.

        Parameters:
        createVpcLinkRequest - Creates a VPC link
        Returns:
        Result of the CreateVpcLink operation returned by the service.
        Throws:
        BadRequestException - One of the parameters in the request is invalid.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteAccessLogSettings

        DeleteAccessLogSettingsResult deleteAccessLogSettings(DeleteAccessLogSettingsRequest deleteAccessLogSettingsRequest)

        Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.

        Parameters:
        deleteAccessLogSettingsRequest -
        Returns:
        Result of the DeleteAccessLogSettings operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteApi

        DeleteApiResult deleteApi(DeleteApiRequest deleteApiRequest)

        Deletes an Api resource.

        Parameters:
        deleteApiRequest -
        Returns:
        Result of the DeleteApi operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteAuthorizer

        DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)

        Deletes an Authorizer.

        Parameters:
        deleteAuthorizerRequest -
        Returns:
        Result of the DeleteAuthorizer operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteDeployment

        DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest)

        Deletes a Deployment.

        Parameters:
        deleteDeploymentRequest -
        Returns:
        Result of the DeleteDeployment operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteDomainName

        DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest)

        Deletes a domain name.

        Parameters:
        deleteDomainNameRequest -
        Returns:
        Result of the DeleteDomainName operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteIntegration

        DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest)

        Deletes an Integration.

        Parameters:
        deleteIntegrationRequest -
        Returns:
        Result of the DeleteIntegration operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteModel

        DeleteModelResult deleteModel(DeleteModelRequest deleteModelRequest)

        Deletes a Model.

        Parameters:
        deleteModelRequest -
        Returns:
        Result of the DeleteModel operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteRoute

        DeleteRouteResult deleteRoute(DeleteRouteRequest deleteRouteRequest)

        Deletes a Route.

        Parameters:
        deleteRouteRequest -
        Returns:
        Result of the DeleteRoute operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteRouteRequestParameter

        DeleteRouteRequestParameterResult deleteRouteRequestParameter(DeleteRouteRequestParameterRequest deleteRouteRequestParameterRequest)

        Deletes a route request parameter. Supported only for WebSocket APIs.

        Parameters:
        deleteRouteRequestParameterRequest -
        Returns:
        Result of the DeleteRouteRequestParameter operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteRouteSettings

        DeleteRouteSettingsResult deleteRouteSettings(DeleteRouteSettingsRequest deleteRouteSettingsRequest)

        Deletes the RouteSettings for a stage.

        Parameters:
        deleteRouteSettingsRequest -
        Returns:
        Result of the DeleteRouteSettings operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteStage

        DeleteStageResult deleteStage(DeleteStageRequest deleteStageRequest)

        Deletes a Stage.

        Parameters:
        deleteStageRequest -
        Returns:
        Result of the DeleteStage operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • deleteVpcLink

        DeleteVpcLinkResult deleteVpcLink(DeleteVpcLinkRequest deleteVpcLinkRequest)

        Deletes a VPC link.

        Parameters:
        deleteVpcLinkRequest -
        Returns:
        Result of the DeleteVpcLink operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getApi

        GetApiResult getApi(GetApiRequest getApiRequest)

        Gets an Api resource.

        Parameters:
        getApiRequest -
        Returns:
        Result of the GetApi operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getApis

        GetApisResult getApis(GetApisRequest getApisRequest)

        Gets a collection of Api resources.

        Parameters:
        getApisRequest -
        Returns:
        Result of the GetApis operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • getAuthorizer

        GetAuthorizerResult getAuthorizer(GetAuthorizerRequest getAuthorizerRequest)

        Gets an Authorizer.

        Parameters:
        getAuthorizerRequest -
        Returns:
        Result of the GetAuthorizer operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getDeployment

        GetDeploymentResult getDeployment(GetDeploymentRequest getDeploymentRequest)

        Gets a Deployment.

        Parameters:
        getDeploymentRequest -
        Returns:
        Result of the GetDeployment operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getDomainName

        GetDomainNameResult getDomainName(GetDomainNameRequest getDomainNameRequest)

        Gets a domain name.

        Parameters:
        getDomainNameRequest -
        Returns:
        Result of the GetDomainName operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getDomainNames

        GetDomainNamesResult getDomainNames(GetDomainNamesRequest getDomainNamesRequest)

        Gets the domain names for an AWS account.

        Parameters:
        getDomainNamesRequest -
        Returns:
        Result of the GetDomainNames operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • getIntegration

        GetIntegrationResult getIntegration(GetIntegrationRequest getIntegrationRequest)

        Gets an Integration.

        Parameters:
        getIntegrationRequest -
        Returns:
        Result of the GetIntegration operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getModel

        GetModelResult getModel(GetModelRequest getModelRequest)

        Gets a Model.

        Parameters:
        getModelRequest -
        Returns:
        Result of the GetModel operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getModelTemplate

        GetModelTemplateResult getModelTemplate(GetModelTemplateRequest getModelTemplateRequest)

        Gets a model template.

        Parameters:
        getModelTemplateRequest -
        Returns:
        Result of the GetModelTemplate operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getModels

        GetModelsResult getModels(GetModelsRequest getModelsRequest)

        Gets the Models for an API.

        Parameters:
        getModelsRequest -
        Returns:
        Result of the GetModels operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • getRoute

        GetRouteResult getRoute(GetRouteRequest getRouteRequest)

        Gets a Route.

        Parameters:
        getRouteRequest -
        Returns:
        Result of the GetRoute operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getRouteResponse

        GetRouteResponseResult getRouteResponse(GetRouteResponseRequest getRouteResponseRequest)

        Gets a RouteResponse.

        Parameters:
        getRouteResponseRequest -
        Returns:
        Result of the GetRouteResponse operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getRoutes

        GetRoutesResult getRoutes(GetRoutesRequest getRoutesRequest)

        Gets the Routes for an API.

        Parameters:
        getRoutesRequest -
        Returns:
        Result of the GetRoutes operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • getStage

        GetStageResult getStage(GetStageRequest getStageRequest)

        Gets a Stage.

        Parameters:
        getStageRequest -
        Returns:
        Result of the GetStage operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getStages

        GetStagesResult getStages(GetStagesRequest getStagesRequest)

        Gets the Stages for an API.

        Parameters:
        getStagesRequest -
        Returns:
        Result of the GetStages operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • getVpcLink

        GetVpcLinkResult getVpcLink(GetVpcLinkRequest getVpcLinkRequest)

        Gets a VPC link.

        Parameters:
        getVpcLinkRequest -
        Returns:
        Result of the GetVpcLink operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • getVpcLinks

        GetVpcLinksResult getVpcLinks(GetVpcLinksRequest getVpcLinksRequest)

        Gets a collection of VPC links.

        Parameters:
        getVpcLinksRequest -
        Returns:
        Result of the GetVpcLinks operation returned by the service.
        Throws:
        BadRequestException - One of the parameters in the request is invalid.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • resetAuthorizersCache

        ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest)

        Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.

        Parameters:
        resetAuthorizersCacheRequest -
        Returns:
        Result of the ResetAuthorizersCache operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
      • tagResource

        TagResourceResult tagResource(TagResourceRequest tagResourceRequest)

        Creates a new Tag resource to represent a tag.

        Parameters:
        tagResourceRequest - Creates a new Tag resource to represent a tag.
        Returns:
        Result of the TagResource operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
        ConflictException - The resource already exists.
      • updateVpcLink

        UpdateVpcLinkResult updateVpcLink(UpdateVpcLinkRequest updateVpcLinkRequest)

        Updates a VPC link.

        Parameters:
        updateVpcLinkRequest - Updates a VPC link.
        Returns:
        Result of the UpdateVpcLink operation returned by the service.
        Throws:
        NotFoundException - The resource specified in the request was not found.
        TooManyRequestsException - The client is sending more than the allowed number of requests per unit of time.
        BadRequestException - One of the parameters in the request is invalid.
      • shutdown

        void shutdown()
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
      • getCachedResponseMetadata

        ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /