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.
444 445 446 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 444 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.
4598 4599 4600 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4598 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.
4601 4602 4603 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4601 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.
4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4571 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.66.0' Seahorse::Client::Request.new(handlers, context) end |
#create_api(params = {}) ⇒ Types::CreateApiResponse
Creates an Api resource.
590 591 592 593 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 590 def create_api(params = {}, = {}) req = build_request(:create_api, params) req.send_request() end |
#create_api_mapping(params = {}) ⇒ Types::CreateApiMappingResponse
Creates an API mapping.
640 641 642 643 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 640 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.
747 748 749 750 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 747 def (params = {}, = {}) req = build_request(:create_authorizer, params) req.send_request() end |
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a Deployment for an API.
790 791 792 793 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 790 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_domain_name(params = {}) ⇒ Types::CreateDomainNameResponse
Creates a domain name.
870 871 872 873 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 870 def create_domain_name(params = {}, = {}) req = build_request(:create_domain_name, params) req.send_request() end |
#create_integration(params = {}) ⇒ Types::CreateIntegrationResult
Creates an Integration.
1058 1059 1060 1061 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1058 def create_integration(params = {}, = {}) req = build_request(:create_integration, params) req.send_request() end |
#create_integration_response(params = {}) ⇒ Types::CreateIntegrationResponseResponse
Creates an IntegrationResponses.
1167 1168 1169 1170 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1167 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.
1216 1217 1218 1219 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1216 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.
1345 1346 1347 1348 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1345 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.
1417 1418 1419 1420 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1417 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.
1540 1541 1542 1543 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1540 def create_stage(params = {}, = {}) req = build_request(:create_stage, params) req.send_request() end |
#create_vpc_link(params = {}) ⇒ Types::CreateVpcLinkResponse
Creates a VPC link.
1599 1600 1601 1602 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1599 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.
1622 1623 1624 1625 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1622 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.
1641 1642 1643 1644 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1641 def delete_api(params = {}, = {}) req = build_request(:delete_api, params) req.send_request() end |
#delete_api_mapping(params = {}) ⇒ Struct
Deletes an API mapping.
1663 1664 1665 1666 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1663 def delete_api_mapping(params = {}, = {}) req = build_request(:delete_api_mapping, params) req.send_request() end |
#delete_authorizer(params = {}) ⇒ Struct
Deletes an Authorizer.
1685 1686 1687 1688 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1685 def (params = {}, = {}) req = build_request(:delete_authorizer, params) req.send_request() end |
#delete_cors_configuration(params = {}) ⇒ Struct
Deletes a CORS configuration.
1704 1705 1706 1707 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1704 def delete_cors_configuration(params = {}, = {}) req = build_request(:delete_cors_configuration, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes a Deployment.
1726 1727 1728 1729 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1726 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_domain_name(params = {}) ⇒ Struct
Deletes a domain name.
1745 1746 1747 1748 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1745 def delete_domain_name(params = {}, = {}) req = build_request(:delete_domain_name, params) req.send_request() end |
#delete_integration(params = {}) ⇒ Struct
Deletes an Integration.
1767 1768 1769 1770 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1767 def delete_integration(params = {}, = {}) req = build_request(:delete_integration, params) req.send_request() end |
#delete_integration_response(params = {}) ⇒ Struct
Deletes an IntegrationResponses.
1792 1793 1794 1795 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1792 def delete_integration_response(params = {}, = {}) req = build_request(:delete_integration_response, params) req.send_request() end |
#delete_model(params = {}) ⇒ Struct
Deletes a Model.
1814 1815 1816 1817 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1814 def delete_model(params = {}, = {}) req = build_request(:delete_model, params) req.send_request() end |
#delete_route(params = {}) ⇒ Struct
Deletes a Route.
1836 1837 1838 1839 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1836 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.
1861 1862 1863 1864 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1861 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.
1886 1887 1888 1889 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1886 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.
1911 1912 1913 1914 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1911 def delete_route_settings(params = {}, = {}) req = build_request(:delete_route_settings, params) req.send_request() end |
#delete_stage(params = {}) ⇒ Struct
Deletes a Stage.
1933 1934 1935 1936 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1933 def delete_stage(params = {}, = {}) req = build_request(:delete_stage, params) req.send_request() end |
#delete_vpc_link(params = {}) ⇒ Struct
Deletes a VPC link.
1952 1953 1954 1955 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1952 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.
1993 1994 1995 1996 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 1993 def export_api(params = {}, = {}) req = build_request(:export_api, params) req.send_request() end |
#get_api(params = {}) ⇒ Types::GetApiResponse
Gets an Api resource.
2083 2084 2085 2086 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2083 def get_api(params = {}, = {}) req = build_request(:get_api, params) req.send_request() end |
#get_api_mapping(params = {}) ⇒ Types::GetApiMappingResponse
Gets an API mapping.
2117 2118 2119 2120 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2117 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.
2154 2155 2156 2157 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2154 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.
2212 2213 2214 2215 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2212 def get_apis(params = {}, = {}) req = build_request(:get_apis, params) req.send_request() end |
#get_authorizer(params = {}) ⇒ Types::GetAuthorizerResponse
Gets an Authorizer.
2263 2264 2265 2266 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2263 def (params = {}, = {}) req = build_request(:get_authorizer, params) req.send_request() end |
#get_authorizers(params = {}) ⇒ Types::GetAuthorizersResponse
Gets the Authorizers for an API.
2310 2311 2312 2313 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2310 def (params = {}, = {}) req = build_request(:get_authorizers, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentResponse
Gets a Deployment.
2348 2349 2350 2351 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2348 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.
2387 2388 2389 2390 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2387 def get_deployments(params = {}, = {}) req = build_request(:get_deployments, params) req.send_request() end |
#get_domain_name(params = {}) ⇒ Types::GetDomainNameResponse
Gets a domain name.
2434 2435 2436 2437 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2434 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.
2483 2484 2485 2486 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2483 def get_domain_names(params = {}, = {}) req = build_request(:get_domain_names, params) req.send_request() end |
#get_integration(params = {}) ⇒ Types::GetIntegrationResult
Gets an Integration.
2553 2554 2555 2556 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2553 def get_integration(params = {}, = {}) req = build_request(:get_integration, params) req.send_request() end |
#get_integration_response(params = {}) ⇒ Types::GetIntegrationResponseResponse
Gets an IntegrationResponses.
2596 2597 2598 2599 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2596 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.
2640 2641 2642 2643 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2640 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.
2697 2698 2699 2700 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2697 def get_integrations(params = {}, = {}) req = build_request(:get_integrations, params) req.send_request() end |
#get_model(params = {}) ⇒ Types::GetModelResponse
Gets a Model.
2733 2734 2735 2736 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2733 def get_model(params = {}, = {}) req = build_request(:get_model, params) req.send_request() end |
#get_model_template(params = {}) ⇒ Types::GetModelTemplateResponse
Gets a model template.
2761 2762 2763 2764 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2761 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.
2799 2800 2801 2802 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2799 def get_models(params = {}, = {}) req = build_request(:get_models, params) req.send_request() end |
#get_route(params = {}) ⇒ Types::GetRouteResult
Gets a Route.
2854 2855 2856 2857 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2854 def get_route(params = {}, = {}) req = build_request(:get_route, params) req.send_request() end |
#get_route_response(params = {}) ⇒ Types::GetRouteResponseResponse
Gets a RouteResponse.
2895 2896 2897 2898 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2895 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.
2938 2939 2940 2941 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2938 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.
2987 2988 2989 2990 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2987 def get_routes(params = {}, = {}) req = build_request(:get_routes, params) req.send_request() end |
#get_stage(params = {}) ⇒ Types::GetStageResponse
Gets a Stage.
3053 3054 3055 3056 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3053 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.
3112 3113 3114 3115 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3112 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.
3138 3139 3140 3141 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3138 def (params = {}, = {}) req = build_request(:get_tags, params) req.send_request() end |
#get_vpc_link(params = {}) ⇒ Types::GetVpcLinkResponse
Gets a VPC link.
3182 3183 3184 3185 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3182 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.
3224 3225 3226 3227 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3224 def get_vpc_links(params = {}, = {}) req = build_request(:get_vpc_links, params) req.send_request() end |
#import_api(params = {}) ⇒ Types::ImportApiResponse
Imports an API.
3297 3298 3299 3300 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3297 def import_api(params = {}, = {}) req = build_request(:import_api, params) req.send_request() end |
#reimport_api(params = {}) ⇒ Types::ReimportApiResponse
Puts an Api resource.
3373 3374 3375 3376 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3373 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.
2016 2017 2018 2019 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 2016 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.
3398 3399 3400 3401 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3398 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes a Tag.
3420 3421 3422 3423 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3420 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_api(params = {}) ⇒ Types::UpdateApiResponse
Updates an Api resource.
3558 3559 3560 3561 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3558 def update_api(params = {}, = {}) req = build_request(:update_api, params) req.send_request() end |
#update_api_mapping(params = {}) ⇒ Types::UpdateApiMappingResponse
The API mapping.
3611 3612 3613 3614 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3611 def update_api_mapping(params = {}, = {}) req = build_request(:update_api_mapping, params) req.send_request() end |
#update_authorizer(params = {}) ⇒ Types::UpdateAuthorizerResponse
Updates an Authorizer.
3721 3722 3723 3724 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3721 def (params = {}, = {}) req = build_request(:update_authorizer, params) req.send_request() end |
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentResponse
Updates a Deployment.
3763 3764 3765 3766 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3763 def update_deployment(params = {}, = {}) req = build_request(:update_deployment, params) req.send_request() end |
#update_domain_name(params = {}) ⇒ Types::UpdateDomainNameResponse
Updates a domain name.
3836 3837 3838 3839 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 3836 def update_domain_name(params = {}, = {}) req = build_request(:update_domain_name, params) req.send_request() end |
#update_integration(params = {}) ⇒ Types::UpdateIntegrationResult
Updates an Integration.
4027 4028 4029 4030 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4027 def update_integration(params = {}, = {}) req = build_request(:update_integration, params) req.send_request() end |
#update_integration_response(params = {}) ⇒ Types::UpdateIntegrationResponseResponse
Updates an IntegrationResponses.
4139 4140 4141 4142 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4139 def update_integration_response(params = {}, = {}) req = build_request(:update_integration_response, params) req.send_request() end |
#update_model(params = {}) ⇒ Types::UpdateModelResponse
Updates a Model.
4191 4192 4193 4194 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4191 def update_model(params = {}, = {}) req = build_request(:update_model, params) req.send_request() end |
#update_route(params = {}) ⇒ Types::UpdateRouteResult
Updates a Route.
4323 4324 4325 4326 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4323 def update_route(params = {}, = {}) req = build_request(:update_route, params) req.send_request() end |
#update_route_response(params = {}) ⇒ Types::UpdateRouteResponseResponse
Updates a RouteResponse.
4398 4399 4400 4401 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4398 def update_route_response(params = {}, = {}) req = build_request(:update_route_response, params) req.send_request() end |
#update_stage(params = {}) ⇒ Types::UpdateStageResponse
Updates a Stage.
4514 4515 4516 4517 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4514 def update_stage(params = {}, = {}) req = build_request(:update_stage, params) req.send_request() end |
#update_vpc_link(params = {}) ⇒ Types::UpdateVpcLinkResponse
Updates a VPC link.
4562 4563 4564 4565 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4562 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.
4591 4592 4593 |
# File 'lib/aws-sdk-apigatewayv2/client.rb', line 4591 def waiter_names [] end |