APIs.io Engineering Platform Amazon API Gateway — Restapis

APIs.io Engineering Platform Amazon API Gateway — Restapis. 75 operations. Lead operation: Restapis. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformRestapis

What You Can Do

POST
Createrestapi — Creates a new RestApi resource.
/v1/restapis
GET
Getrestapis — Lists the RestApis resources for your collection.
/v1/restapis
DELETE
Deleterestapi — Deletes the specified API.
/v1/restapis/{restapi-id}
GET
Getrestapi — Lists the RestApi resource in the collection.
/v1/restapis/{restapi-id}
PUT
Putrestapi — A feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
/v1/restapis/{restapi-id}
PATCH
Updaterestapi — Changes information about the specified API.
/v1/restapis/{restapi-id}
POST
Createauthorizer — Adds a new Authorizer resource to an existing RestApi resource.
/v1/restapis/{restapi-id}/authorizers
GET
Getauthorizers — Describe an existing Authorizers resource.
/v1/restapis/{restapi-id}/authorizers
DELETE
Deleteauthorizer — Deletes an existing Authorizer resource.
/v1/restapis/{restapi-id}/authorizers/{authorizer-id}
GET
Getauthorizer — Describe an existing Authorizer resource.
/v1/restapis/{restapi-id}/authorizers/{authorizer-id}
POST
Testinvokeauthorizer — Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
/v1/restapis/{restapi-id}/authorizers/{authorizer-id}
PATCH
Updateauthorizer — Updates an existing Authorizer resource.
/v1/restapis/{restapi-id}/authorizers/{authorizer-id}
POST
Createdeployment — Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/v1/restapis/{restapi-id}/deployments
GET
Getdeployments — Gets information about a Deployments collection.
/v1/restapis/{restapi-id}/deployments
DELETE
Deletedeployment — Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
/v1/restapis/{restapi-id}/deployments/{deployment-id}
GET
Getdeployment — Gets information about a Deployment resource.
/v1/restapis/{restapi-id}/deployments/{deployment-id}
PATCH
Updatedeployment — Changes information about a Deployment resource.
/v1/restapis/{restapi-id}/deployments/{deployment-id}
POST
Createdocumentationpart — Creates a documentation part.
/v1/restapis/{restapi-id}/documentation/parts
GET
Getdocumentationparts — Gets documentation parts.
/v1/restapis/{restapi-id}/documentation/parts
PUT
Importdocumentationparts — Imports documentation parts
/v1/restapis/{restapi-id}/documentation/parts
DELETE
Deletedocumentationpart — Deletes a documentation part
/v1/restapis/{restapi-id}/documentation/parts/{part-id}
GET
Getdocumentationpart — Gets a documentation part.
/v1/restapis/{restapi-id}/documentation/parts/{part-id}
PATCH
Updatedocumentationpart — Updates a documentation part.
/v1/restapis/{restapi-id}/documentation/parts/{part-id}
POST
Createdocumentationversion — Creates a documentation version
/v1/restapis/{restapi-id}/documentation/versions
GET
Getdocumentationversions — Gets documentation versions.
/v1/restapis/{restapi-id}/documentation/versions
DELETE
Deletedocumentationversion — Deletes a documentation version.
/v1/restapis/{restapi-id}/documentation/versions/{doc-version}
GET
Getdocumentationversion — Gets a documentation version.
/v1/restapis/{restapi-id}/documentation/versions/{doc-version}
PATCH
Updatedocumentationversion — Updates a documentation version.
/v1/restapis/{restapi-id}/documentation/versions/{doc-version}
GET
Getgatewayresponses — Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response
/v1/restapis/{restapi-id}/gatewayresponses
DELETE
Deletegatewayresponse — Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
/v1/restapis/{restapi-id}/gatewayresponses/{response-type}
GET
Getgatewayresponse — Gets a GatewayResponse of a specified response type on the given RestApi.
/v1/restapis/{restapi-id}/gatewayresponses/{response-type}
PUT
Putgatewayresponse — Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
/v1/restapis/{restapi-id}/gatewayresponses/{response-type}
PATCH
Updategatewayresponse — Updates a GatewayResponse of a specified response type on the given RestApi.
/v1/restapis/{restapi-id}/gatewayresponses/{response-type}
POST
Createmodel — Adds a new Model resource to an existing RestApi resource.
/v1/restapis/{restapi-id}/models
GET
Getmodels — Describes existing Models defined for a RestApi resource.
/v1/restapis/{restapi-id}/models
DELETE
Deletemodel — Deletes a model.
/v1/restapis/{restapi-id}/models/{model-name}
GET
Getmodel — Describes an existing model defined for a RestApi resource.
/v1/restapis/{restapi-id}/models/{model-name}
PATCH
Updatemodel — Changes information about a model.
/v1/restapis/{restapi-id}/models/{model-name}
GET
Getmodeltemplate — Generates a sample mapping template that can be used to transform a payload into the structure of a model.
/v1/restapis/{restapi-id}/models/{model-name}/default-template
POST
Createrequestvalidator — Creates a RequestValidator of a given RestApi.
/v1/restapis/{restapi-id}/requestvalidators
GET
Getrequestvalidators — Gets the RequestValidators collection of a given RestApi.
/v1/restapis/{restapi-id}/requestvalidators
DELETE
Deleterequestvalidator — Deletes a RequestValidator of a given RestApi.
/v1/restapis/{restapi-id}/requestvalidators/{requestvalidator-id}
GET
Getrequestvalidator — Gets a RequestValidator of a given RestApi.
/v1/restapis/{restapi-id}/requestvalidators/{requestvalidator-id}
PATCH
Updaterequestvalidator — Updates a RequestValidator of a given RestApi.
/v1/restapis/{restapi-id}/requestvalidators/{requestvalidator-id}
GET
Getresources — Lists information about a collection of Resource resources.
/v1/restapis/{restapi-id}/resources
POST
Createresource — Creates a Resource resource.
/v1/restapis/{restapi-id}/resources/{parent-id}
DELETE
Deleteresource — Deletes a Resource resource.
/v1/restapis/{restapi-id}/resources/{resource-id}
GET
Getresource — Lists information about a resource.
/v1/restapis/{restapi-id}/resources/{resource-id}
PATCH
Updateresource — Changes information about a Resource resource.
/v1/restapis/{restapi-id}/resources/{resource-id}
DELETE
Deletemethod — Deletes an existing Method resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}
GET
Getmethod — Describe an existing Method resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}
PUT
Putmethod — Add a method to an existing Resource resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}
POST
Testinvokemethod — Simulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}
PATCH
Updatemethod — Updates an existing Method resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}
DELETE
Deleteintegration — Represents a delete integration.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration
GET
Getintegration — Get the integration settings.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration
PUT
Putintegration — Sets up a method's integration.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration
PATCH
Updateintegration — Represents an update integration.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration
DELETE
Deleteintegrationresponse — Represents a delete integration response.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration/responses/{status-code}
GET
Getintegrationresponse — Represents a get integration response.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration/responses/{status-code}
PUT
Putintegrationresponse — Represents a put integration.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration/responses/{status-code}
PATCH
Updateintegrationresponse — Represents an update integration response.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/integration/responses/{status-code}
DELETE
Deletemethodresponse — Deletes an existing MethodResponse resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/responses/{status-code}
GET
Getmethodresponse — Describes a MethodResponse resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/responses/{status-code}
PUT
Putmethodresponse — Adds a MethodResponse to an existing Method resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/responses/{status-code}
PATCH
Updatemethodresponse — Updates an existing MethodResponse resource.
/v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method}/responses/{status-code}
POST
Createstage — Creates a new Stage resource that references a pre-existing Deployment for the API.
/v1/restapis/{restapi-id}/stages
GET
Getstages — Gets information about one or more Stage resources.
/v1/restapis/{restapi-id}/stages
DELETE
Deletestage — Deletes a Stage resource.
/v1/restapis/{restapi-id}/stages/{stage-name}
GET
Getstage — Gets information about a Stage resource.
/v1/restapis/{restapi-id}/stages/{stage-name}
PATCH
Updatestage — Changes information about a Stage resource.
/v1/restapis/{restapi-id}/stages/{stage-name}
DELETE
Flushstageauthorizerscache — Flushes all authorizer cache entries on a stage.
/v1/restapis/{restapi-id}/stages/{stage-name}/cache/authorizers
DELETE
Flushstagecache — Flushes a stage's cache.
/v1/restapis/{restapi-id}/stages/{stage-name}/cache/data
GET
Getexport — Exports a deployed version of a RestApi in a specified format.
/v1/restapis/{restapi-id}/stages/{stage-name}/exports/{export-type}
GET
Getsdk — Generates a client SDK for a RestApi and Stage.
/v1/restapis/{restapi-id}/stages/{stage-name}/sdks/{sdk-type}

