Skip to content

Commit 4de41b9

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 6ea3c40 commit 4de41b9

File tree

6 files changed

+373
-67
lines changed

6 files changed

+373
-67
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 Kubernetes Service.
5+
6+
* Feature - Aws::MediaConvert - Updated the API, and documentation for AWS Elemental MediaConvert.
7+
48
2.11.353 (2019-09-12)
59
------------------
610

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

Lines changed: 142 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,19 @@
9292
{"shape":"ServiceUnavailableException"}
9393
]
9494
},
95+
"ListTagsForResource":{
96+
"name":"ListTagsForResource",
97+
"http":{
98+
"method":"GET",
99+
"requestUri":"/tags/{resourceArn}"
100+
},
101+
"input":{"shape":"ListTagsForResourceRequest"},
102+
"output":{"shape":"ListTagsForResourceResponse"},
103+
"errors":[
104+
{"shape":"BadRequestException"},
105+
{"shape":"NotFoundException"}
106+
]
107+
},
95108
"ListUpdates":{
96109
"name":"ListUpdates",
97110
"http":{
@@ -107,6 +120,32 @@
107120
{"shape":"ResourceNotFoundException"}
108121
]
109122
},
123+
"TagResource":{
124+
"name":"TagResource",
125+
"http":{
126+
"method":"POST",
127+
"requestUri":"/tags/{resourceArn}"
128+
},
129+
"input":{"shape":"TagResourceRequest"},
130+
"output":{"shape":"TagResourceResponse"},
131+
"errors":[
132+
{"shape":"BadRequestException"},
133+
{"shape":"NotFoundException"}
134+
]
135+
},
136+
"UntagResource":{
137+
"name":"UntagResource",
138+
"http":{
139+
"method":"DELETE",
140+
"requestUri":"/tags/{resourceArn}"
141+
},
142+
"input":{"shape":"UntagResourceRequest"},
143+
"output":{"shape":"UntagResourceResponse"},
144+
"errors":[
145+
{"shape":"BadRequestException"},
146+
{"shape":"NotFoundException"}
147+
]
148+
},
110149
"UpdateClusterConfig":{
111150
"name":"UpdateClusterConfig",
112151
"http":{
@@ -143,6 +182,14 @@
143182
}
144183
},
145184
"shapes":{
185+
"BadRequestException":{
186+
"type":"structure",
187+
"members":{
188+
"message":{"shape":"String"}
189+
},
190+
"error":{"httpStatusCode":400},
191+
"exception":true
192+
},
146193
"Boolean":{"type":"boolean"},
147194
"BoxedBoolean":{
148195
"type":"boolean",
@@ -178,7 +225,8 @@
178225
"status":{"shape":"ClusterStatus"},
179226
"certificateAuthority":{"shape":"Certificate"},
180227
"clientRequestToken":{"shape":"String"},
181-
"platformVersion":{"shape":"String"}
228+
"platformVersion":{"shape":"String"},
229+
"tags":{"shape":"TagMap"}
182230
}
183231
},
184232
"ClusterName":{
@@ -212,7 +260,8 @@
212260
"clientRequestToken":{
213261
"shape":"String",
214262
"idempotencyToken":true
215-
}
263+
},
264+
"tags":{"shape":"TagMap"}
216265
}
217266
},
218267
"CreateClusterResponse":{
@@ -357,6 +406,23 @@
357406
"nextToken":{"shape":"String"}
358407
}
359408
},
409+
"ListTagsForResourceRequest":{
410+
"type":"structure",
411+
"required":["resourceArn"],
412+
"members":{
413+
"resourceArn":{
414+
"shape":"String",
415+
"location":"uri",
416+
"locationName":"resourceArn"
417+
}
418+
}
419+
},
420+
"ListTagsForResourceResponse":{
421+
"type":"structure",
422+
"members":{
423+
"tags":{"shape":"TagMap"}
424+
}
425+
},
360426
"ListUpdatesRequest":{
361427
"type":"structure",
362428
"required":["name"],
@@ -422,6 +488,14 @@
422488
"clusterLogging":{"shape":"LogSetups"}
423489
}
424490
},
491+
"NotFoundException":{
492+
"type":"structure",
493+
"members":{
494+
"message":{"shape":"String"}
495+
},
496+
"error":{"httpStatusCode":404},
497+
"exception":true
498+
},
425499
"OIDC":{
426500
"type":"structure",
427501
"members":{
@@ -479,6 +553,48 @@
479553
"type":"list",
480554
"member":{"shape":"String"}
481555
},
556+
"TagKey":{
557+
"type":"string",
558+
"max":128,
559+
"min":1
560+
},
561+
"TagKeyList":{
562+
"type":"list",
563+
"member":{"shape":"TagKey"},
564+
"max":50,
565+
"min":1
566+
},
567+
"TagMap":{
568+
"type":"map",
569+
"key":{"shape":"TagKey"},
570+
"value":{"shape":"TagValue"},
571+
"max":50,
572+
"min":1
573+
},
574+
"TagResourceRequest":{
575+
"type":"structure",
576+
"required":[
577+
"resourceArn",
578+
"tags"
579+
],
580+
"members":{
581+
"resourceArn":{
582+
"shape":"String",
583+
"location":"uri",
584+
"locationName":"resourceArn"
585+
},
586+
"tags":{"shape":"TagMap"}
587+
}
588+
},
589+
"TagResourceResponse":{
590+
"type":"structure",
591+
"members":{
592+
}
593+
},
594+
"TagValue":{
595+
"type":"string",
596+
"max":256
597+
},
482598
"Timestamp":{"type":"timestamp"},
483599
"UnsupportedAvailabilityZoneException":{
484600
"type":"structure",
@@ -490,6 +606,30 @@
490606
"error":{"httpStatusCode":400},
491607
"exception":true
492608
},
609+
"UntagResourceRequest":{
610+
"type":"structure",
611+
"required":[
612+
"resourceArn",
613+
"tagKeys"
614+
],
615+
"members":{
616+
"resourceArn":{
617+
"shape":"String",
618+
"location":"uri",
619+
"locationName":"resourceArn"
620+
},
621+
"tagKeys":{
622+
"shape":"TagKeyList",
623+
"location":"querystring",
624+
"locationName":"tagKeys"
625+
}
626+
}
627+
},
628+
"UntagResourceResponse":{
629+
"type":"structure",
630+
"members":{
631+
}
632+
},
493633
"Update":{
494634
"type":"structure",
495635
"members":{

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

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@
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 aren't 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>",
10+
"ListTagsForResource": "<p>List the tags for an Amazon EKS resource.</p>",
1011
"ListUpdates": "<p>Lists the updates associated with an Amazon EKS cluster in your AWS account, in the specified Region.</p>",
12+
"TagResource": "<p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.</p>",
13+
"UntagResource": "<p>Deletes specified tags from a resource.</p>",
1114
"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 exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't 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>You can also 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> <important> <p>At this time, you can not update the subnets or security group IDs for an existing cluster.</p> </important> <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>",
1215
"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>"
1316
},
1417
"shapes": {
18+
"BadRequestException": {
19+
"base": "<p>This exception is thrown if the request contains a semantic error. The precise meaning will depend on the API, and will be documented in the error message.</p>",
20+
"refs": {
21+
}
22+
},
1523
"Boolean": {
1624
"base": null,
1725
"refs": {
@@ -148,6 +156,16 @@
148156
"refs": {
149157
}
150158
},
159+
"ListTagsForResourceRequest": {
160+
"base": null,
161+
"refs": {
162+
}
163+
},
164+
"ListTagsForResourceResponse": {
165+
"base": null,
166+
"refs": {
167+
}
168+
},
151169
"ListUpdatesRequest": {
152170
"base": null,
153171
"refs": {
@@ -196,6 +214,11 @@
196214
"UpdateClusterConfigRequest$logging": "<p>Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't 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>"
197215
}
198216
},
217+
"NotFoundException": {
218+
"base": "<p>A service resource associated with the request could not be found. Clients should not retry such requests.</p>",
219+
"refs": {
220+
}
221+
},
199222
"OIDC": {
200223
"base": "<p>An object representing the <a href=\"https://openid.net/connect/\">OpenID Connect</a> identity provider information for the cluster.</p>",
201224
"refs": {
@@ -230,6 +253,7 @@
230253
"String": {
231254
"base": null,
232255
"refs": {
256+
"BadRequestException$message": null,
233257
"Certificate$data": "<p>The Base64-encoded certificate data required to communicate with your cluster. Add this to the <code>certificate-authority-data</code> section of the <code>kubeconfig</code> file for your cluster.</p>",
234258
"ClientException$clusterName": "<p>The Amazon EKS cluster associated with the exception.</p>",
235259
"ClientException$message": null,
@@ -254,9 +278,11 @@
254278
"InvalidRequestException$message": null,
255279
"ListClustersRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>ListClusters</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.</p> <note> <p>This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.</p> </note>",
256280
"ListClustersResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>ListClusters</code> request. When the results of a <code>ListClusters</code> request exceed <code>maxResults</code>, you can use this value to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>",
281+
"ListTagsForResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Amazon EKS clusters.</p>",
257282
"ListUpdatesRequest$name": "<p>The name of the Amazon EKS cluster to list updates for.</p>",
258283
"ListUpdatesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>ListUpdates</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.</p>",
259284
"ListUpdatesResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>ListUpdates</code> request. When the results of a <code>ListUpdates</code> request exceed <code>maxResults</code>, you can use this value to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>",
285+
"NotFoundException$message": null,
260286
"OIDC$issuer": "<p>The issuer URL for the OpenID Connect identity provider.</p>",
261287
"ResourceInUseException$clusterName": "<p>The Amazon EKS cluster associated with the exception.</p>",
262288
"ResourceInUseException$message": null,
@@ -268,8 +294,10 @@
268294
"ServerException$message": null,
269295
"ServiceUnavailableException$message": null,
270296
"StringList$member": null,
297+
"TagResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources are Amazon EKS clusters.</p>",
271298
"UnsupportedAvailabilityZoneException$message": null,
272299
"UnsupportedAvailabilityZoneException$clusterName": "<p>The Amazon EKS cluster associated with the exception.</p>",
300+
"UntagResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resources are Amazon EKS clusters.</p>",
273301
"Update$id": "<p>A UUID that is used to track the update.</p>",
274302
"UpdateClusterConfigRequest$name": "<p>The name of the Amazon EKS cluster to update.</p>",
275303
"UpdateClusterConfigRequest$clientRequestToken": "<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>",
@@ -293,6 +321,44 @@
293321
"VpcConfigResponse$securityGroupIds": "<p>The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your worker nodes and the Kubernetes control plane.</p>"
294322
}
295323
},
324+
"TagKey": {
325+
"base": null,
326+
"refs": {
327+
"TagKeyList$member": null,
328+
"TagMap$key": null
329+
}
330+
},
331+
"TagKeyList": {
332+
"base": null,
333+
"refs": {
334+
"UntagResourceRequest$tagKeys": "<p>The keys of the tags to be removed.</p>"
335+
}
336+
},
337+
"TagMap": {
338+
"base": null,
339+
"refs": {
340+
"Cluster$tags": "<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.</p>",
341+
"CreateClusterRequest$tags": "<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>",
342+
"ListTagsForResourceResponse$tags": "<p>The tags for the resource.</p>",
343+
"TagResourceRequest$tags": "<p>The tags to add to the resource. A tag is an array of key-value pairs.</p>"
344+
}
345+
},
346+
"TagResourceRequest": {
347+
"base": null,
348+
"refs": {
349+
}
350+
},
351+
"TagResourceResponse": {
352+
"base": null,
353+
"refs": {
354+
}
355+
},
356+
"TagValue": {
357+
"base": null,
358+
"refs": {
359+
"TagMap$value": null
360+
}
361+
},
296362
"Timestamp": {
297363
"base": null,
298364
"refs": {
@@ -305,6 +371,16 @@
305371
"refs": {
306372
}
307373
},
374+
"UntagResourceRequest": {
375+
"base": null,
376+
"refs": {
377+
}
378+
},
379+
"UntagResourceResponse": {
380+
"base": null,
381+
"refs": {
382+
}
383+
},
308384
"Update": {
309385
"base": "<p>An object representing an asynchronous update.</p>",
310386
"refs": {

0 commit comments

Comments
 (0)