Class: Aws::APIGateway::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::APIGateway::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-apigateway/client.rb
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_api_key(params = {}) ⇒ Types::ApiKey
Create an ApiKey resource.
-
#create_authorizer(params = {}) ⇒ Types::Authorizer
Adds a new Authorizer resource to an existing RestApi resource.
-
#create_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Creates a new BasePathMapping resource.
-
#create_deployment(params = {}) ⇒ Types::Deployment
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
-
#create_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:.
-
#create_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:.
-
#create_domain_name(params = {}) ⇒ Types::DomainName
Creates a new domain name.
-
#create_model(params = {}) ⇒ Types::Model
Adds a new Model resource to an existing RestApi resource.
-
#create_request_validator(params = {}) ⇒ Types::RequestValidator
Creates a ReqeustValidator of a given RestApi.
-
#create_resource(params = {}) ⇒ Types::Resource
Creates a Resource resource.
-
#create_rest_api(params = {}) ⇒ Types::RestApi
Creates a new RestApi resource.
-
#create_stage(params = {}) ⇒ Types::Stage
Creates a new Stage resource that references a pre-existing Deployment for the API.
-
#create_usage_plan(params = {}) ⇒ Types::UsagePlan
Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.
-
#create_usage_plan_key(params = {}) ⇒ Types::UsagePlanKey
Creates a usage plan key for adding an existing API key to a usage plan.
-
#delete_api_key(params = {}) ⇒ Struct
Deletes the ApiKey resource.
-
#delete_authorizer(params = {}) ⇒ Struct
Deletes an existing Authorizer resource.
-
#delete_base_path_mapping(params = {}) ⇒ Struct
Deletes the BasePathMapping resource.
-
#delete_client_certificate(params = {}) ⇒ Struct
Deletes the ClientCertificate resource.
-
#delete_deployment(params = {}) ⇒ Struct
Deletes a Deployment resource.
-
#delete_documentation_part(params = {}) ⇒ Struct
Returns an empty response.
-
#delete_documentation_version(params = {}) ⇒ Struct
Returns an empty response.
-
#delete_domain_name(params = {}) ⇒ Struct
Deletes the DomainName resource.
-
#delete_gateway_response(params = {}) ⇒ Struct
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
-
#delete_integration(params = {}) ⇒ Struct
Represents a delete integration.
-
#delete_integration_response(params = {}) ⇒ Struct
Represents a delete integration response.
-
#delete_method(params = {}) ⇒ Struct
Deletes an existing Method resource.
-
#delete_method_response(params = {}) ⇒ Struct
Deletes an existing MethodResponse resource.
-
#delete_model(params = {}) ⇒ Struct
Deletes a model.
-
#delete_request_validator(params = {}) ⇒ Struct
Deletes a RequestValidator of a given RestApi.
-
#delete_resource(params = {}) ⇒ Struct
Deletes a Resource resource.
-
#delete_rest_api(params = {}) ⇒ Struct
Deletes the specified API.
-
#delete_stage(params = {}) ⇒ Struct
Deletes a Stage resource.
-
#delete_usage_plan(params = {}) ⇒ Struct
Deletes a usage plan of a given plan Id.
-
#delete_usage_plan_key(params = {}) ⇒ Struct
Deletes a usage plan key and remove the underlying API key from the associated usage plan.
-
#flush_stage_authorizers_cache(params = {}) ⇒ Struct
Flushes all authorizer cache entries on a stage.
-
#flush_stage_cache(params = {}) ⇒ Struct
Flushes a stage’s cache.
-
#generate_client_certificate(params = {}) ⇒ Types::ClientCertificate
Generates a ClientCertificate resource.
-
#get_account(params = {}) ⇒ Types::Account
Gets information about the current Account resource.
-
#get_api_key(params = {}) ⇒ Types::ApiKey
Gets information about the current ApiKey resource.
-
#get_api_keys(params = {}) ⇒ Types::ApiKeys
Gets information about the current ApiKeys resource.
-
#get_authorizer(params = {}) ⇒ Types::Authorizer
Describe an existing Authorizer resource.
-
#get_authorizers(params = {}) ⇒ Types::Authorizers
Describe an existing Authorizers resource.
-
#get_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Describe a BasePathMapping resource.
-
#get_base_path_mappings(params = {}) ⇒ Types::BasePathMappings
Represents a collection of BasePathMapping resources.
-
#get_client_certificate(params = {}) ⇒ Types::ClientCertificate
Gets information about the current ClientCertificate resource.
-
#get_client_certificates(params = {}) ⇒ Types::ClientCertificates
Gets a collection of ClientCertificate resources.
-
#get_deployment(params = {}) ⇒ Types::Deployment
Gets information about a Deployment resource.
-
#get_deployments(params = {}) ⇒ Types::Deployments
Gets information about a Deployments collection.
-
#get_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:.
-
#get_documentation_parts(params = {}) ⇒ Types::DocumentationParts
Returns a response object which responds to the following methods:.
-
#get_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:.
-
#get_documentation_versions(params = {}) ⇒ Types::DocumentationVersions
Returns a response object which responds to the following methods:.
-
#get_domain_name(params = {}) ⇒ Types::DomainName
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
-
#get_domain_names(params = {}) ⇒ Types::DomainNames
Represents a collection of DomainName resources.
-
#get_export(params = {}) ⇒ Types::ExportResponse
Exports a deployed version of a RestApi in a specified format.
-
#get_gateway_response(params = {}) ⇒ Types::GatewayResponse
Gets a GatewayResponse of a specified response type on the given RestApi.
-
#get_gateway_responses(params = {}) ⇒ Types::GatewayResponses
Gets the GatewayResponses collection on the given RestApi.
-
#get_integration(params = {}) ⇒ Types::Integration
Represents a get integration.
-
#get_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents a get integration response.
-
#get_method(params = {}) ⇒ Types::Method
Describe an existing Method resource.
-
#get_method_response(params = {}) ⇒ Types::MethodResponse
Describes a MethodResponse resource.
-
#get_model(params = {}) ⇒ Types::Model
Describes an existing model defined for a RestApi resource.
-
#get_model_template(params = {}) ⇒ Types::Template
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
-
#get_models(params = {}) ⇒ Types::Models
Describes existing Models defined for a RestApi resource.
-
#get_request_validator(params = {}) ⇒ Types::RequestValidator
Gets a RequestValidator of a given RestApi.
-
#get_request_validators(params = {}) ⇒ Types::RequestValidators
Gets the RequestValidators collection of a given RestApi.
-
#get_resource(params = {}) ⇒ Types::Resource
Lists information about a resource.
-
#get_resources(params = {}) ⇒ Types::Resources
Lists information about a collection of Resource resources.
-
#get_rest_api(params = {}) ⇒ Types::RestApi
Lists the RestApi resource in the collection.
-
#get_rest_apis(params = {}) ⇒ Types::RestApis
Lists the RestApis resources for your collection.
-
#get_sdk(params = {}) ⇒ Types::SdkResponse
Generates a client SDK for a RestApi and Stage.
-
#get_sdk_type(params = {}) ⇒ Types::SdkType
Returns a response object which responds to the following methods:.
-
#get_sdk_types(params = {}) ⇒ Types::SdkTypes
Returns a response object which responds to the following methods:.
-
#get_stage(params = {}) ⇒ Types::Stage
Gets information about a Stage resource.
-
#get_stages(params = {}) ⇒ Types::Stages
Gets information about one or more Stage resources.
-
#get_usage(params = {}) ⇒ Types::Usage
Gets the usage data of a usage plan in a specified time interval.
-
#get_usage_plan(params = {}) ⇒ Types::UsagePlan
Gets a usage plan of a given plan identifier.
-
#get_usage_plan_key(params = {}) ⇒ Types::UsagePlanKey
Gets a usage plan key of a given key identifier.
-
#get_usage_plan_keys(params = {}) ⇒ Types::UsagePlanKeys
Gets all the usage plan keys representing the API keys added to a specified usage plan.
-
#get_usage_plans(params = {}) ⇒ Types::UsagePlans
Gets all the usage plans of the caller’s account.
-
#import_api_keys(params = {}) ⇒ Types::ApiKeyIds
Import API keys from an external source, such as a CSV-formatted file.
-
#import_documentation_parts(params = {}) ⇒ Types::DocumentationPartIds
Returns a response object which responds to the following methods:.
-
#import_rest_api(params = {}) ⇒ Types::RestApi
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
-
#put_gateway_response(params = {}) ⇒ Types::GatewayResponse
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
-
#put_integration(params = {}) ⇒ Types::Integration
Sets up a method’s integration.
-
#put_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents a put integration.
-
#put_method(params = {}) ⇒ Types::Method
Add a method to an existing Resource resource.
-
#put_method_response(params = {}) ⇒ Types::MethodResponse
Adds a MethodResponse to an existing Method resource.
-
#put_rest_api(params = {}) ⇒ Types::RestApi
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions.
-
#test_invoke_authorizer(params = {}) ⇒ Types::TestInvokeAuthorizerResponse
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
-
#test_invoke_method(params = {}) ⇒ Types::TestInvokeMethodResponse
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
-
#update_account(params = {}) ⇒ Types::Account
Changes information about the current Account resource.
-
#update_api_key(params = {}) ⇒ Types::ApiKey
Changes information about an ApiKey resource.
-
#update_authorizer(params = {}) ⇒ Types::Authorizer
Updates an existing Authorizer resource.
-
#update_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Changes information about the BasePathMapping resource.
-
#update_client_certificate(params = {}) ⇒ Types::ClientCertificate
Changes information about an ClientCertificate resource.
-
#update_deployment(params = {}) ⇒ Types::Deployment
Changes information about a Deployment resource.
-
#update_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:.
-
#update_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:.
-
#update_domain_name(params = {}) ⇒ Types::DomainName
Changes information about the DomainName resource.
-
#update_gateway_response(params = {}) ⇒ Types::GatewayResponse
Updates a GatewayResponse of a specified response type on the given RestApi.
-
#update_integration(params = {}) ⇒ Types::Integration
Represents an update integration.
-
#update_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents an update integration response.
-
#update_method(params = {}) ⇒ Types::Method
Updates an existing Method resource.
-
#update_method_response(params = {}) ⇒ Types::MethodResponse
Updates an existing MethodResponse resource.
-
#update_model(params = {}) ⇒ Types::Model
Changes information about a model.
-
#update_request_validator(params = {}) ⇒ Types::RequestValidator
Updates a RequestValidator of a given RestApi.
-
#update_resource(params = {}) ⇒ Types::Resource
Changes information about a Resource resource.
-
#update_rest_api(params = {}) ⇒ Types::RestApi
Changes information about the specified API.
-
#update_stage(params = {}) ⇒ Types::Stage
Changes information about a Stage resource.
-
#update_usage(params = {}) ⇒ Types::Usage
Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
-
#update_usage_plan(params = {}) ⇒ Types::UsagePlan
Updates a usage plan of a given plan Id.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(*args) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(*args) ⇒ Client
Returns a new instance of Client.
144 145 146 |
# File 'lib/aws-sdk-apigateway/client.rb', line 144 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.
5902 5903 5904 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5902 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.
5905 5906 5907 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5905 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.
5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5880 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-apigateway' context[:gem_version] = '1.1.0' Seahorse::Client::Request.new(handlers, context) end |
#create_api_key(params = {}) ⇒ Types::ApiKey
Create an ApiKey resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html
228 229 230 231 |
# File 'lib/aws-sdk-apigateway/client.rb', line 228 def create_api_key(params = {}, = {}) req = build_request(:create_api_key, params) req.send_request() end |
#create_authorizer(params = {}) ⇒ Types::Authorizer
Adds a new Authorizer resource to an existing RestApi resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html
368 369 370 371 |
# File 'lib/aws-sdk-apigateway/client.rb', line 368 def (params = {}, = {}) req = build_request(:create_authorizer, params) req.send_request() end |
#create_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Creates a new BasePathMapping resource.
415 416 417 418 |
# File 'lib/aws-sdk-apigateway/client.rb', line 415 def create_base_path_mapping(params = {}, = {}) req = build_request(:create_base_path_mapping, params) req.send_request() end |
#create_deployment(params = {}) ⇒ Types::Deployment
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
482 483 484 485 |
# File 'lib/aws-sdk-apigateway/client.rb', line 482 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:
-
#id => String
-
#location => Types::DocumentationPartLocation
-
#properties => String
532 533 534 535 |
# File 'lib/aws-sdk-apigateway/client.rb', line 532 def create_documentation_part(params = {}, = {}) req = build_request(:create_documentation_part, params) req.send_request() end |
#create_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:
-
#version => String
-
#created_date => Time
-
#description => String
572 573 574 575 |
# File 'lib/aws-sdk-apigateway/client.rb', line 572 def create_documentation_version(params = {}, = {}) req = build_request(:create_documentation_version, params) req.send_request() end |
#create_domain_name(params = {}) ⇒ Types::DomainName
Creates a new domain name.
634 635 636 637 |
# File 'lib/aws-sdk-apigateway/client.rb', line 634 def create_domain_name(params = {}, = {}) req = build_request(:create_domain_name, params) req.send_request() end |
#create_model(params = {}) ⇒ Types::Model
Adds a new Model resource to an existing RestApi resource.
689 690 691 692 |
# File 'lib/aws-sdk-apigateway/client.rb', line 689 def create_model(params = {}, = {}) req = build_request(:create_model, params) req.send_request() end |
#create_request_validator(params = {}) ⇒ Types::RequestValidator
Creates a ReqeustValidator of a given RestApi.
736 737 738 739 |
# File 'lib/aws-sdk-apigateway/client.rb', line 736 def create_request_validator(params = {}, = {}) req = build_request(:create_request_validator, params) req.send_request() end |
#create_resource(params = {}) ⇒ Types::Resource
Creates a Resource resource.
815 816 817 818 |
# File 'lib/aws-sdk-apigateway/client.rb', line 815 def create_resource(params = {}, = {}) req = build_request(:create_resource, params) req.send_request() end |
#create_rest_api(params = {}) ⇒ Types::RestApi
Creates a new RestApi resource.
872 873 874 875 |
# File 'lib/aws-sdk-apigateway/client.rb', line 872 def create_rest_api(params = {}, = {}) req = build_request(:create_rest_api, params) req.send_request() end |
#create_stage(params = {}) ⇒ Types::Stage
Creates a new Stage resource that references a pre-existing Deployment for the API.
964 965 966 967 |
# File 'lib/aws-sdk-apigateway/client.rb', line 964 def create_stage(params = {}, = {}) req = build_request(:create_stage, params) req.send_request() end |
#create_usage_plan(params = {}) ⇒ Types::UsagePlan
Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.
1036 1037 1038 1039 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1036 def create_usage_plan(params = {}, = {}) req = build_request(:create_usage_plan, params) req.send_request() end |
#create_usage_plan_key(params = {}) ⇒ Types::UsagePlanKey
Creates a usage plan key for adding an existing API key to a usage plan.
1079 1080 1081 1082 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1079 def create_usage_plan_key(params = {}, = {}) req = build_request(:create_usage_plan_key, params) req.send_request() end |
#delete_api_key(params = {}) ⇒ Struct
Deletes the ApiKey resource.
1099 1100 1101 1102 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1099 def delete_api_key(params = {}, = {}) req = build_request(:delete_api_key, params) req.send_request() end |
#delete_authorizer(params = {}) ⇒ Struct
Deletes an existing Authorizer resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/delete-authorizer.html
1131 1132 1133 1134 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1131 def (params = {}, = {}) req = build_request(:delete_authorizer, params) req.send_request() end |
#delete_base_path_mapping(params = {}) ⇒ Struct
Deletes the BasePathMapping resource.
1155 1156 1157 1158 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1155 def delete_base_path_mapping(params = {}, = {}) req = build_request(:delete_base_path_mapping, params) req.send_request() end |
#delete_client_certificate(params = {}) ⇒ Struct
Deletes the ClientCertificate resource.
1175 1176 1177 1178 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1175 def delete_client_certificate(params = {}, = {}) req = build_request(:delete_client_certificate, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
1200 1201 1202 1203 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1200 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_documentation_part(params = {}) ⇒ Struct
Returns an empty response.
1222 1223 1224 1225 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1222 def delete_documentation_part(params = {}, = {}) req = build_request(:delete_documentation_part, params) req.send_request() end |
#delete_documentation_version(params = {}) ⇒ Struct
Returns an empty response.
1245 1246 1247 1248 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1245 def delete_documentation_version(params = {}, = {}) req = build_request(:delete_documentation_version, params) req.send_request() end |
#delete_domain_name(params = {}) ⇒ Struct
Deletes the DomainName resource.
1265 1266 1267 1268 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1265 def delete_domain_name(params = {}, = {}) req = build_request(:delete_domain_name, params) req.send_request() end |
#delete_gateway_response(params = {}) ⇒ Struct
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
1310 1311 1312 1313 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1310 def delete_gateway_response(params = {}, = {}) req = build_request(:delete_gateway_response, params) req.send_request() end |
#delete_integration(params = {}) ⇒ Struct
Represents a delete integration.
1338 1339 1340 1341 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1338 def delete_integration(params = {}, = {}) req = build_request(:delete_integration, params) req.send_request() end |
#delete_integration_response(params = {}) ⇒ Struct
Represents a delete integration response.
1371 1372 1373 1374 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1371 def delete_integration_response(params = {}, = {}) req = build_request(:delete_integration_response, params) req.send_request() end |
#delete_method(params = {}) ⇒ Struct
Deletes an existing Method resource.
1399 1400 1401 1402 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1399 def delete_method(params = {}, = {}) req = build_request(:delete_method, params) req.send_request() end |
#delete_method_response(params = {}) ⇒ Struct
Deletes an existing MethodResponse resource.
1431 1432 1433 1434 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1431 def delete_method_response(params = {}, = {}) req = build_request(:delete_method_response, params) req.send_request() end |
#delete_model(params = {}) ⇒ Struct
Deletes a model.
1455 1456 1457 1458 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1455 def delete_model(params = {}, = {}) req = build_request(:delete_model, params) req.send_request() end |
#delete_request_validator(params = {}) ⇒ Struct
Deletes a RequestValidator of a given RestApi.
1479 1480 1481 1482 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1479 def delete_request_validator(params = {}, = {}) req = build_request(:delete_request_validator, params) req.send_request() end |
#delete_resource(params = {}) ⇒ Struct
Deletes a Resource resource.
1503 1504 1505 1506 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1503 def delete_resource(params = {}, = {}) req = build_request(:delete_resource, params) req.send_request() end |
#delete_rest_api(params = {}) ⇒ Struct
Deletes the specified API.
1523 1524 1525 1526 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1523 def delete_rest_api(params = {}, = {}) req = build_request(:delete_rest_api, params) req.send_request() end |
#delete_stage(params = {}) ⇒ Struct
Deletes a Stage resource.
1547 1548 1549 1550 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1547 def delete_stage(params = {}, = {}) req = build_request(:delete_stage, params) req.send_request() end |
#delete_usage_plan(params = {}) ⇒ Struct
Deletes a usage plan of a given plan Id.
1567 1568 1569 1570 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1567 def delete_usage_plan(params = {}, = {}) req = build_request(:delete_usage_plan, params) req.send_request() end |
#delete_usage_plan_key(params = {}) ⇒ Struct
Deletes a usage plan key and remove the underlying API key from the associated usage plan.
1594 1595 1596 1597 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1594 def delete_usage_plan_key(params = {}, = {}) req = build_request(:delete_usage_plan_key, params) req.send_request() end |
#flush_stage_authorizers_cache(params = {}) ⇒ Struct
Flushes all authorizer cache entries on a stage.
1618 1619 1620 1621 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1618 def (params = {}, = {}) req = build_request(:flush_stage_authorizers_cache, params) req.send_request() end |
#flush_stage_cache(params = {}) ⇒ Struct
Flushes a stage’s cache.
1642 1643 1644 1645 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1642 def flush_stage_cache(params = {}, = {}) req = build_request(:flush_stage_cache, params) req.send_request() end |
#generate_client_certificate(params = {}) ⇒ Types::ClientCertificate
Generates a ClientCertificate resource.
1676 1677 1678 1679 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1676 def generate_client_certificate(params = {}, = {}) req = build_request(:generate_client_certificate, params) req.send_request() end |
#get_account(params = {}) ⇒ Types::Account
Gets information about the current Account resource.
1701 1702 1703 1704 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1701 def get_account(params = {}, = {}) req = build_request(:get_account, params) req.send_request() end |
#get_api_key(params = {}) ⇒ Types::ApiKey
Gets information about the current ApiKey resource.
1749 1750 1751 1752 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1749 def get_api_key(params = {}, = {}) req = build_request(:get_api_key, params) req.send_request() end |
#get_api_keys(params = {}) ⇒ Types::ApiKeys
Gets information about the current ApiKeys resource.
1808 1809 1810 1811 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1808 def get_api_keys(params = {}, = {}) req = build_request(:get_api_keys, params) req.send_request() end |
#get_authorizer(params = {}) ⇒ Types::Authorizer
Describe an existing Authorizer resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizer.html
1865 1866 1867 1868 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1865 def (params = {}, = {}) req = build_request(:get_authorizer, params) req.send_request() end |
#get_authorizers(params = {}) ⇒ Types::Authorizers
Describe an existing Authorizers resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizers.html
1920 1921 1922 1923 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1920 def (params = {}, = {}) req = build_request(:get_authorizers, params) req.send_request() end |
#get_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Describe a BasePathMapping resource.
1957 1958 1959 1960 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1957 def get_base_path_mapping(params = {}, = {}) req = build_request(:get_base_path_mapping, params) req.send_request() end |
#get_base_path_mappings(params = {}) ⇒ Types::BasePathMappings
Represents a collection of BasePathMapping resources.
1997 1998 1999 2000 |
# File 'lib/aws-sdk-apigateway/client.rb', line 1997 def get_base_path_mappings(params = {}, = {}) req = build_request(:get_base_path_mappings, params) req.send_request() end |
#get_client_certificate(params = {}) ⇒ Types::ClientCertificate
Gets information about the current ClientCertificate resource.
2031 2032 2033 2034 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2031 def get_client_certificate(params = {}, = {}) req = build_request(:get_client_certificate, params) req.send_request() end |
#get_client_certificates(params = {}) ⇒ Types::ClientCertificates
Gets a collection of ClientCertificate resources.
2069 2070 2071 2072 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2069 def get_client_certificates(params = {}, = {}) req = build_request(:get_client_certificates, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::Deployment
Gets information about a Deployment resource.
2122 2123 2124 2125 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2122 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_deployments(params = {}) ⇒ Types::Deployments
Gets information about a Deployments collection.
2166 2167 2168 2169 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2166 def get_deployments(params = {}, = {}) req = build_request(:get_deployments, params) req.send_request() end |
#get_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:
-
#id => String
-
#location => Types::DocumentationPartLocation
-
#properties => String
2202 2203 2204 2205 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2202 def get_documentation_part(params = {}, = {}) req = build_request(:get_documentation_part, params) req.send_request() end |
#get_documentation_parts(params = {}) ⇒ Types::DocumentationParts
2255 2256 2257 2258 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2255 def get_documentation_parts(params = {}, = {}) req = build_request(:get_documentation_parts, params) req.send_request() end |
#get_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:
-
#version => String
-
#created_date => Time
-
#description => String
2288 2289 2290 2291 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2288 def get_documentation_version(params = {}, = {}) req = build_request(:get_documentation_version, params) req.send_request() end |
#get_documentation_versions(params = {}) ⇒ Types::DocumentationVersions
2325 2326 2327 2328 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2325 def get_documentation_versions(params = {}, = {}) req = build_request(:get_documentation_versions, params) req.send_request() end |
#get_domain_name(params = {}) ⇒ Types::DomainName
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
2360 2361 2362 2363 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2360 def get_domain_name(params = {}, = {}) req = build_request(:get_domain_name, params) req.send_request() end |
#get_domain_names(params = {}) ⇒ Types::DomainNames
Represents a collection of DomainName resources.
2398 2399 2400 2401 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2398 def get_domain_names(params = {}, = {}) req = build_request(:get_domain_names, params) req.send_request() end |
#get_export(params = {}) ⇒ Types::ExportResponse
Exports a deployed version of a RestApi in a specified format.
2456 2457 2458 2459 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2456 def get_export(params = {}, = {}) req = build_request(:get_export, params) req.send_request() end |
#get_gateway_response(params = {}) ⇒ Types::GatewayResponse
Gets a GatewayResponse of a specified response type on the given RestApi.
2517 2518 2519 2520 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2517 def get_gateway_response(params = {}, = {}) req = build_request(:get_gateway_response, params) req.send_request() end |
#get_gateway_responses(params = {}) ⇒ Types::GatewayResponses
Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the Amazon API Gateway-generated default GatewayResponses collection for the supported response types.
2567 2568 2569 2570 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2567 def get_gateway_responses(params = {}, = {}) req = build_request(:get_gateway_responses, params) req.send_request() end |
#get_integration(params = {}) ⇒ Types::Integration
Represents a get integration.
2631 2632 2633 2634 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2631 def get_integration(params = {}, = {}) req = build_request(:get_integration, params) req.send_request() end |
#get_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents a get integration response.
2679 2680 2681 2682 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2679 def get_integration_response(params = {}, = {}) req = build_request(:get_integration_response, params) req.send_request() end |
#get_method(params = {}) ⇒ Types::Method
Describe an existing Method resource.
2758 2759 2760 2761 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2758 def get_method(params = {}, = {}) req = build_request(:get_method, params) req.send_request() end |
#get_method_response(params = {}) ⇒ Types::MethodResponse
Describes a MethodResponse resource.
2802 2803 2804 2805 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2802 def get_method_response(params = {}, = {}) req = build_request(:get_method_response, params) req.send_request() end |
#get_model(params = {}) ⇒ Types::Model
Describes an existing model defined for a RestApi resource.
2846 2847 2848 2849 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2846 def get_model(params = {}, = {}) req = build_request(:get_model, params) req.send_request() end |
#get_model_template(params = {}) ⇒ Types::Template
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
2877 2878 2879 2880 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2877 def get_model_template(params = {}, = {}) req = build_request(:get_model_template, params) req.send_request() end |
#get_models(params = {}) ⇒ Types::Models
Describes existing Models defined for a RestApi resource.
2919 2920 2921 2922 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2919 def get_models(params = {}, = {}) req = build_request(:get_models, params) req.send_request() end |
#get_request_validator(params = {}) ⇒ Types::RequestValidator
Gets a RequestValidator of a given RestApi.
2955 2956 2957 2958 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2955 def get_request_validator(params = {}, = {}) req = build_request(:get_request_validator, params) req.send_request() end |
#get_request_validators(params = {}) ⇒ Types::RequestValidators
Gets the RequestValidators collection of a given RestApi.
2995 2996 2997 2998 |
# File 'lib/aws-sdk-apigateway/client.rb', line 2995 def get_request_validators(params = {}, = {}) req = build_request(:get_request_validators, params) req.send_request() end |
#get_resource(params = {}) ⇒ Types::Resource
Lists information about a resource.
3080 3081 3082 3083 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3080 def get_resource(params = {}, = {}) req = build_request(:get_resource, params) req.send_request() end |
#get_resources(params = {}) ⇒ Types::Resources
Lists information about a collection of Resource resources.
3169 3170 3171 3172 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3169 def get_resources(params = {}, = {}) req = build_request(:get_resources, params) req.send_request() end |
#get_rest_api(params = {}) ⇒ Types::RestApi
Lists the RestApi resource in the collection.
3209 3210 3211 3212 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3209 def get_rest_api(params = {}, = {}) req = build_request(:get_rest_api, params) req.send_request() end |
#get_rest_apis(params = {}) ⇒ Types::RestApis
Lists the RestApis resources for your collection.
3251 3252 3253 3254 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3251 def get_rest_apis(params = {}, = {}) req = build_request(:get_rest_apis, params) req.send_request() end |
#get_sdk(params = {}) ⇒ Types::SdkResponse
Generates a client SDK for a RestApi and Stage.
3302 3303 3304 3305 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3302 def get_sdk(params = {}, = {}) req = build_request(:get_sdk, params) req.send_request() end |
#get_sdk_type(params = {}) ⇒ Types::SdkType
Returns a response object which responds to the following methods:
-
#id => String
-
#friendly_name => String
-
#description => String
-
#configuration_properties => Array<Types::SdkConfigurationProperty>
3337 3338 3339 3340 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3337 def get_sdk_type(params = {}, = {}) req = build_request(:get_sdk_type, params) req.send_request() end |
#get_sdk_types(params = {}) ⇒ Types::SdkTypes
3376 3377 3378 3379 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3376 def get_sdk_types(params = {}, = {}) req = build_request(:get_sdk_types, params) req.send_request() end |
#get_stage(params = {}) ⇒ Types::Stage
Gets information about a Stage resource.
3439 3440 3441 3442 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3439 def get_stage(params = {}, = {}) req = build_request(:get_stage, params) req.send_request() end |
#get_stages(params = {}) ⇒ Types::Stages
Gets information about one or more Stage resources.
3492 3493 3494 3495 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3492 def get_stages(params = {}, = {}) req = build_request(:get_stages, params) req.send_request() end |
#get_usage(params = {}) ⇒ Types::Usage
Gets the usage data of a usage plan in a specified time interval.
3549 3550 3551 3552 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3549 def get_usage(params = {}, = {}) req = build_request(:get_usage, params) req.send_request() end |
#get_usage_plan(params = {}) ⇒ Types::UsagePlan
Gets a usage plan of a given plan identifier.
3592 3593 3594 3595 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3592 def get_usage_plan(params = {}, = {}) req = build_request(:get_usage_plan, params) req.send_request() end |
#get_usage_plan_key(params = {}) ⇒ Types::UsagePlanKey
Gets a usage plan key of a given key identifier.
3631 3632 3633 3634 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3631 def get_usage_plan_key(params = {}, = {}) req = build_request(:get_usage_plan_key, params) req.send_request() end |
#get_usage_plan_keys(params = {}) ⇒ Types::UsagePlanKeys
Gets all the usage plan keys representing the API keys added to a specified usage plan.
3679 3680 3681 3682 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3679 def get_usage_plan_keys(params = {}, = {}) req = build_request(:get_usage_plan_keys, params) req.send_request() end |
#get_usage_plans(params = {}) ⇒ Types::UsagePlans
Gets all the usage plans of the caller’s account.
3727 3728 3729 3730 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3727 def get_usage_plans(params = {}, = {}) req = build_request(:get_usage_plans, params) req.send_request() end |
#import_api_keys(params = {}) ⇒ Types::ApiKeyIds
Import API keys from an external source, such as a CSV-formatted file.
3772 3773 3774 3775 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3772 def import_api_keys(params = {}, = {}) req = build_request(:import_api_keys, params) req.send_request() end |
#import_documentation_parts(params = {}) ⇒ Types::DocumentationPartIds
3818 3819 3820 3821 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3818 def import_documentation_parts(params = {}, = {}) req = build_request(:import_documentation_parts, params) req.send_request() end |
#import_rest_api(params = {}) ⇒ Types::RestApi
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
3877 3878 3879 3880 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3877 def import_rest_api(params = {}, = {}) req = build_request(:import_rest_api, params) req.send_request() end |
#put_gateway_response(params = {}) ⇒ Types::GatewayResponse
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
3956 3957 3958 3959 |
# File 'lib/aws-sdk-apigateway/client.rb', line 3956 def put_gateway_response(params = {}, = {}) req = build_request(:put_gateway_response, params) req.send_request() end |
#put_integration(params = {}) ⇒ Types::Integration
Sets up a method’s integration.
4118 4119 4120 4121 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4118 def put_integration(params = {}, = {}) req = build_request(:put_integration, params) req.send_request() end |
#put_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents a put integration.
4209 4210 4211 4212 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4209 def put_integration_response(params = {}, = {}) req = build_request(:put_integration_response, params) req.send_request() end |
#put_method(params = {}) ⇒ Types::Method
Add a method to an existing Resource resource.
4342 4343 4344 4345 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4342 def put_method(params = {}, = {}) req = build_request(:put_method, params) req.send_request() end |
#put_method_response(params = {}) ⇒ Types::MethodResponse
Adds a MethodResponse to an existing Method resource.
4413 4414 4415 4416 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4413 def put_method_response(params = {}, = {}) req = build_request(:put_method_response, params) req.send_request() end |
#put_rest_api(params = {}) ⇒ Types::RestApi
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
4484 4485 4486 4487 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4484 def put_rest_api(params = {}, = {}) req = build_request(:put_rest_api, params) req.send_request() end |
#test_invoke_authorizer(params = {}) ⇒ Types::TestInvokeAuthorizerResponse
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
<div class=“seeAlso”>
- Enable custom authorizers][1
-
</div>
[1]: docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html
4570 4571 4572 4573 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4570 def (params = {}, = {}) req = build_request(:test_invoke_authorizer, params) req.send_request() end |
#test_invoke_method(params = {}) ⇒ Types::TestInvokeMethodResponse
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
4643 4644 4645 4646 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4643 def test_invoke_method(params = {}, = {}) req = build_request(:test_invoke_method, params) req.send_request() end |
#update_account(params = {}) ⇒ Types::Account
Changes information about the current Account resource.
4685 4686 4687 4688 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4685 def update_account(params = {}, = {}) req = build_request(:update_account, params) req.send_request() end |
#update_api_key(params = {}) ⇒ Types::ApiKey
Changes information about an ApiKey resource.
4740 4741 4742 4743 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4740 def update_api_key(params = {}, = {}) req = build_request(:update_api_key, params) req.send_request() end |
#update_authorizer(params = {}) ⇒ Types::Authorizer
Updates an existing Authorizer resource.
<div class=“seeAlso”>
- AWS CLI][1
-
</div>
[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html
4809 4810 4811 4812 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4809 def (params = {}, = {}) req = build_request(:update_authorizer, params) req.send_request() end |
#update_base_path_mapping(params = {}) ⇒ Types::BasePathMapping
Changes information about the BasePathMapping resource.
4855 4856 4857 4858 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4855 def update_base_path_mapping(params = {}, = {}) req = build_request(:update_base_path_mapping, params) req.send_request() end |
#update_client_certificate(params = {}) ⇒ Types::ClientCertificate
Changes information about an ClientCertificate resource.
4901 4902 4903 4904 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4901 def update_client_certificate(params = {}, = {}) req = build_request(:update_client_certificate, params) req.send_request() end |
#update_deployment(params = {}) ⇒ Types::Deployment
Changes information about a Deployment resource.
4953 4954 4955 4956 |
# File 'lib/aws-sdk-apigateway/client.rb', line 4953 def update_deployment(params = {}, = {}) req = build_request(:update_deployment, params) req.send_request() end |
#update_documentation_part(params = {}) ⇒ Types::DocumentationPart
Returns a response object which responds to the following methods:
-
#id => String
-
#location => Types::DocumentationPartLocation
-
#properties => String
5001 5002 5003 5004 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5001 def update_documentation_part(params = {}, = {}) req = build_request(:update_documentation_part, params) req.send_request() end |
#update_documentation_version(params = {}) ⇒ Types::DocumentationVersion
Returns a response object which responds to the following methods:
-
#version => String
-
#created_date => Time
-
#description => String
5046 5047 5048 5049 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5046 def update_documentation_version(params = {}, = {}) req = build_request(:update_documentation_version, params) req.send_request() end |
#update_domain_name(params = {}) ⇒ Types::DomainName
Changes information about the DomainName resource.
5092 5093 5094 5095 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5092 def update_domain_name(params = {}, = {}) req = build_request(:update_domain_name, params) req.send_request() end |
#update_gateway_response(params = {}) ⇒ Types::GatewayResponse
Updates a GatewayResponse of a specified response type on the given RestApi.
5165 5166 5167 5168 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5165 def update_gateway_response(params = {}, = {}) req = build_request(:update_gateway_response, params) req.send_request() end |
#update_integration(params = {}) ⇒ Types::Integration
Represents an update integration.
5241 5242 5243 5244 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5241 def update_integration(params = {}, = {}) req = build_request(:update_integration, params) req.send_request() end |
#update_integration_response(params = {}) ⇒ Types::IntegrationResponse
Represents an update integration response.
5302 5303 5304 5305 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5302 def update_integration_response(params = {}, = {}) req = build_request(:update_integration_response, params) req.send_request() end |
#update_method(params = {}) ⇒ Types::Method
Updates an existing Method resource.
5393 5394 5395 5396 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5393 def update_method(params = {}, = {}) req = build_request(:update_method, params) req.send_request() end |
#update_method_response(params = {}) ⇒ Types::MethodResponse
Updates an existing MethodResponse resource.
5449 5450 5451 5452 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5449 def update_method_response(params = {}, = {}) req = build_request(:update_method_response, params) req.send_request() end |
#update_model(params = {}) ⇒ Types::Model
Changes information about a model.
5499 5500 5501 5502 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5499 def update_model(params = {}, = {}) req = build_request(:update_model, params) req.send_request() end |
#update_request_validator(params = {}) ⇒ Types::RequestValidator
Updates a RequestValidator of a given RestApi.
5547 5548 5549 5550 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5547 def update_request_validator(params = {}, = {}) req = build_request(:update_request_validator, params) req.send_request() end |
#update_resource(params = {}) ⇒ Types::Resource
Changes information about a Resource resource.
5634 5635 5636 5637 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5634 def update_resource(params = {}, = {}) req = build_request(:update_resource, params) req.send_request() end |
#update_rest_api(params = {}) ⇒ Types::RestApi
Changes information about the specified API.
5686 5687 5688 5689 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5686 def update_rest_api(params = {}, = {}) req = build_request(:update_rest_api, params) req.send_request() end |
#update_stage(params = {}) ⇒ Types::Stage
Changes information about a Stage resource.
5761 5762 5763 5764 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5761 def update_stage(params = {}, = {}) req = build_request(:update_stage, params) req.send_request() end |
#update_usage(params = {}) ⇒ Types::Usage
Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
5816 5817 5818 5819 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5816 def update_usage(params = {}, = {}) req = build_request(:update_usage, params) req.send_request() end |
#update_usage_plan(params = {}) ⇒ Types::UsagePlan
Updates a usage plan of a given plan Id.
5871 5872 5873 5874 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5871 def update_usage_plan(params = {}, = {}) req = build_request(:update_usage_plan, 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.
5895 5896 5897 |
# File 'lib/aws-sdk-apigateway/client.rb', line 5895 def waiter_names [] end |