Skip to content

Commit ce2f70b

Browse files
author
cibot
committed
Definitions Update remediations
1 parent fb4f172 commit ce2f70b

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

alsdkdefs/apis/remediations/assets_query.v1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,7 +2796,7 @@ paths:
27962796
"404":
27972797
$ref: 'responses.yaml#/NotFound'
27982798
"503":
2799-
$ref: 'responses.yaml#/UnavailableError'
2799+
$ref: 'responses.yaml#/RemediationsUnavailableError'
28002800
x-codeSamples:
28012801
- lang: Shell
28022802
label: Dispose a single remediation (all deployments)
@@ -3093,7 +3093,7 @@ paths:
30933093
"404":
30943094
$ref: 'responses.yaml#/NotFound'
30953095
"503":
3096-
$ref: 'responses.yaml#/UnavailableError'
3096+
$ref: 'responses.yaml#/RemediationsUnavailableError'
30973097
security:
30983098
- x-aims-auth-token: []
30993099
/assets_query/v1/asset_types:

alsdkdefs/apis/remediations/responses.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ RequestEntityTooLarge:
1212
limit, which is 1MB.
1313
UnavailableError:
1414
description: '`Unavailable`. The specified account is unavailable at the moment.'
15+
RemediationsUnavailableError:
16+
description: '`Unavailable`. Remediations API for the specified account is unavailable.'
17+
content:
18+
application/json:
19+
schema:
20+
type: object
21+
properties:
22+
error_type:
23+
type: string
24+
message:
25+
type: string
26+
required:
27+
- error_type
28+
- message
29+
examples:
30+
example:
31+
value:
32+
error_type: error
33+
message: Disposals temporarily unavailable
1534
InvalidValueError:
1635
description: '`400 Bad Request`: Returned when an invalid value is provided for a known parameter. The parameter and value are specified in the response.'
1736
content:

0 commit comments

Comments
 (0)