Get aws regions
GEThttps://api.orange.com/evolutionplatform/aws/api/v1//aws/projects/:projectId/vif/:vifType/regions
This resource allows to retrieve a list of AWS regions compatible with Orange. The response will only provide AWS regions where you have available gateways for selected virtual interface type. If you don't see the region you're looking for, please add a gateway on AWS console or cli
Request
Path Parameters
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
Project UUID
Possible values: [privateVif
, transitVif
]
Virtual interface type
Query Parameters
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
Aws credentials UUID linked to this account and project
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Return a list of aws regions
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
[
"string"
]
Bad request
- application/json
- Schema
- Example (auto)
Schema
bad request code
bad request message
bad request description
violations object[]
{
"code": 0,
"message": "string",
"description": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal server error
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: http
name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L 'https://api.orange.com/evolutionplatform/aws/api/v1//aws/projects/:projectId/vif/:vifType/regions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'