aws-elixir v0.1.0 AWS.APIGateway

Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

Summary

Functions

Adds a new Authorizer resource to an existing RestApi resource

Creates a Deployment resource, which makes a specified RestApi callable over the internet

Adds a new Model resource to an existing RestApi resource

Creates a new RestApi resource

Creates a new Stage resource that references a pre-existing Deployment for the API

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it

Generates a ClientCertificate resource

Gets information about the current Account resource

Gets information about the current ApiKey resource

Gets information about the current ApiKeys resource

Describe an existing Authorizers resource

Represents a collection of BasePathMapping resources

Gets information about the current ClientCertificate resource

Gets a collection of ClientCertificate resources

Gets information about a Deployment resource

Gets information about a Deployments collection

Represents a domain name that is contained in a simpler, more intuitive URL that can be called

Represents a collection of DomainName resources

Exports a deployed version of a RestApi in a specified format

Describes an existing model defined for a RestApi resource

Generates a sample mapping template that can be used to transform a payload into the structure of a model

Describes existing Models defined for a RestApi resource

Lists information about a collection of Resource resources

Lists the RestApi resource in the collection

Lists the RestApis resources for your collection

Generates a client SDK for a RestApi and Stage

Gets information about a Stage resource

Gets information about one or more Stage resources

A feature of the Amazon API Gateway control service for creating a new API from an external API definition file

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

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body

Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body

Changes information about the current Account resource

Changes information about an ApiKey resource

Changes information about the BasePathMapping resource

Changes information about an ClientCertificate resource

Changes information about a Deployment resource

Changes information about the DomainName resource

Changes information about a Resource resource

Changes information about the specified API

Changes information about a Stage resource

Functions

create_api_key(client, input, options \\ [])

Create an ApiKey resource.

create_authorizer(client, rest_api_id, input, options \\ [])

Adds a new Authorizer resource to an existing RestApi resource.

create_base_path_mapping(client, domain_name, input, options \\ [])

Creates a new BasePathMapping resource.

create_deployment(client, rest_api_id, input, options \\ [])

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

create_domain_name(client, input, options \\ [])

Creates a new domain name.

create_model(client, rest_api_id, input, options \\ [])

Adds a new Model resource to an existing RestApi resource.

create_resource(client, parent_id, rest_api_id, input, options \\ [])

Creates a Resource resource.

create_rest_api(client, input, options \\ [])

Creates a new RestApi resource.

create_stage(client, rest_api_id, input, options \\ [])

Creates a new Stage resource that references a pre-existing Deployment for the API.

delete_api_key(client, api_key, input, options \\ [])

Deletes the ApiKey resource.

delete_authorizer(client, authorizer_id, rest_api_id, input, options \\ [])

Deletes an existing Authorizer resource.

delete_base_path_mapping(client, base_path, domain_name, input, options \\ [])

Deletes the BasePathMapping resource.

delete_client_certificate(client, client_certificate_id, input, options \\ [])

Deletes the ClientCertificate resource.

delete_deployment(client, deployment_id, rest_api_id, input, options \\ [])

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

delete_domain_name(client, domain_name, input, options \\ [])

Deletes the DomainName resource.

delete_integration(client, http_method, resource_id, rest_api_id, input, options \\ [])

Represents a delete integration.

delete_integration_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Represents a delete integration response.

delete_method(client, http_method, resource_id, rest_api_id, input, options \\ [])

Deletes an existing Method resource.

delete_method_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Deletes an existing MethodResponse resource.

delete_model(client, model_name, rest_api_id, input, options \\ [])

Deletes a model.

delete_resource(client, resource_id, rest_api_id, input, options \\ [])

Deletes a Resource resource.

delete_rest_api(client, rest_api_id, input, options \\ [])

Deletes the specified API.

delete_stage(client, rest_api_id, stage_name, input, options \\ [])

Deletes a Stage resource.

flush_stage_authorizers_cache(client, rest_api_id, stage_name, input, options \\ [])

Flushes all authorizer cache entries on a stage.

flush_stage_cache(client, rest_api_id, stage_name, input, options \\ [])

Flushes a stage’s cache.

generate_client_certificate(client, input, options \\ [])

Generates a ClientCertificate resource.

get_account(client, options \\ [])

Gets information about the current Account resource.

get_api_key(client, api_key, options \\ [])

Gets information about the current ApiKey resource.

get_api_keys(client, options \\ [])

Gets information about the current ApiKeys resource.

get_authorizer(client, authorizer_id, rest_api_id, options \\ [])

Describe an existing Authorizer resource.

