Skip to content

Commit ea09503

Browse files
Update latest OpenAPI spec (#11)
1 parent 6257648 commit ea09503

1 file changed

Lines changed: 58 additions & 6 deletions

File tree

openapi/emulators/localstack-spec-latest.yml

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -635,12 +635,35 @@ components:
635635
url:
636636
type: string
637637
description: URL of the remote server.
638-
example:
639-
name: example_remote
640-
protocols:
641-
- http
642-
- https
643-
remote_url: https://example.com
638+
example:
639+
name: example_remote
640+
protocols:
641+
- http
642+
- https
643+
url: https://example.com
644+
IamConfig:
645+
type: object
646+
description: IAM Config
647+
properties:
648+
state:
649+
type: string
650+
description: Engine state
651+
enum:
652+
- DISABLED
653+
- ENGINE_ONLY
654+
- SOFT_MODE
655+
- ENFORCED
656+
example: ENFORCED
657+
config_enforce_iam:
658+
type: boolean
659+
description: Whether the ENFORCE_IAM flag was set on startup of LocalStack.
660+
readOnly: true
661+
example: true
662+
config_iam_soft_mode:
663+
type: boolean
664+
description: Supported protocols of the remote.
665+
readOnly: true
666+
example: false
644667
paths:
645668
/_aws/cloudwatch/metrics/raw:
646669
get:
@@ -1417,6 +1440,35 @@ paths:
14171440
tags:
14181441
- pro
14191442
- aws
1443+
/_aws/iam/config:
1444+
get:
1445+
description: IAM config endpoint
1446+
tags:
1447+
- pro
1448+
- aws
1449+
responses:
1450+
200:
1451+
description: Successful retrieval of configuration
1452+
content:
1453+
application/json:
1454+
schema:
1455+
$ref: '#/components/schemas/IamConfig'
1456+
post:
1457+
description: IAM config endpoint
1458+
tags:
1459+
- pro
1460+
- aws
1461+
requestBody:
1462+
required: true
1463+
content:
1464+
application/json:
1465+
schema:
1466+
$ref: '#/components/schemas/IamConfig'
1467+
responses:
1468+
200:
1469+
description: Successful setting of the new configuration.
1470+
400:
1471+
description: Bad request.
14201472
/_aws/iot/LocalStackIoTRootCA.pem:
14211473
get:
14221474
description: Retrieve certificate for LocalStack IoT root certificate authority

0 commit comments

Comments
 (0)