Get all VPC peering information in the database
GET /databases/{databaseId}/vpc-peerings
Get all VPC peering information in the database
Authorizations
Parameters
Path Parameters
A database ID.
Responses
200
A collection of VPC Peering connections
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Collection of VPC peering connections
object
Number of items returned in the result.
Response with information about a VPC peering connection
object
The ID of the account where the VPC is deployed
The ID of the VPC to create a peering connection with
Region where the VPC is deployed
Status of the VPC peering connection
The ID of the peering connection
The VPC CIDR block where routing will take place
The ID of the private hosted zone that the VPC should associate with
Flag to set up tls or non tls vpc peering connection
Example
{
"vpcPeerings": [
{
401
Access token is missing or invalid
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
403
Permission denied
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
404
Resource not found
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
500
Internal Server Error
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error