MCP Tools

creates-new-restapi-resource

Creates a new RestApi resource.

lists-restapis-resources-your-collection

Lists the RestApis resources for your collection.

read-only idempotent
deletes-specified-api

Deletes the specified API.

idempotent
lists-restapi-resource-collection

Lists the RestApi resource in the collection.

read-only idempotent
feature-api-gateway-control-service

A feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.

idempotent
changes-information-about-specified-api

Changes information about the specified API.

idempotent
adds-new-authorizer-resource-existing

Adds a new Authorizer resource to an existing RestApi resource.

describe-existing-authorizers-resource

Describe an existing Authorizers resource.

read-only idempotent
deletes-existing-authorizer-resource

Deletes an existing Authorizer resource.

idempotent
describe-existing-authorizer-resource

Describe an existing Authorizer resource.

read-only idempotent
simulate-execution-authorizer-your-restapi

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

updates-existing-authorizer-resource

Updates an existing Authorizer resource.

idempotent
creates-deployment-resource-which-makes

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

gets-information-about-deployments-collection

Gets information about a Deployments collection.

read-only idempotent
deletes-deployment-resource-deleting-deployment

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

idempotent
gets-information-about-deployment-resource

Gets information about a Deployment resource.

read-only idempotent
changes-information-about-deployment-resource

