Skip to content

Commit 321bc58

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent aac7f1e commit 321bc58

File tree

4 files changed

+283
-210
lines changed

4 files changed

+283
-210
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::EKS - Updated the API, and documentation for Amazon Elastic Container Service for Kubernetes.
5+
6+
* Feature - Aws::IAM - Updated the documentation for AWS Identity and Access Management.
7+
48
2.11.254 (2019-04-03)
59
------------------
610

aws-sdk-core/apis/eks/2017-11-01/api-2.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
"endpoint":{"shape":"String"},
174174
"roleArn":{"shape":"String"},
175175
"resourcesVpcConfig":{"shape":"VpcConfigResponse"},
176+
"logging":{"shape":"Logging"},
176177
"status":{"shape":"ClusterStatus"},
177178
"certificateAuthority":{"shape":"Certificate"},
178179
"clientRequestToken":{"shape":"String"},
@@ -206,6 +207,7 @@
206207
"version":{"shape":"String"},
207208
"roleArn":{"shape":"String"},
208209
"resourcesVpcConfig":{"shape":"VpcConfigRequest"},
210+
"logging":{"shape":"Logging"},
209211
"clientRequestToken":{
210212
"shape":"String",
211213
"idempotencyToken":true
@@ -382,6 +384,37 @@
382384
"nextToken":{"shape":"String"}
383385
}
384386
},
387+
"LogSetup":{
388+
"type":"structure",
389+
"members":{
390+
"types":{"shape":"LogTypes"},
391+
"enabled":{"shape":"BoxedBoolean"}
392+
}
393+
},
394+
"LogSetups":{
395+
"type":"list",
396+
"member":{"shape":"LogSetup"}
397+
},
398+
"LogType":{
399+
"type":"string",
400+
"enum":[
401+
"api",
402+
"audit",
403+
"authenticator",
404+
"controllerManager",
405+
"scheduler"
406+
]
407+
},
408+
"LogTypes":{
409+
"type":"list",
410+
"member":{"shape":"LogType"}
411+
},
412+
"Logging":{
413+
"type":"structure",
414+
"members":{
415+
"clusterLogging":{"shape":"LogSetups"}
416+
}
417+
},
385418
"ResourceInUseException":{
386419
"type":"structure",
387420
"members":{
@@ -465,6 +498,7 @@
465498
"locationName":"name"
466499
},
467500
"resourcesVpcConfig":{"shape":"VpcConfigRequest"},
501+
"logging":{"shape":"Logging"},
468502
"clientRequestToken":{
469503
"shape":"String",
470504
"idempotencyToken":true
@@ -515,7 +549,8 @@
515549
"Version",
516550
"PlatformVersion",
517551
"EndpointPrivateAccess",
518-
"EndpointPublicAccess"
552+
"EndpointPublicAccess",
553+
"ClusterLogging"
519554
]
520555
},
521556
"UpdateParams":{
@@ -535,7 +570,8 @@
535570
"type":"string",
536571
"enum":[
537572
"VersionUpdate",
538-
"EndpointAccessUpdate"
573+
"EndpointAccessUpdate",
574+
"LoggingUpdate"
539575
]
540576
},
541577
"VpcConfigRequest":{

aws-sdk-core/apis/eks/2017-11-01/docs-2.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"version": "2.0",
33
"service": "<p>Amazon Elastic Container Service for Kubernetes (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on AWS without needing to stand up or maintain your own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications. </p> <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use all the existing plugins and tooling from the Kubernetes community. Applications running on Amazon EKS are fully compatible with applications running on any standard Kubernetes environment, whether running in on-premises data centers or public clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>",
44
"operations": {
5-
"CreateCluster": "<p>Creates an Amazon EKS control plane. </p> <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, like <code>etcd</code> and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server endpoint.</p> <p>Amazon EKS worker nodes run in your AWS 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>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 worker nodes (for example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).</p> <p>After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch worker 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 Worker Nodes</a>in the <i>Amazon EKS User Guide</i>.</p>",
5+
"CreateCluster": "<p>Creates an Amazon EKS control plane. </p> <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, like <code>etcd</code> and the API server. The control plane runs in an account managed by AWS, 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 worker nodes (for example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).</p> <p>Amazon EKS worker nodes run in your AWS 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>You can use the <code>endpointPublicAccess</code> and <code>endpointPrivateAccess</code> parameters to enable or disable public and private access to your cluster's Kubernetes API server endpoint. By default, public access is enabled and private access is disabled. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html\">Amazon EKS Cluster Endpoint Access Control</a> in the <i> <i>Amazon EKS User Guide</i> </i>. </p> <p>You can use the <code>logging</code> parameter to enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs are not exported to CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html\">Amazon EKS Cluster Control Plane Logs</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p> <note> <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see <a href=\"http://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> </note> <p>Cluster creation typically takes between 10 and 15 minutes. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch worker 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 Worker Nodes</a> in the <i>Amazon EKS User Guide</i>.</p>",
66
"DeleteCluster": "<p>Deletes the Amazon EKS cluster control plane. </p> <note> <p>If you have active services in your cluster that are associated with a load balancer, you must delete those services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html\">Deleting a Cluster</a> in the <i>Amazon EKS User Guide</i>.</p> </note>",
77
"DescribeCluster": "<p>Returns descriptive information about an Amazon EKS cluster.</p> <p>The API server endpoint and certificate authority data returned by this operation are required for <code>kubelet</code> and <code>kubectl</code> to communicate with your Kubernetes API server. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html\">Create a kubeconfig for Amazon EKS</a>.</p> <note> <p>The API server endpoint and certificate authority data are not available until the cluster reaches the <code>ACTIVE</code> state.</p> </note>",
88
"DescribeUpdate": "<p>Returns descriptive information about an update against your Amazon EKS cluster.</p> <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an update fails, the status is <code>Failed</code>, and an error detail explains the reason for the failure.</p>",
99
"ListClusters": "<p>Lists the Amazon EKS clusters in your AWS account in the specified Region.</p>",
1010
"ListUpdates": "<p>Lists the updates associated with an Amazon EKS cluster in your AWS account, in the specified Region.</p>",
11-
"UpdateClusterConfig": "<p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p> <p>Currently, the only cluster configuration changes supported are to enable or disable Amazon EKS public and private API server endpoints. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html\">Amazon EKS Cluster Endpoint Access Control</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p> <p>Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to <code>UPDATING</code> (this status transition is eventually consistent). When the update is complete (either <code>Failed</code> or <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>",
11+
"UpdateClusterConfig": "<p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p> <p>You can use this API operation to enable or disable public and private access to your cluster's Kubernetes API server endpoint. By default, public access is enabled and private access is disabled. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html\">Amazon EKS Cluster Endpoint Access Control</a> in the <i> <i>Amazon EKS User Guide</i> </i>. </p> <p>You can also use this API operation to enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs are not exported to CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html\">Amazon EKS Cluster Control Plane Logs</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p> <note> <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see <a href=\"http://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> </note> <p>Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to <code>UPDATING</code> (this status transition is eventually consistent). When the update is complete (either <code>Failed</code> or <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>",
1212
"UpdateClusterVersion": "<p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p> <p>Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to <code>UPDATING</code> (this status transition is eventually consistent). When the update is complete (either <code>Failed</code> or <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>"
1313
},
1414
"shapes": {
@@ -22,6 +22,7 @@
2222
"BoxedBoolean": {
2323
"base": null,
2424
"refs": {
25+
"LogSetup$enabled": "<p>If a log type is enabled, then that log type exports its control plane logs to CloudWatch Logs. If a log type is not enabled, then that log type does not export its control plane logs. Each individual log type can be enabled or disabled independently.</p>",
2526
"VpcConfigRequest$endpointPublicAccess": "<p>Set this value to <code>false</code> to disable public access for your cluster's Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes API server can only receive requests from within the cluster VPC. The default value for this parameter is <code>true</code>, which enables public access for your Kubernetes API server. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html\">Amazon EKS Cluster Endpoint Access Control</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p>",
2627
"VpcConfigRequest$endpointPrivateAccess": "<p>Set this value to <code>true</code> to enable private access for your cluster's Kubernetes API server endpoint. If you enable private access, Kubernetes API requests from within your cluster's VPC will use the private VPC endpoint. The default value for this parameter is <code>false</code>, which disables private access for your Kubernetes API server. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html\">Amazon EKS Cluster Endpoint Access Control</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p>"
2728
}
@@ -157,6 +158,38 @@
157158
"refs": {
158159
}
159160
},
161+
"LogSetup": {
162+
"base": "<p>An object representing the enabled or disabled Kubernetes control plane logs for your cluster.</p>",
163+
"refs": {
164+
"LogSetups$member": null
165+
}
166+
},
167+
"LogSetups": {
168+
"base": null,
169+
"refs": {
170+
"Logging$clusterLogging": "<p>The cluster control plane logging configuration for your cluster.</p>"
171+
}
172+
},
173+
"LogType": {
174+
"base": null,
175+
"refs": {
176+
"LogTypes$member": null
177+
}
178+
},
179+
"LogTypes": {
180+
"base": null,
181+
"refs": {
182+
"LogSetup$types": "<p>The available cluster control plane log types.</p>"
183+
}
184+
},
185+
"Logging": {
186+
"base": "<p>An object representing the logging configuration for resources in your cluster.</p>",
187+
"refs": {
188+
"Cluster$logging": "<p>The logging configuration for your cluster.</p>",
189+
"CreateClusterRequest$logging": "<p>Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs are not exported to CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html\">Amazon EKS Cluster Control Plane Logs</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p> <note> <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see <a href=\"http://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> </note>",
190+
"UpdateClusterConfigRequest$logging": "<p>Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs are not exported to CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html\">Amazon EKS Cluster Control Plane Logs</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p> <note> <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see <a href=\"http://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> </note>"
191+
}
192+
},
160193
"ResourceInUseException": {
161194
"base": "<p>The specified resource is in use.</p>",
162195
"refs": {
@@ -318,7 +351,7 @@
318351
}
319352
},
320353
"VpcConfigRequest": {
321-
"base": "<p>An object representing an Amazon EKS cluster VPC configuration request.</p>",
354+
"base": "<p>An object representing the VPC configuration to use for an Amazon EKS cluster.</p>",
322355
"refs": {
323356
"CreateClusterRequest$resourcesVpcConfig": "<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 may specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.</p>",
324357
"UpdateClusterConfigRequest$resourcesVpcConfig": null

0 commit comments

Comments
 (0)