Skip to content

Commit 43a64b1

Browse files
author
AWS
committed
Amazon Elastic Kubernetes Service Update: Adding missing exceptions to RegisterCluster operation
1 parent 29c96df commit 43a64b1

File tree

2 files changed

+31
-14
lines changed

2 files changed

+31
-14
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Kubernetes Service",
4+
"contributor": "",
5+
"description": "Adding missing exceptions to RegisterCluster operation"
6+
}

services/eks/src/main/resources/codegen-resources/service-2.json

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
{"shape":"ServiceUnavailableException"},
8585
{"shape":"UnsupportedAvailabilityZoneException"}
8686
],
87-
"documentation":"<p>Creates an Amazon EKS control plane. </p> <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as <code>etcd</code> and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances.</p> <p>The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).</p> <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster.</p> <p>Cluster creation typically takes several minutes. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html\">Managing Cluster Authentication</a> and <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html\">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>"
87+
"documentation":"<p>Creates an Amazon EKS control plane. </p> <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as <code>etcd</code> and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its own set of Amazon EC2 instances.</p> <p>The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).</p> <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over the Kubernetes API server endpoint and a certificate file that is created for your cluster.</p> <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html\">Managing Cluster Authentication</a> and <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html\">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>"
8888
},
8989
"CreateFargateProfile":{
9090
"name":"CreateFargateProfile",
@@ -468,7 +468,9 @@
468468
{"shape":"ClientException"},
469469
{"shape":"ServerException"},
470470
{"shape":"ServiceUnavailableException"},
471-
{"shape":"AccessDeniedException"}
471+
{"shape":"AccessDeniedException"},
472+
{"shape":"ResourceInUseException"},
473+
{"shape":"ResourcePropagationDelayException"}
472474
],
473475
"documentation":"<p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p> <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes. </p> <p>Cluster connection requires two steps. First, send a <code> <a>RegisterClusterRequest</a> </code> to add it to the Amazon EKS control plane.</p> <p>Second, a <a href=\"https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml\">Manifest</a> containing the <code>activationID</code> and <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p> <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>"
474476
},
@@ -653,7 +655,7 @@
653655
},
654656
"tags":{
655657
"shape":"TagMap",
656-
"documentation":"<p>The metadata that you apply to the add-on to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Add-on tags do not propagate to any other resources associated with the cluster. </p>"
658+
"documentation":"<p>The metadata that you apply to the add-on to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Add-on tags do not propagate to any other resources associated with the cluster. </p>"
657659
}
658660
},
659661
"documentation":"<p>An Amazon EKS add-on. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html\">Amazon EKS add-ons</a> in the <i>Amazon EKS User Guide</i>.</p>"
@@ -808,7 +810,7 @@
808810
},
809811
"tags":{
810812
"shape":"TagMap",
811-
"documentation":"<p>The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.</p>"
813+
"documentation":"<p>The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.</p>"
812814
},
813815
"clientRequestToken":{
814816
"shape":"String",
@@ -960,7 +962,7 @@
960962
},
961963
"tags":{
962964
"shape":"TagMap",
963-
"documentation":"<p>The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.</p>"
965+
"documentation":"<p>The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.</p>"
964966
},
965967
"encryptionConfig":{
966968
"shape":"EncryptionConfigList",
@@ -1106,7 +1108,7 @@
11061108
},
11071109
"tags":{
11081110
"shape":"TagMap",
1109-
"documentation":"<p>The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. </p>"
1111+
"documentation":"<p>The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.</p>"
11101112
}
11111113
}
11121114
},
@@ -1138,7 +1140,7 @@
11381140
},
11391141
"resourcesVpcConfig":{
11401142
"shape":"VpcConfigRequest",
1141-
"documentation":"<p>The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html\">Cluster VPC Considerations</a> and <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html\">Cluster Security Group Considerations</a> in the <i>Amazon EKS User Guide</i>. You must specify at least two subnets. You can specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.</p>"
1143+
"documentation":"<p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html\">Cluster VPC Considerations</a> and <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html\">Cluster Security Group Considerations</a> in the <i>Amazon EKS User Guide</i>. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.</p>"
11421144
},
11431145
"kubernetesNetworkConfig":{
11441146
"shape":"KubernetesNetworkConfigRequest",
@@ -1155,7 +1157,7 @@
11551157
},
11561158
"tags":{
11571159
"shape":"TagMap",
1158-
"documentation":"<p>The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.</p>"
1160+
"documentation":"<p>The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.</p>"
11591161
},
11601162
"encryptionConfig":{
11611163
"shape":"EncryptionConfigList",
@@ -1209,7 +1211,7 @@
12091211
},
12101212
"tags":{
12111213
"shape":"TagMap",
1212-
"documentation":"<p>The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.</p>"
1214+
"documentation":"<p>The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.</p>"
12131215
}
12141216
}
12151217
},
@@ -1279,7 +1281,7 @@
12791281
},
12801282
"tags":{
12811283
"shape":"TagMap",
1282-
"documentation":"<p>The metadata to apply to the node group to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.</p>"
1284+
"documentation":"<p>The metadata to apply to the node group to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.</p>"
12831285
},
12841286
"clientRequestToken":{
12851287
"shape":"String",
@@ -1805,7 +1807,7 @@
18051807
},
18061808
"tags":{
18071809
"shape":"TagMap",
1808-
"documentation":"<p>The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.</p>"
1810+
"documentation":"<p>The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.</p>"
18091811
}
18101812
},
18111813
"documentation":"<p>An object representing an Fargate profile.</p>"
@@ -2055,7 +2057,7 @@
20552057
},
20562058
"include":{
20572059
"shape":"IncludeClustersList",
2058-
"documentation":"<p>Indicates whether connected clusters are included in the returned list. Default value is 'ALL'.</p>",
2060+
"documentation":"<p>Indicates whether external clusters are included in the returned list. Use '<code>all</code>' to return connected clusters, or blank to return only Amazon EKS clusters. '<code>all</code>' must be in lowercase otherwise an error occurs.</p>",
20592061
"location":"querystring",
20602062
"locationName":"include"
20612063
}
@@ -2414,7 +2416,7 @@
24142416
},
24152417
"tags":{
24162418
"shape":"TagMap",
2417-
"documentation":"<p>The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets. </p>"
2419+
"documentation":"<p>The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets. </p>"
24182420
}
24192421
},
24202422
"documentation":"<p>An object representing an Amazon EKS managed node group.</p>"
@@ -2579,7 +2581,7 @@
25792581
},
25802582
"tags":{
25812583
"shape":"TagMap",
2582-
"documentation":"<p>The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you defined.</p>"
2584+
"documentation":"<p>The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.</p>"
25832585
},
25842586
"status":{
25852587
"shape":"configStatus",
@@ -2757,6 +2759,15 @@
27572759
"error":{"httpStatusCode":404},
27582760
"exception":true
27592761
},
2762+
"ResourcePropagationDelayException":{
2763+
"type":"structure",
2764+
"members":{
2765+
"message":{"shape":"String"}
2766+
},
2767+
"documentation":"<p>Required resources (such as Service Linked Roles) were created and are still propagating. Retry later.</p>",
2768+
"error":{"httpStatusCode":428},
2769+
"exception":true
2770+
},
27602771
"RoleArn":{
27612772
"type":"string",
27622773
"max":255,

0 commit comments

Comments
 (0)