Changes information about a Deployment resource.

idempotent
creates-documentation-part

Creates a documentation part.

gets-documentation-parts

Gets documentation parts.

read-only idempotent
imports-documentation-parts

Imports documentation parts

idempotent
deletes-documentation-part

Deletes a documentation part

idempotent
gets-documentation-part

Gets a documentation part.

read-only idempotent
updates-documentation-part

Updates a documentation part.

idempotent
creates-documentation-version

Creates a documentation version

gets-documentation-versions

Gets documentation versions.

read-only idempotent
deletes-documentation-version

Deletes a documentation version.

idempotent
gets-documentation-version

Gets a documentation version.

read-only idempotent
updates-documentation-version

Updates a documentation version.

idempotent
gets-gatewayresponses-collection-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

read-only idempotent
clears-any-customization-gatewayresponse-specified

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

idempotent
gets-gatewayresponse-specified-response-type

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

read-only idempotent
creates-customization-gatewayresponse-specified-response

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

idempotent
updates-gatewayresponse-specified-response-type

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

idempotent
adds-new-model-resource-existing

Adds a new Model resource to an existing RestApi resource.

describes-existing-models-defined-restapi

Describes existing Models defined for a RestApi resource.

read-only idempotent
deletes-model

Deletes a model.

idempotent
describes-existing-model-defined-restapi

Describes an existing model defined for a RestApi resource.

read-only idempotent
changes-information-about-model

Changes information about a model.

idempotent
generates-sample-mapping-template-that

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

read-only idempotent
creates-requestvalidator-given-restapi

Creates a RequestValidator of a given RestApi.

gets-requestvalidators-collection-given-restapi

Gets the RequestValidators collection of a given RestApi.

read-only idempotent
deletes-requestvalidator-given-restapi

Deletes a RequestValidator of a given RestApi.

idempotent
gets-requestvalidator-given-restapi

Gets a RequestValidator of a given RestApi.

read-only idempotent
updates-requestvalidator-given-restapi

Updates a RequestValidator of a given RestApi.

idempotent
lists-information-about-collection-resource

Lists information about a collection of Resource resources.

read-only idempotent
creates-resource-resource

Creates a Resource resource.

deletes-resource-resource

Deletes a Resource resource.

idempotent
lists-information-about-resource

Lists information about a resource.

