Amazon API Gateway Api Gateway Portals API

The Api Gateway Portals API from Amazon API Gateway — 2 operation(s) for api gateway portals.

GitHub OpenAPI
Business capability
Developer Portal Management BC-4270.30

Operations 5

POST /v2/portals Create Portal #
GET /v2/portals List Portals #
DELETE /v2/portals/{PortalId} Delete Portal #
GET /v2/portals/{PortalId} Get Portal #
PATCH /v2/portals/{PortalId} Update Portal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-api-gateway:aws-api-gateway-portals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-api-gateway-portals-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon API Gateway Portals API
  version: '2015-07-09'
  description: Generated from AWS's published Smithy model for Amazon API Gateway. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://apigateway.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v2/portals:
    post:
      operationId: CreatePortal
      summary: Create Portal
      description: Creates a portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatePortalResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayBadRequestException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayTooManyRequestsException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Authorization:
                  $ref: '#/components/schemas/Authorization'
                EndpointConfiguration:
                  $ref: '#/components/schemas/EndpointConfigurationRequest'
                IncludedPortalProductArns:
                  type: array
                  items:
                    type: string
                  description: The ARNs of the portal products included in the portal.
                LogoUri:
                  type: string
                  description: The URI for the portal logo image that is displayed in the portal header.
                PortalContent:
                  $ref: '#/components/schemas/PortalContent'
                RumAppMonitorName:
                  type: string
                  description: The name of the Amazon CloudWatch RUM app monitor for the portal.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The collection of tags. Each tag element is associated with a given resource.
              required:
              - Authorization
              - EndpointConfiguration
              - PortalContent
      tags:
      - Portals
    get:
      operationId: ListPortals
      summary: List Portals
      description: Lists portals.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPortalsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayBadRequestException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayTooManyRequestsException'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: string
        description: The maximum number of elements to be returned for this resource.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The next page of elements from this collection. Not valid for the last element of the collection.
      tags:
      - Portals
  /v2/portals/{PortalId}:
    delete:
      operationId: DeletePortal
      summary: Delete Portal
      description: Deletes a portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayBadRequestException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayTooManyRequestsException'
      parameters:
      - name: PortalId
        in: path
        required: true
        schema:
          type: string
        description: The portal identifier.
      tags:
      - Portals
    get:
      operationId: GetPortal
      summary: Get Portal
      description: Gets a portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPortalResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayBadRequestException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayNotFoundException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayTooManyRequestsException'
      parameters:
      - name: PortalId
        in: path
        required: true
        schema:
          type: string
        description: The portal identifier.
      tags:
      - Portals
    patch:
      operationId: UpdatePortal
      summary: Update Portal
      description: Updates a portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatePortalResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayBadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayConflictException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayNotFoundException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApigatewayTooManyRequestsException'
      parameters:
      - name: PortalId
        in: path
        required: true
        schema:
          type: string
        description: The portal identifier.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Authorization:
                  $ref: '#/components/schemas/Authorization'
                EndpointConfiguration:
                  $ref: '#/components/schemas/EndpointConfigurationRequest'
                IncludedPortalProductArns:
                  type: array
                  items:
                    type: string
                  description: The ARNs of the portal products included in the portal.
                LogoUri:
                  type: string
                  description: The logo URI.
                PortalContent:
                  $ref: '#/components/schemas/PortalContent'
                RumAppMonitorName:
                  type: string
                  description: The CloudWatch RUM app monitor name.
      tags:
      - Portals
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: apigateway
  schemas:
    ACMManaged:
      type: object
      properties:
        CertificateArn:
          type: string
          description: The certificate ARN.
        DomainName:
          type: string
          description: The domain name.
      required:
      - CertificateArn
      - DomainName
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ApigatewayBadRequestException:
      type: object
      properties:
        Message:
          type: string
          description: Describes the error encountered.
    ApigatewayConflictException:
      type: object
      properties:
        Message:
          type: string
          description: Describes the error encountered.
    ApigatewayNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: Describes the error encountered.
        ResourceType:
          type: string
          description: The resource type.
    ApigatewayTooManyRequestsException:
      type: object
      properties:
        LimitType:
          type: string
          description: The limit type.
        Message:
          type: string
          description: Describes the error encountered.
    Authorization:
      type: object
      properties:
        CognitoConfig:
          $ref: '#/components/schemas/CognitoConfig'
        None:
          $ref: '#/components/schemas/None'
    CognitoConfig:
      type: object
      properties:
        AppClientId:
          type: string
          description: The app client ID.
        UserPoolArn:
          type: string
          description: The user pool ARN.
        UserPoolDomain:
          type: string
          description: The user pool domain.
      required:
      - AppClientId
      - UserPoolArn
      - UserPoolDomain
    CreatePortalResponse:
      type: object
      properties:
        Authorization:
          $ref: '#/components/schemas/Authorization'
        EndpointConfiguration:
          $ref: '#/components/schemas/EndpointConfigurationResponse'
        IncludedPortalProductArns:
          type: array
          items:
            type: string
          description: The ARNs of the portal products included in the portal.
        LastModified:
          type: string
          format: date-time
          description: The timestamp when the portal configuration was last modified.
        LastPublished:
          type: string
          format: date-time
          description: The timestamp when the portal was last published.
        LastPublishedDescription:
          type: string
          description: A user-written description of the changes made in the last published version of the portal.
        PortalArn:
          type: string
          description: The ARN of the portal.
        PortalContent:
          $ref: '#/components/schemas/PortalContent'
        PortalId:
          type: string
          description: The portal identifier.
        PublishStatus:
          type: string
          enum:
          - PUBLISHED
          - PUBLISH_IN_PROGRESS
          - PUBLISH_FAILED
          - DISABLE_IN_PROGRESS
          - DISABLE_FAILED
          - DISABLED
          description: The current publishing status of the portal.
        RumAppMonitorName:
          type: string
          description: The name of the Amazon CloudWatch RUM app monitor.
        StatusException:
          $ref: '#/components/schemas/StatusException'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The collection of tags. Each tag element is associated with a given resource.
    CustomColors:
      type: object
      properties:
        AccentColor:
          type: string
          description: Represents the accent color.
        BackgroundColor:
          type: string
          description: Represents the background color.
        ErrorValidationColor:
          type: string
          description: The errorValidationColor.
        HeaderColor:
          type: string
          description: Represents the header color.
        NavigationColor:
          type: string
          description: Represents the navigation color.
        TextColor:
          type: string
          description: Represents the text color.
      required:
      - AccentColor
      - BackgroundColor
      - ErrorValidationColor
      - HeaderColor
      - NavigationColor
      - TextColor
    EndpointConfigurationRequest:
      type: object
      properties:
        AcmManaged:
          $ref: '#/components/schemas/ACMManaged'
        None:
          $ref: '#/components/schemas/None'
    EndpointConfigurationResponse:
      type: object
      properties:
        CertificateArn:
          type: string
          description: The ARN of the ACM certificate.
        DomainName:
          type: string
          description: The domain name.
        PortalDefaultDomainName:
          type: string
          description: The portal default domain name. This domain name is generated and managed by API Gateway.
        PortalDomainHostedZoneId:
          type: string
          description: The portal domain hosted zone identifier.
      required:
      - PortalDefaultDomainName
      - PortalDomainHostedZoneId
    GetPortalResponse:
      type: object
      properties:
        Authorization:
          $ref: '#/components/schemas/Authorization'
        EndpointConfiguration:
          $ref: '#/components/schemas/EndpointConfigurationResponse'
        IncludedPortalProductArns:
          type: array
          items:
            type: string
          description: The ARNs of the portal products included in the portal.
        LastModified:
          type: string
          format: date-time
          description: The timestamp when the portal was last modified.
        LastPublished:
          type: string
          format: date-time
          description: The timestamp when the portal was last published.
        LastPublishedDescription:
          type: string
          description: The publish description used when the portal was last published.
        PortalArn:
          type: string
          description: The ARN of the portal.
        PortalContent:
          $ref: '#/components/schemas/PortalContent'
        PortalId:
          type: string
          description: The portal identifier.
        Preview:
          $ref: '#/components/schemas/Preview'
        PublishStatus:
          type: string
          enum:
          - PUBLISHED
          - PUBLISH_IN_PROGRESS
          - PUBLISH_FAILED
          - DISABLE_IN_PROGRESS
          - DISABLE_FAILED
          - DISABLED
          description: The publish status of a portal.
        RumAppMonitorName:
          type: string
          description: The CloudWatch RUM app monitor name.
        StatusException:
          $ref: '#/components/schemas/StatusException'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The collection of tags. Each tag element is associated with a given resource.
    ListPortalsResponse:
      type: object
      properties:
        Items:
          type: array
          items:
            $ref: '#/components/schemas/PortalSummary'
          description: The elements from this collection.
        NextToken:
          type: string
          description: The next page of elements from this collection. Not valid for the last element of the collection.
    None:
      type: object
      properties: {}
    PortalContent:
      type: object
      properties:
        Description:
          type: string
          description: A description of the portal.
        DisplayName:
          type: string
          description: The display name for the portal.
        Theme:
          $ref: '#/components/schemas/PortalTheme'
      required:
      - DisplayName
      - Theme
    PortalSummary:
      type: object
      properties:
        Authorization:
          $ref: '#/components/schemas/Authorization'
        EndpointConfiguration:
          $ref: '#/components/schemas/EndpointConfigurationResponse'
        IncludedPortalProductArns:
          type: array
          items:
            type: string
          description: The ARNs of the portal products included in the portal.
        LastModified:
          type: string
          format: date-time
          description: The timestamp when the portal was last modified.
        LastPublished:
          type: string
          format: date-time
          description: The timestamp when the portal was last published.
        LastPublishedDescription:
          type: string
          description: The description of the portal the last time it was published.
        PortalArn:
          type: string
          description: The ARN of the portal.
        PortalContent:
          $ref: '#/components/schemas/PortalContent'
        PortalId:
          type: string
          description: The portal identifier.
        Preview:
          $ref: '#/components/schemas/Preview'
        PublishStatus:
          type: string
          enum:
          - PUBLISHED
          - PUBLISH_IN_PROGRESS
          - PUBLISH_FAILED
          - DISABLE_IN_PROGRESS
          - DISABLE_FAILED
          - DISABLED
          description: The publish status.
        RumAppMonitorName:
          type: string
          description: The CloudWatch RUM app monitor name.
        StatusException:
          $ref: '#/components/schemas/StatusException'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The collection of tags. Each tag element is associated with a given resource.
      required:
      - Authorization
      - EndpointConfiguration
      - IncludedPortalProductArns
      - LastModified
      - PortalArn
      - PortalContent
      - PortalId
    PortalTheme:
      type: object
      properties:
        CustomColors:
          $ref: '#/components/schemas/CustomColors'
        LogoLastUploaded:
          type: string
          format: date-time
          description: The timestamp when the logo was last uploaded.
      required:
      - CustomColors
    Preview:
      type: object
      properties:
        PreviewStatus:
          type: string
          enum:
          - PREVIEW_IN_PROGRESS
          - PREVIEW_FAILED
          - PREVIEW_READY
          description: The status of the preview.
        PreviewUrl:
          type: string
          description: The URL of the preview.
        StatusException:
          $ref: '#/components/schemas/StatusException'
      required:
      - PreviewStatus
    StatusException:
      type: object
      properties:
        Exception:
          type: string
          description: The exception.
        Message:
          type: string
          description: The error message.
    UpdatePortalResponse:
      type: object
      properties:
        Authorization:
          $ref: '#/components/schemas/Authorization'
        EndpointConfiguration:
          $ref: '#/components/schemas/EndpointConfigurationResponse'
        IncludedPortalProductArns:
          type: array
          items:
            type: string
          description: The ARNs of the portal products included in the portal.
        LastModified:
          type: string
          format: date-time
          description: The timestamp when the portal was last modified.
        LastPublished:
          type: string
          format: date-time
          description: The timestamp when the portal was last published.
        LastPublishedDescription:
          type: string
          description: The description associated with the last time the portal was published.
        PortalArn:
          type: string
          description: The ARN of the portal.
        PortalContent:
          $ref: '#/components/schemas/PortalContent'
        PortalId:
          type: string
          description: The portal identifier.
        Preview:
          $ref: '#/components/schemas/Preview'
        PublishStatus:
          type: string
          enum:
          - PUBLISHED
          - PUBLISH_IN_PROGRESS
          - PUBLISH_FAILED
          - DISABLE_IN_PROGRESS
          - DISABLE_FAILED
          - DISABLED
          description: The publishStatus.
        RumAppMonitorName:
          type: string
          description: The CloudWatch RUM app monitor name.
        StatusException:
          $ref: '#/components/schemas/StatusException'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The collection of tags. Each tag element is associated with a given resource.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/apigatewayv2/service/2018-11-29/apigatewayv2-2018-11-29.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)