openapi: 3.0.0 info: version: 2012-10-25 x-release: v4 title: 'AWS Direct Connect #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.DescribeDirectConnectGatewayAttachments API' description: Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an Direct Connect router. With this connection in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions. x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: directconnect x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/directconnect-2012-10-25.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: https://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: http://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) - url: https://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=OvertureService.DescribeDirectConnectGatewayAttachments' paths: /#X-Amz-Target=OvertureService.DescribeDirectConnectGatewayAttachments: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: DescribeDirectConnectGatewayAttachments description: Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeDirectConnectGatewayAttachmentsResult' '480': description: DirectConnectServerException content: application/json: schema: $ref: '#/components/schemas/DirectConnectServerException' '481': description: DirectConnectClientException content: application/json: schema: $ref: '#/components/schemas/DirectConnectClientException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DescribeDirectConnectGatewayAttachmentsRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - OvertureService.DescribeDirectConnectGatewayAttachments tags: - '#X Amz Target=OvertureService.DescribeDirectConnectGatewayAttachments' components: schemas: DirectConnectGatewayAttachment: type: object properties: directConnectGatewayId: allOf: - $ref: '#/components/schemas/DirectConnectGatewayId' - description: The ID of the Direct Connect gateway. virtualInterfaceId: allOf: - $ref: '#/components/schemas/VirtualInterfaceId' - description: The ID of the virtual interface. virtualInterfaceRegion: allOf: - $ref: '#/components/schemas/VirtualInterfaceRegion' - description: The Amazon Web Services Region where the virtual interface is located. virtualInterfaceOwnerAccount: allOf: - $ref: '#/components/schemas/OwnerAccount' - description: The ID of the Amazon Web Services account that owns the virtual interface. attachmentState: allOf: - $ref: '#/components/schemas/DirectConnectGatewayAttachmentState' - description: '

The state of the attachment. The following are the possible values:

' attachmentType: allOf: - $ref: '#/components/schemas/DirectConnectGatewayAttachmentType' - description: The type of attachment. stateChangeError: allOf: - $ref: '#/components/schemas/StateChangeError' - description: The error message if the state of an object failed to advance. description: Information about an attachment between a Direct Connect gateway and a virtual interface. StateChangeError: type: string DirectConnectServerException: {} DirectConnectGatewayAttachmentList: type: array items: $ref: '#/components/schemas/DirectConnectGatewayAttachment' PaginationToken: type: string DirectConnectGatewayAttachmentState: type: string enum: - attaching - attached - detaching - detached DescribeDirectConnectGatewayAttachmentsRequest: type: object title: DescribeDirectConnectGatewayAttachmentsRequest properties: directConnectGatewayId: allOf: - $ref: '#/components/schemas/DirectConnectGatewayId' - description: The ID of the Direct Connect gateway. virtualInterfaceId: allOf: - $ref: '#/components/schemas/VirtualInterfaceId' - description: The ID of the virtual interface. maxResults: allOf: - $ref: '#/components/schemas/MaxResultSetSize' - description:

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If MaxResults is given a value larger than 100, only 100 results are returned.

nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: The token provided in the previous call to retrieve the next page. VirtualInterfaceId: type: string DescribeDirectConnectGatewayAttachmentsResult: type: object properties: directConnectGatewayAttachments: allOf: - $ref: '#/components/schemas/DirectConnectGatewayAttachmentList' - description: The attachments. nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: The token to retrieve the next page. OwnerAccount: type: string MaxResultSetSize: type: integer VirtualInterfaceRegion: type: string DirectConnectGatewayId: type: string DirectConnectGatewayAttachmentType: type: string enum: - TransitVirtualInterface - PrivateVirtualInterface DirectConnectClientException: {} parameters: X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/directconnect/ x-hasEquivalentPaths: true