Inital Commit
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"CreateCluster": [
|
||||
{
|
||||
"input": {
|
||||
"version": "1.10",
|
||||
"name": "prod",
|
||||
"clientRequestToken": "1d2129a1-3d38-460a-9756-e5b91fddb951",
|
||||
"resourcesVpcConfig": {
|
||||
"securityGroupIds": [
|
||||
"sg-6979fe18"
|
||||
],
|
||||
"subnetIds": [
|
||||
"subnet-6782e71e",
|
||||
"subnet-e7e761ac"
|
||||
]
|
||||
},
|
||||
"roleArn": "arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example creates an Amazon EKS cluster called prod.",
|
||||
"id": "to-create-a-new-cluster-1527868185648",
|
||||
"title": "To create a new cluster"
|
||||
}
|
||||
],
|
||||
"DeleteCluster": [
|
||||
{
|
||||
"input": {
|
||||
"name": "devel"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example command deletes a cluster named `devel` in your default region.",
|
||||
"id": "to-delete-a-cluster-1527868641252",
|
||||
"title": "To delete a cluster"
|
||||
}
|
||||
],
|
||||
"DescribeCluster": [
|
||||
{
|
||||
"input": {
|
||||
"name": "devel"
|
||||
},
|
||||
"output": {
|
||||
"cluster": {
|
||||
"version": "1.10",
|
||||
"name": "devel",
|
||||
"arn": "arn:aws:eks:us-west-2:012345678910:cluster/devel",
|
||||
"certificateAuthority": {
|
||||
"data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN5RENDQWJDZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRX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KWkUwRUtRNWEzMHhkVWNrTHRGQkQrOEtBdFdqSS9yZUZPNzM1YnBMdVoyOTBaNm42QlF3elRrS0p4cnhVc3QvOAppNGsxcnlsaUdWMm5SSjBUYjNORkczNHgrYWdzYTRoSTFPbU90TFM0TmgvRXJxT3lIUXNDc2hEQUtKUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo="
|
||||
},
|
||||
"createdAt": 1527807879.988,
|
||||
"endpoint": "https://A0DCCD80A04F01705DD065655C30CC3D.yl4.us-west-2.eks.amazonaws.com",
|
||||
"resourcesVpcConfig": {
|
||||
"securityGroupIds": [
|
||||
"sg-6979fe18"
|
||||
],
|
||||
"subnetIds": [
|
||||
"subnet-6782e71e",
|
||||
"subnet-e7e761ac"
|
||||
],
|
||||
"vpcId": "vpc-950809ec"
|
||||
},
|
||||
"roleArn": "arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI",
|
||||
"status": "ACTIVE"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example command provides a description of the specified cluster in your default region.",
|
||||
"id": "to-describe-a-cluster-1527868708512",
|
||||
"title": "To describe a cluster"
|
||||
}
|
||||
],
|
||||
"ListClusters": [
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"clusters": [
|
||||
"devel",
|
||||
"prod"
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example command lists all of your available clusters in your default region.",
|
||||
"id": "to-list-your-available-clusters-1527868801040",
|
||||
"title": "To list your available clusters"
|
||||
}
|
||||
],
|
||||
"ListTagsForResource": [
|
||||
{
|
||||
"input": {
|
||||
"resourceArn": "arn:aws:eks:us-west-2:012345678910:cluster/beta"
|
||||
},
|
||||
"output": {
|
||||
"tags": {
|
||||
"aws:tag:domain": "beta"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example lists all of the tags for the `beta` cluster.",
|
||||
"id": "to-list-tags-for-a-cluster-1568666903378",
|
||||
"title": "To list tags for a cluster"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"pagination": {
|
||||
"ListClusters": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "clusters"
|
||||
},
|
||||
"ListUpdates": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "updateIds"
|
||||
},
|
||||
"ListNodegroups": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "nodegroups"
|
||||
},
|
||||
"ListFargateProfiles": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "fargateProfileNames"
|
||||
},
|
||||
"DescribeAddonVersions": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "addons"
|
||||
},
|
||||
"ListAddons": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "addons"
|
||||
},
|
||||
"ListIdentityProviderConfigs": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "identityProviderConfigs"
|
||||
},
|
||||
"ListEksAnywhereSubscriptions": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "subscriptions"
|
||||
},
|
||||
"ListPodIdentityAssociations": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "associations"
|
||||
},
|
||||
"ListAccessEntries": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "accessEntries"
|
||||
},
|
||||
"ListAccessPolicies": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "accessPolicies"
|
||||
},
|
||||
"ListAssociatedAccessPolicies": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"non_aggregate_keys": [
|
||||
"clusterName",
|
||||
"principalArn"
|
||||
],
|
||||
"output_token": "nextToken",
|
||||
"result_key": "associatedAccessPolicies"
|
||||
},
|
||||
"ListInsights": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "insights"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"merge": {
|
||||
"metadata": {
|
||||
"serviceId":"EKS"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"ClusterActive": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeCluster",
|
||||
"maxAttempts": 40,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "DELETING",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "cluster.status"
|
||||
},
|
||||
{
|
||||
"expected": "FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "cluster.status"
|
||||
},
|
||||
{
|
||||
"expected": "ACTIVE",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "cluster.status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ClusterDeleted": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeCluster",
|
||||
"maxAttempts": 40,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "ACTIVE",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "cluster.status"
|
||||
},
|
||||
{
|
||||
"expected": "CREATING",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "cluster.status"
|
||||
},
|
||||
{
|
||||
"expected": "PENDING",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "cluster.status"
|
||||
},
|
||||
{
|
||||
"expected": "ResourceNotFoundException",
|
||||
"matcher": "error",
|
||||
"state": "success"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NodegroupActive": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeNodegroup",
|
||||
"maxAttempts": 80,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "CREATE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "nodegroup.status"
|
||||
},
|
||||
{
|
||||
"expected": "ACTIVE",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "nodegroup.status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NodegroupDeleted": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeNodegroup",
|
||||
"maxAttempts": 40,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "DELETE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "nodegroup.status"
|
||||
},
|
||||
{
|
||||
"expected": "ResourceNotFoundException",
|
||||
"matcher": "error",
|
||||
"state": "success"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AddonActive": {
|
||||
"delay": 10,
|
||||
"operation": "DescribeAddon",
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "CREATE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "addon.status"
|
||||
},
|
||||
{
|
||||
"expected": "DEGRADED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "addon.status"
|
||||
},
|
||||
{
|
||||
"expected": "ACTIVE",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "addon.status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AddonDeleted": {
|
||||
"delay": 10,
|
||||
"operation": "DescribeAddon",
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "DELETE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "addon.status"
|
||||
},
|
||||
{
|
||||
"expected": "ResourceNotFoundException",
|
||||
"matcher": "error",
|
||||
"state": "success"
|
||||
}
|
||||
]
|
||||
},
|
||||
"FargateProfileActive": {
|
||||
"delay": 10,
|
||||
"operation": "DescribeFargateProfile",
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "CREATE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "fargateProfile.status"
|
||||
},
|
||||
{
|
||||
"expected": "ACTIVE",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "fargateProfile.status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"FargateProfileDeleted": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeFargateProfile",
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "DELETE_FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure",
|
||||
"argument": "fargateProfile.status"
|
||||
},
|
||||
{
|
||||
"expected": "ResourceNotFoundException",
|
||||
"matcher": "error",
|
||||
"state": "success"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user