read-only idempotent
changes-information-about-resource-resource

Changes information about a Resource resource.

idempotent
deletes-existing-method-resource

Deletes an existing Method resource.

idempotent
describe-existing-method-resource

Describe an existing Method resource.

read-only idempotent
add-method-existing-resource-resource

Add a method to an existing Resource resource.

idempotent
simulate-invocation-method-your-restapi

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

updates-existing-method-resource

Updates an existing Method resource.

idempotent
represents-delete-integration

Represents a delete integration.

idempotent
get-integration-settings

Get the integration settings.

read-only idempotent
sets-up-method-s-integration

Sets up a method's integration.

idempotent
represents-update-integration

Represents an update integration.

idempotent
represents-delete-integration-response

Represents a delete integration response.

idempotent
represents-get-integration-response

Represents a get integration response.

read-only idempotent
represents-put-integration

Represents a put integration.

idempotent
represents-update-integration-response

Represents an update integration response.

idempotent
deletes-existing-methodresponse-resource

Deletes an existing MethodResponse resource.

idempotent
describes-methodresponse-resource

Describes a MethodResponse resource.

read-only idempotent
adds-methodresponse-existing-method-resource

Adds a MethodResponse to an existing Method resource.

idempotent
updates-existing-methodresponse-resource

Updates an existing MethodResponse resource.

idempotent
creates-new-stage-resource-that

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

gets-information-about-one-more

Gets information about one or more Stage resources.

read-only idempotent
deletes-stage-resource

Deletes a Stage resource.

idempotent
gets-information-about-stage-resource

Gets information about a Stage resource.

read-only idempotent
changes-information-about-stage-resource

Changes information about a Stage resource.

idempotent
flushes-all-authorizer-cache-entries

Flushes all authorizer cache entries on a stage.

idempotent
flushes-stage-s-cache

Flushes a stage's cache.

idempotent
exports-deployed-version-restapi-specified

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

read-only idempotent
generates-client-sdk-restapi-and

Generates a client SDK for a RestApi and Stage.

read-only idempotent

Capability Spec