get_authorizers(client, rest_api_id, options \\ [])

Describe an existing Authorizers resource.

get_base_path_mapping(client, base_path, domain_name, options \\ [])

Describe a BasePathMapping resource.

get_base_path_mappings(client, domain_name, options \\ [])

Represents a collection of BasePathMapping resources.

get_client_certificate(client, client_certificate_id, options \\ [])

Gets information about the current ClientCertificate resource.

get_client_certificates(client, options \\ [])

Gets a collection of ClientCertificate resources.

get_deployment(client, deployment_id, rest_api_id, options \\ [])

Gets information about a Deployment resource.

get_deployments(client, rest_api_id, options \\ [])

Gets information about a Deployments collection.

get_domain_name(client, domain_name, options \\ [])

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

get_domain_names(client, options \\ [])

Represents a collection of DomainName resources.

get_export(client, export_type, rest_api_id, stage_name, accepts \\ nil, options \\ [])

Exports a deployed version of a RestApi in a specified format.

get_integration(client, http_method, resource_id, rest_api_id, options \\ [])

Represents a get integration.

get_integration_response(client, http_method, resource_id, rest_api_id, status_code, options \\ [])

Represents a get integration response.

get_method(client, http_method, resource_id, rest_api_id, options \\ [])

Describe an existing Method resource.

get_method_response(client, http_method, resource_id, rest_api_id, status_code, options \\ [])

Describes a MethodResponse resource.

get_model(client, model_name, rest_api_id, options \\ [])

Describes an existing model defined for a RestApi resource.

get_model_template(client, model_name, rest_api_id, options \\ [])

Generates a sample mapping template that can be used to transform a payload into the structure of a model.

get_models(client, rest_api_id, options \\ [])

Describes existing Models defined for a RestApi resource.

get_resource(client, resource_id, rest_api_id, options \\ [])

Lists information about a resource.

get_resources(client, rest_api_id, options \\ [])

Lists information about a collection of Resource resources.

get_rest_api(client, rest_api_id, options \\ [])

Lists the RestApi resource in the collection.

get_rest_apis(client, options \\ [])

Lists the RestApis resources for your collection.

get_sdk(client, rest_api_id, sdk_type, stage_name, options \\ [])

Generates a client SDK for a RestApi and Stage.

get_stage(client, rest_api_id, stage_name, options \\ [])

Gets information about a Stage resource.

get_stages(client, rest_api_id, options \\ [])

Gets information about one or more Stage resources.

import_rest_api(client, input, options \\ [])

A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.

put_integration(client, http_method, resource_id, rest_api_id, input, options \\ [])

Represents a put integration.

put_integration_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Represents a put integration.

put_method(client, http_method, resource_id, rest_api_id, input, options \\ [])

Add a method to an existing Resource resource.

put_method_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Adds a MethodResponse to an existing Method resource.

put_rest_api(client, rest_api_id, input, options \\ [])

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.

test_invoke_authorizer(client, authorizer_id, rest_api_id, input, options \\ [])

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

test_invoke_method(client, http_method, resource_id, rest_api_id, input, options \\ [])

Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.

update_account(client, input, options \\ [])

Changes information about the current Account resource.

update_api_key(client, api_key, input, options \\ [])

Changes information about an ApiKey resource.

update_authorizer(client, authorizer_id, rest_api_id, input, options \\ [])

Updates an existing Authorizer resource.

update_base_path_mapping(client, base_path, domain_name, input, options \\ [])

Changes information about the BasePathMapping resource.

update_client_certificate(client, client_certificate_id, input, options \\ [])

Changes information about an ClientCertificate resource.

update_deployment(client, deployment_id, rest_api_id, input, options \\ [])

Changes information about a Deployment resource.

update_domain_name(client, domain_name, input, options \\ [])

Changes information about the DomainName resource.

update_integration(client, http_method, resource_id, rest_api_id, input, options \\ [])

Represents an update integration.

update_integration_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Represents an update integration response.

update_method(client, http_method, resource_id, rest_api_id, input, options \\ [])

Updates an existing Method resource.

update_method_response(client, http_method, resource_id, rest_api_id, status_code, input, options \\ [])

Updates an existing MethodResponse resource.

update_model(client, model_name, rest_api_id, input, options \\ [])

Changes information about a model.

update_resource(client, resource_id, rest_api_id, input, options \\ [])

Changes information about a Resource resource.

update_rest_api(client, rest_api_id, input, options \\ [])

Changes information about the specified API.

update_stage(client, rest_api_id, stage_name, input, options \\ [])

Changes information about a Stage resource.