aws-sdk-eks 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5be9618f00bcc0171e76e8a5cf88c926c256282a
4
- data.tar.gz: 61bf77e4885c776b80bcc132b3d81ecbeaa1b5c0
3
+ metadata.gz: df0ae199aca5ef0010634582f5ceb6894fffbb09
4
+ data.tar.gz: 69ba9ca1d13a27e9d387e6ba504fe40fc060e521
5
5
  SHA512:
6
- metadata.gz: b9b1f5e173c20afebaeedc9960ad8fe807d3f5e8d8a412a198eafb904fbeaa2264c5a7a4062f74ab8a9c6d91d06be5258d600b7b521dbb3da8ea3ba9ce14f2ce
7
- data.tar.gz: 704e8170824bcd63c5d0a014ddd9079ee0e0770bf85e4d5d82d83665a56ba225b76fa1a14f3f6887104dc19df07e64b9b2c896e09411cd208e92ca3030cc810b
6
+ metadata.gz: f794eb88139c15b92197a15b59684aa755bc9e1ece14b71a9a8dfe94f7faeabf693a438e70a2836fbee30f0c1d93e92e5fdd7d09829cf31203f1cde29894d895
7
+ data.tar.gz: ec92dcf0631ce5f05771e9aebc78e1b6680774bfedd4a6f6f8c0361681f4714302a1725cb309da5ff48534eb5b40052cc688ca5d561a32d7128e9a7bb9260888
data/lib/aws-sdk-eks.rb CHANGED
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-eks/customizations'
43
43
  # @service
44
44
  module Aws::EKS
45
45
 
46
- GEM_VERSION = '1.8.0'
46
+ GEM_VERSION = '1.9.0'
47
47
 
48
48
  end
@@ -257,8 +257,8 @@ module Aws::EKS
257
257
  # with Kubernetes. For more information, see [Cluster VPC
258
258
  # Considerations][1] and [Cluster Security Group Considerations][2] in
259
259
  # the *Amazon EKS User Guide*. You must specify at least two subnets.
260
- # You may specify up to 5 security groups, but we recommend that you use
261
- # a dedicated security group for your cluster control plane.
260
+ # You may specify up to five security groups, but we recommend that you
261
+ # use a dedicated security group for your cluster control plane.
262
262
  #
263
263
  #
264
264
  #
@@ -266,7 +266,7 @@ module Aws::EKS
266
266
  # [2]: http://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
267
267
  #
268
268
  # @option params [String] :client_request_token
269
- # Unique, case-sensitive identifier you provide to ensure the
269
+ # Unique, case-sensitive identifier that you provide to ensure the
270
270
  # idempotency of the request.
271
271
  #
272
272
  # **A suitable default value is auto-generated.** You should normally
@@ -500,6 +500,54 @@ module Aws::EKS
500
500
  req.send_request(options)
501
501
  end
502
502
 
503
+ # Returns descriptive information about an update against your Amazon
504
+ # EKS cluster.
505
+ #
506
+ # When the status of the update is `Succeeded`, the update is complete.
507
+ # If an update fails, the status is `Failed`, and an error detail
508
+ # explains the reason for the failure.
509
+ #
510
+ # @option params [required, String] :name
511
+ # The name of the Amazon EKS cluster to update.
512
+ #
513
+ # @option params [required, String] :update_id
514
+ # The ID of the update to describe.
515
+ #
516
+ # @return [Types::DescribeUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
517
+ #
518
+ # * {Types::DescribeUpdateResponse#update #update} => Types::Update
519
+ #
520
+ # @example Request syntax with placeholder values
521
+ #
522
+ # resp = client.describe_update({
523
+ # name: "String", # required
524
+ # update_id: "String", # required
525
+ # })
526
+ #
527
+ # @example Response structure
528
+ #
529
+ # resp.update.id #=> String
530
+ # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
531
+ # resp.update.type #=> String, one of "VersionUpdate"
532
+ # resp.update.params #=> Array
533
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion"
534
+ # resp.update.params[0].value #=> String
535
+ # resp.update.created_at #=> Time
536
+ # resp.update.errors #=> Array
537
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown"
538
+ # resp.update.errors[0].error_message #=> String
539
+ # resp.update.errors[0].resource_ids #=> Array
540
+ # resp.update.errors[0].resource_ids[0] #=> String
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate AWS API Documentation
543
+ #
544
+ # @overload describe_update(params = {})
545
+ # @param [Hash] params ({})
546
+ def describe_update(params = {}, options = {})
547
+ req = build_request(:describe_update, params)
548
+ req.send_request(options)
549
+ end
550
+
503
551
  # Lists the Amazon EKS clusters in your AWS account in the specified
