Class: Aws::ApiGatewayV2::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ApiGatewayV2::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-apigatewayv2/client.rb
Overview
An API client for ApiGatewayV2. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::ApiGatewayV2::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_api(params = {}) ⇒ Types::CreateApiResponse
Creates an Api resource.
-
#create_api_mapping(params = {}) ⇒ Types::CreateApiMappingResponse
Creates an API mapping.
-
#create_authorizer(params = {}) ⇒ Types::CreateAuthorizerResponse
Creates an Authorizer for an API.
-
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a Deployment for an API.
-
#create_domain_name(params = {}) ⇒ Types::CreateDomainNameResponse
Creates a domain name.
-
#create_integration(params = {}) ⇒ Types::CreateIntegrationResult
Creates an Integration.
-
#create_integration_response(params = {}) ⇒ Types::CreateIntegrationResponseResponse
Creates an IntegrationResponses.
-
#create_model(params = {}) ⇒ Types::CreateModelResponse
Creates a Model for an API.
-
#create_route(params = {}) ⇒ Types::CreateRouteResult
Creates a Route for an API.
-
#create_route_response(params = {}) ⇒ Types::CreateRouteResponseResponse
Creates a RouteResponse for a Route.
-
#create_stage(params = {}) ⇒ Types::CreateStageResponse
Creates a Stage for an API.
-
#create_vpc_link(params = {}) ⇒ Types::CreateVpcLinkResponse
Creates a VPC link.
-
#delete_access_log_settings(params = {}) ⇒ Struct
Deletes the AccessLogSettings for a Stage.
-
#delete_api(params = {}) ⇒ Struct
Deletes an Api resource.
-
#delete_api_mapping(params = {}) ⇒ Struct
Deletes an API mapping.
-
#delete_authorizer(params = {}) ⇒ Struct
Deletes an Authorizer.
-
#delete_cors_configuration(params = {}) ⇒ Struct
Deletes a CORS configuration.
-
#delete_deployment(params = {}) ⇒ Struct
Deletes a Deployment.
-
#delete_domain_name(params = {}) ⇒ Struct
Deletes a domain name.
-
#delete_integration(params = {}) ⇒ Struct
Deletes an Integration.
-
#delete_integration_response(params = {}) ⇒ Struct
Deletes an IntegrationResponses.
-
#delete_model(params = {}) ⇒ Struct
Deletes a Model.
-
#delete_route(params = {}) ⇒ Struct
Deletes a Route.
-
#delete_route_request_parameter(params = {}) ⇒ Struct
Deletes a route request parameter.
-
#delete_route_response(params = {}) ⇒ Struct
Deletes a RouteResponse.
-
#delete_route_settings(params = {}) ⇒ Struct
Deletes the RouteSettings for a stage.
-
#delete_stage(params = {}) ⇒ Struct
Deletes a Stage.
-
#delete_vpc_link(params = {}) ⇒ Struct
Deletes a VPC link.
-
#export_api(params = {}) ⇒ Types::ExportApiResponse
Exports a definition of an API in a particular output format and specification.
-
#get_api(params = {}) ⇒ Types::GetApiResponse
Gets an Api resource.
-
#get_api_mapping(params = {}) ⇒ Types::GetApiMappingResponse
Gets an API mapping.
-
#get_api_mappings(params = {}) ⇒ Types::GetApiMappingsResponse
Gets API mappings.
-
#get_apis(params = {}) ⇒ Types::GetApisResponse
Gets a collection of Api resources.
-
#get_authorizer(params = {}) ⇒ Types::GetAuthorizerResponse
Gets an Authorizer.
-
#get_authorizers(params = {}) ⇒ Types::GetAuthorizersResponse
Gets the Authorizers for an API.
-
#get_deployment(params = {}) ⇒ Types::GetDeploymentResponse
Gets a Deployment.
-
#get_deployments(params = {}) ⇒ Types::GetDeploymentsResponse
Gets the Deployments for an API.
-
#get_domain_name(params = {}) ⇒ Types::GetDomainNameResponse
Gets a domain name.
-
#get_domain_names(params = {}) ⇒ Types::GetDomainNamesResponse
Gets the domain names for an AWS account.
-
#get_integration(params = {}) ⇒ Types::GetIntegrationResult
Gets an Integration.
-
#get_integration_response(params = {}) ⇒ Types::GetIntegrationResponseResponse
Gets an IntegrationResponses.
-
#get_integration_responses(params = {}) ⇒ Types::GetIntegrationResponsesResponse
Gets the IntegrationResponses for an Integration.
-
#get_integrations(params = {}) ⇒ Types::GetIntegrationsResponse
Gets the Integrations for an API.
-
#get_model(params = {}) ⇒ Types::GetModelResponse
Gets a Model.
-
#get_model_template(params = {}) ⇒ Types::GetModelTemplateResponse
Gets a model template.
-
#get_models(params = {}) ⇒ Types::GetModelsResponse
Gets the Models for an API.
-
#get_route(params = {}) ⇒ Types::GetRouteResult
Gets a Route.
-
#get_route_response(params = {}) ⇒ Types::GetRouteResponseResponse
Gets a RouteResponse.
-
#get_route_responses(params = {}) ⇒ Types::GetRouteResponsesResponse
Gets the RouteResponses for a Route.
-
#get_routes(params = {}) ⇒ Types::GetRoutesResponse
Gets the Routes for an API.
-
#get_stage(params = {}) ⇒ Types::GetStageResponse
Gets a Stage.
-
#get_stages(params = {}) ⇒ Types::GetStagesResponse
Gets the Stages for an API.
-
#get_tags(params = {}) ⇒ Types::GetTagsResponse
Gets a collection of Tag resources.
-
#get_vpc_link(params = {}) ⇒ Types::GetVpcLinkResponse
Gets a VPC link.
-
#get_vpc_links(params = {}) ⇒ Types::GetVpcLinksResponse
Gets a collection of VPC links.
-
#import_api(params = {}) ⇒ Types::ImportApiResponse
Imports an API.
-
#reimport_api(params = {}) ⇒ Types::ReimportApiResponse
Puts an Api resource.
-
#reset_authorizers_cache(params = {}) ⇒ Struct
Resets all authorizer cache entries for the specified stage.
-
#tag_resource(params = {}) ⇒ Struct
Creates a new Tag resource to represent a tag.
-
#untag_resource(params = {}) ⇒ Struct
Deletes a Tag.
-
#update_api(params = {}) ⇒ Types::UpdateApiResponse
Updates an Api resource.
-
#update_api_mapping(params = {}) ⇒ Types::UpdateApiMappingResponse
The API mapping.
-
#update_authorizer(params = {}) ⇒ Types::UpdateAuthorizerResponse
Updates an Authorizer.
-
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentResponse
Updates a Deployment.
-
#update_domain_name(params = {}) ⇒ Types::UpdateDomainNameResponse
Updates a domain name.
-
#update_integration(params = {}) ⇒ Types::UpdateIntegrationResult
Updates an Integration.
-
#update_integration_response(params = {}) ⇒ Types::UpdateIntegrationResponseResponse
Updates an IntegrationResponses.
-
#update_model(params = {}) ⇒ Types::UpdateModelResponse
Updates a Model.
-
#update_route(params = {}) ⇒ Types::UpdateRouteResult
Updates a Route.
-
#update_route_response(params = {}) ⇒ Types::UpdateRouteResponseResponse
Updates a RouteResponse.
-
#update_stage(params = {}) ⇒ Types::UpdateStageResponse
Updates a Stage.
-
#update_vpc_link(params = {}) ⇒ Types::UpdateVpcLinkResponse
Updates a VPC link.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
434 435 436 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 434 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4588 4589 4590 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4588 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4591 4592 4593 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4591 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4561 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::ApiGatewayV2') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-apigatewayv2' context[:gem_version] = '1.61.0' Seahorse::Client::Request.new(handlers, context) end |
#create_api(params = {}) ⇒ Types::CreateApiResponse
Creates an Api resource.
580 581 582 583 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 580 def create_api(params = {}, = {}) req = build_request(:create_api, params) req.send_request() end |
#create_api_mapping(params = {}) ⇒ Types::CreateApiMappingResponse
Creates an API mapping.
630 631 632 633 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 630 def create_api_mapping(params = {}, = {}) req = build_request(:create_api_mapping, params) req.send_request() end |
#create_authorizer(params = {}) ⇒ Types::CreateAuthorizerResponse
Creates an Authorizer for an API.
737 738 739 740 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 737 def (params = {}, = {}) req = build_request(:create_authorizer, params) req.send_request() end |
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a Deployment for an API.
780 781 782 783 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 780 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_domain_name(params = {}) ⇒ Types::CreateDomainNameResponse
Creates a domain name.
860 861 862 863 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 860 def create_domain_name(params = {}, = {}) req = build_request(:create_domain_name, params) req.send_request() end |
#create_integration(params = {}) ⇒ Types::CreateIntegrationResult
Creates an Integration.
1048 1049 1050 1051 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1048 def create_integration(params = {}, = {}) req = build_request(:create_integration, params) req.send_request() end |
#create_integration_response(params = {}) ⇒ Types::CreateIntegrationResponseResponse
Creates an IntegrationResponses.
1157 1158 1159 1160 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1157 def create_integration_response(params = {}, = {}) req = build_request(:create_integration_response, params) req.send_request() end |
#create_model(params = {}) ⇒ Types::CreateModelResponse
Creates a Model for an API.
1206 1207 1208 1209 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1206 def create_model(params = {}, = {}) req = build_request(:create_model, params) req.send_request() end |
#create_route(params = {}) ⇒ Types::CreateRouteResult
Creates a Route for an API.
1335 1336 1337 1338 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1335 def create_route(params = {}, = {}) req = build_request(:create_route, params) req.send_request() end |
#create_route_response(params = {}) ⇒ Types::CreateRouteResponseResponse
Creates a RouteResponse for a Route.
1407 1408 1409 1410 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1407 def create_route_response(params = {}, = {}) req = build_request(:create_route_response, params) req.send_request() end |
#create_stage(params = {}) ⇒ Types::CreateStageResponse
Creates a Stage for an API.
1530 1531 1532 1533 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1530 def create_stage(params = {}, = {}) req = build_request(:create_stage, params) req.send_request() end |
#create_vpc_link(params = {}) ⇒ Types::CreateVpcLinkResponse
Creates a VPC link.
1589 1590 1591 1592 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1589 def create_vpc_link(params = {}, = {}) req = build_request(:create_vpc_link, params) req.send_request() end |
#delete_access_log_settings(params = {}) ⇒ Struct
Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
1612 1613 1614 1615 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1612 def delete_access_log_settings(params = {}, = {}) req = build_request(:delete_access_log_settings, params) req.send_request() end |
#delete_api(params = {}) ⇒ Struct
Deletes an Api resource.
1631 1632 1633 1634 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1631 def delete_api(params = {}, = {}) req = build_request(:delete_api, params) req.send_request() end |
#delete_api_mapping(params = {}) ⇒ Struct
Deletes an API mapping.
1653 1654 1655 1656 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1653 def delete_api_mapping(params = {}, = {}) req = build_request(:delete_api_mapping, params) req.send_request() end |
#delete_authorizer(params = {}) ⇒ Struct
Deletes an Authorizer.
1675 1676 1677 1678 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1675 def (params = {}, = {}) req = build_request(:delete_authorizer, params) req.send_request() end |
#delete_cors_configuration(params = {}) ⇒ Struct
Deletes a CORS configuration.
1694 1695 1696 1697 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1694 def delete_cors_configuration(params = {}, = {}) req = build_request(:delete_cors_configuration, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes a Deployment.
1716 1717 1718 1719 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1716 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_domain_name(params = {}) ⇒ Struct
Deletes a domain name.
1735 1736 1737 1738 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1735 def delete_domain_name(params = {}, = {}) req = build_request(:delete_domain_name, params) req.send_request() end |
#delete_integration(params = {}) ⇒ Struct
Deletes an Integration.
1757 1758 1759 1760 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1757 def delete_integration(params = {}, = {}) req = build_request(:delete_integration, params) req.send_request() end |
#delete_integration_response(params = {}) ⇒ Struct
Deletes an IntegrationResponses.
1782 1783 1784 1785 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1782 def delete_integration_response(params = {}, = {}) req = build_request(:delete_integration_response, params) req.send_request() end |
#delete_model(params = {}) ⇒ Struct
Deletes a Model.
1804 1805 1806 1807 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1804 def delete_model(params = {}, = {}) req = build_request(:delete_model, params) req.send_request() end |
#delete_route(params = {}) ⇒ Struct
Deletes a Route.
1826 1827 1828 1829 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1826 def delete_route(params = {}, = {}) req = build_request(:delete_route, params) req.send_request() end |
#delete_route_request_parameter(params = {}) ⇒ Struct
Deletes a route request parameter.
1851 1852 1853 1854 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1851 def delete_route_request_parameter(params = {}, = {}) req = build_request(:delete_route_request_parameter, params) req.send_request() end |
#delete_route_response(params = {}) ⇒ Struct
Deletes a RouteResponse.
1876 1877 1878 1879 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1876 def delete_route_response(params = {}, = {}) req = build_request(:delete_route_response, params) req.send_request() end |
#delete_route_settings(params = {}) ⇒ Struct
Deletes the RouteSettings for a stage.
1901 1902 1903 1904 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1901 def delete_route_settings(params = {}, = {}) req = build_request(:delete_route_settings, params) req.send_request() end |
#delete_stage(params = {}) ⇒ Struct
Deletes a Stage.
1923 1924 1925 1926 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1923 def delete_stage(params = {}, = {}) req = build_request(:delete_stage, params) req.send_request() end |
#delete_vpc_link(params = {}) ⇒ Struct
Deletes a VPC link.
1942 1943 1944 1945 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1942 def delete_vpc_link(params = {}, = {}) req = build_request(:delete_vpc_link, params) req.send_request() end |
#export_api(params = {}) ⇒ Types::ExportApiResponse
Exports a definition of an API in a particular output format and specification.
1983 1984 1985 1986 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1983 def export_api(params = {}, = {}) req = build_request(:export_api, params) req.send_request() end |
#get_api(params = {}) ⇒ Types::GetApiResponse
Gets an Api resource.
2073 2074 2075 2076 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2073 def get_api(params = {}, = {}) req = build_request(:get_api, params) req.send_request() end |
#get_api_mapping(params = {}) ⇒ Types::GetApiMappingResponse
Gets an API mapping.
2107 2108 2109 2110 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2107 def get_api_mapping(params = {}, = {}) req = build_request(:get_api_mapping, params) req.send_request() end |
#get_api_mappings(params = {}) ⇒ Types::GetApiMappingsResponse
Gets API mappings.
2144 2145 2146 2147 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2144 def get_api_mappings(params = {}, = {}) req = build_request(:get_api_mappings, params) req.send_request() end |
#get_apis(params = {}) ⇒ Types::GetApisResponse
Gets a collection of Api resources.
2202 2203 2204 2205 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2202 def get_apis(params = {}, = {}) req = build_request(:get_apis, params) req.send_request() end |
#get_authorizer(params = {}) ⇒ Types::GetAuthorizerResponse
Gets an Authorizer.
2253 2254 2255 2256 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2253 def (params = {}, = {}) req = build_request(:get_authorizer, params) req.send_request() end |
#get_authorizers(params = {}) ⇒ Types::GetAuthorizersResponse
Gets the Authorizers for an API.
2300 2301 2302 2303 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2300 def (params = {}, = {}) req = build_request(:get_authorizers, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentResponse
Gets a Deployment.
2338 2339 2340 2341 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2338 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_deployments(params = {}) ⇒ Types::GetDeploymentsResponse
Gets the Deployments for an API.
2377 2378 2379 2380 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2377 def get_deployments(params = {}, = {}) req = build_request(:get_deployments, params) req.send_request() end |
#get_domain_name(params = {}) ⇒ Types::GetDomainNameResponse
Gets a domain name.
2424 2425 2426 2427 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2424 def get_domain_name(params = {}, = {}) req = build_request(:get_domain_name, params) req.send_request() end |
#get_domain_names(params = {}) ⇒ Types::GetDomainNamesResponse
Gets the domain names for an AWS account.
2473 2474 2475 2476 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2473 def get_domain_names(params = {}, = {}) req = build_request(:get_domain_names, params) req.send_request() end |
#get_integration(params = {}) ⇒ Types::GetIntegrationResult
Gets an Integration.
2543 2544 2545 2546 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2543 def get_integration(params = {}, = {}) req = build_request(:get_integration, params) req.send_request() end |
#get_integration_response(params = {}) ⇒ Types::GetIntegrationResponseResponse
Gets an IntegrationResponses.
2586 2587 2588 2589 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2586 def get_integration_response(params = {}, = {}) req = build_request(:get_integration_response, params) req.send_request() end |
#get_integration_responses(params = {}) ⇒ Types::GetIntegrationResponsesResponse
Gets the IntegrationResponses for an Integration.
2630 2631 2632 2633 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2630 def get_integration_responses(params = {}, = {}) req = build_request(:get_integration_responses, params) req.send_request() end |
#get_integrations(params = {}) ⇒ Types::GetIntegrationsResponse
Gets the Integrations for an API.
2687 2688 2689 2690 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2687 def get_integrations(params = {}, = {}) req = build_request(:get_integrations, params) req.send_request() end |
#get_model(params = {}) ⇒ Types::GetModelResponse
Gets a Model.
2723 2724 2725 2726 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2723 def get_model(params = {}, = {}) req = build_request(:get_model, params) req.send_request() end |
#get_model_template(params = {}) ⇒ Types::GetModelTemplateResponse
Gets a model template.
2751 2752 2753 2754 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2751 def get_model_template(params = {}, = {}) req = build_request(:get_model_template, params) req.send_request() end |
#get_models(params = {}) ⇒ Types::GetModelsResponse
Gets the Models for an API.
2789 2790 2791 2792 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2789 def get_models(params = {}, = {}) req = build_request(:get_models, params) req.send_request() end |
#get_route(params = {}) ⇒ Types::GetRouteResult
Gets a Route.
2844 2845 2846 2847 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2844 def get_route(params = {}, = {}) req = build_request(:get_route, params) req.send_request() end |
#get_route_response(params = {}) ⇒ Types::GetRouteResponseResponse
Gets a RouteResponse.
2885 2886 2887 2888 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2885 def get_route_response(params = {}, = {}) req = build_request(:get_route_response, params) req.send_request() end |
#get_route_responses(params = {}) ⇒ Types::GetRouteResponsesResponse
Gets the RouteResponses for a Route.
2928 2929 2930 2931 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2928 def get_route_responses(params = {}, = {}) req = build_request(:get_route_responses, params) req.send_request() end |
#get_routes(params = {}) ⇒ Types::GetRoutesResponse
Gets the Routes for an API.
2977 2978 2979 2980 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2977 def get_routes(params = {}, = {}) req = build_request(:get_routes, params) req.send_request() end |
#get_stage(params = {}) ⇒ Types::GetStageResponse
Gets a Stage.
3043 3044 3045 3046 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3043 def get_stage(params = {}, = {}) req = build_request(:get_stage, params) req.send_request() end |
#get_stages(params = {}) ⇒ Types::GetStagesResponse
Gets the Stages for an API.
3102 3103 3104 3105 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3102 def get_stages(params = {}, = {}) req = build_request(:get_stages, params) req.send_request() end |
#get_tags(params = {}) ⇒ Types::GetTagsResponse
Gets a collection of Tag resources.
3128 3129 3130 3131 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3128 def (params = {}, = {}) req = build_request(:get_tags, params) req.send_request() end |
#get_vpc_link(params = {}) ⇒ Types::GetVpcLinkResponse
Gets a VPC link.
3172 3173 3174 3175 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3172 def get_vpc_link(params = {}, = {}) req = build_request(:get_vpc_link, params) req.send_request() end |
#get_vpc_links(params = {}) ⇒ Types::GetVpcLinksResponse
Gets a collection of VPC links.
3214 3215 3216 3217 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3214 def get_vpc_links(params = {}, = {}) req = build_request(:get_vpc_links, params) req.send_request() end |
#import_api(params = {}) ⇒ Types::ImportApiResponse
Imports an API.
3287 3288 3289 3290 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3287 def import_api(params = {}, = {}) req = build_request(:import_api, params) req.send_request() end |
#reimport_api(params = {}) ⇒ Types::ReimportApiResponse
Puts an Api resource.
3363 3364 3365 3366 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3363 def reimport_api(params = {}, = {}) req = build_request(:reimport_api, params) req.send_request() end |
#reset_authorizers_cache(params = {}) ⇒ Struct
Resets all authorizer cache entries for the specified stage. Supported only for HTTP API Lambda authorizers.
2006 2007 2008 2009 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2006 def (params = {}, = {}) req = build_request(:reset_authorizers_cache, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Creates a new Tag resource to represent a tag.
3388 3389 3390 3391 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3388 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes a Tag.
3410 3411 3412 3413 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3410 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_api(params = {}) ⇒ Types::UpdateApiResponse
Updates an Api resource.
3548 3549 3550 3551 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3548 def update_api(params = {}, = {}) req = build_request(:update_api, params) req.send_request() end |
#update_api_mapping(params = {}) ⇒ Types::UpdateApiMappingResponse
The API mapping.
3601 3602 3603 3604 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3601 def update_api_mapping(params = {}, = {}) req = build_request(:update_api_mapping, params) req.send_request() end |
#update_authorizer(params = {}) ⇒ Types::UpdateAuthorizerResponse
Updates an Authorizer.
3711 3712 3713 3714 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3711 def (params = {}, = {}) req = build_request(:update_authorizer, params) req.send_request() end |
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentResponse
Updates a Deployment.
3753 3754 3755 3756 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3753 def update_deployment(params = {}, = {}) req = build_request(:update_deployment, params) req.send_request() end |
#update_domain_name(params = {}) ⇒ Types::UpdateDomainNameResponse
Updates a domain name.
3826 3827 3828 3829 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3826 def update_domain_name(params = {}, = {}) req = build_request(:update_domain_name, params) req.send_request() end |
#update_integration(params = {}) ⇒ Types::UpdateIntegrationResult
Updates an Integration.
4017 4018 4019 4020 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4017 def update_integration(params = {}, = {}) req = build_request(:update_integration, params) req.send_request() end |
#update_integration_response(params = {}) ⇒ Types::UpdateIntegrationResponseResponse
Updates an IntegrationResponses.
4129 4130 4131 4132 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4129 def update_integration_response(params = {}, = {}) req = build_request(:update_integration_response, params) req.send_request() end |
#update_model(params = {}) ⇒ Types::UpdateModelResponse
Updates a Model.
4181 4182 4183 4184 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4181 def update_model(params = {}, = {}) req = build_request(:update_model, params) req.send_request() end |
#update_route(params = {}) ⇒ Types::UpdateRouteResult
Updates a Route.
4313 4314 4315 4316 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4313 def update_route(params = {}, = {}) req = build_request(:update_route, params) req.send_request() end |
#update_route_response(params = {}) ⇒ Types::UpdateRouteResponseResponse
Updates a RouteResponse.
4388 4389 4390 4391 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4388 def update_route_response(params = {}, = {}) req = build_request(:update_route_response, params) req.send_request() end |
#update_stage(params = {}) ⇒ Types::UpdateStageResponse
Updates a Stage.
4504 4505 4506 4507 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4504 def update_stage(params = {}, = {}) req = build_request(:update_stage, params) req.send_request() end |
#update_vpc_link(params = {}) ⇒ Types::UpdateVpcLinkResponse
Updates a VPC link.
4552 4553 4554 4555 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4552 def update_vpc_link(params = {}, = {}) req = build_request(:update_vpc_link, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4581 4582 4583 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4581 def waiter_names [] end |