aws-sdk-eks 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +103 -20
- data/lib/aws-sdk-eks/client_api.rb +31 -1
- data/lib/aws-sdk-eks/types.rb +118 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e97d205e517f88f5015cfc800454e50c757e86cd
|
4
|
+
data.tar.gz: 7d7468464e20d4413a60a7243ee487793fa015bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a648bcb0104c3d54a56bcb42bd280e3aad35946177650a13e9f79d9ac53dd9d720900df68239d4cf6f5f9df0321447b313424a7a47d8d47632cd18b0b30c12
|
7
|
+
data.tar.gz: ce35d8496bb82ae0b36fbe1ac042def7070eaf67c69458a3704ec31163433a2282eb52c96406b462b08766840e13316a253d5062dd0a6827ecd635c4deee49b6
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -231,8 +231,8 @@ module Aws::EKS
|
|
231
231
|
#
|
232
232
|
#
|
233
233
|
#
|
234
|
-
# [1]:
|
235
|
-
# [2]:
|
234
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
|
235
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
|
236
236
|
#
|
237
237
|
# @option params [required, String] :name
|
238
238
|
# The unique name to give to your cluster.
|
@@ -249,21 +249,21 @@ module Aws::EKS
|
|
249
249
|
#
|
250
250
|
#
|
251
251
|
#
|
252
|
-
# [1]:
|
252
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
253
253
|
#
|
254
254
|
# @option params [required, Types::VpcConfigRequest] :resources_vpc_config
|
255
|
-
# The VPC
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
255
|
+
# The VPC configuration used by the cluster control plane. Amazon EKS
|
256
|
+
# VPC resources have specific requirements to work properly with
|
257
|
+
# Kubernetes. For more information, see [Cluster VPC Considerations][1]
|
258
|
+
# and [Cluster Security Group Considerations][2] in the *Amazon EKS User
|
259
|
+
# Guide*. You must specify at least two subnets. You may specify up to
|
260
|
+
# five security groups, but we recommend that you use a dedicated
|
261
|
+
# security group for your cluster control plane.
|
262
262
|
#
|
263
263
|
#
|
264
264
|
#
|
265
|
-
# [1]:
|
266
|
-
# [2]:
|
265
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
|
266
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
267
267
|
#
|
268
268
|
# @option params [String] :client_request_token
|
269
269
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -308,8 +308,10 @@ module Aws::EKS
|
|
308
308
|
# version: "String",
|
309
309
|
# role_arn: "String", # required
|
310
310
|
# resources_vpc_config: { # required
|
311
|
-
# subnet_ids: ["String"],
|
311
|
+
# subnet_ids: ["String"],
|
312
312
|
# security_group_ids: ["String"],
|
313
|
+
# endpoint_public_access: false,
|
314
|
+
# endpoint_private_access: false,
|
313
315
|
# },
|
314
316
|
# client_request_token: "String",
|
315
317
|
# })
|
@@ -327,6 +329,8 @@ module Aws::EKS
|
|
327
329
|
# resp.cluster.resources_vpc_config.security_group_ids #=> Array
|
328
330
|
# resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
|
329
331
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
332
|
+
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
333
|
+
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
330
334
|
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
|
331
335
|
# resp.cluster.certificate_authority.data #=> String
|
332
336
|
# resp.cluster.client_request_token #=> String
|
@@ -354,7 +358,7 @@ module Aws::EKS
|
|
354
358
|
#
|
355
359
|
#
|
356
360
|
#
|
357
|
-
# [1]:
|
361
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html
|
358
362
|
#
|
359
363
|
# @option params [required, String] :name
|
360
364
|
# The name of the cluster to delete.
|
@@ -395,6 +399,8 @@ module Aws::EKS
|
|
395
399
|
# resp.cluster.resources_vpc_config.security_group_ids #=> Array
|
396
400
|
# resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
|
397
401
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
402
|
+
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
403
|
+
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
398
404
|
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
|
399
405
|
# resp.cluster.certificate_authority.data #=> String
|
400
406
|
# resp.cluster.client_request_token #=> String
|
@@ -423,7 +429,7 @@ module Aws::EKS
|
|
423
429
|
#
|
424
430
|
#
|
425
431
|
#
|
426
|
-
# [1]:
|
432
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html
|
427
433
|
#
|
428
434
|
# @option params [required, String] :name
|
429
435
|
# The name of the cluster to describe.
|
@@ -486,6 +492,8 @@ module Aws::EKS
|
|
486
492
|
# resp.cluster.resources_vpc_config.security_group_ids #=> Array
|
487
493
|
# resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
|
488
494
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
495
|
+
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
496
|
+
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
489
497
|
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
|
490
498
|
# resp.cluster.certificate_authority.data #=> String
|
491
499
|
# resp.cluster.client_request_token #=> String
|
@@ -528,9 +536,9 @@ module Aws::EKS
|
|
528
536
|
#
|
529
537
|
# resp.update.id #=> String
|
530
538
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
531
|
-
# resp.update.type #=> String, one of "VersionUpdate"
|
539
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
|
532
540
|
# resp.update.params #=> Array
|
533
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion"
|
541
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
|
534
542
|
# resp.update.params[0].value #=> String
|
535
543
|
# resp.update.created_at #=> Time
|
536
544
|
# resp.update.errors #=> Array
|
@@ -666,6 +674,81 @@ module Aws::EKS
|
|
666
674
|
req.send_request(options)
|
667
675
|
end
|
668
676
|
|
677
|
+
# Updates an Amazon EKS cluster configuration. Your cluster continues to
|
678
|
+
# function during the update. The response output includes an update ID
|
679
|
+
# that you can use to track the status of your cluster update with the
|
680
|
+
# DescribeUpdate API operation.
|
681
|
+
#
|
682
|
+
# Currently, the only cluster configuration changes supported are to
|
683
|
+
# enable or disable Amazon EKS public and private API server endpoints.
|
684
|
+
# For more information, see [Amazon EKS Cluster Endpoint Access
|
685
|
+
# Control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
686
|
+
#
|
687
|
+
# Cluster updates are asynchronous, and they should finish within a few
|
688
|
+
# minutes. During an update, the cluster status moves to `UPDATING`
|
689
|
+
# (this status transition is eventually consistent). When the update is
|
690
|
+
# complete (either `Failed` or `Successful`), the cluster status moves
|
691
|
+
# to `Active`.
|
692
|
+
#
|
693
|
+
#
|
694
|
+
#
|
695
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
696
|
+
#
|
697
|
+
# @option params [required, String] :name
|
698
|
+
# The name of the Amazon EKS cluster to update.
|
699
|
+
#
|
700
|
+
# @option params [Types::VpcConfigRequest] :resources_vpc_config
|
701
|
+
# An object representing an Amazon EKS cluster VPC configuration
|
702
|
+
# request.
|
703
|
+
#
|
704
|
+
# @option params [String] :client_request_token
|
705
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
706
|
+
# idempotency of the request.
|
707
|
+
#
|
708
|
+
# **A suitable default value is auto-generated.** You should normally
|
709
|
+
# not need to pass this option.**
|
710
|
+
#
|
711
|
+
# @return [Types::UpdateClusterConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
712
|
+
#
|
713
|
+
# * {Types::UpdateClusterConfigResponse#update #update} => Types::Update
|
714
|
+
#
|
715
|
+
# @example Request syntax with placeholder values
|
716
|
+
#
|
717
|
+
# resp = client.update_cluster_config({
|
718
|
+
# name: "String", # required
|
719
|
+
# resources_vpc_config: {
|
720
|
+
# subnet_ids: ["String"],
|
721
|
+
# security_group_ids: ["String"],
|
722
|
+
# endpoint_public_access: false,
|
723
|
+
# endpoint_private_access: false,
|
724
|
+
# },
|
725
|
+
# client_request_token: "String",
|
726
|
+
# })
|
727
|
+
#
|
728
|
+
# @example Response structure
|
729
|
+
#
|
730
|
+
# resp.update.id #=> String
|
731
|
+
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
732
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
|
733
|
+
# resp.update.params #=> Array
|
734
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
|
735
|
+
# resp.update.params[0].value #=> String
|
736
|
+
# resp.update.created_at #=> Time
|
737
|
+
# resp.update.errors #=> Array
|
738
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown"
|
739
|
+
# resp.update.errors[0].error_message #=> String
|
740
|
+
# resp.update.errors[0].resource_ids #=> Array
|
741
|
+
# resp.update.errors[0].resource_ids[0] #=> String
|
742
|
+
#
|
743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig AWS API Documentation
|
744
|
+
#
|
745
|
+
# @overload update_cluster_config(params = {})
|
746
|
+
# @param [Hash] params ({})
|
747
|
+
def update_cluster_config(params = {}, options = {})
|
748
|
+
req = build_request(:update_cluster_config, params)
|
749
|
+
req.send_request(options)
|
750
|
+
end
|
751
|
+
|
669
752
|
# Updates an Amazon EKS cluster to the specified Kubernetes version.
|
670
753
|
# Your cluster continues to function during the update. The response
|
671
754
|
# output includes an update ID that you can use to track the status of
|
@@ -706,9 +789,9 @@ module Aws::EKS
|
|
706
789
|
#
|
707
790
|
# resp.update.id #=> String
|
708
791
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
709
|
-
# resp.update.type #=> String, one of "VersionUpdate"
|
792
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
|
710
793
|
# resp.update.params #=> Array
|
711
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion"
|
794
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
|
712
795
|
# resp.update.params[0].value #=> String
|
713
796
|
# resp.update.created_at #=> Time
|
714
797
|
# resp.update.errors #=> Array
|
@@ -739,7 +822,7 @@ module Aws::EKS
|
|
739
822
|
params: params,
|
740
823
|
config: config)
|
741
824
|
context[:gem_name] = 'aws-sdk-eks'
|
742
|
-
context[:gem_version] = '1.
|
825
|
+
context[:gem_version] = '1.12.0'
|
743
826
|
Seahorse::Client::Request.new(handlers, context)
|
744
827
|
end
|
745
828
|
|
@@ -11,6 +11,8 @@ module Aws::EKS
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
15
|
+
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
14
16
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
15
17
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
16
18
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
@@ -45,6 +47,8 @@ module Aws::EKS
|
|
45
47
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
46
48
|
UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
|
47
49
|
Update = Shapes::StructureShape.new(name: 'Update')
|
50
|
+
UpdateClusterConfigRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigRequest')
|
51
|
+
UpdateClusterConfigResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigResponse')
|
48
52
|
UpdateClusterVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterVersionRequest')
|
49
53
|
UpdateClusterVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterVersionResponse')
|
50
54
|
UpdateParam = Shapes::StructureShape.new(name: 'UpdateParam')
|
@@ -134,6 +138,14 @@ module Aws::EKS
|
|
134
138
|
Update.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errors"))
|
135
139
|
Update.struct_class = Types::Update
|
136
140
|
|
141
|
+
UpdateClusterConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
142
|
+
UpdateClusterConfigRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, location_name: "resourcesVpcConfig"))
|
143
|
+
UpdateClusterConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
144
|
+
UpdateClusterConfigRequest.struct_class = Types::UpdateClusterConfigRequest
|
145
|
+
|
146
|
+
UpdateClusterConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
147
|
+
UpdateClusterConfigResponse.struct_class = Types::UpdateClusterConfigResponse
|
148
|
+
|
137
149
|
UpdateClusterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
138
150
|
UpdateClusterVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
139
151
|
UpdateClusterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
@@ -148,13 +160,17 @@ module Aws::EKS
|
|
148
160
|
|
149
161
|
UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
|
150
162
|
|
151
|
-
VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList,
|
163
|
+
VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
152
164
|
VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
|
165
|
+
VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
|
166
|
+
VpcConfigRequest.add_member(:endpoint_private_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPrivateAccess"))
|
153
167
|
VpcConfigRequest.struct_class = Types::VpcConfigRequest
|
154
168
|
|
155
169
|
VpcConfigResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
156
170
|
VpcConfigResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
|
157
171
|
VpcConfigResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
172
|
+
VpcConfigResponse.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "endpointPublicAccess"))
|
173
|
+
VpcConfigResponse.add_member(:endpoint_private_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "endpointPrivateAccess"))
|
158
174
|
VpcConfigResponse.struct_class = Types::VpcConfigResponse
|
159
175
|
|
160
176
|
|
@@ -252,6 +268,20 @@ module Aws::EKS
|
|
252
268
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
253
269
|
end)
|
254
270
|
|
271
|
+
api.add_operation(:update_cluster_config, Seahorse::Model::Operation.new.tap do |o|
|
272
|
+
o.name = "UpdateClusterConfig"
|
273
|
+
o.http_method = "POST"
|
274
|
+
o.http_request_uri = "/clusters/{name}/update-config"
|
275
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateClusterConfigRequest)
|
276
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateClusterConfigResponse)
|
277
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
278
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
280
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
281
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
282
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
283
|
+
end)
|
284
|
+
|
255
285
|
api.add_operation(:update_cluster_version, Seahorse::Model::Operation.new.tap do |o|
|
256
286
|
o.name = "UpdateClusterVersion"
|
257
287
|
o.http_method = "POST"
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -54,16 +54,16 @@ module Aws::EKS
|
|
54
54
|
# @return [String]
|
55
55
|
#
|
56
56
|
# @!attribute [rw] resources_vpc_config
|
57
|
-
# The VPC
|
58
|
-
#
|
59
|
-
#
|
57
|
+
# The VPC configuration used by the cluster control plane. Amazon EKS
|
58
|
+
# VPC resources have specific requirements to work properly with
|
59
|
+
# Kubernetes. For more information, see [Cluster VPC
|
60
60
|
# Considerations][1] and [Cluster Security Group Considerations][2] in
|
61
61
|
# the *Amazon EKS User Guide*.
|
62
62
|
#
|
63
63
|
#
|
64
64
|
#
|
65
|
-
# [1]:
|
66
|
-
# [2]:
|
65
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
|
66
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
67
67
|
# @return [Types::VpcConfigResponse]
|
68
68
|
#
|
69
69
|
# @!attribute [rw] status
|
@@ -86,7 +86,7 @@ module Aws::EKS
|
|
86
86
|
#
|
87
87
|
#
|
88
88
|
#
|
89
|
-
# [1]:
|
89
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html
|
90
90
|
# @return [String]
|
91
91
|
#
|
92
92
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cluster AWS API Documentation
|
@@ -114,8 +114,10 @@ module Aws::EKS
|
|
114
114
|
# version: "String",
|
115
115
|
# role_arn: "String", # required
|
116
116
|
# resources_vpc_config: { # required
|
117
|
-
# subnet_ids: ["String"],
|
117
|
+
# subnet_ids: ["String"],
|
118
118
|
# security_group_ids: ["String"],
|
119
|
+
# endpoint_public_access: false,
|
120
|
+
# endpoint_private_access: false,
|
119
121
|
# },
|
120
122
|
# client_request_token: "String",
|
121
123
|
# }
|
@@ -138,13 +140,13 @@ module Aws::EKS
|
|
138
140
|
#
|
139
141
|
#
|
140
142
|
#
|
141
|
-
# [1]:
|
143
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
142
144
|
# @return [String]
|
143
145
|
#
|
144
146
|
# @!attribute [rw] resources_vpc_config
|
145
|
-
# The VPC
|
146
|
-
#
|
147
|
-
#
|
147
|
+
# The VPC configuration used by the cluster control plane. Amazon EKS
|
148
|
+
# VPC resources have specific requirements to work properly with
|
149
|
+
# Kubernetes. For more information, see [Cluster VPC
|
148
150
|
# Considerations][1] and [Cluster Security Group Considerations][2] in
|
149
151
|
# the *Amazon EKS User Guide*. You must specify at least two subnets.
|
150
152
|
# You may specify up to five security groups, but we recommend that
|
@@ -152,8 +154,8 @@ module Aws::EKS
|
|
152
154
|
#
|
153
155
|
#
|
154
156
|
#
|
155
|
-
# [1]:
|
156
|
-
# [2]:
|
157
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
|
158
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
157
159
|
# @return [Types::VpcConfigRequest]
|
158
160
|
#
|
159
161
|
# @!attribute [rw] client_request_token
|
@@ -483,6 +485,57 @@ module Aws::EKS
|
|
483
485
|
include Aws::Structure
|
484
486
|
end
|
485
487
|
|
488
|
+
# @note When making an API call, you may pass UpdateClusterConfigRequest
|
489
|
+
# data as a hash:
|
490
|
+
#
|
491
|
+
# {
|
492
|
+
# name: "String", # required
|
493
|
+
# resources_vpc_config: {
|
494
|
+
# subnet_ids: ["String"],
|
495
|
+
# security_group_ids: ["String"],
|
496
|
+
# endpoint_public_access: false,
|
497
|
+
# endpoint_private_access: false,
|
498
|
+
# },
|
499
|
+
# client_request_token: "String",
|
500
|
+
# }
|
501
|
+
#
|
502
|
+
# @!attribute [rw] name
|
503
|
+
# The name of the Amazon EKS cluster to update.
|
504
|
+
# @return [String]
|
505
|
+
#
|
506
|
+
# @!attribute [rw] resources_vpc_config
|
507
|
+
# An object representing an Amazon EKS cluster VPC configuration
|
508
|
+
# request.
|
509
|
+
# @return [Types::VpcConfigRequest]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] client_request_token
|
512
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
513
|
+
# idempotency of the request.
|
514
|
+
#
|
515
|
+
# **A suitable default value is auto-generated.** You should normally
|
516
|
+
# not need to pass this option.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfigRequest AWS API Documentation
|
520
|
+
#
|
521
|
+
class UpdateClusterConfigRequest < Struct.new(
|
522
|
+
:name,
|
523
|
+
:resources_vpc_config,
|
524
|
+
:client_request_token)
|
525
|
+
include Aws::Structure
|
526
|
+
end
|
527
|
+
|
528
|
+
# @!attribute [rw] update
|
529
|
+
# An object representing an asynchronous update.
|
530
|
+
# @return [Types::Update]
|
531
|
+
#
|
532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfigResponse AWS API Documentation
|
533
|
+
#
|
534
|
+
class UpdateClusterConfigResponse < Struct.new(
|
535
|
+
:update)
|
536
|
+
include Aws::Structure
|
537
|
+
end
|
538
|
+
|
486
539
|
# @note When making an API call, you may pass UpdateClusterVersionRequest
|
487
540
|
# data as a hash:
|
488
541
|
#
|
@@ -553,8 +606,10 @@ module Aws::EKS
|
|
553
606
|
# data as a hash:
|
554
607
|
#
|
555
608
|
# {
|
556
|
-
# subnet_ids: ["String"],
|
609
|
+
# subnet_ids: ["String"],
|
557
610
|
# security_group_ids: ["String"],
|
611
|
+
# endpoint_public_access: false,
|
612
|
+
# endpoint_private_access: false,
|
558
613
|
# }
|
559
614
|
#
|
560
615
|
# @!attribute [rw] subnet_ids
|
@@ -572,11 +627,41 @@ module Aws::EKS
|
|
572
627
|
# group for your VPC is used.
|
573
628
|
# @return [Array<String>]
|
574
629
|
#
|
630
|
+
# @!attribute [rw] endpoint_public_access
|
631
|
+
# Set this value to `false` to disable public access for your
|
632
|
+
# cluster's Kubernetes API server endpoint. If you disable public
|
633
|
+
# access, your cluster's Kubernetes API server can only receive
|
634
|
+
# requests from within the cluster VPC. The default value for this
|
635
|
+
# parameter is `true`, which enables public access for your Kubernetes
|
636
|
+
# API server. For more information, see [Amazon EKS Cluster Endpoint
|
637
|
+
# Access Control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
638
|
+
#
|
639
|
+
#
|
640
|
+
#
|
641
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
642
|
+
# @return [Boolean]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] endpoint_private_access
|
645
|
+
# Set this value to `true` to enable private access for your
|
646
|
+
# cluster's Kubernetes API server endpoint. If you enable private
|
647
|
+
# access, Kubernetes API requests from within your cluster's VPC will
|
648
|
+
# use the private VPC endpoint. The default value for this parameter
|
649
|
+
# is `false`, which disables private access for your Kubernetes API
|
650
|
+
# server. For more information, see [Amazon EKS Cluster Endpoint
|
651
|
+
# Access Control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
652
|
+
#
|
653
|
+
#
|
654
|
+
#
|
655
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
656
|
+
# @return [Boolean]
|
657
|
+
#
|
575
658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/VpcConfigRequest AWS API Documentation
|
576
659
|
#
|
577
660
|
class VpcConfigRequest < Struct.new(
|
578
661
|
:subnet_ids,
|
579
|
-
:security_group_ids
|
662
|
+
:security_group_ids,
|
663
|
+
:endpoint_public_access,
|
664
|
+
:endpoint_private_access)
|
580
665
|
include Aws::Structure
|
581
666
|
end
|
582
667
|
|
@@ -597,12 +682,29 @@ module Aws::EKS
|
|
597
682
|
# The VPC associated with your cluster.
|
598
683
|
# @return [String]
|
599
684
|
#
|
685
|
+
# @!attribute [rw] endpoint_public_access
|
686
|
+
# This parameter indicates whether the Amazon EKS public API server
|
687
|
+
# endpoint is enabled. If the Amazon EKS public API server endpoint is
|
688
|
+
# disabled, your cluster's Kubernetes API server can only receive
|
689
|
+
# requests that originate from within the cluster VPC.
|
690
|
+
# @return [Boolean]
|
691
|
+
#
|
692
|
+
# @!attribute [rw] endpoint_private_access
|
693
|
+
# This parameter indicates whether the Amazon EKS private API server
|
694
|
+
# endpoint is enabled. If the Amazon EKS private API server endpoint
|
695
|
+
# is enabled, Kubernetes API requests that originate from within your
|
696
|
+
# cluster's VPC will use the private VPC endpoint instead of
|
697
|
+
# traversing the internet.
|
698
|
+
# @return [Boolean]
|
699
|
+
#
|
600
700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/VpcConfigResponse AWS API Documentation
|
601
701
|
#
|
602
702
|
class VpcConfigResponse < Struct.new(
|
603
703
|
:subnet_ids,
|
604
704
|
:security_group_ids,
|
605
|
-
:vpc_id
|
705
|
+
:vpc_id,
|
706
|
+
:endpoint_public_access,
|
707
|
+
:endpoint_private_access)
|
606
708
|
include Aws::Structure
|
607
709
|
end
|
608
710
|
|
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.
|
4
|
+
version: 1.12.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: 2019-03-
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|