504
552
  # Region.
505
553
  #
@@ -568,6 +616,116 @@ module Aws::EKS
568
616
  req.send_request(options)
569
617
  end
570
618
 
619
+ # Lists the updates associated with an Amazon EKS cluster in your AWS
620
+ # account, in the specified Region.
621
+ #
622
+ # @option params [required, String] :name
623
+ # The name of the Amazon EKS cluster for which to list updates.
624
+ #
625
+ # @option params [String] :next_token
626
+ # The `nextToken` value returned from a previous paginated `ListUpdates`
627
+ # request where `maxResults` was used and the results exceeded the value
628
+ # of that parameter. Pagination continues from the end of the previous
629
+ # results that returned the `nextToken` value.
630
+ #
631
+ # @option params [Integer] :max_results
632
+ # The maximum number of update results returned by `ListUpdates` in
633
+ # paginated output. When this parameter is used, `ListUpdates` only
634
+ # returns `maxResults` results in a single page along with a `nextToken`
635
+ # response element. The remaining results of the initial request can be
636
+ # seen by sending another `ListUpdates` request with the returned
637
+ # `nextToken` value. This value can be between 1 and 100. If this
638
+ # parameter is not used, then `ListUpdates` returns up to 100 results
639
+ # and a `nextToken` value if applicable.
640
+ #
641
+ # @return [Types::ListUpdatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
642
+ #
643
+ # * {Types::ListUpdatesResponse#update_ids #update_ids} => Array<String>
644
+ # * {Types::ListUpdatesResponse#next_token #next_token} => String
645
+ #
646
+ # @example Request syntax with placeholder values
647
+ #
648
+ # resp = client.list_updates({
649
+ # name: "String", # required
650
+ # next_token: "String",
651
+ # max_results: 1,
652
+ # })
653
+ #
654
+ # @example Response structure
655
+ #
656
+ # resp.update_ids #=> Array
657
+ # resp.update_ids[0] #=> String
658
+ # resp.next_token #=> String
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates AWS API Documentation
661
+ #
662
+ # @overload list_updates(params = {})
663
+ # @param [Hash] params ({})
664
+ def list_updates(params = {}, options = {})
665
+ req = build_request(:list_updates, params)
666
+ req.send_request(options)
667
+ end
668
+
669
+ # Updates an Amazon EKS cluster to the specified Kubernetes version.
670
+ # Your cluster continues to function during the update. The response
671
+ # output includes an update ID that you can use to track the status of
672
+ # your cluster update with the DescribeUpdate API operation.
673
+ #
674
+ # Cluster updates are asynchronous, and they should finish within a few
675
+ # minutes. During an update, the cluster status moves to `UPDATING`
676
+ # (this status transition is eventually consistent). When the update is
677
+ # complete (either `Failed` or `Successful`), the cluster status moves
678
+ # to `Active`.
679
+ #
680
+ # @option params [required, String] :name
681
+ # The name of the Amazon EKS cluster to update.
682
+ #
683
+ # @option params [required, String] :version
684
+ # The desired Kubernetes version following a successful update.
685
+ #
686
+ # @option params [String] :client_request_token
687
+ # Unique, case-sensitive identifier that you provide to ensure the
688
+ # idempotency of the request.
689
+ #
690
+ # **A suitable default value is auto-generated.** You should normally
691
+ # not need to pass this option.**
692
+ #
693
+ # @return [Types::UpdateClusterVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
694
+ #
695
+ # * {Types::UpdateClusterVersionResponse#update #update} => Types::Update
696
+ #
697
+ # @example Request syntax with placeholder values
698
+ #
699
+ # resp = client.update_cluster_version({
700
+ # name: "String", # required
701
+ # version: "String", # required
702
+ # client_request_token: "String",
703
+ # })
704
+ #
705
+ # @example Response structure
706
+ #
707
+ # resp.update.id #=> String
708
+ # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
709
+ # resp.update.type #=> String, one of "VersionUpdate"
710
+ # resp.update.params #=> Array
711
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion"
712
+ # resp.update.params[0].value #=> String
713
+ # resp.update.created_at #=> Time
714
+ # resp.update.errors #=> Array
715
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown"
716
+ # resp.update.errors[0].error_message #=> String
717
+ # resp.update.errors[0].resource_ids #=> Array
718
+ # resp.update.errors[0].resource_ids[0] #=> String
719
+ #
720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion AWS API Documentation
721
+ #
722
+ # @overload update_cluster_version(params = {})
723
+ # @param [Hash] params ({})
724
+ def update_cluster_version(params = {}, options = {})
725
+ req = build_request(:update_cluster_version, params)
726
+ req.send_request(options)
727
+ end
728
+
571
729
  # @!endgroup
