package apigateway
- Alphabetic
- By Inheritance
- apigateway
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
APIGateway extends Object
- Annotations
- @RawJSType() @native() @JSImport( "aws-sdk" , "APIGateway" )
- implicit final class APIGatewayOps extends AnyVal
-
trait
AccessLogSettings extends Object
Access log settings, including the access log format and access log destination ARN.
Access log settings, including the access log format and access log destination ARN.
- Annotations
- @RawJSType() @native()
-
trait
Account extends Object
Represents an AWS account that is associated with API Gateway.
Represents an AWS account that is associated with API Gateway.
To view the account info, call
GETon this resource.Error Codes
The following exception may be thrown when the request fails. * UnauthorizedException * NotFoundException * TooManyRequestsException For detailed error code information, including the corresponding HTTP Status Codes, see 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 OKstatus code and a payload similar to the following:{ "_links": { "curies": { "href": "https://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.
{ "_links": { "curies": { "href": "https://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 } } }}}
- Annotations
- @RawJSType() @native()
- See also
-
trait
ApiKey extends Object
A resource that can be distributed to callers for executing Method resources that require an API key.
- trait ApiKeyIds extends Object
- type ApiKeySourceType = String
-
trait
ApiKeys extends Object
Represents a collection of API keys as represented by an ApiKeys resource.
- type ApiKeysFormat = String
-
trait
ApiStage extends Object
API stage name of the associated API stage in a usage plan.
API stage name of the associated API stage in a usage plan.
- Annotations
- @RawJSType() @native()
-
trait
Authorizer extends Object
Represents an authorization layer for methods.
Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.
- Annotations
- @RawJSType() @native()
- See also
- type AuthorizerType = String
-
trait
Authorizers extends Object
Represents a collection of Authorizer resources.
Represents a collection of Authorizer resources.
- Annotations
- @RawJSType() @native()
- See also
-
trait
BasePathMapping extends Object
Represents the base path that callers of the API must provide as part of the URL after the domain name.
-
trait
BasePathMappings extends Object
Represents a collection of BasePathMapping resources.
Represents a collection of BasePathMapping resources.
- Annotations
- @RawJSType() @native()
- See also
- type Blob = |[|[|[|[Buffer, Readable], TypedArray[_, _]], Array[Byte]], String]
- type CacheClusterSize = String
- type CacheClusterStatus = String
-
trait
CanarySettings extends Object
Configuration settings of a canary deployment.
Configuration settings of a canary deployment.
- Annotations
- @RawJSType() @native()
-
trait
ClientCertificate extends Object
Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.
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.
- Annotations
- @RawJSType() @native()
- See also
-
trait
ClientCertificates extends Object
Represents a collection of ClientCertificate resources.
Represents a collection of ClientCertificate resources.
- Annotations
- @RawJSType() @native()
- See also
- type ConnectionType = String
- type ContentHandlingStrategy = String
-
trait
CreateApiKeyRequest extends Object
Request to create an ApiKey resource.
Request to create an ApiKey resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateAuthorizerRequest extends Object
Request to add a new Authorizer to an existing RestApi resource.
Request to add a new Authorizer to an existing RestApi resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateBasePathMappingRequest extends Object
Requests API Gateway to create a new BasePathMapping resource.
Requests API Gateway to create a new BasePathMapping resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateDeploymentRequest extends Object
Requests API Gateway to create a Deployment resource.
Requests API Gateway to create a Deployment resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateDocumentationPartRequest extends Object
Creates a new documentation part of a given API.
Creates a new documentation part of a given API.
- Annotations
- @RawJSType() @native()
-
trait
CreateDocumentationVersionRequest extends Object
Creates a new documentation version of a given API.
Creates a new documentation version of a given API.
- Annotations
- @RawJSType() @native()
-
trait
CreateDomainNameRequest extends Object
A request to create a new domain name.
A request to create a new domain name.
- Annotations
- @RawJSType() @native()
- trait CreateModelRequest extends Object
-
trait
CreateRequestValidatorRequest extends Object
Creates a RequestValidator of a given RestApi.
Creates a RequestValidator of a given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
CreateResourceRequest extends Object
Requests API Gateway to create a Resource resource.
Requests API Gateway to create a Resource resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateRestApiRequest extends Object
The POST Request to add a new RestApi resource to your collection.
The POST Request to add a new RestApi resource to your collection.
- Annotations
- @RawJSType() @native()
-
trait
CreateStageRequest extends Object
Requests API Gateway to create a Stage resource.
Requests API Gateway to create a Stage resource.
- Annotations
- @RawJSType() @native()
-
trait
CreateUsagePlanKeyRequest extends Object
The POST request to create a usage plan key for adding an existing API key to a usage plan.
The POST request to create a usage plan key for adding an existing API key to a usage plan.
- Annotations
- @RawJSType() @native()
-
trait
CreateUsagePlanRequest extends Object
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.
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.
- Annotations
- @RawJSType() @native()
-
trait
CreateVpcLinkRequest extends Object
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.
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.
- Annotations
- @RawJSType() @native()
-
trait
DeleteApiKeyRequest extends Object
A request to delete the ApiKey resource.
A request to delete the ApiKey resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteAuthorizerRequest extends Object
Request to delete an existing Authorizer resource.
Request to delete an existing Authorizer resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteBasePathMappingRequest extends Object
A request to delete the BasePathMapping resource.
A request to delete the BasePathMapping resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteClientCertificateRequest extends Object
A request to delete the ClientCertificate resource.
A request to delete the ClientCertificate resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteDeploymentRequest extends Object
Requests API Gateway to delete a Deployment resource.
Requests API Gateway to delete a Deployment resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteDocumentationPartRequest extends Object
Deletes an existing documentation part of an API.
Deletes an existing documentation part of an API.
- Annotations
- @RawJSType() @native()
-
trait
DeleteDocumentationVersionRequest extends Object
Deletes an existing documentation version of an API.
Deletes an existing documentation version of an API.
- Annotations
- @RawJSType() @native()
-
trait
DeleteDomainNameRequest extends Object
A request to delete the DomainName resource.
A request to delete the DomainName resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteGatewayResponseRequest extends Object
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
- Annotations
- @RawJSType() @native()
-
trait
DeleteIntegrationRequest extends Object
Represents a delete integration request.
Represents a delete integration request.
- Annotations
- @RawJSType() @native()
-
trait
DeleteIntegrationResponseRequest extends Object
Represents a delete integration response request.
Represents a delete integration response request.
- Annotations
- @RawJSType() @native()
-
trait
DeleteMethodRequest extends Object
Request to delete an existing Method resource.
Request to delete an existing Method resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteMethodResponseRequest extends Object
A request to delete an existing MethodResponse resource.
A request to delete an existing MethodResponse resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteModelRequest extends Object
Request to delete an existing model in an existing RestApi resource.
Request to delete an existing model in an existing RestApi resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteRequestValidatorRequest extends Object
Deletes a specified RequestValidator of a given RestApi.
Deletes a specified RequestValidator of a given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
DeleteResourceRequest extends Object
Request to delete a Resource.
Request to delete a Resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteRestApiRequest extends Object
Request to delete the specified API from your collection.
Request to delete the specified API from your collection.
- Annotations
- @RawJSType() @native()
-
trait
DeleteStageRequest extends Object
Requests API Gateway to delete a Stage resource.
Requests API Gateway to delete a Stage resource.
- Annotations
- @RawJSType() @native()
-
trait
DeleteUsagePlanKeyRequest extends Object
The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.
The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.
- Annotations
- @RawJSType() @native()
-
trait
DeleteUsagePlanRequest extends Object
The DELETE request to delete a usage plan of a given plan Id.
The DELETE request to delete a usage plan of a given plan Id.
- Annotations
- @RawJSType() @native()
-
trait
DeleteVpcLinkRequest extends Object
Deletes an existing VpcLink of a specified identifier.
Deletes an existing VpcLink of a specified identifier.
- Annotations
- @RawJSType() @native()
-
trait
Deployment extends Object
An immutable representation of a RestApi resource that can be called by users using Stages.
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
POSTon the Deployments resource of a RestApi. To view, update, or delete a deployment, callGET,PATCH, orDELETEon the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).- Annotations
- @RawJSType() @native()
- See also
RestApi, Deployments, Stage, CLI, SDKs
-
trait
DeploymentCanarySettings extends Object
The input configuration for a canary deployment.
The input configuration for a canary deployment.
- Annotations
- @RawJSType() @native()
-
trait
Deployments extends Object
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.
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
POSTrequest against this resource. To view, update, or delete an existing deployment, make aGET,PATCH, orDELETErequest, respectively, on a specified Deployment resource. -
trait
DocumentationPart extends Object
A documentation part for a targeted API entity.
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 areAPI,AUTHORIZER,MODEL,RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. Validlocationfields 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 OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.- Annotations
- @RawJSType() @native()
- See also
-
trait
DocumentationPartIds extends Object
A collection of the imported DocumentationPart identifiers.
A collection of the imported DocumentationPart identifiers.
This is used to return the result when documentation parts in an external (e.g., OpenAPI) file are imported into API Gateway
- Annotations
- @RawJSType() @native()
- See also
an API, https://docs.aws.amazon.com/apigateway/api-reference/link-relation/documentationpart-import/|documentationpart:import, DocumentationPart
-
trait
DocumentationPartLocation extends Object
Specifies the target API entity to which the documentation applies.
Specifies the target API entity to which the documentation applies.
- Annotations
- @RawJSType() @native()
- type DocumentationPartLocationStatusCode = String
- type DocumentationPartType = String
-
trait
DocumentationParts extends Object
The collection of documentation parts of an API.
The collection of documentation parts of an API.
- Annotations
- @RawJSType() @native()
- See also
-
trait
DocumentationVersion extends Object
A snapshot of the documentation of an API.
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., OpenAPI) file.
- Annotations
- @RawJSType() @native()
- See also
-
trait
DocumentationVersions extends Object
The collection of documentation snapshots of an API.
The collection of documentation snapshots of an API.
Use the DocumentationVersions to manage documentation snapshots associated with various API stages.
- Annotations
- @RawJSType() @native()
- See also
-
trait
DomainName extends Object
Represents a custom domain name as a user-friendly host name of an API (RestApi).
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.comformat. With the default host name, you can access the API's root resource with the URL ofhttps://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name ofapis.example.comfor this API, you can then access the same resource using the URL of thehttps://apis.examples.com/myApi, wheremyApiis the base path mapping (BasePathMapping) of your API under the custom domain name.- Annotations
- @RawJSType() @native()
- See also
-
trait
DomainNames extends Object
Represents a collection of DomainName resources.
Represents a collection of DomainName resources.
- Annotations
- @RawJSType() @native()
- See also
-
trait
EndpointConfiguration extends Object
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
- Annotations
- @RawJSType() @native()
- type EndpointType = String
-
trait
ExportResponse extends Object
The binary blob response to GetExport, which contains the generated SDK.
The binary blob response to GetExport, which contains the generated SDK.
- Annotations
- @RawJSType() @native()
-
trait
FlushStageAuthorizersCacheRequest extends Object
Request to flush authorizer cache entries on a specified stage.
Request to flush authorizer cache entries on a specified stage.
- Annotations
- @RawJSType() @native()
-
trait
FlushStageCacheRequest extends Object
Requests API Gateway to flush a stage's cache.
Requests API Gateway to flush a stage's cache.
- Annotations
- @RawJSType() @native()
-
trait
GatewayResponse extends Object
A gateway response of a given response type and status code, with optional response parameters and mapping templates.
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 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_AUTHENTICATION_TOKENtype.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 OKstatus 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"}
{ "_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" }}}
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 }}}
Response
The successful operation returns the
200 OKstatus 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"}
{ "_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" }}}
- Annotations
- @RawJSType() @native()
- See also
- type GatewayResponseType = String
-
trait
GatewayResponses extends Object
The collection of the GatewayResponse instances of a RestApi as a
responseType-to-GatewayResponse object map of key-value pairs.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 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 OKstatus 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" } ] }}
{ "_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" } ] } }}}
- Annotations
- @RawJSType() @native()
- See also
-
trait
GenerateClientCertificateRequest extends Object
A request to generate a ClientCertificate resource.
A request to generate a ClientCertificate resource.
- Annotations
- @RawJSType() @native()
-
trait
GetAccountRequest extends Object
Requests API Gateway to get information about the current Account resource.
Requests API Gateway to get information about the current Account resource.
- Annotations
- @RawJSType() @native()
-
trait
GetApiKeyRequest extends Object
A request to get information about the current ApiKey resource.
A request to get information about the current ApiKey resource.
- Annotations
- @RawJSType() @native()
-
trait
GetApiKeysRequest extends Object
A request to get information about the current ApiKeys resource.
A request to get information about the current ApiKeys resource.
- Annotations
- @RawJSType() @native()
-
trait
GetAuthorizerRequest extends Object
Request to describe an existing Authorizer resource.
Request to describe an existing Authorizer resource.
- Annotations
- @RawJSType() @native()
-
trait
GetAuthorizersRequest extends Object
Request to describe an existing Authorizers resource.
Request to describe an existing Authorizers resource.
- Annotations
- @RawJSType() @native()
-
trait
GetBasePathMappingRequest extends Object
Request to describe a BasePathMapping resource.
Request to describe a BasePathMapping resource.
- Annotations
- @RawJSType() @native()
-
trait
GetBasePathMappingsRequest extends Object
A request to get information about a collection of BasePathMapping resources.
A request to get information about a collection of BasePathMapping resources.
- Annotations
- @RawJSType() @native()
-
trait
GetClientCertificateRequest extends Object
A request to get information about the current ClientCertificate resource.
A request to get information about the current ClientCertificate resource.
- Annotations
- @RawJSType() @native()
-
trait
GetClientCertificatesRequest extends Object
A request to get information about a collection of ClientCertificate resources.
A request to get information about a collection of ClientCertificate resources.
- Annotations
- @RawJSType() @native()
-
trait
GetDeploymentRequest extends Object
Requests API Gateway to get information about a Deployment resource.
Requests API Gateway to get information about a Deployment resource.
- Annotations
- @RawJSType() @native()
-
trait
GetDeploymentsRequest extends Object
Requests API Gateway to get information about a Deployments collection.
Requests API Gateway to get information about a Deployments collection.
- Annotations
- @RawJSType() @native()
-
trait
GetDocumentationPartRequest extends Object
Gets a specified documentation part of a given API.
Gets a specified documentation part of a given API.
- Annotations
- @RawJSType() @native()
-
trait
GetDocumentationPartsRequest extends Object
Gets the documentation parts of an API.
Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).
- Annotations
- @RawJSType() @native()
-
trait
GetDocumentationVersionRequest extends Object
Gets a documentation snapshot of an API.
Gets a documentation snapshot of an API.
- Annotations
- @RawJSType() @native()
-
trait
GetDocumentationVersionsRequest extends Object
Gets the documentation versions of an API.
Gets the documentation versions of an API.
- Annotations
- @RawJSType() @native()
-
trait
GetDomainNameRequest extends Object
Request to get the name of a DomainName resource.
Request to get the name of a DomainName resource.
- Annotations
- @RawJSType() @native()
-
trait
GetDomainNamesRequest extends Object
Request to describe a collection of DomainName resources.
Request to describe a collection of DomainName resources.
- Annotations
- @RawJSType() @native()
- trait GetExportRequest extends Object
-
trait
GetGatewayResponseRequest extends Object
Gets a GatewayResponse of a specified response type on the given RestApi.
Gets a GatewayResponse of a specified response type on the given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
GetGatewayResponsesRequest extends Object
Gets the GatewayResponses collection on the given RestApi.
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.
- Annotations
- @RawJSType() @native()
-
trait
GetIntegrationRequest extends Object
Represents a request to get the integration configuration.
Represents a request to get the integration configuration.
- Annotations
- @RawJSType() @native()
-
trait
GetIntegrationResponseRequest extends Object
Represents a get integration response request.
Represents a get integration response request.
- Annotations
- @RawJSType() @native()
-
trait
GetMethodRequest extends Object
Request to describe an existing Method resource.
Request to describe an existing Method resource.
- Annotations
- @RawJSType() @native()
-
trait
GetMethodResponseRequest extends Object
Request to describe a MethodResponse resource.
Request to describe a MethodResponse resource.
- Annotations
- @RawJSType() @native()
-
trait
GetModelRequest extends Object
Request to list information about a model in an existing RestApi resource.
Request to list information about a model in an existing RestApi resource.
- Annotations
- @RawJSType() @native()
-
trait
GetModelTemplateRequest extends Object
Request to generate a sample mapping template used to transform the payload.
Request to generate a sample mapping template used to transform the payload.
- Annotations
- @RawJSType() @native()
-
trait
GetModelsRequest extends Object
Request to list existing Models defined for a RestApi resource.
-
trait
GetRequestValidatorRequest extends Object
Gets a RequestValidator of a given RestApi.
Gets a RequestValidator of a given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
GetRequestValidatorsRequest extends Object
Gets the RequestValidators collection of a given RestApi.
Gets the RequestValidators collection of a given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
GetResourceRequest extends Object
Request to list information about a resource.
Request to list information about a resource.
- Annotations
- @RawJSType() @native()
-
trait
GetResourcesRequest extends Object
Request to list information about a collection of resources.
Request to list information about a collection of resources.
- Annotations
- @RawJSType() @native()
-
trait
GetRestApiRequest extends Object
The GET request to list an existing RestApi defined for your collection.
The GET request to list an existing RestApi defined for your collection.
- Annotations
- @RawJSType() @native()
-
trait
GetRestApisRequest extends Object
The GET request to list existing RestApis defined for your collection.
The GET request to list existing RestApis defined for your collection.
- Annotations
- @RawJSType() @native()
- trait GetSdkRequest extends Object
-
trait
GetSdkTypeRequest extends Object
Get an SdkType instance.
Get an SdkType instance.
- Annotations
- @RawJSType() @native()
-
trait
GetSdkTypesRequest extends Object
Get the SdkTypes collection.
Get the SdkTypes collection.
- Annotations
- @RawJSType() @native()
-
trait
GetStageRequest extends Object
Requests API Gateway to get information about a Stage resource.
Requests API Gateway to get information about a Stage resource.
- Annotations
- @RawJSType() @native()
-
trait
GetStagesRequest extends Object
Requests API Gateway to get information about one or more Stage resources.
Requests API Gateway to get information about one or more Stage resources.
- Annotations
- @RawJSType() @native()
-
trait
GetTagsRequest extends Object
Gets the Tags collection for a given resource.
Gets the Tags collection for a given resource.
- Annotations
- @RawJSType() @native()
-
trait
GetUsagePlanKeyRequest extends Object
The GET request to get a usage plan key of a given key identifier.
The GET request to get a usage plan key of a given key identifier.
- Annotations
- @RawJSType() @native()
-
trait
GetUsagePlanKeysRequest extends Object
The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.
The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.
- Annotations
- @RawJSType() @native()
-
trait
GetUsagePlanRequest extends Object
The GET request to get a usage plan of a given plan identifier.
The GET request to get a usage plan of a given plan identifier.
- Annotations
- @RawJSType() @native()
-
trait
GetUsagePlansRequest extends Object
The GET request to get all the usage plans of the caller's account.
The GET request to get all the usage plans of the caller's account.
- Annotations
- @RawJSType() @native()
-
trait
GetUsageRequest extends Object
The GET request to get the usage data of a usage plan in a specified time interval.
The GET request to get the usage data of a usage plan in a specified time interval.
- Annotations
- @RawJSType() @native()
-
trait
GetVpcLinkRequest extends Object
Gets a specified VPC link under the caller's account in a region.
Gets a specified VPC link under the caller's account in a region.
- Annotations
- @RawJSType() @native()
-
trait
GetVpcLinksRequest extends Object
Gets the VpcLinks collection under the caller's account in a selected region.
Gets the VpcLinks collection under the caller's account in a selected region.
- Annotations
- @RawJSType() @native()
-
trait
ImportApiKeysRequest extends Object
The POST request to import API keys from an external source, such as a CSV-formatted file.
The POST request to import API keys from an external source, such as a CSV-formatted file.
- Annotations
- @RawJSType() @native()
-
trait
ImportDocumentationPartsRequest extends Object
Import documentation parts from an external (e.g., OpenAPI) definition file.
Import documentation parts from an external (e.g., OpenAPI) definition file.
- Annotations
- @RawJSType() @native()
-
trait
ImportRestApiRequest extends Object
A POST request to import an API to API Gateway using an input of an API definition file.
A POST request to import an API to API Gateway using an input of an API definition file.
- Annotations
- @RawJSType() @native()
-
trait
Integration extends Object
Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.
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.
- Annotations
- @RawJSType() @native()
- See also
-
trait
IntegrationResponse extends Object
Represents an integration response.
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.
- Annotations
- @RawJSType() @native()
- See also
- type IntegrationType = String
- type ListOfARNs = Array[ProviderARN]
- type ListOfApiKey = Array[ApiKey]
- type ListOfApiStage = Array[ApiStage]
- type ListOfAuthorizer = Array[Authorizer]
- type ListOfBasePathMapping = Array[BasePathMapping]
- type ListOfClientCertificate = Array[ClientCertificate]
- type ListOfDeployment = Array[Deployment]
- type ListOfDocumentationPart = Array[DocumentationPart]
- type ListOfDocumentationVersion = Array[DocumentationVersion]
- type ListOfDomainName = Array[DomainName]
- type ListOfEndpointType = Array[EndpointType]
- type ListOfGatewayResponse = Array[GatewayResponse]
- type ListOfLong = Array[Double]
- type ListOfModel = Array[Model]
- type ListOfPatchOperation = Array[PatchOperation]
- type ListOfRequestValidator = Array[RequestValidator]
- type ListOfResource = Array[Resource]
- type ListOfRestApi = Array[RestApi]
- type ListOfSdkConfigurationProperty = Array[SdkConfigurationProperty]
- type ListOfSdkType = Array[SdkType]
- type ListOfStage = Array[Stage]
- type ListOfStageKeys = Array[StageKey]
- type ListOfString = Array[String]
- type ListOfUsage = Array[ListOfLong]
- type ListOfUsagePlan = Array[UsagePlan]
- type ListOfUsagePlanKey = Array[UsagePlanKey]
- type ListOfVpcLink = Array[VpcLink]
- type LocationStatusType = String
- type MapOfApiStageThrottleSettings = Dictionary[ThrottleSettings]
- type MapOfIntegrationResponse = Dictionary[IntegrationResponse]
- type MapOfKeyUsages = Dictionary[ListOfUsage]
- type MapOfMethod = Dictionary[Method]
- type MapOfMethodResponse = Dictionary[MethodResponse]
- type MapOfMethodSettings = Dictionary[MethodSetting]
- type MapOfMethodSnapshot = Dictionary[MethodSnapshot]
- type MapOfStringToBoolean = Dictionary[NullableBoolean]
- type MapOfStringToList = Dictionary[ListOfString]
- type MapOfStringToString = Dictionary[String]
-
trait
Method extends Object
Represents a client-facing interface by which the client calls the API to access back-end resources.
Represents a client-facing interface by which the client calls the API to access back-end resources. A
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 aMethodresource, 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.MethodExample: 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 OKstatus code and a payload similar to the following:{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://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 OKresponse maps the JSON output from theListStreamsaction 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%3Eand the output is decoded using the https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference|util.urlDecode() helper function.{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://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" } } }}}
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 OKstatus code and a payload similar to the following:{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://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 OKresponse maps the JSON output from theListStreamsaction 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%3Eand the output is decoded using the https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference|util.urlDecode() helper function.{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://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" } } }}}
- Annotations
- @RawJSType() @native()
- See also
MethodResponse, Integration, IntegrationResponse, Resource, up an API's method
-
trait
MethodResponse extends Object
Represents a method response of a given HTTP status code returned to the client.
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
instance of an APIMethodResponseRequest
The example request retrieves a
of the 200 status code.MethodResponseGET /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 OKstatus and a payload as follows:{ "_links": { "curies": { "href": "https://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"}
{ "_links": { "curies": { "href": "https://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" }}}
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 OKstatus and a payload as follows:{ "_links": { "curies": { "href": "https://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"}
{ "_links": { "curies": { "href": "https://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" }}}
- Annotations
- @RawJSType() @native()
- See also
-
trait
MethodSetting extends Object
Specifies the method setting properties.
Specifies the method setting properties.
- Annotations
- @RawJSType() @native()
-
trait
MethodSnapshot extends Object
Represents a summary of a Method resource, given a particular date and time.
Represents a summary of a Method resource, given a particular date and time.
- Annotations
- @RawJSType() @native()
-
trait
Model extends Object
Represents the data structure of a method's request or response payload.
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.
- Annotations
- @RawJSType() @native()
- See also
-
trait
Models extends Object
Represents a collection of Model resources.
Represents a collection of Model resources.
- Annotations
- @RawJSType() @native()
- See also
- type NullableBoolean = Boolean
- type NullableInteger = Int
- type Op = String
-
trait
PatchOperation extends Object
A single patch operation to apply to the specified resource.
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.
- Annotations
- @RawJSType() @native()
- type PathToMapOfMethodSnapshot = Dictionary[MapOfMethodSnapshot]
- type ProviderARN = String
-
trait
PutGatewayResponseRequest extends Object
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
PutIntegrationRequest extends Object
Sets up a method's integration.
Sets up a method's integration.
- Annotations
- @RawJSType() @native()
-
trait
PutIntegrationResponseRequest extends Object
Represents a put integration response request.
Represents a put integration response request.
- Annotations
- @RawJSType() @native()
-
trait
PutMethodRequest extends Object
Request to add a method to an existing Resource resource.
Request to add a method to an existing Resource resource.
- Annotations
- @RawJSType() @native()
-
trait
PutMethodResponseRequest extends Object
Request to add a MethodResponse to an existing Method resource.
Request to add a MethodResponse to an existing Method resource.
- Annotations
- @RawJSType() @native()
- type PutMode = String
-
trait
PutRestApiRequest extends Object
A PUT request to update an existing API, with external API definitions specified as the request body.
A PUT request to update an existing API, with external API definitions specified as the request body.
- Annotations
- @RawJSType() @native()
- type QuotaPeriodType = String
-
trait
QuotaSettings extends Object
Quotas configured for a usage plan.
Quotas configured for a usage plan.
- Annotations
- @RawJSType() @native()
-
trait
RequestValidator extends Object
A set of validation rules for incoming Method requests.
A set of validation rules for incoming Method requests.
In OpenAPI, a RequestValidator of an API is defined by the https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html|x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator|x-amazon-apigateway-request-validator property.
- Annotations
- @RawJSType() @native()
- See also
-
trait
RequestValidators extends Object
A collection of RequestValidator resources of a given RestApi.
A collection of RequestValidator resources of a given RestApi.
In OpenAPI, the RequestValidators of an API is defined by the https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.html|x-amazon-apigateway-request-validators extension.
- Annotations
- @RawJSType() @native()
- See also
-
trait
Resource extends Object
Represents an API resource.
Represents an API resource.
- Annotations
- @RawJSType() @native()
- See also
-
trait
Resources extends Object
Represents a collection of Resource resources.
-
trait
RestApi extends Object
Represents a REST API.
Represents a REST API.
- Annotations
- @RawJSType() @native()
- See also
-
trait
RestApis extends Object
Contains references to your APIs and links that guide you in how to interact with your collection.
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.
- Annotations
- @RawJSType() @native()
- See also
-
trait
SdkConfigurationProperty extends Object
A configuration property of an SDK type.
A configuration property of an SDK type.
- Annotations
- @RawJSType() @native()
-
trait
SdkResponse extends Object
The binary blob response to GetSdk, which contains the generated SDK.
The binary blob response to GetSdk, which contains the generated SDK.
- Annotations
- @RawJSType() @native()
-
trait
SdkType extends Object
A type of SDK that API Gateway can generate.
A type of SDK that API Gateway can generate.
- Annotations
- @RawJSType() @native()
-
trait
SdkTypes extends Object
The collection of SdkType instances.
The collection of SdkType instances.
- Annotations
- @RawJSType() @native()
-
trait
Stage extends Object
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
-
trait
StageKey extends Object
A reference to a unique stage identified in the format
{restApiId}/{stage}.A reference to a unique stage identified in the format
{restApiId}/{stage}.- Annotations
- @RawJSType() @native()
-
trait
Stages extends Object
A list of Stage resources that are associated with the ApiKey resource.
- Annotations
- @RawJSType() @native()
- See also
- type StatusCode = String
-
trait
TagResourceRequest extends Object
Adds or updates a tag on a given resource.
Adds or updates a tag on a given resource.
- Annotations
- @RawJSType() @native()
-
trait
Tags extends Object
The collection of tags.
The collection of tags. Each tag element is associated with a given resource.
- Annotations
- @RawJSType() @native()
-
trait
Template extends Object
Represents a mapping template used to transform a payload.
Represents a mapping template used to transform a payload.
- Annotations
- @RawJSType() @native()
- See also
-
trait
TestInvokeAuthorizerRequest extends Object
Make a request to simulate the execution of an Authorizer.
Make a request to simulate the execution of an Authorizer.
- Annotations
- @RawJSType() @native()
-
trait
TestInvokeAuthorizerResponse extends Object
Represents the response of the test invoke request for a custom Authorizer
Represents the response of the test invoke request for a custom Authorizer
- Annotations
- @RawJSType() @native()
-
trait
TestInvokeMethodRequest extends Object
Make a request to simulate the execution of a Method.
Make a request to simulate the execution of a Method.
- Annotations
- @RawJSType() @native()
-
trait
TestInvokeMethodResponse extends Object
Represents the response of the test invoke request in the HTTP method.
Represents the response of the test invoke request in the HTTP method.
- Annotations
- @RawJSType() @native()
- See also
-
trait
ThrottleSettings extends Object
The API request rate limits.
The API request rate limits.
- Annotations
- @RawJSType() @native()
- type Timestamp = Date
- type UnauthorizedCacheControlHeaderStrategy = String
-
trait
UntagResourceRequest extends Object
Removes a tag from a given resource.
Removes a tag from a given resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateAccountRequest extends Object
Requests API Gateway to change information about the current Account resource.
Requests API Gateway to change information about the current Account resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateApiKeyRequest extends Object
A request to change information about an ApiKey resource.
A request to change information about an ApiKey resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateAuthorizerRequest extends Object
Request to update an existing Authorizer resource.
Request to update an existing Authorizer resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateBasePathMappingRequest extends Object
A request to change information about the BasePathMapping resource.
A request to change information about the BasePathMapping resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateClientCertificateRequest extends Object
A request to change information about an ClientCertificate resource.
A request to change information about an ClientCertificate resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateDeploymentRequest extends Object
Requests API Gateway to change information about a Deployment resource.
Requests API Gateway to change information about a Deployment resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateDocumentationPartRequest extends Object
Updates an existing documentation part of a given API.
Updates an existing documentation part of a given API.
- Annotations
- @RawJSType() @native()
-
trait
UpdateDocumentationVersionRequest extends Object
Updates an existing documentation version of an API.
Updates an existing documentation version of an API.
- Annotations
- @RawJSType() @native()
-
trait
UpdateDomainNameRequest extends Object
A request to change information about the DomainName resource.
A request to change information about the DomainName resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateGatewayResponseRequest extends Object
Updates a GatewayResponse of a specified response type on the given RestApi.
Updates a GatewayResponse of a specified response type on the given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
UpdateIntegrationRequest extends Object
Represents an update integration request.
Represents an update integration request.
- Annotations
- @RawJSType() @native()
-
trait
UpdateIntegrationResponseRequest extends Object
Represents an update integration response request.
Represents an update integration response request.
- Annotations
- @RawJSType() @native()
-
trait
UpdateMethodRequest extends Object
Request to update an existing Method resource.
Request to update an existing Method resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateMethodResponseRequest extends Object
A request to update an existing MethodResponse resource.
A request to update an existing MethodResponse resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateModelRequest extends Object
Request to update an existing model in an existing RestApi resource.
Request to update an existing model in an existing RestApi resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateRequestValidatorRequest extends Object
Updates a RequestValidator of a given RestApi.
Updates a RequestValidator of a given RestApi.
- Annotations
- @RawJSType() @native()
-
trait
UpdateResourceRequest extends Object
Request to change information about a Resource resource.
Request to change information about a Resource resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateRestApiRequest extends Object
Request to update an existing RestApi resource in your collection.
Request to update an existing RestApi resource in your collection.
- Annotations
- @RawJSType() @native()
-
trait
UpdateStageRequest extends Object
Requests API Gateway to change information about a Stage resource.
Requests API Gateway to change information about a Stage resource.
- Annotations
- @RawJSType() @native()
-
trait
UpdateUsagePlanRequest extends Object
The PATCH request to update a usage plan of a given plan Id.
The PATCH request to update a usage plan of a given plan Id.
- Annotations
- @RawJSType() @native()
-
trait
UpdateUsageRequest extends Object
The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
- Annotations
- @RawJSType() @native()
-
trait
UpdateVpcLinkRequest extends Object
Updates an existing VpcLink of a specified identifier.
Updates an existing VpcLink of a specified identifier.
- Annotations
- @RawJSType() @native()
-
trait
Usage extends Object
Represents the usage data of a usage plan.
Represents the usage data of a usage plan.
- Annotations
- @RawJSType() @native()
- See also
-
trait
UsagePlan extends Object
Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.
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.
- Annotations
- @RawJSType() @native()
- See also
-
trait
UsagePlanKey extends Object
Represents a usage plan key to identify a plan customer.
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. "
- Annotations
- @RawJSType() @native()
- See also
-
trait
UsagePlanKeys extends Object
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
- Annotations
- @RawJSType() @native()
- See also
-
trait
UsagePlans extends Object
Represents a collection of usage plans for an AWS account.
Represents a collection of usage plans for an AWS account.
- Annotations
- @RawJSType() @native()
- See also
-
trait
VpcLink extends Object
A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
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 integration has an integration type of
HTTPorHTTP_PROXYand has a connection type ofVPC_LINK. The integration uses theconnectionIdproperty to identify the VpcLink used.- Annotations
- @RawJSType() @native()
- type VpcLinkStatus = String
-
trait
VpcLinks extends Object
The collection of VPC links under the caller's account in a region.
The collection of VPC links under the caller's account in a region.
- Annotations
- @RawJSType() @native()
- See also
Value Members
- object AccessLogSettings
- object Account
- object ApiKey
- object ApiKeyIds
- object ApiKeySourceTypeEnum
- object ApiKeys
- object ApiKeysFormatEnum
- object ApiStage
- object Authorizer
-
object
AuthorizerTypeEnum
The authorizer type.
The authorizer type. Valid values are
TOKENfor a Lambda function using a single authorization token submitted in a custom header,REQUESTfor a Lambda function using incoming request parameters, andCOGNITO_USER_POOLSfor using an Amazon Cognito user pool. - object Authorizers
- object BasePathMapping
- object BasePathMappings
-
object
CacheClusterSizeEnum
Returns the size of the
.CacheCluster -
object
CacheClusterStatusEnum
Returns the status of the
.CacheCluster - object CanarySettings
- object ClientCertificate
- object ClientCertificates
- object ConnectionTypeEnum
- object ContentHandlingStrategyEnum
- object CreateApiKeyRequest
- object CreateAuthorizerRequest
- object CreateBasePathMappingRequest
- object CreateDeploymentRequest
- object CreateDocumentationPartRequest
- object CreateDocumentationVersionRequest
- object CreateDomainNameRequest
- object CreateModelRequest
- object CreateRequestValidatorRequest
- object CreateResourceRequest
- object CreateRestApiRequest
- object CreateStageRequest
- object CreateUsagePlanKeyRequest
- object CreateUsagePlanRequest
- object CreateVpcLinkRequest
- object DeleteApiKeyRequest
- object DeleteAuthorizerRequest
- object DeleteBasePathMappingRequest
- object DeleteClientCertificateRequest
- object DeleteDeploymentRequest
- object DeleteDocumentationPartRequest
- object DeleteDocumentationVersionRequest
- object DeleteDomainNameRequest
- object DeleteGatewayResponseRequest
- object DeleteIntegrationRequest
- object DeleteIntegrationResponseRequest
- object DeleteMethodRequest
- object DeleteMethodResponseRequest
- object DeleteModelRequest
- object DeleteRequestValidatorRequest
- object DeleteResourceRequest
- object DeleteRestApiRequest
- object DeleteStageRequest
- object DeleteUsagePlanKeyRequest
- object DeleteUsagePlanRequest
- object DeleteVpcLinkRequest
- object Deployment
- object DeploymentCanarySettings
- object Deployments
- object DocumentationPart
- object DocumentationPartIds
- object DocumentationPartLocation
- object DocumentationPartTypeEnum
- object DocumentationParts
- object DocumentationVersion
- object DocumentationVersions
- object DomainName
- object DomainNames
- object EndpointConfiguration
-
object
EndpointTypeEnum
The endpoint type.
The endpoint type. The valid values are
EDGEfor edge-optimized API setup, most suitable for mobile applications;REGIONALfor regional API endpoint setup, most suitable for calling from AWS Region; andPRIVATEfor private APIs. - object ExportResponse
- object FlushStageAuthorizersCacheRequest
- object FlushStageCacheRequest
- object GatewayResponse
- object GatewayResponseTypeEnum
- object GatewayResponses
- object GenerateClientCertificateRequest
- object GetAccountRequest
- object GetApiKeyRequest
- object GetApiKeysRequest
- object GetAuthorizerRequest
- object GetAuthorizersRequest
- object GetBasePathMappingRequest
- object GetBasePathMappingsRequest
- object GetClientCertificateRequest
- object GetClientCertificatesRequest
- object GetDeploymentRequest
- object GetDeploymentsRequest
- object GetDocumentationPartRequest
- object GetDocumentationPartsRequest
- object GetDocumentationVersionRequest
- object GetDocumentationVersionsRequest
- object GetDomainNameRequest
- object GetDomainNamesRequest
- object GetExportRequest
- object GetGatewayResponseRequest
- object GetGatewayResponsesRequest
- object GetIntegrationRequest
- object GetIntegrationResponseRequest
- object GetMethodRequest
- object GetMethodResponseRequest
- object GetModelRequest
- object GetModelTemplateRequest
- object GetModelsRequest
- object GetRequestValidatorRequest
- object GetRequestValidatorsRequest
- object GetResourceRequest
- object GetResourcesRequest
- object GetRestApiRequest
- object GetRestApisRequest
- object GetSdkRequest
- object GetSdkTypeRequest
- object GetSdkTypesRequest
- object GetStageRequest
- object GetStagesRequest
- object GetTagsRequest
- object GetUsagePlanKeyRequest
- object GetUsagePlanKeysRequest
- object GetUsagePlanRequest
- object GetUsagePlansRequest
- object GetUsageRequest
- object GetVpcLinkRequest
- object GetVpcLinksRequest
- object ImportApiKeysRequest
- object ImportDocumentationPartsRequest
- object ImportRestApiRequest
- object Integration
- object IntegrationResponse
-
object
IntegrationTypeEnum
The integration type.
The integration type. The valid value is
HTTPfor integrating an API method with an HTTP backend;AWSwith any AWS service endpoints;MOCKfor testing without actually invoking the backend;HTTP_PROXYfor integrating with the HTTP proxy integration;AWS_PROXYfor integrating with the Lambda proxy integration. - object LocationStatusTypeEnum
- object Method
- object MethodResponse
- object MethodSetting
- object MethodSnapshot
- object Model
- object Models
- object OpEnum
- object PatchOperation
- object PutGatewayResponseRequest
- object PutIntegrationRequest
- object PutIntegrationResponseRequest
- object PutMethodRequest
- object PutMethodResponseRequest
- object PutModeEnum
- object PutRestApiRequest
- object QuotaPeriodTypeEnum
- object QuotaSettings
- object RequestValidator
- object RequestValidators
- object Resource
- object Resources
- object RestApi
- object RestApis
- object SdkConfigurationProperty
- object SdkResponse
- object SdkType
- object SdkTypes
- object Stage
- object StageKey
- object Stages
- object TagResourceRequest
- object Tags
- object Template
- object TestInvokeAuthorizerRequest
- object TestInvokeAuthorizerResponse
- object TestInvokeMethodRequest
- object TestInvokeMethodResponse
- object ThrottleSettings
- object UnauthorizedCacheControlHeaderStrategyEnum
- object UntagResourceRequest
- object UpdateAccountRequest
- object UpdateApiKeyRequest
- object UpdateAuthorizerRequest
- object UpdateBasePathMappingRequest
- object UpdateClientCertificateRequest
- object UpdateDeploymentRequest
- object UpdateDocumentationPartRequest
- object UpdateDocumentationVersionRequest
- object UpdateDomainNameRequest
- object UpdateGatewayResponseRequest
- object UpdateIntegrationRequest
- object UpdateIntegrationResponseRequest
- object UpdateMethodRequest
- object UpdateMethodResponseRequest
- object UpdateModelRequest
- object UpdateRequestValidatorRequest
- object UpdateResourceRequest
- object UpdateRestApiRequest
- object UpdateStageRequest
- object UpdateUsagePlanRequest
- object UpdateUsageRequest
- object UpdateVpcLinkRequest
- object Usage
- object UsagePlan
- object UsagePlanKey
- object UsagePlanKeys
- object UsagePlans
- object VpcLink
- object VpcLinkStatusEnum
- object VpcLinks