{ "version": "2.0", "service": "Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. 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.

", "operations": { "CreateApiKey": "

Create an ApiKey resource.

AWS CLI
", "CreateAuthorizer": "

Adds a new Authorizer resource to an existing RestApi resource.

AWS CLI
", "CreateBasePathMapping": "

Creates a new BasePathMapping resource.

", "CreateDeployment": "

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

", "CreateDocumentationPart": null, "CreateDocumentationVersion": null, "CreateDomainName": "

Creates a new domain name.

", "CreateModel": "

Adds a new Model resource to an existing RestApi resource.

", "CreateRequestValidator": "

Creates a ReqeustValidator of a given RestApi.

", "CreateResource": "

Creates a Resource resource.

", "CreateRestApi": "

Creates a new RestApi resource.

", "CreateStage": "

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

", "CreateUsagePlan": "

Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.

", "CreateUsagePlanKey": "

Creates a usage plan key for adding an existing API key to a usage plan.

", "CreateVpcLink": "

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

", "DeleteApiKey": "

Deletes the ApiKey resource.

", "DeleteAuthorizer": "

Deletes an existing Authorizer resource.

AWS CLI
", "DeleteBasePathMapping": "

Deletes the BasePathMapping resource.

", "DeleteClientCertificate": "

Deletes the ClientCertificate resource.

", "DeleteDeployment": "

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

", "DeleteDocumentationPart": null, "DeleteDocumentationVersion": null, "DeleteDomainName": "

Deletes the DomainName resource.

", "DeleteGatewayResponse": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

", "DeleteIntegration": "

Represents a delete integration.

", "DeleteIntegrationResponse": "

Represents a delete integration response.

", "DeleteMethod": "

Deletes an existing Method resource.

", "DeleteMethodResponse": "

Deletes an existing MethodResponse resource.

", "DeleteModel": "

Deletes a model.

", "DeleteRequestValidator": "

Deletes a RequestValidator of a given RestApi.

", "DeleteResource": "

Deletes a Resource resource.

", "DeleteRestApi": "

Deletes the specified API.

", "DeleteStage": "

Deletes a Stage resource.

", "DeleteUsagePlan": "

Deletes a usage plan of a given plan Id.

", "DeleteUsagePlanKey": "

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

", "DeleteVpcLink": "

Deletes an existing VpcLink of a specified identifier.

", "FlushStageAuthorizersCache": "

Flushes all authorizer cache entries on a stage.

", "FlushStageCache": "

Flushes a stage's cache.

", "GenerateClientCertificate": "

Generates a ClientCertificate resource.

", "GetAccount": "

Gets information about the current Account resource.

", "GetApiKey": "

Gets information about the current ApiKey resource.

", "GetApiKeys": "

Gets information about the current ApiKeys resource.

", "GetAuthorizer": "

Describe an existing Authorizer resource.

AWS CLI
", "GetAuthorizers": "

Describe an existing Authorizers resource.

AWS CLI
", "GetBasePathMapping": "

Describe a BasePathMapping resource.

", "GetBasePathMappings": "

Represents a collection of BasePathMapping resources.

", "GetClientCertificate": "

Gets information about the current ClientCertificate resource.

", "GetClientCertificates": "

Gets a collection of ClientCertificate resources.

", "GetDeployment": "

Gets information about a Deployment resource.

", "GetDeployments": "

Gets information about a Deployments collection.

", "GetDocumentationPart": null, "GetDocumentationParts": null, "GetDocumentationVersion": null, "GetDocumentationVersions": null, "GetDomainName": "

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

", "GetDomainNames": "

Represents a collection of DomainName resources.

", "GetExport": "

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

", "GetGatewayResponse": "

Gets a GatewayResponse of a specified response type on the given RestApi.

", "GetGatewayResponses": "

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 API Gateway-generated default GatewayResponses collection for the supported response types.

", "GetIntegration": "

Get the integration settings.

", "GetIntegrationResponse": "

Represents a get integration response.

", "GetMethod": "

Describe an existing Method resource.

", "GetMethodResponse": "

Describes a MethodResponse resource.

", "GetModel": "

Describes an existing model defined for a RestApi resource.

", "GetModelTemplate": "

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

", "GetModels": "

Describes existing Models defined for a RestApi resource.

", "GetRequestValidator": "

Gets a RequestValidator of a given RestApi.

", "GetRequestValidators": "

Gets the RequestValidators collection of a given RestApi.

", "GetResource": "

Lists information about a resource.

", "GetResources": "

Lists information about a collection of Resource resources.

", "GetRestApi": "

Lists the RestApi resource in the collection.

", "GetRestApis": "

Lists the RestApis resources for your collection.

", "GetSdk": "

Generates a client SDK for a RestApi and Stage.

", "GetSdkType": null, "GetSdkTypes": null, "GetStage": "

Gets information about a Stage resource.

", "GetStages": "

Gets information about one or more Stage resources.

", "GetUsage": "

Gets the usage data of a usage plan in a specified time interval.

", "GetUsagePlan": "

Gets a usage plan of a given plan identifier.

", "GetUsagePlanKey": "

Gets a usage plan key of a given key identifier.

", "GetUsagePlanKeys": "

Gets all the usage plan keys representing the API keys added to a specified usage plan.

", "GetUsagePlans": "

Gets all the usage plans of the caller's account.

", "GetVpcLink": "

Gets a specified VPC link under the caller's account in a region.

", "GetVpcLinks": "

Gets the VpcLinks collection under the caller's account in a selected region.

", "ImportApiKeys": "

Import API keys from an external source, such as a CSV-formatted file.

", "ImportDocumentationParts": null, "ImportRestApi": "

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

", "PutGatewayResponse": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

", "PutIntegration": "

Sets up a method's integration.

", "PutIntegrationResponse": "

Represents a put integration.

", "PutMethod": "

Add a method to an existing Resource resource.

", "PutMethodResponse": "

Adds a MethodResponse to an existing Method resource.

", "PutRestApi": "

A feature of the 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.

", "TestInvokeAuthorizer": "

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

Enable custom authorizers
", "TestInvokeMethod": "

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

", "UpdateAccount": "

Changes information about the current Account resource.

", "UpdateApiKey": "

Changes information about an ApiKey resource.

", "UpdateAuthorizer": "

Updates an existing Authorizer resource.

AWS CLI
", "UpdateBasePathMapping": "

Changes information about the BasePathMapping resource.

", "UpdateClientCertificate": "

Changes information about an ClientCertificate resource.

", "UpdateDeployment": "

Changes information about a Deployment resource.

", "UpdateDocumentationPart": null, "UpdateDocumentationVersion": null, "UpdateDomainName": "

Changes information about the DomainName resource.

", "UpdateGatewayResponse": "

Updates a GatewayResponse of a specified response type on the given RestApi.

", "UpdateIntegration": "

Represents an update integration.

", "UpdateIntegrationResponse": "

Represents an update integration response.

", "UpdateMethod": "

Updates an existing Method resource.

", "UpdateMethodResponse": "

Updates an existing MethodResponse resource.

", "UpdateModel": "

Changes information about a model.

", "UpdateRequestValidator": "

Updates a RequestValidator of a given RestApi.

", "UpdateResource": "

Changes information about a Resource resource.

", "UpdateRestApi": "

Changes information about the specified API.

", "UpdateStage": "

Changes information about a Stage resource.

", "UpdateUsage": "

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

", "UpdateUsagePlan": "

Updates a usage plan of a given plan Id.

", "UpdateVpcLink": "

Updates an existing VpcLink of a specified identifier.

" }, "shapes": { "AccessLogSettings": { "base": "

Access log settings, including the access log format and access log destination ARN.

", "refs": { "Stage$accessLogSettings": "

Settings for logging access in this stage.

" } }, "Account": { "base": "

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes

The following exception may be thrown when the request fails.

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account.

Request
GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} 
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html\", \"name\": \"account\", \"templated\": true }, \"self\": { \"href\": \"/account\" }, \"account:update\": { \"href\": \"/account\" } }, \"cloudwatchRoleArn\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"throttleSettings\": { \"rateLimit\": 500, \"burstLimit\": 1000 } } 

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide, AWS CLI
", "refs": { } }, "ApiKey": { "base": "

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys
", "refs": { "ListOfApiKey$member": null } }, "ApiKeyIds": { "base": "

The identifier of an ApiKey used in a UsagePlan.

", "refs": { } }, "ApiKeys": { "base": "

Represents a collection of API keys as represented by an ApiKeys resource.

Use API Keys
", "refs": { } }, "ApiKeysFormat": { "base": null, "refs": { "ImportApiKeysRequest$format": "

A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

" } }, "ApiStage": { "base": "

API stage name of the associated API stage in a usage plan.

", "refs": { "ListOfApiStage$member": null } }, "Authorizer": { "base": "

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Enable custom authorization
", "refs": { "ListOfAuthorizer$member": null } }, "AuthorizerType": { "base": "

[Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

", "refs": { "Authorizer$type": "

[Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

", "CreateAuthorizerRequest$type": "

[Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

" } }, "Authorizers": { "base": "

Represents a collection of Authorizer resources.

Enable custom authorization
", "refs": { } }, "BadRequestException": { "base": "

The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

", "refs": { } }, "BasePathMapping": { "base": "

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.
Use Custom Domain Names
", "refs": { "ListOfBasePathMapping$member": null } }, "BasePathMappings": { "base": "

Represents a collection of BasePathMapping resources.

Use Custom Domain Names
", "refs": { } }, "Blob": { "base": null, "refs": { "ExportResponse$body": "

The binary blob response to GetExport, which contains the export.

", "ImportApiKeysRequest$body": "

The payload of the POST request to import API keys. For the payload format, see API Key File Format.

", "ImportDocumentationPartsRequest$body": "

[Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object.

", "ImportRestApiRequest$body": "

The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported. The maximum size of the API definition file is 2MB.

", "PutRestApiRequest$body": "

The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported. The maximum size of the API definition file is 2MB.

", "SdkResponse$body": "

The binary blob response to GetSdk, which contains the generated SDK.

" } }, "Boolean": { "base": null, "refs": { "ApiKey$enabled": "

Specifies whether the API Key can be used by callers.

", "CanarySettings$useStageCache": "

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

", "CreateApiKeyRequest$enabled": "

Specifies whether the ApiKey can be used by callers.

", "CreateApiKeyRequest$generateDistinctId": "

Specifies whether (true) or not (false) the key identifier is distinct from the created API key value.

", "CreateRequestValidatorRequest$validateRequestBody": "

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

", "CreateRequestValidatorRequest$validateRequestParameters": "

A Boolean flag to indicate whether to validate request parameters, true, or not false.

", "CreateStageRequest$cacheClusterEnabled": "

Whether cache clustering is enabled for the stage.

", "DeploymentCanarySettings$useStageCache": "

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

", "GatewayResponse$defaultResponse": "

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

", "GetModelRequest$flatten": "

A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

", "ImportApiKeysRequest$failOnWarnings": "

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

", "ImportDocumentationPartsRequest$failOnWarnings": "

A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.

", "ImportRestApiRequest$failOnWarnings": "

A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.

", "MethodSetting$metricsEnabled": "

Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

", "MethodSetting$dataTraceEnabled": "

Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

", "MethodSetting$cachingEnabled": "

Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

", "MethodSetting$cacheDataEncrypted": "

Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

", "MethodSetting$requireAuthorizationForCacheControl": "

Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

", "MethodSnapshot$apiKeyRequired": "

Specifies whether the method requires a valid ApiKey.

", "PutMethodRequest$apiKeyRequired": "

Specifies whether the method required a valid ApiKey.

", "PutRestApiRequest$failOnWarnings": "

A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.

", "RequestValidator$validateRequestBody": "

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

", "RequestValidator$validateRequestParameters": "

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

", "SdkConfigurationProperty$required": "

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

", "Stage$cacheClusterEnabled": "

Specifies whether a cache cluster is enabled for the stage.

" } }, "CacheClusterSize": { "base": "

Returns the size of the CacheCluster.

", "refs": { "CreateDeploymentRequest$cacheClusterSize": "

Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.

", "CreateStageRequest$cacheClusterSize": "

The stage's cache cluster size.

", "Stage$cacheClusterSize": "

The size of the cache cluster for the stage, if enabled.

" } }, "CacheClusterStatus": { "base": "

Returns the status of the CacheCluster.

", "refs": { "Stage$cacheClusterStatus": "

The status of the cache cluster for the stage, if enabled.

" } }, "CanarySettings": { "base": "

Configuration settings of a canary deployment.

", "refs": { "CreateStageRequest$canarySettings": "

The canary deployment settings of this stage.

", "Stage$canarySettings": "

Settings for the canary deployment in this stage.

" } }, "ClientCertificate": { "base": "

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.
Use Client-Side Certificate
", "refs": { "ListOfClientCertificate$member": null } }, "ClientCertificates": { "base": "

Represents a collection of ClientCertificate resources.

Use Client-Side Certificate
", "refs": { } }, "ConflictException": { "base": "

The request configuration has conflicts. For details, see the accompanying error message.

", "refs": { } }, "ConnectionType": { "base": null, "refs": { "Integration$connectionType": "

The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and an network load balancer in a VPC. The default value is INTERNET.

", "PutIntegrationRequest$connectionType": "

The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and an network load balancer in a VPC. The default value is INTERNET.

" } }, "ContentHandlingStrategy": { "base": null, "refs": { "Integration$contentHandling": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

", "IntegrationResponse$contentHandling": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

", "PutIntegrationRequest$contentHandling": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

", "PutIntegrationResponseRequest$contentHandling": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" } }, "CreateApiKeyRequest": { "base": "

Request to create an ApiKey resource.

", "refs": { } }, "CreateAuthorizerRequest": { "base": "

Request to add a new Authorizer to an existing RestApi resource.

", "refs": { } }, "CreateBasePathMappingRequest": { "base": "

Requests API Gateway to create a new BasePathMapping resource.

", "refs": { } }, "CreateDeploymentRequest": { "base": "

Requests API Gateway to create a Deployment resource.

", "refs": { } }, "CreateDocumentationPartRequest": { "base": "

Creates a new documentation part of a given API.

", "refs": { } }, "CreateDocumentationVersionRequest": { "base": "

Creates a new documentation version of a given API.

", "refs": { } }, "CreateDomainNameRequest": { "base": "

A request to create a new domain name.

", "refs": { } }, "CreateModelRequest": { "base": "

Request to add a new Model to an existing RestApi resource.

", "refs": { } }, "CreateRequestValidatorRequest": { "base": "

Creates a RequestValidator of a given RestApi.

", "refs": { } }, "CreateResourceRequest": { "base": "

Requests API Gateway to create a Resource resource.

", "refs": { } }, "CreateRestApiRequest": { "base": "

The POST Request to add a new RestApi resource to your collection.

", "refs": { } }, "CreateStageRequest": { "base": "

Requests API Gateway to create a Stage resource.

", "refs": { } }, "CreateUsagePlanKeyRequest": { "base": "

The POST request to create a usage plan key for adding an existing API key to a usage plan.

", "refs": { } }, "CreateUsagePlanRequest": { "base": "

The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.

", "refs": { } }, "CreateVpcLinkRequest": { "base": "

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

", "refs": { } }, "DeleteApiKeyRequest": { "base": "

A request to delete the ApiKey resource.

", "refs": { } }, "DeleteAuthorizerRequest": { "base": "

Request to delete an existing Authorizer resource.

", "refs": { } }, "DeleteBasePathMappingRequest": { "base": "

A request to delete the BasePathMapping resource.

", "refs": { } }, "DeleteClientCertificateRequest": { "base": "

A request to delete the ClientCertificate resource.

", "refs": { } }, "DeleteDeploymentRequest": { "base": "

Requests API Gateway to delete a Deployment resource.

", "refs": { } }, "DeleteDocumentationPartRequest": { "base": "

Deletes an existing documentation part of an API.

", "refs": { } }, "DeleteDocumentationVersionRequest": { "base": "

Deletes an existing documentation version of an API.

", "refs": { } }, "DeleteDomainNameRequest": { "base": "

A request to delete the DomainName resource.

", "refs": { } }, "DeleteGatewayResponseRequest": { "base": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

", "refs": { } }, "DeleteIntegrationRequest": { "base": "

Represents a delete integration request.

", "refs": { } }, "DeleteIntegrationResponseRequest": { "base": "

Represents a delete integration response request.

", "refs": { } }, "DeleteMethodRequest": { "base": "

Request to delete an existing Method resource.

", "refs": { } }, "DeleteMethodResponseRequest": { "base": "

A request to delete an existing MethodResponse resource.

", "refs": { } }, "DeleteModelRequest": { "base": "

Request to delete an existing model in an existing RestApi resource.

", "refs": { } }, "DeleteRequestValidatorRequest": { "base": "

Deletes a specified RequestValidator of a given RestApi.

", "refs": { } }, "DeleteResourceRequest": { "base": "

Request to delete a Resource.

", "refs": { } }, "DeleteRestApiRequest": { "base": "

Request to delete the specified API from your collection.

", "refs": { } }, "DeleteStageRequest": { "base": "

Requests API Gateway to delete a Stage resource.

", "refs": { } }, "DeleteUsagePlanKeyRequest": { "base": "

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

", "refs": { } }, "DeleteUsagePlanRequest": { "base": "

The DELETE request to delete a usage plan of a given plan Id.

", "refs": { } }, "DeleteVpcLinkRequest": { "base": "

Deletes an existing VpcLink of a specified identifier.

", "refs": { } }, "Deployment": { "base": "

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).
RestApi, Deployments, Stage, AWS CLI, AWS SDKs
", "refs": { "ListOfDeployment$member": null } }, "DeploymentCanarySettings": { "base": "

The input configuration for a canary deployment.

", "refs": { "CreateDeploymentRequest$canarySettings": "

The input configuration for the canary deployment when the deployment is a canary release deployment.

" } }, "Deployments": { "base": "

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource.
Deploying an API, AWS CLI, AWS SDKs
", "refs": { } }, "DocumentationPart": { "base": "

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the Swagger-compliant documentation fields will be injected into the associated API entity definition in the exported Swagger definition file.

Documenting an API, DocumentationParts
", "refs": { "ListOfDocumentationPart$member": null } }, "DocumentationPartIds": { "base": "

A collection of the imported DocumentationPart identifiers.

This is used to return the result when documentation parts in an external (e.g., Swagger) file are imported into API Gateway
Documenting an API, documentationpart:import, DocumentationPart
", "refs": { } }, "DocumentationPartLocation": { "base": "

Specifies the target API entity to which the documentation applies.

", "refs": { "CreateDocumentationPartRequest$location": "

[Required] The location of the targeted API entity of the to-be-created documentation part.

", "DocumentationPart$location": "

The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

" } }, "DocumentationPartLocationStatusCode": { "base": null, "refs": { "DocumentationPartLocation$statusCode": "

The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

" } }, "DocumentationPartType": { "base": null, "refs": { "DocumentationPartLocation$type": "

The type of API entity to which the documentation content applies. It is a valid and required field for API entity types of API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

", "GetDocumentationPartsRequest$type": "

The type of API entities of the to-be-retrieved documentation parts.

" } }, "DocumentationParts": { "base": "

The collection of documentation parts of an API.

Documenting an API, DocumentationPart
", "refs": { } }, "DocumentationVersion": { "base": "

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.

Documenting an API, DocumentationPart, DocumentationVersions
", "refs": { "ListOfDocumentationVersion$member": null } }, "DocumentationVersions": { "base": "

The collection of documentation snapshots of an API.

Use the DocumentationVersions to manage documentation snapshots associated with various API stages.

Documenting an API, DocumentationPart, DocumentationVersion
", "refs": { } }, "DomainName": { "base": "

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API
", "refs": { "ListOfDomainName$member": null } }, "DomainNames": { "base": "

Represents a collection of DomainName resources.

Use Client-Side Certificate
", "refs": { } }, "Double": { "base": null, "refs": { "CanarySettings$percentTraffic": "

The percent (0-100) of traffic diverted to a canary deployment.

", "DeploymentCanarySettings$percentTraffic": "

The percentage (0.0-100.0) of traffic routed to the canary deployment.

", "MethodSetting$throttlingRateLimit": "

Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

", "ThrottleSettings$rateLimit": "

The API request steady-state rate limit.

" } }, "EndpointConfiguration": { "base": "

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

", "refs": { "CreateDomainNameRequest$endpointConfiguration": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

", "CreateRestApiRequest$endpointConfiguration": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

", "DomainName$endpointConfiguration": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

", "RestApi$endpointConfiguration": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

" } }, "EndpointType": { "base": "

The endpoint type. The valid value is EDGE for edge-optimized API setup, most suitable for mobile applications, REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region

", "refs": { "ListOfEndpointType$member": null } }, "ExportResponse": { "base": "

The binary blob response to GetExport, which contains the generated SDK.

", "refs": { } }, "FlushStageAuthorizersCacheRequest": { "base": "

Request to flush authorizer cache entries on a specified stage.

", "refs": { } }, "FlushStageCacheRequest": { "base": "

Requests API Gateway to flush a stage's cache.

", "refs": { } }, "GatewayResponse": { "base": "

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHNETICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:delete\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": false, \"responseParameters\": { \"gatewayresponse.header.x-request-path\": \"method.request.path.petId\", \"gatewayresponse.header.Access-Control-Allow-Origin\": \"'a.b.c'\", \"gatewayresponse.header.x-request-query\": \"method.request.querystring.q\", \"gatewayresponse.header.x-request-header\": \"method.request.header.Accept\" }, \"responseTemplates\": { \"application/json\": \"{\\n \\\"message\\\": $context.error.messageString,\\n \\\"type\\\": \\\"$context.error.responseType\\\",\\n \\\"stage\\\": \\\"$context.stage\\\",\\n \\\"resourcePath\\\": \\\"$context.resourcePath\\\",\\n \\\"stageVariables.a\\\": \\\"$stageVariables.a\\\",\\n \\\"statusCode\\\": \\\"'404'\\\"\\n}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"404\" }

Customize Gateway Responses
", "refs": { "ListOfGatewayResponse$member": null } }, "GatewayResponseType": { "base": null, "refs": { "DeleteGatewayResponseRequest$responseType": "

The response type of the associated GatewayResponse. Valid values are

", "GatewayResponse$responseType": "

The response type of the associated GatewayResponse. Valid values are

", "GetGatewayResponseRequest$responseType": "

The response type of the associated GatewayResponse. Valid values are

", "PutGatewayResponseRequest$responseType": "

The response type of the associated GatewayResponse. Valid values are

", "UpdateGatewayResponseRequest$responseType": "

The response type of the associated GatewayResponse. Valid values are

" } }, "GatewayResponses": { "base": "

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get the collection of gateway responses of an API

Request

This example request shows how to retrieve the GatewayResponses collection from an API.

GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515 

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"first\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"gatewayresponse:by-type\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"item\": [ { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } ] }, \"_embedded\": { \"item\": [ { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_FAILURE\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"RESOURCE_NOT_FOUND\", \"statusCode\": \"404\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"REQUEST_TOO_LARGE\", \"statusCode\": \"413\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"THROTTLED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNSUPPORTED_MEDIA_TYPE\", \"statusCode\": \"415\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_5XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_4XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_PARAMETERS\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_BODY\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"EXPIRED_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"ACCESS_DENIED\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_API_KEY\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNAUTHORIZED\", \"statusCode\": \"401\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"API_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"QUOTA_EXCEEDED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_TIMEOUT\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_SIGNATURE\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_FAILURE\", \"statusCode\": \"500\" } ] } }

Customize Gateway Responses
", "refs": { } }, "GenerateClientCertificateRequest": { "base": "

A request to generate a ClientCertificate resource.

", "refs": { } }, "GetAccountRequest": { "base": "

Requests API Gateway to get information about the current Account resource.

", "refs": { } }, "GetApiKeyRequest": { "base": "

A request to get information about the current ApiKey resource.

", "refs": { } }, "GetApiKeysRequest": { "base": "

A request to get information about the current ApiKeys resource.

", "refs": { } }, "GetAuthorizerRequest": { "base": "

Request to describe an existing Authorizer resource.

", "refs": { } }, "GetAuthorizersRequest": { "base": "

Request to describe an existing Authorizers resource.

", "refs": { } }, "GetBasePathMappingRequest": { "base": "

Request to describe a BasePathMapping resource.

", "refs": { } }, "GetBasePathMappingsRequest": { "base": "

A request to get information about a collection of BasePathMapping resources.

", "refs": { } }, "GetClientCertificateRequest": { "base": "

A request to get information about the current ClientCertificate resource.

", "refs": { } }, "GetClientCertificatesRequest": { "base": "

A request to get information about a collection of ClientCertificate resources.

", "refs": { } }, "GetDeploymentRequest": { "base": "

Requests API Gateway to get information about a Deployment resource.

", "refs": { } }, "GetDeploymentsRequest": { "base": "

Requests API Gateway to get information about a Deployments collection.

", "refs": { } }, "GetDocumentationPartRequest": { "base": "

Gets a specified documentation part of a given API.

", "refs": { } }, "GetDocumentationPartsRequest": { "base": "

Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).

", "refs": { } }, "GetDocumentationVersionRequest": { "base": "

Gets a documentation snapshot of an API.

", "refs": { } }, "GetDocumentationVersionsRequest": { "base": "

Gets the documentation versions of an API.

", "refs": { } }, "GetDomainNameRequest": { "base": "

Request to get the name of a DomainName resource.

", "refs": { } }, "GetDomainNamesRequest": { "base": "

Request to describe a collection of DomainName resources.

", "refs": { } }, "GetExportRequest": { "base": "

Request a new export of a RestApi for a particular Stage.

", "refs": { } }, "GetGatewayResponseRequest": { "base": "

Gets a GatewayResponse of a specified response type on the given RestApi.

", "refs": { } }, "GetGatewayResponsesRequest": { "base": "

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 API Gateway-generated default GatewayResponses collection for the supported response types.

", "refs": { } }, "GetIntegrationRequest": { "base": "

Represents a request to get the integration configuration.

", "refs": { } }, "GetIntegrationResponseRequest": { "base": "

Represents a get integration response request.

", "refs": { } }, "GetMethodRequest": { "base": "

Request to describe an existing Method resource.

", "refs": { } }, "GetMethodResponseRequest": { "base": "

Request to describe a MethodResponse resource.

", "refs": { } }, "GetModelRequest": { "base": "

Request to list information about a model in an existing RestApi resource.

", "refs": { } }, "GetModelTemplateRequest": { "base": "

Request to generate a sample mapping template used to transform the payload.

", "refs": { } }, "GetModelsRequest": { "base": "

Request to list existing Models defined for a RestApi resource.

", "refs": { } }, "GetRequestValidatorRequest": { "base": "

Gets a RequestValidator of a given RestApi.

", "refs": { } }, "GetRequestValidatorsRequest": { "base": "

Gets the RequestValidators collection of a given RestApi.

", "refs": { } }, "GetResourceRequest": { "base": "

Request to list information about a resource.

", "refs": { } }, "GetResourcesRequest": { "base": "

Request to list information about a collection of resources.

", "refs": { } }, "GetRestApiRequest": { "base": "

The GET request to list an existing RestApi defined for your collection.

", "refs": { } }, "GetRestApisRequest": { "base": "

The GET request to list existing RestApis defined for your collection.

", "refs": { } }, "GetSdkRequest": { "base": "

Request a new generated client SDK for a RestApi and Stage.

", "refs": { } }, "GetSdkTypeRequest": { "base": "

Get an SdkType instance.

", "refs": { } }, "GetSdkTypesRequest": { "base": "

Get the SdkTypes collection.

", "refs": { } }, "GetStageRequest": { "base": "

Requests API Gateway to get information about a Stage resource.

", "refs": { } }, "GetStagesRequest": { "base": "

Requests API Gateway to get information about one or more Stage resources.

", "refs": { } }, "GetUsagePlanKeyRequest": { "base": "

The GET request to get a usage plan key of a given key identifier.

", "refs": { } }, "GetUsagePlanKeysRequest": { "base": "

The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.

", "refs": { } }, "GetUsagePlanRequest": { "base": "

The GET request to get a usage plan of a given plan identifier.

", "refs": { } }, "GetUsagePlansRequest": { "base": "

The GET request to get all the usage plans of the caller's account.

", "refs": { } }, "GetUsageRequest": { "base": "

The GET request to get the usage data of a usage plan in a specified time interval.

", "refs": { } }, "GetVpcLinkRequest": { "base": "

Gets a specified VPC link under the caller's account in a region.

", "refs": { } }, "GetVpcLinksRequest": { "base": "

Gets the VpcLinks collection under the caller's account in a selected region.

", "refs": { } }, "ImportApiKeysRequest": { "base": "

The POST request to import API keys from an external source, such as a CSV-formatted file.

", "refs": { } }, "ImportDocumentationPartsRequest": { "base": "

Import documentation parts from an external (e.g., Swagger) definition file.

", "refs": { } }, "ImportRestApiRequest": { "base": "

A POST request to import an API to API Gateway using an input of an API definition file.

", "refs": { } }, "Integer": { "base": null, "refs": { "Integration$timeoutInMillis": "

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

", "MethodSetting$throttlingBurstLimit": "

Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

", "MethodSetting$cacheTtlInSeconds": "

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

", "QuotaSettings$limit": "

The maximum number of requests that can be made in a given time period.

", "QuotaSettings$offset": "

The number of requests subtracted from the given limit in the initial time period.

", "TestInvokeAuthorizerResponse$clientStatus": "

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

", "TestInvokeMethodResponse$status": "

The HTTP status code.

", "ThrottleSettings$burstLimit": "

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

" } }, "Integration": { "base": "

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.
Creating an API
", "refs": { "Method$methodIntegration": "

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request

GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": [ { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"0cjtch\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestTemplates\": { \"application/json\": \"{\\n \\\"a\\\": \\\"$input.params('operand1')\\\",\\n \\\"b\\\": \\\"$input.params('operand2')\\\", \\n \\\"op\\\": \\\"$input.params('operator')\\\" \\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.operator\": \"integration.response.body.op\", \"method.response.header.operand_2\": \"integration.response.body.b\", \"method.response.header.operand_1\": \"integration.response.body.a\" }, \"responseTemplates\": { \"application/json\": \"#set($res = $input.path('$'))\\n{\\n \\\"result\\\": \\\"$res.a, $res.b, $res.op => $res.c\\\",\\n \\\"a\\\" : \\\"$res.a\\\",\\n \\\"b\\\" : \\\"$res.b\\\",\\n \\\"op\\\" : \\\"$res.op\\\",\\n \\\"c\\\" : \\\"$res.c\\\"\\n}\" }, \"selectionPattern\": \"\", \"statusCode\": \"200\" } } }

AWS CLI
" } }, "IntegrationResponse": { "base": "

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API
", "refs": { "MapOfIntegrationResponse$value": null } }, "IntegrationType": { "base": "

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

", "refs": { "Integration$type": "

Specifies an API method integration type. The valid value is one of the following:

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

", "PutIntegrationRequest$type": "

Specifies a put integration input's type.

" } }, "LimitExceededException": { "base": "

The request exceeded the rate limit. Retry after the specified time period.

", "refs": { } }, "ListOfARNs": { "base": null, "refs": { "Authorizer$providerARNs": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

", "CreateAuthorizerRequest$providerARNs": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" } }, "ListOfApiKey": { "base": null, "refs": { "ApiKeys$items": "

The current page of elements from this collection.

" } }, "ListOfApiStage": { "base": null, "refs": { "CreateUsagePlanRequest$apiStages": "

The associated API stages of the usage plan.

", "UsagePlan$apiStages": "

The associated API stages of a usage plan.

" } }, "ListOfAuthorizer": { "base": null, "refs": { "Authorizers$items": "

The current page of elements from this collection.

" } }, "ListOfBasePathMapping": { "base": null, "refs": { "BasePathMappings$items": "

The current page of elements from this collection.

" } }, "ListOfClientCertificate": { "base": null, "refs": { "ClientCertificates$items": "

The current page of elements from this collection.

" } }, "ListOfDeployment": { "base": null, "refs": { "Deployments$items": "

The current page of elements from this collection.

" } }, "ListOfDocumentationPart": { "base": null, "refs": { "DocumentationParts$items": "

The current page of elements from this collection.

" } }, "ListOfDocumentationVersion": { "base": null, "refs": { "DocumentationVersions$items": "

The current page of elements from this collection.

" } }, "ListOfDomainName": { "base": null, "refs": { "DomainNames$items": "

The current page of elements from this collection.

" } }, "ListOfEndpointType": { "base": null, "refs": { "EndpointConfiguration$types": "

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is \"EDGE\". For a regional API and its custom domain name, the endpoint type is REGIONAL.

" } }, "ListOfGatewayResponse": { "base": null, "refs": { "GatewayResponses$items": "

Returns the entire collection, because of no pagination support.

" } }, "ListOfLong": { "base": null, "refs": { "ListOfUsage$member": null } }, "ListOfModel": { "base": null, "refs": { "Models$items": "

The current page of elements from this collection.

" } }, "ListOfPatchOperation": { "base": "A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.", "refs": { "UpdateAccountRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateApiKeyRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateAuthorizerRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateBasePathMappingRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateClientCertificateRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateDeploymentRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateDocumentationPartRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateDocumentationVersionRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateDomainNameRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateGatewayResponseRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateIntegrationRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateIntegrationResponseRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateMethodRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateMethodResponseRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateModelRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateRequestValidatorRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateResourceRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateRestApiRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateStageRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateUsagePlanRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateUsageRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

", "UpdateVpcLinkRequest$patchOperations": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "ListOfRequestValidator": { "base": null, "refs": { "RequestValidators$items": "

The current page of elements from this collection.

" } }, "ListOfResource": { "base": null, "refs": { "Resources$items": "

The current page of elements from this collection.

" } }, "ListOfRestApi": { "base": null, "refs": { "RestApis$items": "

The current page of elements from this collection.

" } }, "ListOfSdkConfigurationProperty": { "base": null, "refs": { "SdkType$configurationProperties": "

A list of configuration properties of an SdkType.

" } }, "ListOfSdkType": { "base": null, "refs": { "SdkTypes$items": "

The current page of elements from this collection.

" } }, "ListOfStage": { "base": null, "refs": { "Stages$item": "

The current page of elements from this collection.

" } }, "ListOfStageKeys": { "base": null, "refs": { "CreateApiKeyRequest$stageKeys": "

DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

" } }, "ListOfString": { "base": null, "refs": { "Account$features": "

A list of features supported for the account. When usage plans are enabled, the features list will include an entry of \"UsagePlans\".

", "ApiKey$stageKeys": "

A list of Stage resources that are associated with the ApiKey resource.

", "ApiKeyIds$ids": "

A list of all the ApiKey identifiers.

", "ApiKeyIds$warnings": "

A list of warning messages.

", "ApiKeys$warnings": "

A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

", "CreateRestApiRequest$binaryMediaTypes": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

", "CreateVpcLinkRequest$targetArns": "

[Required] The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

", "DocumentationPartIds$ids": "

A list of the returned documentation part identifiers.

", "DocumentationPartIds$warnings": "

A list of warning messages reported during import of documentation parts.

", "GetDeploymentRequest$embed": "

A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the \"apisummary\" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.

", "GetResourceRequest$embed": "

A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

", "GetResourcesRequest$embed": "

A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

", "Integration$cacheKeyParameters": "

Specifies the integration's cache key parameters.

", "MapOfStringToList$value": null, "PutIntegrationRequest$cacheKeyParameters": "

Specifies a put integration input's cache key parameters.

", "RestApi$warnings": "

The warning messages reported when failonwarnings is turned on during API import.

", "RestApi$binaryMediaTypes": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

", "VpcLink$targetArns": "

The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

" } }, "ListOfUsage": { "base": null, "refs": { "MapOfKeyUsages$value": null } }, "ListOfUsagePlan": { "base": null, "refs": { "UsagePlans$items": "

The current page of elements from this collection.

" } }, "ListOfUsagePlanKey": { "base": null, "refs": { "UsagePlanKeys$items": "

The current page of elements from this collection.

" } }, "ListOfVpcLink": { "base": null, "refs": { "VpcLinks$items": "

The current page of elements from this collection.

" } }, "LocationStatusType": { "base": null, "refs": { "GetDocumentationPartsRequest$locationStatus": "

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.

" } }, "Long": { "base": null, "refs": { "ListOfLong$member": null, "TestInvokeAuthorizerResponse$latency": "

The execution latency of the test authorizer request.

", "TestInvokeMethodResponse$latency": "

The execution latency of the test invoke request.

" } }, "MapOfHeaderValues": { "base": null, "refs": { "TestInvokeAuthorizerRequest$headers": "

[Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

", "TestInvokeMethodRequest$headers": "

A key-value map of headers to simulate an incoming invocation request.

", "TestInvokeMethodResponse$headers": "

The headers of the HTTP response.

" } }, "MapOfIntegrationResponse": { "base": null, "refs": { "Integration$integrationResponses": "

Specifies the integration's responses.

Example: Get integration responses of a method

Request

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} 
Response

The successful response returns 200 OK status and a payload as follows:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\" }, \"statusCode\": \"200\" }

Creating an API
" } }, "MapOfKeyUsages": { "base": null, "refs": { "Usage$items": "

The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., \"values\" : { \"{api_key}\" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

" } }, "MapOfMethod": { "base": null, "refs": { "Resource$resourceMethods": "

Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ \"_links\": { \"curies\": [ { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\", \"name\": \"GET\", \"title\": \"GET\" }, \"integration:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"method:integration\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"method:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"methodresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\", \"templated\": true } }, \"apiKeyRequired\": false, \"authorizationType\": \"NONE\", \"httpMethod\": \"GET\", \"_embedded\": { \"method:integration\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"3kzxbg5sa2\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestParameters\": { \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\" }, \"requestTemplates\": { \"application/json\": \"{\\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\" }, \"statusCode\": \"200\" } } }, \"method:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

" } }, "MapOfMethodResponse": { "base": null, "refs": { "Method$methodResponses": "

Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request

GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.operator\": false, \"method.response.header.operand_2\": false, \"method.response.header.operand_1\": false }, \"statusCode\": \"200\" }

AWS CLI
" } }, "MapOfMethodSettings": { "base": null, "refs": { "Stage$methodSettings": "

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\\*/\\* for overriding all methods in the stage.

" } }, "MapOfMethodSnapshot": { "base": null, "refs": { "PathToMapOfMethodSnapshot$value": null } }, "MapOfStringToBoolean": { "base": null, "refs": { "Method$requestParameters": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

", "MethodResponse$responseParameters": "

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

", "PutMethodRequest$requestParameters": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.

", "PutMethodResponseRequest$responseParameters": "

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

" } }, "MapOfStringToList": { "base": null, "refs": { "TestInvokeAuthorizerResponse$authorization": null } }, "MapOfStringToString": { "base": null, "refs": { "CanarySettings$stageVariableOverrides": "

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

", "CreateDeploymentRequest$variables": "

A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

", "CreateStageRequest$variables": "

A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

", "DeploymentCanarySettings$stageVariableOverrides": "

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

", "GatewayResponse$responseParameters": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

", "GatewayResponse$responseTemplates": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

", "GetExportRequest$parameters": "

A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType swagger, any combination of the following parameters are supported: integrations will export the API with x-amazon-apigateway-integration extensions. authorizers will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool

", "GetSdkRequest$parameters": "

A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.

", "ImportRestApiRequest$parameters": "

A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.

To exclude DocumentationParts from the import, set parameters as ignore=documentation.

To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE orendpointConfigurationTypes=REGIONAL. The default endpoint type is EDGE.

To handle imported basePath, set parameters as basePath=ignore, basePath=prepend or basePath=split.

For example, the AWS CLI command to exclude documentation from the imported API is:

aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json

The AWS CLI command to set the regional endpoint on the imported API is:

aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json
", "Integration$requestParameters": "

A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

", "Integration$requestTemplates": "

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

", "IntegrationResponse$responseParameters": "

A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

", "IntegrationResponse$responseTemplates": "

Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

", "Method$requestModels": "

A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

", "MethodResponse$responseModels": "

Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

", "PutGatewayResponseRequest$responseParameters": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

", "PutGatewayResponseRequest$responseTemplates": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

", "PutIntegrationRequest$requestParameters": "

A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

", "PutIntegrationRequest$requestTemplates": "

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

", "PutIntegrationResponseRequest$responseParameters": "

A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name must be a valid and unique response header name and JSON-expression a valid JSON expression without the $ prefix.

", "PutIntegrationResponseRequest$responseTemplates": "

Specifies a put integration response's templates.

", "PutMethodRequest$requestModels": "

Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.

", "PutMethodResponseRequest$responseModels": "

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

", "PutRestApiRequest$parameters": "

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json.

", "Stage$variables": "

A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

", "TestInvokeAuthorizerRequest$stageVariables": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

", "TestInvokeAuthorizerRequest$additionalContext": "

[Optional] A key-value map of additional context variables.

", "TestInvokeAuthorizerResponse$claims": "

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

", "TestInvokeMethodRequest$stageVariables": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" } }, "Method": { "base": "

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": [ { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\", \"name\": \"GET\", \"title\": \"GET\" }, \"integration:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"method:integration\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"method:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"methodresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\", \"templated\": true } }, \"apiKeyRequired\": true, \"authorizationType\": \"NONE\", \"httpMethod\": \"GET\", \"_embedded\": { \"method:integration\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"3kzxbg5sa2\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestParameters\": { \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\" }, \"requestTemplates\": { \"application/json\": \"{\\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\\\")\" }, \"statusCode\": \"200\" } } }, \"method:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method
", "refs": { "MapOfMethod$value": null } }, "MethodResponse": { "base": "

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" }

Method, IntegrationResponse, Integration Creating an API
", "refs": { "MapOfMethodResponse$value": null } }, "MethodSetting": { "base": "

Specifies the method setting properties.

", "refs": { "MapOfMethodSettings$value": null } }, "MethodSnapshot": { "base": "

Represents a summary of a Method resource, given a particular date and time.

", "refs": { "MapOfMethodSnapshot$value": null } }, "Model": { "base": "

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings
", "refs": { "ListOfModel$member": null } }, "Models": { "base": "

Represents a collection of Model resources.

Method, MethodResponse, Models and Mappings
", "refs": { } }, "NotFoundException": { "base": "

The requested resource is not found. Make sure that the request URI is correct.

", "refs": { } }, "NullableBoolean": { "base": null, "refs": { "CreateDeploymentRequest$cacheClusterEnabled": "

Enables a cache cluster for the Stage resource specified in the input.

", "GetApiKeyRequest$includeValue": "

A boolean flag to specify whether (true) or not (false) the result contains the key value.

", "GetApiKeysRequest$includeValues": "

A boolean flag to specify whether (true) or not (false) the result contains key values.

", "MapOfStringToBoolean$value": null, "Method$apiKeyRequired": "

A boolean flag specifying whether a valid ApiKey is required to invoke this method.

" } }, "NullableInteger": { "base": null, "refs": { "Authorizer$authorizerResultTtlInSeconds": "

The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

", "CreateAuthorizerRequest$authorizerResultTtlInSeconds": "

The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

", "GetApiKeysRequest$limit": "

The maximum number of returned results per page.

", "GetAuthorizersRequest$limit": "

The maximum number of returned results per page.

", "GetBasePathMappingsRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetClientCertificatesRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetDeploymentsRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetDocumentationPartsRequest$limit": "

The maximum number of returned results per page.

", "GetDocumentationVersionsRequest$limit": "

The maximum number of returned results per page.

", "GetDomainNamesRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetGatewayResponsesRequest$limit": "

The maximum number of returned results per page. The GatewayResponses collection does not support pagination and the limit does not apply here.

", "GetModelsRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetRequestValidatorsRequest$limit": "

The maximum number of returned results per page.

", "GetResourcesRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetRestApisRequest$limit": "

The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500.

", "GetSdkTypesRequest$limit": "

The maximum number of returned results per page.

", "GetUsagePlanKeysRequest$limit": "

The maximum number of returned results per page.

", "GetUsagePlansRequest$limit": "

The maximum number of returned results per page.

", "GetUsageRequest$limit": "

The maximum number of returned results per page.

", "GetVpcLinksRequest$limit": "

The maximum number of returned results per page.

", "PutIntegrationRequest$timeoutInMillis": "

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

" } }, "Op": { "base": null, "refs": { "PatchOperation$op": "

An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.

" } }, "PatchOperation": { "base": "A single patch operation to apply to the specified resource. Please refer to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used.", "refs": { "ListOfPatchOperation$member": null } }, "PathToMapOfMethodSnapshot": { "base": null, "refs": { "Deployment$apiSummary": "

A summary of the RestApi at the date and time that the deployment resource was created.

" } }, "ProviderARN": { "base": null, "refs": { "ListOfARNs$member": null } }, "PutGatewayResponseRequest": { "base": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

", "refs": { } }, "PutIntegrationRequest": { "base": "

Sets up a method's integration.

", "refs": { } }, "PutIntegrationResponseRequest": { "base": "

Represents a put integration response request.

", "refs": { } }, "PutMethodRequest": { "base": "

Request to add a method to an existing Resource resource.

", "refs": { } }, "PutMethodResponseRequest": { "base": "

Request to add a MethodResponse to an existing Method resource.

", "refs": { } }, "PutMode": { "base": null, "refs": { "ImportDocumentationPartsRequest$mode": "

A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

", "PutRestApiRequest$mode": "

The mode query parameter to specify the update mode. Valid values are \"merge\" and \"overwrite\". By default, the update mode is \"merge\".

" } }, "PutRestApiRequest": { "base": "

A PUT request to update an existing API, with external API definitions specified as the request body.

", "refs": { } }, "QuotaPeriodType": { "base": null, "refs": { "QuotaSettings$period": "

The time period in which the limit applies. Valid values are \"DAY\", \"WEEK\" or \"MONTH\".

" } }, "QuotaSettings": { "base": "

Quotas configured for a usage plan.

", "refs": { "CreateUsagePlanRequest$quota": "

The quota of the usage plan.

", "UsagePlan$quota": "

The maximum number of permitted requests per a given unit time interval.

" } }, "RequestValidator": { "base": "

A set of validation rules for incoming Method requests.

In Swagger, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway
", "refs": { "ListOfRequestValidator$member": null } }, "RequestValidators": { "base": "

A collection of RequestValidator resources of a given RestApi.

In Swagger, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.

Enable Basic Request Validation in API Gateway
", "refs": { } }, "Resource": { "base": "

Represents an API resource.

Create an API
", "refs": { "ListOfResource$member": null } }, "Resources": { "base": "

Represents a collection of Resource resources.

Create an API
", "refs": { } }, "RestApi": { "base": "

Represents a REST API.

Create an API
", "refs": { "ListOfRestApi$member": null } }, "RestApis": { "base": "

Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.

Create an API
", "refs": { } }, "SdkConfigurationProperty": { "base": "

A configuration property of an SDK type.

", "refs": { "ListOfSdkConfigurationProperty$member": null } }, "SdkResponse": { "base": "

The binary blob response to GetSdk, which contains the generated SDK.

", "refs": { } }, "SdkType": { "base": "

A type of SDK that API Gateway can generate.

", "refs": { "ListOfSdkType$member": null } }, "SdkTypes": { "base": "

The collection of SdkType instances.

", "refs": { } }, "ServiceUnavailableException": { "base": "

The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

", "refs": { } }, "Stage": { "base": "

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API
", "refs": { "ListOfStage$member": null } }, "StageKey": { "base": "

A reference to a unique stage identified in the format {restApiId}/{stage}.

", "refs": { "ListOfStageKeys$member": null } }, "Stages": { "base": "

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages
", "refs": { } }, "StatusCode": { "base": "

The status code.

", "refs": { "DeleteIntegrationResponseRequest$statusCode": "

Specifies a delete integration response request's status code.

", "DeleteMethodResponseRequest$statusCode": "

The status code identifier for the MethodResponse resource.

", "GatewayResponse$statusCode": "

The HTTP status code for this GatewayResponse.

", "GetIntegrationResponseRequest$statusCode": "

Specifies a get integration response request's status code.

", "GetMethodResponseRequest$statusCode": "

The status code for the MethodResponse resource.

", "IntegrationResponse$statusCode": "

Specifies the status code that is used to map the integration response to an existing MethodResponse.

", "MethodResponse$statusCode": "

The method response's status code.

", "PutGatewayResponseRequest$statusCode": "The HTTP status code of the GatewayResponse.", "PutIntegrationResponseRequest$statusCode": "

Specifies the status code that is used to map the integration response to an existing MethodResponse.

", "PutMethodResponseRequest$statusCode": "

The method response's status code.

", "UpdateIntegrationResponseRequest$statusCode": "

Specifies an update integration response request's status code.

", "UpdateMethodResponseRequest$statusCode": "

The status code for the MethodResponse resource.

" } }, "String": { "base": null, "refs": { "AccessLogSettings$format": "

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

", "AccessLogSettings$destinationArn": "

The ARN of the CloudWatch Logs log group to receive access logs.

", "Account$cloudwatchRoleArn": "

The ARN of an Amazon CloudWatch role for the current Account.

", "Account$apiKeyVersion": "

The version of the API keys used for the account.

", "ApiKey$id": "

The identifier of the API Key.

", "ApiKey$value": "

The value of the API Key.

", "ApiKey$name": "

The name of the API Key.

", "ApiKey$customerId": "

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

", "ApiKey$description": "

The description of the API Key.

", "ApiKeys$position": null, "ApiStage$apiId": "

API Id of the associated API stage in a usage plan.

", "ApiStage$stage": "

API stage name of the associated API stage in a usage plan.

", "Authorizer$id": "

The identifier for the authorizer resource.

", "Authorizer$name": "

[Required] The name of the authorizer.

", "Authorizer$authType": "

Optional customer-defined field, used in Swagger imports and exports without functional impact.

", "Authorizer$authorizerUri": "

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

", "Authorizer$authorizerCredentials": "

Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

", "Authorizer$identitySource": "

The identity source for which authorization is requested.

", "Authorizer$identityValidationExpression": "

A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. API Gateway will match the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

", "Authorizers$position": null, "BadRequestException$message": null, "BasePathMapping$basePath": "

The base path name that callers of the API must provide as part of the URL after the domain name.

", "BasePathMapping$restApiId": "

The string identifier of the associated RestApi.

", "BasePathMapping$stage": "

The name of the associated stage.

", "BasePathMappings$position": null, "CanarySettings$deploymentId": "

The ID of the canary deployment.

", "ClientCertificate$clientCertificateId": "

The identifier of the client certificate.

", "ClientCertificate$description": "

The description of the client certificate.

", "ClientCertificate$pemEncodedCertificate": "

The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

", "ClientCertificates$position": null, "ConflictException$message": null, "CreateApiKeyRequest$name": "

The name of the ApiKey.

", "CreateApiKeyRequest$description": "

The description of the ApiKey.

", "CreateApiKeyRequest$value": "

Specifies a value of the API key.

", "CreateApiKeyRequest$customerId": "

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

", "CreateAuthorizerRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateAuthorizerRequest$name": "

[Required] The name of the authorizer.

", "CreateAuthorizerRequest$authType": "

Optional customer-defined field, used in Swagger imports and exports without functional impact.

", "CreateAuthorizerRequest$authorizerUri": "

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

", "CreateAuthorizerRequest$authorizerCredentials": "

Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

", "CreateAuthorizerRequest$identitySource": "

The identity source for which authorization is requested.

", "CreateAuthorizerRequest$identityValidationExpression": "

A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. API Gateway will match the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

", "CreateBasePathMappingRequest$domainName": "

The domain name of the BasePathMapping resource to create.

", "CreateBasePathMappingRequest$basePath": "

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name.

", "CreateBasePathMappingRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateBasePathMappingRequest$stage": "

The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.

", "CreateDeploymentRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateDeploymentRequest$stageName": "

The name of the Stage resource for the Deployment resource to create.

", "CreateDeploymentRequest$stageDescription": "

The description of the Stage resource for the Deployment resource to create.

", "CreateDeploymentRequest$description": "

The description for the Deployment resource to create.

", "CreateDocumentationPartRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "CreateDocumentationPartRequest$properties": "

[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.

", "CreateDocumentationVersionRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "CreateDocumentationVersionRequest$documentationVersion": "

[Required] The version identifier of the new snapshot.

", "CreateDocumentationVersionRequest$stageName": "

The stage name to be associated with the new documentation snapshot.

", "CreateDocumentationVersionRequest$description": "

A description about the new documentation snapshot.

", "CreateDomainNameRequest$domainName": "

(Required) The name of the DomainName resource.

", "CreateDomainNameRequest$certificateName": "

The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.

", "CreateDomainNameRequest$certificateBody": "

[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.

", "CreateDomainNameRequest$certificatePrivateKey": "

[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.

", "CreateDomainNameRequest$certificateChain": "

[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

", "CreateDomainNameRequest$certificateArn": "

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

", "CreateDomainNameRequest$regionalCertificateName": "

The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

", "CreateDomainNameRequest$regionalCertificateArn": "

The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.

", "CreateModelRequest$restApiId": "

The RestApi identifier under which the Model will be created.

", "CreateModelRequest$name": "

The name of the model. Must be alphanumeric.

", "CreateModelRequest$description": "

The description of the model.

", "CreateModelRequest$schema": "

The schema for the model. For application/json models, this should be JSON-schema draft v4 model.

", "CreateModelRequest$contentType": "

The content-type for the model.

", "CreateRequestValidatorRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateRequestValidatorRequest$name": "

The name of the to-be-created RequestValidator.

", "CreateResourceRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateResourceRequest$parentId": "

The parent resource's identifier.

", "CreateResourceRequest$pathPart": "

The last path segment for this resource.

", "CreateRestApiRequest$name": "

The name of the RestApi.

", "CreateRestApiRequest$description": "

The description of the RestApi.

", "CreateRestApiRequest$version": "

A version identifier for the API.

", "CreateRestApiRequest$cloneFrom": "

The ID of the RestApi that you want to clone from.

", "CreateStageRequest$restApiId": "

The string identifier of the associated RestApi.

", "CreateStageRequest$stageName": "

[Required] The name for the Stage resource.

", "CreateStageRequest$deploymentId": "

[Required] The identifier of the Deployment resource for the Stage resource.

", "CreateStageRequest$description": "

The description of the Stage resource.

", "CreateStageRequest$documentationVersion": "

The version of the associated API documentation.

", "CreateUsagePlanKeyRequest$usagePlanId": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

", "CreateUsagePlanKeyRequest$keyId": "

The identifier of a UsagePlanKey resource for a plan customer.

", "CreateUsagePlanKeyRequest$keyType": "

The type of a UsagePlanKey resource for a plan customer.

", "CreateUsagePlanRequest$name": "

The name of the usage plan.

", "CreateUsagePlanRequest$description": "

The description of the usage plan.

", "CreateVpcLinkRequest$name": "

[Required] The name used to label and identify the VPC link.

", "CreateVpcLinkRequest$description": "

The description of the VPC link.

", "DeleteApiKeyRequest$apiKey": "

The identifier of the ApiKey resource to be deleted.

", "DeleteAuthorizerRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteAuthorizerRequest$authorizerId": "

The identifier of the Authorizer resource.

", "DeleteBasePathMappingRequest$domainName": "

The domain name of the BasePathMapping resource to delete.

", "DeleteBasePathMappingRequest$basePath": "

The base path name of the BasePathMapping resource to delete.

", "DeleteClientCertificateRequest$clientCertificateId": "

The identifier of the ClientCertificate resource to be deleted.

", "DeleteDeploymentRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteDeploymentRequest$deploymentId": "

The identifier of the Deployment resource to delete.

", "DeleteDocumentationPartRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "DeleteDocumentationPartRequest$documentationPartId": "

[Required] The identifier of the to-be-deleted documentation part.

", "DeleteDocumentationVersionRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "DeleteDocumentationVersionRequest$documentationVersion": "

[Required] The version identifier of a to-be-deleted documentation snapshot.

", "DeleteDomainNameRequest$domainName": "

The name of the DomainName resource to be deleted.

", "DeleteGatewayResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteIntegrationRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteIntegrationRequest$resourceId": "

Specifies a delete integration request's resource identifier.

", "DeleteIntegrationRequest$httpMethod": "

Specifies a delete integration request's HTTP method.

", "DeleteIntegrationResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteIntegrationResponseRequest$resourceId": "

Specifies a delete integration response request's resource identifier.

", "DeleteIntegrationResponseRequest$httpMethod": "

Specifies a delete integration response request's HTTP method.

", "DeleteMethodRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteMethodRequest$resourceId": "

The Resource identifier for the Method resource.

", "DeleteMethodRequest$httpMethod": "

The HTTP verb of the Method resource.

", "DeleteMethodResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteMethodResponseRequest$resourceId": "

The Resource identifier for the MethodResponse resource.

", "DeleteMethodResponseRequest$httpMethod": "

The HTTP verb of the Method resource.

", "DeleteModelRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteModelRequest$modelName": "

The name of the model to delete.

", "DeleteRequestValidatorRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteRequestValidatorRequest$requestValidatorId": "

[Required] The identifier of the RequestValidator to be deleted.

", "DeleteResourceRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteResourceRequest$resourceId": "

The identifier of the Resource resource.

", "DeleteRestApiRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteStageRequest$restApiId": "

The string identifier of the associated RestApi.

", "DeleteStageRequest$stageName": "

The name of the Stage resource to delete.

", "DeleteUsagePlanKeyRequest$usagePlanId": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

", "DeleteUsagePlanKeyRequest$keyId": "

The Id of the UsagePlanKey resource to be deleted.

", "DeleteUsagePlanRequest$usagePlanId": "

The Id of the to-be-deleted usage plan.

", "DeleteVpcLinkRequest$vpcLinkId": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "Deployment$id": "

The identifier for the deployment resource.

", "Deployment$description": "

The description for the deployment resource.

", "Deployments$position": null, "DocumentationPart$id": "

The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

", "DocumentationPart$properties": "

A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., \"{ \\\"description\\\": \\\"The API does ...\\\" }\". Only Swagger-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a Swagger extension of x-amazon-apigateway-documentation.

", "DocumentationPartLocation$path": "

The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

", "DocumentationPartLocation$method": "

The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

", "DocumentationPartLocation$name": "

The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

", "DocumentationParts$position": null, "DocumentationVersion$version": "

The version identifier of the API documentation snapshot.

", "DocumentationVersion$description": "

The description of the API documentation snapshot.

", "DocumentationVersions$position": null, "DomainName$domainName": "

The name of the DomainName resource.

", "DomainName$certificateName": "

The name of the certificate that will be used by edge-optimized endpoint for this domain name.

", "DomainName$certificateArn": "

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

", "DomainName$regionalDomainName": "

The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

", "DomainName$regionalHostedZoneId": "

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

", "DomainName$regionalCertificateName": "

The name of the certificate that will be used for validating the regional domain name.

", "DomainName$regionalCertificateArn": "

The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

", "DomainName$distributionDomainName": "

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

", "DomainName$distributionHostedZoneId": "

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

", "DomainNames$position": null, "ExportResponse$contentType": "

The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request.

", "ExportResponse$contentDisposition": "

The content-disposition header value in the HTTP response.

", "FlushStageAuthorizersCacheRequest$restApiId": "

The string identifier of the associated RestApi.

", "FlushStageAuthorizersCacheRequest$stageName": "

The name of the stage to flush.

", "FlushStageCacheRequest$restApiId": "

The string identifier of the associated RestApi.

", "FlushStageCacheRequest$stageName": "

The name of the stage to flush its cache.

", "GatewayResponses$position": null, "GenerateClientCertificateRequest$description": "

The description of the ClientCertificate.

", "GetApiKeyRequest$apiKey": "

The identifier of the ApiKey resource.

", "GetApiKeysRequest$position": "

The current pagination position in the paged result set.

", "GetApiKeysRequest$nameQuery": "

The name of queried API keys.

", "GetApiKeysRequest$customerId": "

The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

", "GetAuthorizerRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetAuthorizerRequest$authorizerId": "

The identifier of the Authorizer resource.

", "GetAuthorizersRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetAuthorizersRequest$position": "

The current pagination position in the paged result set.

", "GetBasePathMappingRequest$domainName": "

The domain name of the BasePathMapping resource to be described.

", "GetBasePathMappingRequest$basePath": "

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify any base path name after the domain name.

", "GetBasePathMappingsRequest$domainName": "

The domain name of a BasePathMapping resource.

", "GetBasePathMappingsRequest$position": "

The current pagination position in the paged result set.

", "GetClientCertificateRequest$clientCertificateId": "

The identifier of the ClientCertificate resource to be described.

", "GetClientCertificatesRequest$position": "

The current pagination position in the paged result set.

", "GetDeploymentRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetDeploymentRequest$deploymentId": "

The identifier of the Deployment resource to get information about.

", "GetDeploymentsRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetDeploymentsRequest$position": "

The current pagination position in the paged result set.

", "GetDocumentationPartRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "GetDocumentationPartRequest$documentationPartId": "

[Required] The string identifier of the associated RestApi.

", "GetDocumentationPartsRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "GetDocumentationPartsRequest$nameQuery": "

The name of API entities of the to-be-retrieved documentation parts.

", "GetDocumentationPartsRequest$path": "

The path of API entities of the to-be-retrieved documentation parts.

", "GetDocumentationPartsRequest$position": "

The current pagination position in the paged result set.

", "GetDocumentationVersionRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "GetDocumentationVersionRequest$documentationVersion": "

[Required] The version identifier of the to-be-retrieved documentation snapshot.

", "GetDocumentationVersionsRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "GetDocumentationVersionsRequest$position": "

The current pagination position in the paged result set.

", "GetDomainNameRequest$domainName": "

The name of the DomainName resource.

", "GetDomainNamesRequest$position": "

The current pagination position in the paged result set.

", "GetExportRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetExportRequest$stageName": "

The name of the Stage that will be exported.

", "GetExportRequest$exportType": "

The type of export. Currently only 'swagger' is supported.

", "GetExportRequest$accepts": "

The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType of swagger. This should be specified in the Accept header for direct API requests.

", "GetGatewayResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetGatewayResponsesRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetGatewayResponsesRequest$position": "

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", "GetIntegrationRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetIntegrationRequest$resourceId": "

Specifies a get integration request's resource identifier

", "GetIntegrationRequest$httpMethod": "

Specifies a get integration request's HTTP method.

", "GetIntegrationResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetIntegrationResponseRequest$resourceId": "

Specifies a get integration response request's resource identifier.

", "GetIntegrationResponseRequest$httpMethod": "

Specifies a get integration response request's HTTP method.

", "GetMethodRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetMethodRequest$resourceId": "

The Resource identifier for the Method resource.

", "GetMethodRequest$httpMethod": "

Specifies the method request's HTTP method type.

", "GetMethodResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetMethodResponseRequest$resourceId": "

The Resource identifier for the MethodResponse resource.

", "GetMethodResponseRequest$httpMethod": "

The HTTP verb of the Method resource.

", "GetModelRequest$restApiId": "

The RestApi identifier under which the Model exists.

", "GetModelRequest$modelName": "

The name of the model as an identifier.

", "GetModelTemplateRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetModelTemplateRequest$modelName": "

The name of the model for which to generate a template.

", "GetModelsRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetModelsRequest$position": "

The current pagination position in the paged result set.

", "GetRequestValidatorRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetRequestValidatorRequest$requestValidatorId": "

[Required] The identifier of the RequestValidator to be retrieved.

", "GetRequestValidatorsRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetRequestValidatorsRequest$position": "

The current pagination position in the paged result set.

", "GetResourceRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetResourceRequest$resourceId": "

The identifier for the Resource resource.

", "GetResourcesRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetResourcesRequest$position": "

The current pagination position in the paged result set.

", "GetRestApiRequest$restApiId": "

The identifier of the RestApi resource.

", "GetRestApisRequest$position": "

The current pagination position in the paged result set.

", "GetSdkRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetSdkRequest$stageName": "

The name of the Stage that the SDK will use.

", "GetSdkRequest$sdkType": "

The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

", "GetSdkTypeRequest$id": "

The identifier of the queried SdkType instance.

", "GetSdkTypesRequest$position": "

The current pagination position in the paged result set.

", "GetStageRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetStageRequest$stageName": "

The name of the Stage resource to get information about.

", "GetStagesRequest$restApiId": "

The string identifier of the associated RestApi.

", "GetStagesRequest$deploymentId": "

The stages' deployment identifiers.

", "GetUsagePlanKeyRequest$usagePlanId": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "GetUsagePlanKeyRequest$keyId": "

The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "GetUsagePlanKeysRequest$usagePlanId": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "GetUsagePlanKeysRequest$position": "

The current pagination position in the paged result set.

", "GetUsagePlanKeysRequest$nameQuery": "

A query parameter specifying the name of the to-be-returned usage plan keys.

", "GetUsagePlanRequest$usagePlanId": "

The identifier of the UsagePlan resource to be retrieved.

", "GetUsagePlansRequest$position": "

The current pagination position in the paged result set.

", "GetUsagePlansRequest$keyId": "

The identifier of the API key associated with the usage plans.

", "GetUsageRequest$usagePlanId": "

The Id of the usage plan associated with the usage data.

", "GetUsageRequest$keyId": "

The Id of the API key associated with the resultant usage data.

", "GetUsageRequest$startDate": "

The starting date (e.g., 2016-01-01) of the usage data.

", "GetUsageRequest$endDate": "

The ending date (e.g., 2016-12-31) of the usage data.

", "GetUsageRequest$position": "

The current pagination position in the paged result set.

", "GetVpcLinkRequest$vpcLinkId": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "GetVpcLinksRequest$position": "

The current pagination position in the paged result set.

", "ImportDocumentationPartsRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "Integration$httpMethod": "

Specifies the integration's HTTP method type.

", "Integration$uri": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

", "Integration$connectionId": "

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

", "Integration$credentials": "

Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\\*:user/\\*. To use resource-based permissions on supported AWS services, specify null.

", "Integration$passthroughBehavior": "

Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

", "Integration$cacheNamespace": "

Specifies the integration's cache namespace.

", "IntegrationResponse$selectionPattern": "

Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

", "LimitExceededException$retryAfterSeconds": null, "LimitExceededException$message": null, "ListOfString$member": null, "MapOfHeaderValues$key": null, "MapOfHeaderValues$value": null, "MapOfIntegrationResponse$key": null, "MapOfKeyUsages$key": null, "MapOfMethod$key": null, "MapOfMethodResponse$key": null, "MapOfMethodSettings$key": null, "MapOfMethodSnapshot$key": null, "MapOfStringToBoolean$key": null, "MapOfStringToList$key": null, "MapOfStringToString$key": null, "MapOfStringToString$value": null, "Method$httpMethod": "

The method's HTTP verb.

", "Method$authorizationType": "

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

", "Method$authorizerId": "

The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

", "Method$requestValidatorId": "

The identifier of a RequestValidator for request validation.

", "Method$operationName": "

A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example.

", "MethodSetting$loggingLevel": "

Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO.

", "MethodSnapshot$authorizationType": "

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

", "Model$id": "

The identifier for the model resource.

", "Model$name": "

The name of the model. Must be an alphanumeric string.

", "Model$description": "

The description of the model.

", "Model$schema": "

The schema for the model. For application/json models, this should be JSON-schema draft v4 model. Do not include \"\\*/\" characters in the description of any properties because such \"\\*/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

", "Model$contentType": "

The content-type for the model.

", "Models$position": null, "NotFoundException$message": null, "PatchOperation$path": "

The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {\"name\":\"value\"}, the path for this property is /name. If the name property value is a JSON object (e.g., {\"name\": {\"child/name\": \"child-value\"}}), the path for the child/name property will be /name/child~1name. Any slash (\"/\") character appearing in path names must be escaped with \"~1\", as shown in the example above. Each op operation can have only one path associated with it.

", "PatchOperation$value": "

The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{\"a\": ...}'. In a Windows shell, see Using JSON for Parameters.

", "PatchOperation$from": "

The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with \"op\":\"copy\", \"from\":\"/canarySettings/deploymentId\" and \"path\":\"/deploymentId\".

", "PathToMapOfMethodSnapshot$key": null, "PutGatewayResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "PutIntegrationRequest$restApiId": "

The string identifier of the associated RestApi.

", "PutIntegrationRequest$resourceId": "

Specifies a put integration request's resource ID.

", "PutIntegrationRequest$httpMethod": "

Specifies a put integration request's HTTP method.

", "PutIntegrationRequest$integrationHttpMethod": "

Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required.

", "PutIntegrationRequest$uri": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

", "PutIntegrationRequest$connectionId": "

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

", "PutIntegrationRequest$credentials": "

Specifies whether credentials are required for a put integration.

", "PutIntegrationRequest$passthroughBehavior": "

Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.

", "PutIntegrationRequest$cacheNamespace": "

Specifies a put integration input's cache namespace.

", "PutIntegrationResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "PutIntegrationResponseRequest$resourceId": "

Specifies a put integration response request's resource identifier.

", "PutIntegrationResponseRequest$httpMethod": "

Specifies a put integration response request's HTTP method.

", "PutIntegrationResponseRequest$selectionPattern": "

Specifies the selection pattern of a put integration response.

", "PutMethodRequest$restApiId": "

The string identifier of the associated RestApi.

", "PutMethodRequest$resourceId": "

The Resource identifier for the new Method resource.

", "PutMethodRequest$httpMethod": "

Specifies the method request's HTTP method type.

", "PutMethodRequest$authorizationType": "

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

", "PutMethodRequest$authorizerId": "

Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM.

", "PutMethodRequest$operationName": "

A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example.

", "PutMethodRequest$requestValidatorId": "

The identifier of a RequestValidator for validating the method request.

", "PutMethodResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "PutMethodResponseRequest$resourceId": "

The Resource identifier for the Method resource.

", "PutMethodResponseRequest$httpMethod": "

The HTTP verb of the Method resource.

", "PutRestApiRequest$restApiId": "

The string identifier of the associated RestApi.

", "RequestValidator$id": "

The identifier of this RequestValidator.

", "RequestValidator$name": "

The name of this RequestValidator

", "RequestValidators$position": null, "Resource$id": "

The resource's identifier.

", "Resource$parentId": "

The parent resource's identifier.

", "Resource$pathPart": "

The last path segment for this resource.

", "Resource$path": "

The full path for this resource.

", "Resources$position": null, "RestApi$id": "

The API's identifier. This identifier is unique across all of your APIs in API Gateway.

", "RestApi$name": "

The API's name.

", "RestApi$description": "

The API's description.

", "RestApi$version": "

A version identifier for the API.

", "RestApis$position": null, "SdkConfigurationProperty$name": "

The name of a an SdkType configuration property.

", "SdkConfigurationProperty$friendlyName": "

The user-friendly name of an SdkType configuration property.

", "SdkConfigurationProperty$description": "

The description of an SdkType configuration property.

", "SdkConfigurationProperty$defaultValue": "

The default value of an SdkType configuration property.

", "SdkResponse$contentType": "

The content-type header value in the HTTP response.

", "SdkResponse$contentDisposition": "

The content-disposition header value in the HTTP response.

", "SdkType$id": "

The identifier of an SdkType instance.

", "SdkType$friendlyName": "

The user-friendly name of an SdkType instance.

", "SdkType$description": "

The description of an SdkType.

", "SdkTypes$position": null, "ServiceUnavailableException$retryAfterSeconds": null, "ServiceUnavailableException$message": null, "Stage$deploymentId": "

The identifier of the Deployment that the stage points to.

", "Stage$clientCertificateId": "

The identifier of a client certificate for an API stage.

", "Stage$stageName": "

The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.

", "Stage$description": "

The stage's description.

", "Stage$documentationVersion": "

The version of the associated API documentation.

", "StageKey$restApiId": "

The string identifier of the associated RestApi.

", "StageKey$stageName": "

The stage name associated with the stage key.

", "Template$value": "

The Apache Velocity Template Language (VTL) template content used for the template resource.

", "TestInvokeAuthorizerRequest$restApiId": "

The string identifier of the associated RestApi.

", "TestInvokeAuthorizerRequest$authorizerId": "

Specifies a test invoke authorizer request's Authorizer ID.

", "TestInvokeAuthorizerRequest$pathWithQueryString": "

[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

", "TestInvokeAuthorizerRequest$body": "

[Optional] The simulated request body of an incoming invocation request.

", "TestInvokeAuthorizerResponse$log": "

The API Gateway execution log for the test authorizer request.

", "TestInvokeAuthorizerResponse$principalId": "

The principal identity returned by the Authorizer

", "TestInvokeAuthorizerResponse$policy": "

The JSON policy document returned by the Authorizer

", "TestInvokeMethodRequest$restApiId": "

The string identifier of the associated RestApi.

", "TestInvokeMethodRequest$resourceId": "

Specifies a test invoke method request's resource ID.

", "TestInvokeMethodRequest$httpMethod": "

Specifies a test invoke method request's HTTP method.

", "TestInvokeMethodRequest$pathWithQueryString": "

The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

", "TestInvokeMethodRequest$body": "

The simulated request body of an incoming invocation request.

", "TestInvokeMethodRequest$clientCertificateId": "

A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

", "TestInvokeMethodResponse$body": "

The body of the HTTP response.

", "TestInvokeMethodResponse$log": "

The API Gateway execution log for the test invoke request.

", "TooManyRequestsException$retryAfterSeconds": null, "TooManyRequestsException$message": null, "UnauthorizedException$message": null, "UpdateApiKeyRequest$apiKey": "

The identifier of the ApiKey resource to be updated.

", "UpdateAuthorizerRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateAuthorizerRequest$authorizerId": "

The identifier of the Authorizer resource.

", "UpdateBasePathMappingRequest$domainName": "

The domain name of the BasePathMapping resource to change.

", "UpdateBasePathMappingRequest$basePath": "

The base path of the BasePathMapping resource to change.

", "UpdateClientCertificateRequest$clientCertificateId": "

The identifier of the ClientCertificate resource to be updated.

", "UpdateDeploymentRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateDeploymentRequest$deploymentId": "

The replacement identifier for the Deployment resource to change information about.

", "UpdateDocumentationPartRequest$restApiId": "

[Required] The string identifier of the associated RestApi.

", "UpdateDocumentationPartRequest$documentationPartId": "

[Required] The identifier of the to-be-updated documentation part.

", "UpdateDocumentationVersionRequest$restApiId": "

[Required] The string identifier of the associated RestApi..

", "UpdateDocumentationVersionRequest$documentationVersion": "

[Required] The version identifier of the to-be-updated documentation version.

", "UpdateDomainNameRequest$domainName": "

The name of the DomainName resource to be changed.

", "UpdateGatewayResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateIntegrationRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateIntegrationRequest$resourceId": "

Represents an update integration request's resource identifier.

", "UpdateIntegrationRequest$httpMethod": "

Represents an update integration request's HTTP method.

", "UpdateIntegrationResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateIntegrationResponseRequest$resourceId": "

Specifies an update integration response request's resource identifier.

", "UpdateIntegrationResponseRequest$httpMethod": "

Specifies an update integration response request's HTTP method.

", "UpdateMethodRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateMethodRequest$resourceId": "

The Resource identifier for the Method resource.

", "UpdateMethodRequest$httpMethod": "

The HTTP verb of the Method resource.

", "UpdateMethodResponseRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateMethodResponseRequest$resourceId": "

The Resource identifier for the MethodResponse resource.

", "UpdateMethodResponseRequest$httpMethod": "

The HTTP verb of the Method resource.

", "UpdateModelRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateModelRequest$modelName": "

The name of the model to update.

", "UpdateRequestValidatorRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateRequestValidatorRequest$requestValidatorId": "

[Required] The identifier of RequestValidator to be updated.

", "UpdateResourceRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateResourceRequest$resourceId": "

The identifier of the Resource resource.

", "UpdateRestApiRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateStageRequest$restApiId": "

The string identifier of the associated RestApi.

", "UpdateStageRequest$stageName": "

The name of the Stage resource to change information about.

", "UpdateUsagePlanRequest$usagePlanId": "

The Id of the to-be-updated usage plan.

", "UpdateUsageRequest$usagePlanId": "

The Id of the usage plan associated with the usage data.

", "UpdateUsageRequest$keyId": "

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

", "UpdateVpcLinkRequest$vpcLinkId": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "Usage$usagePlanId": "

The plan Id associated with this usage data.

", "Usage$startDate": "

The starting date of the usage data.

", "Usage$endDate": "

The ending date of the usage data.

", "Usage$position": null, "UsagePlan$id": "

The identifier of a UsagePlan resource.

", "UsagePlan$name": "

The name of a usage plan.

", "UsagePlan$description": "

The description of a usage plan.

", "UsagePlan$productCode": "

The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

", "UsagePlanKey$id": "

The Id of a usage plan key.

", "UsagePlanKey$type": "

The type of a usage plan key. Currently, the valid key type is API_KEY.

", "UsagePlanKey$value": "

The value of a usage plan key.

", "UsagePlanKey$name": "

The name of a usage plan key.

", "UsagePlanKeys$position": null, "UsagePlans$position": null, "VpcLink$id": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "VpcLink$name": "

The name used to label and identify the VPC link.

", "VpcLink$description": "

The description of the VPC link.

", "VpcLink$statusMessage": "

A description about the VPC link status.

", "VpcLinks$position": null } }, "Template": { "base": "

Represents a mapping template used to transform a payload.

Mapping Templates
", "refs": { } }, "TestInvokeAuthorizerRequest": { "base": "

Make a request to simulate the execution of an Authorizer.

", "refs": { } }, "TestInvokeAuthorizerResponse": { "base": "

Represents the response of the test invoke request for a custom Authorizer

", "refs": { } }, "TestInvokeMethodRequest": { "base": "

Make a request to simulate the execution of a Method.

", "refs": { } }, "TestInvokeMethodResponse": { "base": "

Represents the response of the test invoke request in the HTTP method.

Test API using the API Gateway console
", "refs": { } }, "ThrottleSettings": { "base": "

The API request rate limits.

", "refs": { "Account$throttleSettings": "

Specifies the API request limits configured for the current Account.

", "CreateUsagePlanRequest$throttle": "

The throttling limits of the usage plan.

", "UsagePlan$throttle": "

The request throttle limits of a usage plan.

" } }, "Timestamp": { "base": null, "refs": { "ApiKey$createdDate": "

The timestamp when the API Key was created.

", "ApiKey$lastUpdatedDate": "

The timestamp when the API Key was last updated.

", "ClientCertificate$createdDate": "

The timestamp when the client certificate was created.

", "ClientCertificate$expirationDate": "

The timestamp when the client certificate will expire.

", "Deployment$createdDate": "

The date and time that the deployment resource was created.

", "DocumentationVersion$createdDate": "

The date when the API documentation snapshot is created.

", "DomainName$certificateUploadDate": "

The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

", "RestApi$createdDate": "

The timestamp when the API was created.

", "Stage$createdDate": "

The timestamp when the stage was created.

", "Stage$lastUpdatedDate": "

The timestamp when the stage last updated.

" } }, "TooManyRequestsException": { "base": "

The request has reached its throttling limit. Retry after the specified time period.

", "refs": { } }, "UnauthorizedCacheControlHeaderStrategy": { "base": null, "refs": { "MethodSetting$unauthorizedCacheControlHeaderStrategy": "

Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

" } }, "UnauthorizedException": { "base": "

The request is denied because the caller has insufficient permissions.

", "refs": { } }, "UpdateAccountRequest": { "base": "

Requests API Gateway to change information about the current Account resource.

", "refs": { } }, "UpdateApiKeyRequest": { "base": "

A request to change information about an ApiKey resource.

", "refs": { } }, "UpdateAuthorizerRequest": { "base": "

Request to update an existing Authorizer resource.

", "refs": { } }, "UpdateBasePathMappingRequest": { "base": "

A request to change information about the BasePathMapping resource.

", "refs": { } }, "UpdateClientCertificateRequest": { "base": "

A request to change information about an ClientCertificate resource.

", "refs": { } }, "UpdateDeploymentRequest": { "base": "

Requests API Gateway to change information about a Deployment resource.

", "refs": { } }, "UpdateDocumentationPartRequest": { "base": "

Updates an existing documentation part of a given API.

", "refs": { } }, "UpdateDocumentationVersionRequest": { "base": "

Updates an existing documentation version of an API.

", "refs": { } }, "UpdateDomainNameRequest": { "base": "

A request to change information about the DomainName resource.

", "refs": { } }, "UpdateGatewayResponseRequest": { "base": "

Updates a GatewayResponse of a specified response type on the given RestApi.

", "refs": { } }, "UpdateIntegrationRequest": { "base": "

Represents an update integration request.

", "refs": { } }, "UpdateIntegrationResponseRequest": { "base": "

Represents an update integration response request.

", "refs": { } }, "UpdateMethodRequest": { "base": "

Request to update an existing Method resource.

", "refs": { } }, "UpdateMethodResponseRequest": { "base": "

A request to update an existing MethodResponse resource.

", "refs": { } }, "UpdateModelRequest": { "base": "

Request to update an existing model in an existing RestApi resource.

", "refs": { } }, "UpdateRequestValidatorRequest": { "base": "

Updates a RequestValidator of a given RestApi.

", "refs": { } }, "UpdateResourceRequest": { "base": "

Request to change information about a Resource resource.

", "refs": { } }, "UpdateRestApiRequest": { "base": "

Request to update an existing RestApi resource in your collection.

", "refs": { } }, "UpdateStageRequest": { "base": "

Requests API Gateway to change information about a Stage resource.

", "refs": { } }, "UpdateUsagePlanRequest": { "base": "

The PATCH request to update a usage plan of a given plan Id.

", "refs": { } }, "UpdateUsageRequest": { "base": "

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

", "refs": { } }, "UpdateVpcLinkRequest": { "base": "

Updates an existing VpcLink of a specified identifier.

", "refs": { } }, "Usage": { "base": "

Represents the usage data of a usage plan.

", "refs": { } }, "UsagePlan": { "base": "

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

", "refs": { "ListOfUsagePlan$member": null } }, "UsagePlanKey": { "base": "

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

\" ", "refs": { "ListOfUsagePlanKey$member": null } }, "UsagePlanKeys": { "base": "

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

", "refs": { } }, "UsagePlans": { "base": "

Represents a collection of usage plans for an AWS account.

", "refs": { } }, "VpcLink": { "base": "

A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integraiton has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

", "refs": { "ListOfVpcLink$member": null } }, "VpcLinkStatus": { "base": null, "refs": { "VpcLink$status": "

The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

" } }, "VpcLinks": { "base": "

The collection of VPC links under the caller's account in a region.

", "refs": { } } } }