572
730
 
573
731
  # @param params ({})
@@ -581,7 +739,7 @@ module Aws::EKS
581
739
  params: params,
582
740
  config: config)
583
741
  context[:gem_name] = 'aws-sdk-eks'
584
- context[:gem_version] = '1.8.0'
742
+ context[:gem_version] = '1.9.0'
585
743
  Seahorse::Client::Request.new(handlers, context)
586
744
  end
587
745
 
@@ -22,10 +22,19 @@ module Aws::EKS
22
22
  DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
23
23
  DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
24
24
  DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
25
+ DescribeUpdateRequest = Shapes::StructureShape.new(name: 'DescribeUpdateRequest')
26
+ DescribeUpdateResponse = Shapes::StructureShape.new(name: 'DescribeUpdateResponse')
27
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
28
+ ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
29
+ ErrorDetails = Shapes::ListShape.new(name: 'ErrorDetails')
25
30
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
31
+ InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
26
32
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
27
33
  ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
28
34
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
35
+ ListUpdatesRequest = Shapes::StructureShape.new(name: 'ListUpdatesRequest')
36
+ ListUpdatesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListUpdatesRequestMaxResults')
37
+ ListUpdatesResponse = Shapes::StructureShape.new(name: 'ListUpdatesResponse')
29
38
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
30
39
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
31
40
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -35,6 +44,14 @@ module Aws::EKS
35
44
  StringList = Shapes::ListShape.new(name: 'StringList')
36
45
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
37
46
  UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
47
+ Update = Shapes::StructureShape.new(name: 'Update')
48
+ UpdateClusterVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterVersionRequest')
49
+ UpdateClusterVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterVersionResponse')
50
+ UpdateParam = Shapes::StructureShape.new(name: 'UpdateParam')
51
+ UpdateParamType = Shapes::StringShape.new(name: 'UpdateParamType')
52
+ UpdateParams = Shapes::ListShape.new(name: 'UpdateParams')
53
+ UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
54
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
38
55
  VpcConfigRequest = Shapes::StructureShape.new(name: 'VpcConfigRequest')
39
56
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
40
57
 
@@ -76,6 +93,20 @@ module Aws::EKS
76
93
  DescribeClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
77
94
  DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
78
95
 
