mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
899 lines
20 KiB
JSON
899 lines
20 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2020-08-01",
|
|
"endpointPrefix": "aps",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "rest-json",
|
|
"serviceFullName": "Amazon Prometheus Service",
|
|
"serviceId": "amp",
|
|
"signatureVersion": "v4",
|
|
"signingName": "aps",
|
|
"uid": "amp-2020-08-01"
|
|
},
|
|
"operations": {
|
|
"CreateAlertManagerDefinition": {
|
|
"http": {
|
|
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"data"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "S6"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateLoggingConfiguration": {
|
|
"http": {
|
|
"requestUri": "/workspaces/{workspaceId}/logging",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"logGroupArn"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"logGroupArn": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "Sc"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateRuleGroupsNamespace": {
|
|
"http": {
|
|
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"name",
|
|
"data"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"name": {},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"name",
|
|
"arn",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"name": {},
|
|
"arn": {},
|
|
"status": {
|
|
"shape": "Sm"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateWorkspace": {
|
|
"http": {
|
|
"requestUri": "/workspaces",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"alias": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"arn",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"workspaceId": {},
|
|
"arn": {},
|
|
"status": {
|
|
"shape": "Ss"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteAlertManagerDefinition": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteLoggingConfiguration": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/workspaces/{workspaceId}/logging",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteRuleGroupsNamespace": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"name"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"name": {
|
|
"location": "uri",
|
|
"locationName": "name"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteWorkspace": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/workspaces/{workspaceId}",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DescribeAlertManagerDefinition": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"alertManagerDefinition"
|
|
],
|
|
"members": {
|
|
"alertManagerDefinition": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status",
|
|
"data",
|
|
"createdAt",
|
|
"modifiedAt"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "S6"
|
|
},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"modifiedAt": {
|
|
"type": "timestamp"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DescribeLoggingConfiguration": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces/{workspaceId}/logging",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"loggingConfiguration"
|
|
],
|
|
"members": {
|
|
"loggingConfiguration": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status",
|
|
"workspace",
|
|
"logGroupArn",
|
|
"createdAt",
|
|
"modifiedAt"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "Sc"
|
|
},
|
|
"workspace": {},
|
|
"logGroupArn": {},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"modifiedAt": {
|
|
"type": "timestamp"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DescribeRuleGroupsNamespace": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"name"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"name": {
|
|
"location": "uri",
|
|
"locationName": "name"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ruleGroupsNamespace"
|
|
],
|
|
"members": {
|
|
"ruleGroupsNamespace": {
|
|
"type": "structure",
|
|
"required": [
|
|
"arn",
|
|
"name",
|
|
"status",
|
|
"data",
|
|
"createdAt",
|
|
"modifiedAt"
|
|
],
|
|
"members": {
|
|
"arn": {},
|
|
"name": {},
|
|
"status": {
|
|
"shape": "Sm"
|
|
},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"modifiedAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DescribeWorkspace": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces/{workspaceId}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspace"
|
|
],
|
|
"members": {
|
|
"workspace": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"arn",
|
|
"status",
|
|
"createdAt"
|
|
],
|
|
"members": {
|
|
"workspaceId": {},
|
|
"alias": {},
|
|
"arn": {},
|
|
"status": {
|
|
"shape": "Ss"
|
|
},
|
|
"prometheusEndpoint": {},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListRuleGroupsNamespaces": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"name": {
|
|
"location": "querystring",
|
|
"locationName": "name"
|
|
},
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ruleGroupsNamespaces"
|
|
],
|
|
"members": {
|
|
"ruleGroupsNamespaces": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"arn",
|
|
"name",
|
|
"status",
|
|
"createdAt",
|
|
"modifiedAt"
|
|
],
|
|
"members": {
|
|
"arn": {},
|
|
"name": {},
|
|
"status": {
|
|
"shape": "Sm"
|
|
},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"modifiedAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListWorkspaces": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/workspaces",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"alias": {
|
|
"location": "querystring",
|
|
"locationName": "alias"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaces"
|
|
],
|
|
"members": {
|
|
"workspaces": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"arn",
|
|
"status",
|
|
"createdAt"
|
|
],
|
|
"members": {
|
|
"workspaceId": {},
|
|
"alias": {},
|
|
"arn": {},
|
|
"status": {
|
|
"shape": "Ss"
|
|
},
|
|
"createdAt": {
|
|
"type": "timestamp"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"PutAlertManagerDefinition": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"data"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "S6"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"PutRuleGroupsNamespace": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"name",
|
|
"data"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"name": {
|
|
"location": "uri",
|
|
"locationName": "name"
|
|
},
|
|
"data": {
|
|
"type": "blob"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"name",
|
|
"arn",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"name": {},
|
|
"arn": {},
|
|
"status": {
|
|
"shape": "Sm"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"TagResource": {
|
|
"http": {
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tags"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tags": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tagKeys"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tagKeys": {
|
|
"location": "querystring",
|
|
"locationName": "tagKeys",
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"UpdateLoggingConfiguration": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/workspaces/{workspaceId}/logging",
|
|
"responseCode": 202
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId",
|
|
"logGroupArn"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"logGroupArn": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"status"
|
|
],
|
|
"members": {
|
|
"status": {
|
|
"shape": "Sc"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"UpdateWorkspaceAlias": {
|
|
"http": {
|
|
"requestUri": "/workspaces/{workspaceId}/alias",
|
|
"responseCode": 204
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"workspaceId"
|
|
],
|
|
"members": {
|
|
"workspaceId": {
|
|
"location": "uri",
|
|
"locationName": "workspaceId"
|
|
},
|
|
"alias": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S6": {
|
|
"type": "structure",
|
|
"required": [
|
|
"statusCode"
|
|
],
|
|
"members": {
|
|
"statusCode": {},
|
|
"statusReason": {}
|
|
}
|
|
},
|
|
"Sc": {
|
|
"type": "structure",
|
|
"required": [
|
|
"statusCode"
|
|
],
|
|
"members": {
|
|
"statusCode": {},
|
|
"statusReason": {}
|
|
}
|
|
},
|
|
"Sh": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"Sm": {
|
|
"type": "structure",
|
|
"required": [
|
|
"statusCode"
|
|
],
|
|
"members": {
|
|
"statusCode": {},
|
|
"statusReason": {}
|
|
}
|
|
},
|
|
"Ss": {
|
|
"type": "structure",
|
|
"required": [
|
|
"statusCode"
|
|
],
|
|
"members": {
|
|
"statusCode": {}
|
|
}
|
|
}
|
|
}
|
|
} |