aws-api-gateway-restapis.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Amazon API Gateway — Restapis
  description: 'APIs.io Engineering Platform Amazon API Gateway — Restapis. 75 operations. Lead operation: Restapis. Self-contained
    Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Restapis
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-api-gateway-restapis
    baseUri: http://apigateway.{region}.amazonaws.com
    description: APIs.io Engineering Platform Amazon API Gateway — Restapis business capability. Self-contained, no shared
      references.
    resources:
    - name: restapis
      path: /restapis
      operations:
      - name: createrestapi
        method: POST
        description: Creates a new RestApi resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getrestapis
        method: GET
        description: Lists the RestApis resources for your collection.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id
      path: /restapis/{restapi_id}
      operations:
      - name: deleterestapi
        method: DELETE
        description: Deletes the specified API.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
      - name: getrestapi
        method: GET
        description: Lists the RestApi resource in the collection.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
      - name: putrestapi
        method: PUT
        description: A feature of the API Gateway control service for updating an existing API with an input of external API
          definitions. The update can take the form of merging the supplied definition into the existing API or overwriting
          the existing API.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: mode
          in: query
          type: string
          description: The <code>mode</code> query parameter to specify the update mode. Valid values are "merge" and "overwrite".
            By default, the update mode is "merge".
        - name: failonwarnings
          in: query
          type: boolean
          description: A query parameter to indicate whether to rollback the API update (<code>true</code>) or not (<code>false</code>)
            when a warning is encountered. The default valu
        - name: parameters
          in: query
          type: object
          description: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an
            imported API, set <code>ignore=documentation</code> as a <co
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updaterestapi
        method: PATCH
        description: Changes information about the specified API.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-authorizers
      path: /restapis/{restapi_id}/authorizers
      operations:
      - name: createauthorizer
        method: POST
        description: Adds a new Authorizer resource to an existing RestApi resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getauthorizers
        method: GET
        description: Describe an existing Authorizers resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id-authorizers-authorizer_id
      path: /restapis/{restapi_id}/authorizers/{authorizer_id}
      operations:
      - name: deleteauthorizer
        method: DELETE
        description: Deletes an existing Authorizer resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: authorizer_id
          in: path
          type: string
          description: The identifier of the Authorizer resource.
          required: true
      - name: getauthorizer
        method: GET
        description: Describe an existing Authorizer resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: authorizer_id
          in: path
          type: string
          description: The identifier of the Authorizer resource.
          required: true
      - name: testinvokeauthorizer
        method: POST
        description: Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request
          body.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: authorizer_id
          in: path
          type: string
          description: Specifies a test invoke authorizer request's Authorizer ID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateauthorizer
        method: PATCH
        description: Updates an existing Authorizer resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: authorizer_id
          in: path
          type: string
          description: The identifier of the Authorizer resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-deployments
      path: /restapis/{restapi_id}/deployments
      operations:
      - name: createdeployment
        method: POST
        description: Creates a Deployment resource, which makes a specified RestApi callable over the internet.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getdeployments
        method: GET
        description: Gets information about a Deployments collection.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id-deployments-deployment_id
      path: /restapis/{restapi_id}/deployments/{deployment_id}
      operations:
      - name: deletedeployment
        method: DELETE
        description: Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources
          associated with it.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: deployment_id
          in: path
          type: string
          description: The identifier of the Deployment resource to delete.
          required: true
      - name: getdeployment
        method: GET
        description: Gets information about a Deployment resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: deployment_id
          in: path
          type: string
          description: The identifier of the Deployment resource to get information about.
          required: true
        - name: embed
          in: query
          type: array
          description: 'A query parameter to retrieve the specified embedded resources of the returned Deployment resource
            in the response. In a REST API call, this <code>embed</code> '
      - name: updatedeployment
        method: PATCH
        description: Changes information about a Deployment resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: deployment_id
          in: path
          type: string
          description: The replacement identifier for the Deployment resource to change information about.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-documentation-parts
      path: /restapis/{restapi_id}/documentation/parts
      operations:
      - name: createdocumentationpart
        method: POST
        description: Creates a documentation part.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getdocumentationparts
        method: GET
        description: Gets documentation parts.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: type
          in: query
          type: string
          description: The type of API entities of the to-be-retrieved documentation parts.
        - name: name
          in: query
          type: string
          description: The name of API entities of the to-be-retrieved documentation parts.
        - name: path
          in: query
          type: string
          description: The path of API entities of the to-be-retrieved documentation parts.
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
        - name: locationStatus
          in: query
          type: string
          description: The status of the API documentation parts to retrieve. Valid values are <code>DOCUMENTED</code> for
            retrieving DocumentationPart resources with content and <cod
      - name: importdocumentationparts
        method: PUT
        description: Imports documentation parts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: mode
          in: query
          type: string
          description: 'A query parameter to indicate whether to overwrite (<code>OVERWRITE</code>) any existing DocumentationParts
            definition or to merge (<code>MERGE</code>) the new '
        - name: failonwarnings
          in: query
          type: boolean
          description: A query parameter to specify whether to rollback the documentation importation (<code>true</code>)
            or not (<code>false</code>) when a warning is encountered. Th
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-documentation-parts-part_id
      path: /restapis/{restapi_id}/documentation/parts/{part_id}
      operations:
      - name: deletedocumentationpart
        method: DELETE
        description: Deletes a documentation part
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: part_id
          in: path
          type: string
          description: The identifier of the to-be-deleted documentation part.
          required: true
      - name: getdocumentationpart
        method: GET
        description: Gets a documentation part.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: part_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
      - name: updatedocumentationpart
        method: PATCH
        description: Updates a documentation part.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: part_id
          in: path
          type: string
          description: The identifier of the to-be-updated documentation part.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-documentation-versions
      path: /restapis/{restapi_id}/documentation/versions
      operations:
      - name: createdocumentationversion
        method: POST
        description: Creates a documentation version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getdocumentationversions
        method: GET
        description: Gets documentation versions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id-documentation-versions-doc_version
      path: /restapis/{restapi_id}/documentation/versions/{doc_version}
      operations:
      - name: deletedocumentationversion
        method: DELETE
        description: Deletes a documentation version.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: doc_version
          in: path
          type: string
          description: The version identifier of a to-be-deleted documentation snapshot.
          required: true
      - name: getdocumentationversion
        method: GET
        description: Gets a documentation version.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: doc_version
          in: path
          type: string
          description: The version identifier of the to-be-retrieved documentation snapshot.
          required: true
      - name: updatedocumentationversion
        method: PATCH
        description: Updates a documentation version.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi..
          required: true
        - name: doc_version
          in: path
          type: string
          description: The version identifier of the to-be-updated documentation version.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-gatewayresponses
      path: /restapis/{restapi_id}/gatewayresponses
      operations:
      - name: getgatewayresponses
        method: GET
        description: '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 '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set. The GatewayResponse collection does not support
            pagination and the position does not apply here.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
            The GatewayResponses collection does not support paginati
    - name: restapis-restapi_id-gatewayresponses-response_type
      path: /restapis/{restapi_id}/gatewayresponses/{response_type}
      operations:
      - name: deletegatewayresponse
        method: DELETE
        description: Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets
          it with the default settings.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: response_type
          in: path
          type: string
          description: The response type of the associated GatewayResponse.
          required: true
      - name: getgatewayresponse
        method: GET
        description: Gets a GatewayResponse of a specified response type on the given RestApi.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: response_type
          in: path
          type: string
          description: The response type of the associated GatewayResponse.
          required: true
      - name: putgatewayresponse
        method: PUT
        description: Creates a customization of a GatewayResponse of a specified response type and status code on the given
          RestApi.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: response_type
          in: path
          type: string
          description: The response type of the associated GatewayResponse
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updategatewayresponse
        method: PATCH
        description: Updates a GatewayResponse of a specified response type on the given RestApi.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: response_type
          in: path
          type: string
          description: The response type of the associated GatewayResponse.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-models
      path: /restapis/{restapi_id}/models
      operations:
      - name: createmodel
        method: POST
        description: Adds a new Model resource to an existing RestApi resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The RestApi identifier under which the Model will be created.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getmodels
        method: GET
        description: Describes existing Models defined for a RestApi resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id-models-model_name
      path: /restapis/{restapi_id}/models/{model_name}
      operations:
      - name: deletemodel
        method: DELETE
        description: Deletes a model.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: model_name
          in: path
          type: string
          description: The name of the model to delete.
          required: true
      - name: getmodel
        method: GET
        description: Describes an existing model defined for a RestApi resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The RestApi identifier under which the Model exists.
          required: true
        - name: model_name
          in: path
          type: string
          description: The name of the model as an identifier.
          required: true
        - name: flatten
          in: query
          type: boolean
          description: A query parameter of a Boolean value to resolve (<code>true</code>) all external model references and
            returns a flattened model schema or not (<code>false</code
      - name: updatemodel
        method: PATCH
        description: Changes information about a model.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: model_name
          in: path
          type: string
          description: The name of the model to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: restapis-restapi_id-models-model_name-default_template
      path: /restapis/{restapi_id}/models/{model_name}/default_template
      operations:
      - name: getmodeltemplate
        method: GET
        description: Generates a sample mapping template that can be used to transform a payload into the structure of a model.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: model_name
          in: path
          type: string
          description: The name of the model for which to generate a template.
          required: true
    - name: restapis-restapi_id-requestvalidators
      path: /restapis/{restapi_id}/requestvalidators
      operations:
      - name: createrequestvalidator
        method: POST
        description: Creates a RequestValidator of a given RestApi.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getrequestvalidators
        method: GET
        description: Gets the RequestValidators collection of a given RestApi.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: restapi_id
          in: path
          type: string
          description: The string identifier of the associated RestApi.
          required: true
        - name: position
          in: query
          type: string
          description: The current pagination position in the paged result set.
        - name: limit
          in: query
          type: integer
          description: The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
    - name: restapis-restapi_id-requestvalidators-requestvalidator_id
      path: /restapis/{restapi_id}/requestvalidators/{requestvalidator_id}
      operations:
      - name: deleterequestvalidator
        method: DELETE
        description: Deletes a RequestValidator of a given RestApi.
        outputRawFormat: json
        outputParameters:
     

# --- truncated at 32 KB (128 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/apis-io-engineering-platform/refs/heads/main/capabilities/aws-api-gateway-restapis.yaml