96
+ DescribeUpdateRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
97
+ DescribeUpdateRequest.add_member(:update_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "updateId"))
98
+ DescribeUpdateRequest.struct_class = Types::DescribeUpdateRequest
99
+
100
+ DescribeUpdateResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
101
+ DescribeUpdateResponse.struct_class = Types::DescribeUpdateResponse
102
+
103
+ ErrorDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
104
+ ErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
105
+ ErrorDetail.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "resourceIds"))
106
+ ErrorDetail.struct_class = Types::ErrorDetail
107
+
108
+ ErrorDetails.member = Shapes::ShapeRef.new(shape: ErrorDetail)
109
+
79
110
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
80
111
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
81
112
  ListClustersRequest.struct_class = Types::ListClustersRequest
@@ -84,8 +115,39 @@ module Aws::EKS
84
115
  ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
85
116
  ListClustersResponse.struct_class = Types::ListClustersResponse
86
117
 
118
+ ListUpdatesRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
119
+ ListUpdatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
120
+ ListUpdatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUpdatesRequestMaxResults, location: "querystring", location_name: "maxResults"))
121
+ ListUpdatesRequest.struct_class = Types::ListUpdatesRequest
122
+
123
+ ListUpdatesResponse.add_member(:update_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "updateIds"))
124
+ ListUpdatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
125
+ ListUpdatesResponse.struct_class = Types::ListUpdatesResponse
126
+
87
127
  StringList.member = Shapes::ShapeRef.new(shape: String)
88
128
 
129
+ Update.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
130
+ Update.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "status"))
131
+ Update.add_member(:type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "type"))
132
+ Update.add_member(:params, Shapes::ShapeRef.new(shape: UpdateParams, location_name: "params"))
133
+ Update.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
134
+ Update.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errors"))
135
+ Update.struct_class = Types::Update
136
+
137
+ UpdateClusterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
138
+ UpdateClusterVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
139
+ UpdateClusterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
140
+ UpdateClusterVersionRequest.struct_class = Types::UpdateClusterVersionRequest
141
+
142
+ UpdateClusterVersionResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
143
+ UpdateClusterVersionResponse.struct_class = Types::UpdateClusterVersionResponse
144
+
145
+ UpdateParam.add_member(:type, Shapes::ShapeRef.new(shape: UpdateParamType, location_name: "type"))
146
+ UpdateParam.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
147
+ UpdateParam.struct_class = Types::UpdateParam
148
+
149
+ UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
150
+
89
151
  VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnetIds"))
90
152
  VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
91
153
  VpcConfigRequest.struct_class = Types::VpcConfigRequest
@@ -154,6 +216,18 @@ module Aws::EKS
154
216
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
155
217
  end)
156
218
 
219
+ api.add_operation(:describe_update, Seahorse::Model::Operation.new.tap do |o|
220
+ o.name = "DescribeUpdate"
221
+ o.http_method = "GET"
222
+ o.http_request_uri = "/clusters/{name}/updates/{updateId}"
223
+ o.input = Shapes::ShapeRef.new(shape: DescribeUpdateRequest)
224
+ o.output = Shapes::ShapeRef.new(shape: DescribeUpdateResponse)
225
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
226
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
227
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
228
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
229
+ end)
230
+
157
231
  api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
158
232
  o.name = "ListClusters"
159
233
  o.http_method = "GET"
@@ -165,6 +239,32 @@ module Aws::EKS
165
239
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
166
240
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
167
241
  end)
242
+
243
+ api.add_operation(:list_updates, Seahorse::Model::Operation.new.tap do |o|
244
+ o.name = "ListUpdates"
245
+ o.http_method = "GET"
246
+ o.http_request_uri = "/clusters/{name}/updates"
247
+ o.input = Shapes::ShapeRef.new(shape: ListUpdatesRequest)
248
+ o.output = Shapes::ShapeRef.new(shape: ListUpdatesResponse)
249
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
250
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
251
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
252
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
253
+ end)
254
+
255
+ api.add_operation(:update_cluster_version, Seahorse::Model::Operation.new.tap do |o|
256
+ o.name = "UpdateClusterVersion"
257
+ o.http_method = "POST"
258
+ o.http_request_uri = "/clusters/{name}/updates"
259
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterVersionRequest)
260
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterVersionResponse)
261
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
262
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
263
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
264
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
265
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
266
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
267
+ end)
168
268
  end
