Skip to content

Commit 839643c

Browse files
Syncing API (#155)
Co-authored-by: GitHub <[email protected]>
1 parent 14c1fc7 commit 839643c

File tree

1 file changed

+66
-1
lines changed
  • packages/common/config/apis/hcc-insights/cost-management

1 file changed

+66
-1
lines changed

packages/common/config/apis/hcc-insights/cost-management/openapi.json

+66-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
"errors": {
451451
"items": {
452452
"example": {
453-
"detail": "{'sources': ['RabbitMQ unavailable. Unable to update Source ID 1.']}",
453+
"detail": "{'sources': ['Redis unavailable. Unable to update Source ID 1.']}",
454454
"source": "detail",
455455
"status": 424
456456
},
@@ -3770,6 +3770,36 @@
37703770
"example": -10,
37713771
"type": "integer"
37723772
},
3773+
"ResourceTypeAwsCategories": {
3774+
"allOf": [
3775+
{
3776+
"$ref": "#/components/schemas/ListPagination"
3777+
},
3778+
{
3779+
"properties": {
3780+
"data": {
3781+
"example": [
3782+
{
3783+
"enabled": "True",
3784+
"key": "env",
3785+
"values": [
3786+
"prod",
3787+
"ephemeral",
3788+
"stage"
3789+
]
3790+
}
3791+
],
3792+
"items": {},
3793+
"type": "array"
3794+
}
3795+
},
3796+
"required": [
3797+
"data"
3798+
],
3799+
"type": "object"
3800+
}
3801+
]
3802+
},
37733803
"ResourceTypeListOut": {
37743804
"properties": {
37753805
"count": {
@@ -7714,6 +7744,41 @@
77147744
]
77157745
}
77167746
},
7747+
"/resource-types/aws-categories/": {
7748+
"get": {
7749+
"operationId": "listResourcesAwsCategories",
7750+
"parameters": [
7751+
{
7752+
"$ref": "#/components/parameters/QueryOffset"
7753+
},
7754+
{
7755+
"$ref": "#/components/parameters/QueryLimit"
7756+
},
7757+
{
7758+
"$ref": "#/components/parameters/QueryValue"
7759+
},
7760+
{
7761+
"$ref": "#/components/parameters/QueryOrder"
7762+
}
7763+
],
7764+
"responses": {
7765+
"200": {
7766+
"content": {
7767+
"application/json": {
7768+
"schema": {
7769+
"$ref": "#/components/schemas/ResourceTypeAwsCategories"
7770+
}
7771+
}
7772+
},
7773+
"description": "| - 200 response"
7774+
}
7775+
},
7776+
"summary": "Obtain mapping of key and values for AWS Categories.",
7777+
"tags": [
7778+
"Resource Type"
7779+
]
7780+
}
7781+
},
77177782
"/resource-types/aws-organizational-units/": {
77187783
"get": {
77197784
"operationId": "listResourcesAwsOrgUnits",

0 commit comments

Comments
 (0)