curl --request POST \
--url https://use.hoop.dev/api/integrations/aws/rds/describe-db-instances \
--header 'Content-Type: */*' \
--data '{
"account_ids": [
"<string>"
]
}'
{
"items": [
{
"account_id": "123456789012",
"arn": "arn:aws:rds:us-west-2:123456789012:db:my-postgres-db",
"availability_zone": "us-west-2a",
"connection_resources": [
"pgtest1",
"pgtest2"
],
"engine": "postgres",
"error": "IAM account does not have permission to list db instances in this account",
"name": "my-postgres-db",
"status": "available",
"vpc_id": "vpc-0123456789abcdef0"
}
]
}
It list RDS Database Instances
curl --request POST \
--url https://use.hoop.dev/api/integrations/aws/rds/describe-db-instances \
--header 'Content-Type: */*' \
--data '{
"account_ids": [
"<string>"
]
}'
{
"items": [
{
"account_id": "123456789012",
"arn": "arn:aws:rds:us-west-2:123456789012:db:my-postgres-db",
"availability_zone": "us-west-2a",
"connection_resources": [
"pgtest1",
"pgtest2"
],
"engine": "postgres",
"error": "IAM account does not have permission to list db instances in this account",
"name": "my-postgres-db",
"status": "available",
"vpc_id": "vpc-0123456789abcdef0"
}
]
}
The request body resource
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?