169
269
 
170
270
  end
@@ -35,7 +35,7 @@ module Aws::EKS
35
35
  # @return [String]
36
36
  #
37
37
  # @!attribute [rw] created_at
38
- # The Unix epoch time stamp in seconds for when the cluster was
38
+ # The Unix epoch timestamp in seconds for when the cluster was
39
39
  # created.
40
40
  # @return [Time]
41
41
  #
@@ -75,15 +75,18 @@ module Aws::EKS
75
75
  # @return [Types::Certificate]
76
76
  #
77
77
  # @!attribute [rw] client_request_token
78
- # Unique, case-sensitive identifier you provide to ensure the
78
+ # Unique, case-sensitive identifier that you provide to ensure the
79
79
  # idempotency of the request.
80
80
  # @return [String]
81
81
  #
82
82
  # @!attribute [rw] platform_version
83
83
  # The platform version of your Amazon EKS cluster. For more
84
- # information, see [Platform
85
- # Versions](eks/latest/userguide/platform-versions.html) in the <i>
86
- # <i>Amazon EKS User Guide</i> </i>.
84
+ # information, see [Platform Versions][1] in the <i> <i>Amazon EKS
85
+ # User Guide</i> </i>.
86
+ #
87
+ #
88
+ #
89
+ # [1]: http://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html
87
90
  # @return [String]
88
91
  #
89
92
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cluster AWS API Documentation
@@ -144,8 +147,8 @@ module Aws::EKS
144
147
  # properly with Kubernetes. For more information, see [Cluster VPC
145
148
  # Considerations][1] and [Cluster Security Group Considerations][2] in
146
149
  # the *Amazon EKS User Guide*. You must specify at least two subnets.
147
- # You may specify up to 5 security groups, but we recommend that you
148
- # use a dedicated security group for your cluster control plane.
150
+ # You may specify up to five security groups, but we recommend that
151
+ # you use a dedicated security group for your cluster control plane.
149
152
  #
150
153
  #
151
154
  #
@@ -154,7 +157,7 @@ module Aws::EKS
154
157
  # @return [Types::VpcConfigRequest]
155
158
  #
156
159
  # @!attribute [rw] client_request_token
157
- # Unique, case-sensitive identifier you provide to ensure the
160
+ # Unique, case-sensitive identifier that you provide to ensure the
158
161
  # idempotency of the request.
159
162
  #
160
163
  # **A suitable default value is auto-generated.** You should normally
@@ -241,6 +244,87 @@ module Aws::EKS
241
244
  include Aws::Structure
242
245
  end
243
246
 
