cloudworker-proxy
Version:
An api gateway for cloudflare workers
1,058 lines • 23 kB
JSON
{
"version": "2.0",
"metadata": {
"apiVersion": "2017-11-01",
"endpointPrefix": "eks",
"jsonVersion": "1.1",
"protocol": "rest-json",
"serviceAbbreviation": "Amazon EKS",
"serviceFullName": "Amazon Elastic Kubernetes Service",
"serviceId": "EKS",
"signatureVersion": "v4",
"signingName": "eks",
"uid": "eks-2017-11-01"
},
"operations": {
"CreateCluster": {
"http": {
"requestUri": "/clusters"
},
"input": {
"type": "structure",
"required": [
"name",
"roleArn",
"resourcesVpcConfig"
],
"members": {
"name": {},
"version": {},
"roleArn": {},
"resourcesVpcConfig": {
"shape": "S4"
},
"logging": {
"shape": "S7"
},
"clientRequestToken": {
"idempotencyToken": true
},
"tags": {
"shape": "Sc"
},
"encryptionConfig": {
"shape": "Sf"
}
}
},
"output": {
"type": "structure",
"members": {
"cluster": {
"shape": "Sj"
}
}
}
},
"CreateFargateProfile": {
"http": {
"requestUri": "/clusters/{name}/fargate-profiles"
},
"input": {
"type": "structure",
"required": [
"fargateProfileName",
"clusterName",
"podExecutionRoleArn"
],
"members": {
"fargateProfileName": {},
"clusterName": {
"location": "uri",
"locationName": "name"
},
"podExecutionRoleArn": {},
"subnets": {
"shape": "S5"
},
"selectors": {
"shape": "Ss"
},
"clientRequestToken": {
"idempotencyToken": true
},
"tags": {
"shape": "Sc"
}
}
},
"output": {
"type": "structure",
"members": {
"fargateProfile": {
"shape": "Sw"
}
}
}
},
"CreateNodegroup": {
"http": {
"requestUri": "/clusters/{name}/node-groups"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"nodegroupName",
"subnets",
"nodeRole"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {},
"scalingConfig": {
"shape": "Sz"
},
"diskSize": {
"type": "integer"
},
"subnets": {
"shape": "S5"
},
"instanceTypes": {
"shape": "S5"
},
"amiType": {},
"remoteAccess": {
"shape": "S13"
},
"nodeRole": {},
"labels": {
"shape": "S14"
},
"tags": {
"shape": "Sc"
},
"clientRequestToken": {
"idempotencyToken": true
},
"launchTemplate": {
"shape": "S17"
},
"version": {},
"releaseVersion": {}
}
},
"output": {
"type": "structure",
"members": {
"nodegroup": {
"shape": "S19"
}
}
}
},
"DeleteCluster": {
"http": {
"method": "DELETE",
"requestUri": "/clusters/{name}"
},
"input": {
"type": "structure",
"required": [
"name"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
}
}
},
"output": {
"type": "structure",
"members": {
"cluster": {
"shape": "Sj"
}
}
}
},
"DeleteFargateProfile": {
"http": {
"method": "DELETE",
"requestUri": "/clusters/{name}/fargate-profiles/{fargateProfileName}"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"fargateProfileName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"fargateProfileName": {
"location": "uri",
"locationName": "fargateProfileName"
}
}
},
"output": {
"type": "structure",
"members": {
"fargateProfile": {
"shape": "Sw"
}
}
}
},
"DeleteNodegroup": {
"http": {
"method": "DELETE",
"requestUri": "/clusters/{name}/node-groups/{nodegroupName}"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"nodegroupName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {
"location": "uri",
"locationName": "nodegroupName"
}
}
},
"output": {
"type": "structure",
"members": {
"nodegroup": {
"shape": "S19"
}
}
}
},
"DescribeCluster": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}"
},
"input": {
"type": "structure",
"required": [
"name"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
}
}
},
"output": {
"type": "structure",
"members": {
"cluster": {
"shape": "Sj"
}
}
}
},
"DescribeFargateProfile": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/fargate-profiles/{fargateProfileName}"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"fargateProfileName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"fargateProfileName": {
"location": "uri",
"locationName": "fargateProfileName"
}
}
},
"output": {
"type": "structure",
"members": {
"fargateProfile": {
"shape": "Sw"
}
}
}
},
"DescribeNodegroup": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/node-groups/{nodegroupName}"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"nodegroupName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {
"location": "uri",
"locationName": "nodegroupName"
}
}
},
"output": {
"type": "structure",
"members": {
"nodegroup": {
"shape": "S19"
}
}
}
},
"DescribeUpdate": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/updates/{updateId}"
},
"input": {
"type": "structure",
"required": [
"name",
"updateId"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
},
"updateId": {
"location": "uri",
"locationName": "updateId"
},
"nodegroupName": {
"location": "querystring",
"locationName": "nodegroupName"
}
}
},
"output": {
"type": "structure",
"members": {
"update": {
"shape": "S1w"
}
}
}
},
"ListClusters": {
"http": {
"method": "GET",
"requestUri": "/clusters"
},
"input": {
"type": "structure",
"members": {
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"members": {
"clusters": {
"shape": "S5"
},
"nextToken": {}
}
}
},
"ListFargateProfiles": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/fargate-profiles"
},
"input": {
"type": "structure",
"required": [
"clusterName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"members": {
"fargateProfileNames": {
"shape": "S5"
},
"nextToken": {}
}
}
},
"ListNodegroups": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/node-groups"
},
"input": {
"type": "structure",
"required": [
"clusterName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"members": {
"nodegroups": {
"shape": "S5"
},
"nextToken": {}
}
}
},
"ListTagsForResource": {
"http": {
"method": "GET",
"requestUri": "/tags/{resourceArn}"
},
"input": {
"type": "structure",
"required": [
"resourceArn"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
}
}
},
"output": {
"type": "structure",
"members": {
"tags": {
"shape": "Sc"
}
}
}
},
"ListUpdates": {
"http": {
"method": "GET",
"requestUri": "/clusters/{name}/updates"
},
"input": {
"type": "structure",
"required": [
"name"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {
"location": "querystring",
"locationName": "nodegroupName"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
},
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
}
}
},
"output": {
"type": "structure",
"members": {
"updateIds": {
"shape": "S5"
},
"nextToken": {}
}
}
},
"TagResource": {
"http": {
"requestUri": "/tags/{resourceArn}"
},
"input": {
"type": "structure",
"required": [
"resourceArn",
"tags"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
},
"tags": {
"shape": "Sc"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UntagResource": {
"http": {
"method": "DELETE",
"requestUri": "/tags/{resourceArn}"
},
"input": {
"type": "structure",
"required": [
"resourceArn",
"tagKeys"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
},
"tagKeys": {
"location": "querystring",
"locationName": "tagKeys",
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UpdateClusterConfig": {
"http": {
"requestUri": "/clusters/{name}/update-config"
},
"input": {
"type": "structure",
"required": [
"name"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
},
"resourcesVpcConfig": {
"shape": "S4"
},
"logging": {
"shape": "S7"
},
"clientRequestToken": {
"idempotencyToken": true
}
}
},
"output": {
"type": "structure",
"members": {
"update": {
"shape": "S1w"
}
}
}
},
"UpdateClusterVersion": {
"http": {
"requestUri": "/clusters/{name}/updates"
},
"input": {
"type": "structure",
"required": [
"name",
"version"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
},
"version": {},
"clientRequestToken": {
"idempotencyToken": true
}
}
},
"output": {
"type": "structure",
"members": {
"update": {
"shape": "S1w"
}
}
}
},
"UpdateNodegroupConfig": {
"http": {
"requestUri": "/clusters/{name}/node-groups/{nodegroupName}/update-config"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"nodegroupName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {
"location": "uri",
"locationName": "nodegroupName"
},
"labels": {
"type": "structure",
"members": {
"addOrUpdateLabels": {
"shape": "S14"
},
"removeLabels": {
"type": "list",
"member": {}
}
}
},
"scalingConfig": {
"shape": "Sz"
},
"clientRequestToken": {
"idempotencyToken": true
}
}
},
"output": {
"type": "structure",
"members": {
"update": {
"shape": "S1w"
}
}
}
},
"UpdateNodegroupVersion": {
"http": {
"requestUri": "/clusters/{name}/node-groups/{nodegroupName}/update-version"
},
"input": {
"type": "structure",
"required": [
"clusterName",
"nodegroupName"
],
"members": {
"clusterName": {
"location": "uri",
"locationName": "name"
},
"nodegroupName": {
"location": "uri",
"locationName": "nodegroupName"
},
"version": {},
"releaseVersion": {},
"launchTemplate": {
"shape": "S17"
},
"force": {
"type": "boolean"
},
"clientRequestToken": {
"idempotencyToken": true
}
}
},
"output": {
"type": "structure",
"members": {
"update": {
"shape": "S1w"
}
}
}
}
},
"shapes": {
"S4": {
"type": "structure",
"members": {
"subnetIds": {
"shape": "S5"
},
"securityGroupIds": {
"shape": "S5"
},
"endpointPublicAccess": {
"type": "boolean"
},
"endpointPrivateAccess": {
"type": "boolean"
},
"publicAccessCidrs": {
"shape": "S5"
}
}
},
"S5": {
"type": "list",
"member": {}
},
"S7": {
"type": "structure",
"members": {
"clusterLogging": {
"type": "list",
"member": {
"type": "structure",
"members": {
"types": {
"type": "list",
"member": {}
},
"enabled": {
"type": "boolean"
}
}
}
}
}
},
"Sc": {
"type": "map",
"key": {},
"value": {}
},
"Sf": {
"type": "list",
"member": {
"type": "structure",
"members": {
"resources": {
"shape": "S5"
},
"provider": {
"type": "structure",
"members": {
"keyArn": {}
}
}
}
}
},
"Sj": {
"type": "structure",
"members": {
"name": {},
"arn": {},
"createdAt": {
"type": "timestamp"
},
"version": {},
"endpoint": {},
"roleArn": {},
"resourcesVpcConfig": {
"type": "structure",
"members": {
"subnetIds": {
"shape": "S5"
},
"securityGroupIds": {
"shape": "S5"
},
"clusterSecurityGroupId": {},
"vpcId": {},
"endpointPublicAccess": {
"type": "boolean"
},
"endpointPrivateAccess": {
"type": "boolean"
},
"publicAccessCidrs": {
"shape": "S5"
}
}
},
"logging": {
"shape": "S7"
},
"identity": {
"type": "structure",
"members": {
"oidc": {
"type": "structure",
"members": {
"issuer": {}
}
}
}
},
"status": {},
"certificateAuthority": {
"type": "structure",
"members": {
"data": {}
}
},
"clientRequestToken": {},
"platformVersion": {},
"tags": {
"shape": "Sc"
},
"encryptionConfig": {
"shape": "Sf"
}
}
},
"Ss": {
"type": "list",
"member": {
"type": "structure",
"members": {
"namespace": {},
"labels": {
"type": "map",
"key": {},
"value": {}
}
}
}
},
"Sw": {
"type": "structure",
"members": {
"fargateProfileName": {},
"fargateProfileArn": {},
"clusterName": {},
"createdAt": {
"type": "timestamp"
},
"podExecutionRoleArn": {},
"subnets": {
"shape": "S5"
},
"selectors": {
"shape": "Ss"
},
"status": {},
"tags": {
"shape": "Sc"
}
}
},
"Sz": {
"type": "structure",
"members": {
"minSize": {
"type": "integer"
},
"maxSize": {
"type": "integer"
},
"desiredSize": {
"type": "integer"
}
}
},
"S13": {
"type": "structure",
"members": {
"ec2SshKey": {},
"sourceSecurityGroups": {
"shape": "S5"
}
}
},
"S14": {
"type": "map",
"key": {},
"value": {}
},
"S17": {
"type": "structure",
"members": {
"name": {},
"version": {},
"id": {}
}
},
"S19": {
"type": "structure",
"members": {
"nodegroupName": {},
"nodegroupArn": {},
"clusterName": {},
"version": {},
"releaseVersion": {},
"createdAt": {
"type": "timestamp"
},
"modifiedAt": {
"type": "timestamp"
},
"status": {},
"scalingConfig": {
"shape": "Sz"
},
"instanceTypes": {
"shape": "S5"
},
"subnets": {
"shape": "S5"
},
"remoteAccess": {
"shape": "S13"
},
"amiType": {},
"nodeRole": {},
"labels": {
"shape": "S14"
},
"resources": {
"type": "structure",
"members": {
"autoScalingGroups": {
"type": "list",
"member": {
"type": "structure",
"members": {
"name": {}
}
}
},
"remoteAccessSecurityGroup": {}
}
},
"diskSize": {
"type": "integer"
},
"health": {
"type": "structure",
"members": {
"issues": {
"type": "list",
"member": {
"type": "structure",
"members": {
"code": {},
"message": {},
"resourceIds": {
"shape": "S5"
}
}
}
}
}
},
"launchTemplate": {
"shape": "S17"
},
"tags": {
"shape": "Sc"
}
}
},
"S1w": {
"type": "structure",
"members": {
"id": {},
"status": {},
"type": {},
"params": {
"type": "list",
"member": {
"type": "structure",
"members": {
"type": {},
"value": {}
}
}
},
"createdAt": {
"type": "timestamp"
},
"errors": {
"type": "list",
"member": {
"type": "structure",
"members": {
"errorCode": {},
"errorMessage": {},
"resourceIds": {
"shape": "S5"
}
}
}
}
}
}
}
}