mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
310 lines
6.6 KiB
JSON
310 lines
6.6 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2018-05-10",
|
|
"endpointPrefix": "controltower",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "rest-json",
|
|
"serviceFullName": "AWS Control Tower",
|
|
"serviceId": "ControlTower",
|
|
"signatureVersion": "v4",
|
|
"signingName": "controltower",
|
|
"uid": "controltower-2018-05-10"
|
|
},
|
|
"operations": {
|
|
"DisableControl": {
|
|
"http": {
|
|
"requestUri": "/disable-control",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"controlIdentifier",
|
|
"targetIdentifier"
|
|
],
|
|
"members": {
|
|
"controlIdentifier": {},
|
|
"targetIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"operationIdentifier"
|
|
],
|
|
"members": {
|
|
"operationIdentifier": {}
|
|
}
|
|
}
|
|
},
|
|
"EnableControl": {
|
|
"http": {
|
|
"requestUri": "/enable-control",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"controlIdentifier",
|
|
"targetIdentifier"
|
|
],
|
|
"members": {
|
|
"controlIdentifier": {},
|
|
"tags": {
|
|
"shape": "S7"
|
|
},
|
|
"targetIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"operationIdentifier"
|
|
],
|
|
"members": {
|
|
"arn": {},
|
|
"operationIdentifier": {}
|
|
}
|
|
}
|
|
},
|
|
"GetControlOperation": {
|
|
"http": {
|
|
"requestUri": "/get-control-operation",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"operationIdentifier"
|
|
],
|
|
"members": {
|
|
"operationIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"controlOperation"
|
|
],
|
|
"members": {
|
|
"controlOperation": {
|
|
"type": "structure",
|
|
"members": {
|
|
"endTime": {
|
|
"shape": "Sf"
|
|
},
|
|
"operationType": {},
|
|
"startTime": {
|
|
"shape": "Sf"
|
|
},
|
|
"status": {},
|
|
"statusMessage": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetEnabledControl": {
|
|
"http": {
|
|
"requestUri": "/get-enabled-control",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"enabledControlIdentifier"
|
|
],
|
|
"members": {
|
|
"enabledControlIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"enabledControlDetails"
|
|
],
|
|
"members": {
|
|
"enabledControlDetails": {
|
|
"type": "structure",
|
|
"members": {
|
|
"arn": {},
|
|
"controlIdentifier": {},
|
|
"driftStatusSummary": {
|
|
"shape": "Sm"
|
|
},
|
|
"statusSummary": {
|
|
"shape": "So"
|
|
},
|
|
"targetIdentifier": {},
|
|
"targetRegions": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"name": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListEnabledControls": {
|
|
"http": {
|
|
"requestUri": "/list-enabled-controls",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"targetIdentifier"
|
|
],
|
|
"members": {
|
|
"maxResults": {
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {},
|
|
"targetIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"enabledControls"
|
|
],
|
|
"members": {
|
|
"enabledControls": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"arn": {},
|
|
"controlIdentifier": {},
|
|
"driftStatusSummary": {
|
|
"shape": "Sm"
|
|
},
|
|
"statusSummary": {
|
|
"shape": "So"
|
|
},
|
|
"targetIdentifier": {}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"tags"
|
|
],
|
|
"members": {
|
|
"tags": {
|
|
"shape": "S7"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"http": {
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 204
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tags"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tags": {
|
|
"shape": "S7"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 204
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tagKeys"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tagKeys": {
|
|
"location": "querystring",
|
|
"locationName": "tagKeys",
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S7": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"Sf": {
|
|
"type": "timestamp",
|
|
"timestampFormat": "iso8601"
|
|
},
|
|
"Sm": {
|
|
"type": "structure",
|
|
"members": {
|
|
"driftStatus": {}
|
|
}
|
|
},
|
|
"So": {
|
|
"type": "structure",
|
|
"members": {
|
|
"lastOperationIdentifier": {},
|
|
"status": {}
|
|
}
|
|
}
|
|
}
|
|
} |