247
+ # @note When making an API call, you may pass DescribeUpdateRequest
248
+ # data as a hash:
249
+ #
250
+ # {
251
+ # name: "String", # required
252
+ # update_id: "String", # required
253
+ # }
254
+ #
255
+ # @!attribute [rw] name
256
+ # The name of the Amazon EKS cluster to update.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] update_id
260
+ # The ID of the update to describe.
261
+ # @return [String]
262
+ #
263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdateRequest AWS API Documentation
264
+ #
265
+ class DescribeUpdateRequest < Struct.new(
266
+ :name,
267
+ :update_id)
268
+ include Aws::Structure
269
+ end
270
+
271
+ # @!attribute [rw] update
272
+ # The full description of the specified update.
273
+ # @return [Types::Update]
274
+ #
275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdateResponse AWS API Documentation
276
+ #
277
+ class DescribeUpdateResponse < Struct.new(
278
+ :update)
279
+ include Aws::Structure
280
+ end
281
+
282
+ # An object representing an error when an asynchronous operation fails.
283
+ #
284
+ # @!attribute [rw] error_code
285
+ # A brief description of the error.
286
+ #
287
+ # * **SubnetNotFound**\: One of the subnets associated with the
288
+ # cluster could not be found.
289
+ #
290
+ # * **SecurityGroupNotFound**\: One of the security groups associated
291
+ # with the cluster could not be found.
292
+ #
293
+ # * **EniLimitReached**\: You have reached the elastic network
294
+ # interface limit for your account.
295
+ #
296
+ # * **IpNotAvailable**\: A subnet associated with the cluster does not
297
+ # have any free IP addresses.
298
+ #
299
+ # * **AccessDenied**\: You do not have permissions to perform the
300
+ # specified operation.
301
+ #
302
+ # * **OperationNotPermitted**\: The service role associated with the
303
+ # cluster does not have the required access permissions for Amazon
304
+ # EKS.
305
+ #
306
+ # * **VpcIdNotFound**\: The VPC associated with the cluster could not
307
+ # be found.
308
+ # @return [String]
309
+ #
310
+ # @!attribute [rw] error_message
311
+ # A more complete description of the error.
312
+ # @return [String]
313
+ #
314
+ # @!attribute [rw] resource_ids
315
+ # An optional field that contains the resource IDs associated with the
316
+ # error.
317
+ # @return [Array<String>]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ErrorDetail AWS API Documentation
320
+ #
321
+ class ErrorDetail < Struct.new(
322
+ :error_code,
323
+ :error_message,
324
+ :resource_ids)
325
+ include Aws::Structure
326
+ end
327
+
244
328
  # @note When making an API call, you may pass ListClustersRequest
245
329
  # data as a hash:
246
330
  #
@@ -301,6 +385,167 @@ module Aws::EKS
301
385
  include Aws::Structure
302
386
  end
303
387
 
