Amazon Network Firewall Network Firewall Network Firewall Transit Gateway Attachment API

The Network Firewall Network Firewall Transit Gateway Attachment API from Amazon Network Firewall — 3 operation(s) for network firewall network firewall transit gateway attachment.

Operations 3

POST /#AcceptNetworkFirewallTransitGatewayAttachment Accept Network Firewall Transit Gateway Attachment #
POST /#DeleteNetworkFirewallTransitGatewayAttachment Delete Network Firewall Transit Gateway Attachment #
POST /#RejectNetworkFirewallTransitGatewayAttachment Reject Network Firewall Transit Gateway Attachment #

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/amazon-network-firewall:amazon-network-firewall-network-firewall-transit-gateway-attachment-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-network-firewall-network-firewall-transit-gateway-attachment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AWS Network Firewall Network Firewall Transit Gateway…
  version: '2020-11-12'
  description: Generated from AWS's published Smithy model for AWS Network Firewall. 3 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://network-firewall.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Network Firewall Transit Gateway Attachment
paths:
  /#AcceptNetworkFirewallTransitGatewayAttachment:
    post:
      operationId: AcceptNetworkFirewallTransitGatewayAttachment
      summary: Accept Network Firewall Transit Gateway Attachment
      description: Accepts a transit gateway attachment request for Network Firewall. When you accept the attachment request, Network Firewall creates the necessary routing components to enable traffic flow between the transit gateway and firewall endpoints. You must accept a transit gateway attachment to complete the creation of a transit gateway-attached firewall, unless auto-accept is enabled on the transit gateway. After acceptance, use DescribeFirewall to verify the firewall status. To reject an attachment instead of accepting it, use RejectNetworkFirewallTransitGatewayAttachment. It can take several minutes for the attachment acceptance to complete and the firewall to become available.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AcceptNetworkFirewallTransitGatewayAttachmentResponse'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '400':
          description: InvalidRequestException; ResourceNotFoundException; ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - NetworkFirewall_20201112.AcceptNetworkFirewallTransitGatewayAttachment
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/AcceptNetworkFirewallTransitGatewayAttachmentRequest'
      tags:
      - Network Firewall Transit Gateway Attachment
  /#DeleteNetworkFirewallTransitGatewayAttachment:
    post:
      operationId: DeleteNetworkFirewallTransitGatewayAttachment
      summary: Delete Network Firewall Transit Gateway Attachment
      description: Deletes a transit gateway attachment from a Network Firewall. Either the firewall owner or the transit gateway owner can delete the attachment. After you delete a transit gateway attachment, traffic will no longer flow through the firewall endpoints. After you initiate the delete operation, use DescribeFirewall to monitor the deletion status.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DeleteNetworkFirewallTransitGatewayAttachmentResponse'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '400':
          description: InvalidRequestException; ResourceNotFoundException; ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - NetworkFirewall_20201112.DeleteNetworkFirewallTransitGatewayAttachment
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteNetworkFirewallTransitGatewayAttachmentRequest'
      tags:
      - Network Firewall Transit Gateway Attachment
  /#RejectNetworkFirewallTransitGatewayAttachment:
    post:
      operationId: RejectNetworkFirewallTransitGatewayAttachment
      summary: Reject Network Firewall Transit Gateway Attachment
      description: Rejects a transit gateway attachment request for Network Firewall. When you reject the attachment request, Network Firewall cancels the creation of routing components between the transit gateway and firewall endpoints. Only the transit gateway owner can reject the attachment. After rejection, no traffic will flow through the firewall endpoints for this attachment. Use DescribeFirewall to monitor the rejection status. To accept the attachment instead of rejecting it, use AcceptNetworkFirewallTransitGatewayAttachment. Once rejected, you cannot reverse this action. To establish connectivity, you must create a new transit gateway-attached firewall.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/RejectNetworkFirewallTransitGatewayAttachmentResponse'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '400':
          description: InvalidRequestException; ResourceNotFoundException; ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - NetworkFirewall_20201112.RejectNetworkFirewallTransitGatewayAttachment
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/RejectNetworkFirewallTransitGatewayAttachmentRequest'
      tags:
      - Network Firewall Transit Gateway Attachment
components:
  schemas:
    RejectNetworkFirewallTransitGatewayAttachmentResponse:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The unique identifier of the transit gateway attachment that was rejected.
        TransitGatewayAttachmentStatus:
          type: string
          enum:
          - CREATING
          - DELETING
          - DELETED
          - FAILED
          - ERROR
          - READY
          - PENDING_ACCEPTANCE
          - REJECTING
          - REJECTED
          description: 'The current status of the transit gateway attachment. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected For information about troubleshooting'
      required:
      - TransitGatewayAttachmentId
      - TransitGatewayAttachmentStatus
    AcceptNetworkFirewallTransitGatewayAttachmentResponse:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The unique identifier of the transit gateway attachment that was accepted.
        TransitGatewayAttachmentStatus:
          type: string
          enum:
          - CREATING
          - DELETING
          - DELETED
          - FAILED
          - ERROR
          - READY
          - PENDING_ACCEPTANCE
          - REJECTING
          - REJECTED
          description: 'The current status of the transit gateway attachment. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected'
      required:
      - TransitGatewayAttachmentId
      - TransitGatewayAttachmentStatus
    DeleteNetworkFirewallTransitGatewayAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: Required. The unique identifier of the transit gateway attachment to delete.
      required:
      - TransitGatewayAttachmentId
    InternalServerError:
      type: object
      properties:
        Message:
          type: string
    DeleteNetworkFirewallTransitGatewayAttachmentResponse:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The ID of the transit gateway attachment that was deleted.
        TransitGatewayAttachmentStatus:
          type: string
          enum:
          - CREATING
          - DELETING
          - DELETED
          - FAILED
          - ERROR
          - READY
          - PENDING_ACCEPTANCE
          - REJECTING
          - REJECTED
          description: 'The current status of the transit gateway attachment deletion process. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected'
      required:
      - TransitGatewayAttachmentId
      - TransitGatewayAttachmentStatus
    AcceptNetworkFirewallTransitGatewayAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: Required. The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.
      required:
      - TransitGatewayAttachmentId
    RejectNetworkFirewallTransitGatewayAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: Required. The unique identifier of the transit gateway attachment to reject. This ID is returned in the response when creating a transit gateway-attached firewall.
      required:
      - TransitGatewayAttachmentId
    InvalidRequestException:
      type: object
      properties:
        Message:
          type: string
  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: network-firewall
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/network-firewall/service/2020-11-12/network-firewall-2020-11-12.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)