388
+ # @note When making an API call, you may pass ListUpdatesRequest
389
+ # data as a hash:
390
+ #
391
+ # {
392
+ # name: "String", # required
393
+ # next_token: "String",
394
+ # max_results: 1,
395
+ # }
396
+ #
397
+ # @!attribute [rw] name
398
+ # The name of the Amazon EKS cluster for which to list updates.
399
+ # @return [String]
400
+ #
401
+ # @!attribute [rw] next_token
402
+ # The `nextToken` value returned from a previous paginated
403
+ # `ListUpdates` request where `maxResults` was used and the results
404
+ # exceeded the value of that parameter. Pagination continues from the
405
+ # end of the previous results that returned the `nextToken` value.
406
+ # @return [String]
407
+ #
408
+ # @!attribute [rw] max_results
409
+ # The maximum number of update results returned by `ListUpdates` in
410
+ # paginated output. When this parameter is used, `ListUpdates` only
411
+ # returns `maxResults` results in a single page along with a
412
+ # `nextToken` response element. The remaining results of the initial
413
+ # request can be seen by sending another `ListUpdates` request with
414
+ # the returned `nextToken` value. This value can be between 1 and 100.
415
+ # If this parameter is not used, then `ListUpdates` returns up to 100
416
+ # results and a `nextToken` value if applicable.
417
+ # @return [Integer]
418
+ #
419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdatesRequest AWS API Documentation
420
+ #
421
+ class ListUpdatesRequest < Struct.new(
422
+ :name,
423
+ :next_token,
424
+ :max_results)
425
+ include Aws::Structure
426
+ end
427
+
428
+ # @!attribute [rw] update_ids
429
+ # A list of all the updates for the specified cluster and Region.
430
+ # @return [Array<String>]
431
+ #
432
+ # @!attribute [rw] next_token
433
+ # The `nextToken` value to include in a future `ListUpdates` request.
434
+ # When the results of a `ListUpdates` request exceed `maxResults`,
435
+ # this value can be used to retrieve the next page of results. This
436
+ # value is `null` when there are no more results to return.
437
+ # @return [String]
438
+ #
439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdatesResponse AWS API Documentation
440
+ #
441
+ class ListUpdatesResponse < Struct.new(
442
+ :update_ids,
443
+ :next_token)
444
+ include Aws::Structure
445
+ end
446
+
447
+ # An object representing an asynchronous update.
448
+ #
449
+ # @!attribute [rw] id
450
+ # A UUID that is used to track the update.
451
+ # @return [String]
452
+ #
453
+ # @!attribute [rw] status
454
+ # The current status of the update.
455
+ # @return [String]
456
+ #
457
+ # @!attribute [rw] type
458
+ # The type of the update.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] params
462
+ # A key-value map that contains the parameters associated with the
463
+ # update.
464
+ # @return [Array<Types::UpdateParam>]
465
+ #
466
+ # @!attribute [rw] created_at
467
+ # The Unix epoch timestamp in seconds for when the update was created.
468
+ # @return [Time]
469
+ #
470
+ # @!attribute [rw] errors
471
+ # Any errors associated with a `Failed` update.
472
+ # @return [Array<Types::ErrorDetail>]
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Update AWS API Documentation
475
+ #
476
+ class Update < Struct.new(
477
+ :id,
478
+ :status,
479
+ :type,
480
+ :params,
481
+ :created_at,
482
+ :errors)
483
+ include Aws::Structure
484
+ end
485
+
486
+ # @note When making an API call, you may pass UpdateClusterVersionRequest
487
+ # data as a hash:
488
+ #
489
+ # {
490
+ # name: "String", # required
491
+ # version: "String", # required
492
+ # client_request_token: "String",
493
+ # }
494
+ #
495
+ # @!attribute [rw] name
496
+ # The name of the Amazon EKS cluster to update.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] version
500
+ # The desired Kubernetes version following a successful update.
501
+ # @return [String]
502
+ #
503
+ # @!attribute [rw] client_request_token
504
+ # Unique, case-sensitive identifier that you provide to ensure the
505
+ # idempotency of the request.
506
+ #
507
+ # **A suitable default value is auto-generated.** You should normally
508
+ # not need to pass this option.
509
+ # @return [String]
510
+ #
511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersionRequest AWS API Documentation
512
+ #
513
+ class UpdateClusterVersionRequest < Struct.new(
514
+ :name,
515
+ :version,
516
+ :client_request_token)
517
+ include Aws::Structure
518
+ end
519
+
520
+ # @!attribute [rw] update
521
+ # The full description of the specified update
522
+ # @return [Types::Update]
523
+ #
524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersionResponse AWS API Documentation
525
+ #
526
+ class UpdateClusterVersionResponse < Struct.new(
527
+ :update)
528
+ include Aws::Structure
529
+ end
530
+
531
+ # An object representing the details of an update request.
532
+ #
533
+ # @!attribute [rw] type
534
+ # The keys associated with an update request.
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] value
538
+ # The value of the keys submitted as part of an update request.
539
+ # @return [String]
540
+ #
541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateParam AWS API Documentation
542
+ #
543
+ class UpdateParam < Struct.new(
544
+ :type,
545
+ :value)
546
+ include Aws::Structure
547
+ end
548
+
304
549
  # An object representing an Amazon EKS cluster VPC configuration
305
550
  # request.
306
551
  #
@@ -323,7 +568,8 @@ module Aws::EKS
323
568
  # Specify one or more security groups for the cross-account elastic
324
569
  # network interfaces that Amazon EKS creates to use to allow
325
570
  # communication between your worker nodes and the Kubernetes control
326
- # plane.
571
+ # plane. If you do not specify a security group, the default security
572
+ # group for your VPC is used.
327
573
  # @return [Array<String>]
328
574
  #
329
575
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/VpcConfigRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core