aws-sdk-eks 1.120.0 → 1.122.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +153 -22
- data/lib/aws-sdk-eks/client_api.rb +64 -0
- data/lib/aws-sdk-eks/types.rb +309 -5
- data/lib/aws-sdk-eks.rb +1 -1
- data/sig/client.rbs +43 -1
- data/sig/types.rbs +71 -3
- metadata +2 -2
@@ -49,6 +49,7 @@ module Aws::EKS
|
|
49
49
|
AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
|
50
50
|
AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
|
51
51
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
52
|
+
BlockStorage = Shapes::StructureShape.new(name: 'BlockStorage')
|
52
53
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
53
54
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
54
55
|
BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
|
@@ -69,6 +70,8 @@ module Aws::EKS
|
|
69
70
|
ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
|
70
71
|
Compatibilities = Shapes::ListShape.new(name: 'Compatibilities')
|
71
72
|
Compatibility = Shapes::StructureShape.new(name: 'Compatibility')
|
73
|
+
ComputeConfigRequest = Shapes::StructureShape.new(name: 'ComputeConfigRequest')
|
74
|
+
ComputeConfigResponse = Shapes::StructureShape.new(name: 'ComputeConfigResponse')
|
72
75
|
ConnectorConfigProvider = Shapes::StringShape.new(name: 'ConnectorConfigProvider')
|
73
76
|
ConnectorConfigRequest = Shapes::StructureShape.new(name: 'ConnectorConfigRequest')
|
74
77
|
ConnectorConfigResponse = Shapes::StructureShape.new(name: 'ConnectorConfigResponse')
|
@@ -144,6 +147,7 @@ module Aws::EKS
|
|
144
147
|
EksAnywhereSubscriptionStatusValues = Shapes::ListShape.new(name: 'EksAnywhereSubscriptionStatusValues')
|
145
148
|
EksAnywhereSubscriptionTerm = Shapes::StructureShape.new(name: 'EksAnywhereSubscriptionTerm')
|
146
149
|
EksAnywhereSubscriptionTermUnit = Shapes::StringShape.new(name: 'EksAnywhereSubscriptionTermUnit')
|
150
|
+
ElasticLoadBalancing = Shapes::StructureShape.new(name: 'ElasticLoadBalancing')
|
147
151
|
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
148
152
|
EncryptionConfigList = Shapes::ListShape.new(name: 'EncryptionConfigList')
|
149
153
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
@@ -248,6 +252,12 @@ module Aws::EKS
|
|
248
252
|
RegisterClusterRequest = Shapes::StructureShape.new(name: 'RegisterClusterRequest')
|
249
253
|
RegisterClusterResponse = Shapes::StructureShape.new(name: 'RegisterClusterResponse')
|
250
254
|
RemoteAccessConfig = Shapes::StructureShape.new(name: 'RemoteAccessConfig')
|
255
|
+
RemoteNetworkConfigRequest = Shapes::StructureShape.new(name: 'RemoteNetworkConfigRequest')
|
256
|
+
RemoteNetworkConfigResponse = Shapes::StructureShape.new(name: 'RemoteNetworkConfigResponse')
|
257
|
+
RemoteNodeNetwork = Shapes::StructureShape.new(name: 'RemoteNodeNetwork')
|
258
|
+
RemoteNodeNetworkList = Shapes::ListShape.new(name: 'RemoteNodeNetworkList')
|
259
|
+
RemotePodNetwork = Shapes::StructureShape.new(name: 'RemotePodNetwork')
|
260
|
+
RemotePodNetworkList = Shapes::ListShape.new(name: 'RemotePodNetworkList')
|
251
261
|
ResolveConflicts = Shapes::StringShape.new(name: 'ResolveConflicts')
|
252
262
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
253
263
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
@@ -256,6 +266,8 @@ module Aws::EKS
|
|
256
266
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
257
267
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
258
268
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
269
|
+
StorageConfigRequest = Shapes::StructureShape.new(name: 'StorageConfigRequest')
|
270
|
+
StorageConfigResponse = Shapes::StructureShape.new(name: 'StorageConfigResponse')
|
259
271
|
String = Shapes::StringShape.new(name: 'String')
|
260
272
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
261
273
|
SupportType = Shapes::StringShape.new(name: 'SupportType')
|
@@ -395,6 +407,7 @@ module Aws::EKS
|
|
395
407
|
|
396
408
|
AddonVersionInfo.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
|
397
409
|
AddonVersionInfo.add_member(:architecture, Shapes::ShapeRef.new(shape: StringList, location_name: "architecture"))
|
410
|
+
AddonVersionInfo.add_member(:compute_types, Shapes::ShapeRef.new(shape: StringList, location_name: "computeTypes"))
|
398
411
|
AddonVersionInfo.add_member(:compatibilities, Shapes::ShapeRef.new(shape: Compatibilities, location_name: "compatibilities"))
|
399
412
|
AddonVersionInfo.add_member(:requires_configuration, Shapes::ShapeRef.new(shape: Boolean, location_name: "requiresConfiguration"))
|
400
413
|
AddonVersionInfo.add_member(:requires_iam_permissions, Shapes::ShapeRef.new(shape: Boolean, location_name: "requiresIamPermissions"))
|
@@ -449,6 +462,9 @@ module Aws::EKS
|
|
449
462
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
450
463
|
BadRequestException.struct_class = Types::BadRequestException
|
451
464
|
|
465
|
+
BlockStorage.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
466
|
+
BlockStorage.struct_class = Types::BlockStorage
|
467
|
+
|
452
468
|
CategoryList.member = Shapes::ShapeRef.new(shape: Category)
|
453
469
|
|
454
470
|
Certificate.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
@@ -491,6 +507,9 @@ module Aws::EKS
|
|
491
507
|
Cluster.add_member(:access_config, Shapes::ShapeRef.new(shape: AccessConfigResponse, location_name: "accessConfig"))
|
492
508
|
Cluster.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyResponse, location_name: "upgradePolicy"))
|
493
509
|
Cluster.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigResponse, location_name: "zonalShiftConfig"))
|
510
|
+
Cluster.add_member(:remote_network_config, Shapes::ShapeRef.new(shape: RemoteNetworkConfigResponse, location_name: "remoteNetworkConfig"))
|
511
|
+
Cluster.add_member(:compute_config, Shapes::ShapeRef.new(shape: ComputeConfigResponse, location_name: "computeConfig"))
|
512
|
+
Cluster.add_member(:storage_config, Shapes::ShapeRef.new(shape: StorageConfigResponse, location_name: "storageConfig"))
|
494
513
|
Cluster.struct_class = Types::Cluster
|
495
514
|
|
496
515
|
ClusterHealth.add_member(:issues, Shapes::ShapeRef.new(shape: ClusterIssueList, location_name: "issues"))
|
@@ -510,6 +529,16 @@ module Aws::EKS
|
|
510
529
|
Compatibility.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
|
511
530
|
Compatibility.struct_class = Types::Compatibility
|
512
531
|
|
532
|
+
ComputeConfigRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
533
|
+
ComputeConfigRequest.add_member(:node_pools, Shapes::ShapeRef.new(shape: StringList, location_name: "nodePools"))
|
534
|
+
ComputeConfigRequest.add_member(:node_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "nodeRoleArn"))
|
535
|
+
ComputeConfigRequest.struct_class = Types::ComputeConfigRequest
|
536
|
+
|
537
|
+
ComputeConfigResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
538
|
+
ComputeConfigResponse.add_member(:node_pools, Shapes::ShapeRef.new(shape: StringList, location_name: "nodePools"))
|
539
|
+
ComputeConfigResponse.add_member(:node_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "nodeRoleArn"))
|
540
|
+
ComputeConfigResponse.struct_class = Types::ComputeConfigResponse
|
541
|
+
|
513
542
|
ConnectorConfigRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
514
543
|
ConnectorConfigRequest.add_member(:provider, Shapes::ShapeRef.new(shape: ConnectorConfigProvider, required: true, location_name: "provider"))
|
515
544
|
ConnectorConfigRequest.struct_class = Types::ConnectorConfigRequest
|
@@ -571,6 +600,9 @@ module Aws::EKS
|
|
571
600
|
CreateClusterRequest.add_member(:bootstrap_self_managed_addons, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bootstrapSelfManagedAddons"))
|
572
601
|
CreateClusterRequest.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyRequest, location_name: "upgradePolicy"))
|
573
602
|
CreateClusterRequest.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigRequest, location_name: "zonalShiftConfig"))
|
603
|
+
CreateClusterRequest.add_member(:remote_network_config, Shapes::ShapeRef.new(shape: RemoteNetworkConfigRequest, location_name: "remoteNetworkConfig"))
|
604
|
+
CreateClusterRequest.add_member(:compute_config, Shapes::ShapeRef.new(shape: ComputeConfigRequest, location_name: "computeConfig"))
|
605
|
+
CreateClusterRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: StorageConfigRequest, location_name: "storageConfig"))
|
574
606
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
575
607
|
|
576
608
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -826,6 +858,9 @@ module Aws::EKS
|
|
826
858
|
EksAnywhereSubscriptionTerm.add_member(:unit, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionTermUnit, location_name: "unit"))
|
827
859
|
EksAnywhereSubscriptionTerm.struct_class = Types::EksAnywhereSubscriptionTerm
|
828
860
|
|
861
|
+
ElasticLoadBalancing.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
862
|
+
ElasticLoadBalancing.struct_class = Types::ElasticLoadBalancing
|
863
|
+
|
829
864
|
EncryptionConfig.add_member(:resources, Shapes::ShapeRef.new(shape: StringList, location_name: "resources"))
|
830
865
|
EncryptionConfig.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, location_name: "provider"))
|
831
866
|
EncryptionConfig.struct_class = Types::EncryptionConfig
|
@@ -955,11 +990,13 @@ module Aws::EKS
|
|
955
990
|
|
956
991
|
KubernetesNetworkConfigRequest.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
957
992
|
KubernetesNetworkConfigRequest.add_member(:ip_family, Shapes::ShapeRef.new(shape: IpFamily, location_name: "ipFamily"))
|
993
|
+
KubernetesNetworkConfigRequest.add_member(:elastic_load_balancing, Shapes::ShapeRef.new(shape: ElasticLoadBalancing, location_name: "elasticLoadBalancing"))
|
958
994
|
KubernetesNetworkConfigRequest.struct_class = Types::KubernetesNetworkConfigRequest
|
959
995
|
|
960
996
|
KubernetesNetworkConfigResponse.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
961
997
|
KubernetesNetworkConfigResponse.add_member(:service_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv6Cidr"))
|
962
998
|
KubernetesNetworkConfigResponse.add_member(:ip_family, Shapes::ShapeRef.new(shape: IpFamily, location_name: "ipFamily"))
|
999
|
+
KubernetesNetworkConfigResponse.add_member(:elastic_load_balancing, Shapes::ShapeRef.new(shape: ElasticLoadBalancing, location_name: "elasticLoadBalancing"))
|
963
1000
|
KubernetesNetworkConfigResponse.struct_class = Types::KubernetesNetworkConfigResponse
|
964
1001
|
|
965
1002
|
LaunchTemplateSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
@@ -1223,6 +1260,24 @@ module Aws::EKS
|
|
1223
1260
|
RemoteAccessConfig.add_member(:source_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "sourceSecurityGroups"))
|
1224
1261
|
RemoteAccessConfig.struct_class = Types::RemoteAccessConfig
|
1225
1262
|
|
1263
|
+
RemoteNetworkConfigRequest.add_member(:remote_node_networks, Shapes::ShapeRef.new(shape: RemoteNodeNetworkList, location_name: "remoteNodeNetworks"))
|
1264
|
+
RemoteNetworkConfigRequest.add_member(:remote_pod_networks, Shapes::ShapeRef.new(shape: RemotePodNetworkList, location_name: "remotePodNetworks"))
|
1265
|
+
RemoteNetworkConfigRequest.struct_class = Types::RemoteNetworkConfigRequest
|
1266
|
+
|
1267
|
+
RemoteNetworkConfigResponse.add_member(:remote_node_networks, Shapes::ShapeRef.new(shape: RemoteNodeNetworkList, location_name: "remoteNodeNetworks"))
|
1268
|
+
RemoteNetworkConfigResponse.add_member(:remote_pod_networks, Shapes::ShapeRef.new(shape: RemotePodNetworkList, location_name: "remotePodNetworks"))
|
1269
|
+
RemoteNetworkConfigResponse.struct_class = Types::RemoteNetworkConfigResponse
|
1270
|
+
|
1271
|
+
RemoteNodeNetwork.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1272
|
+
RemoteNodeNetwork.struct_class = Types::RemoteNodeNetwork
|
1273
|
+
|
1274
|
+
RemoteNodeNetworkList.member = Shapes::ShapeRef.new(shape: RemoteNodeNetwork)
|
1275
|
+
|
1276
|
+
RemotePodNetwork.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1277
|
+
RemotePodNetwork.struct_class = Types::RemotePodNetwork
|
1278
|
+
|
1279
|
+
RemotePodNetworkList.member = Shapes::ShapeRef.new(shape: RemotePodNetwork)
|
1280
|
+
|
1226
1281
|
ResourceInUseException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
1227
1282
|
ResourceInUseException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
1228
1283
|
ResourceInUseException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
@@ -1256,6 +1311,12 @@ module Aws::EKS
|
|
1256
1311
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1257
1312
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
1258
1313
|
|
1314
|
+
StorageConfigRequest.add_member(:block_storage, Shapes::ShapeRef.new(shape: BlockStorage, location_name: "blockStorage"))
|
1315
|
+
StorageConfigRequest.struct_class = Types::StorageConfigRequest
|
1316
|
+
|
1317
|
+
StorageConfigResponse.add_member(:block_storage, Shapes::ShapeRef.new(shape: BlockStorage, location_name: "blockStorage"))
|
1318
|
+
StorageConfigResponse.struct_class = Types::StorageConfigResponse
|
1319
|
+
|
1259
1320
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
1260
1321
|
|
1261
1322
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -1327,6 +1388,9 @@ module Aws::EKS
|
|
1327
1388
|
UpdateClusterConfigRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: UpdateAccessConfigRequest, location_name: "accessConfig"))
|
1328
1389
|
UpdateClusterConfigRequest.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyRequest, location_name: "upgradePolicy"))
|
1329
1390
|
UpdateClusterConfigRequest.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigRequest, location_name: "zonalShiftConfig"))
|
1391
|
+
UpdateClusterConfigRequest.add_member(:compute_config, Shapes::ShapeRef.new(shape: ComputeConfigRequest, location_name: "computeConfig"))
|
1392
|
+
UpdateClusterConfigRequest.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigRequest, location_name: "kubernetesNetworkConfig"))
|
1393
|
+
UpdateClusterConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: StorageConfigRequest, location_name: "storageConfig"))
|
1330
1394
|
UpdateClusterConfigRequest.struct_class = Types::UpdateClusterConfigRequest
|
1331
1395
|
|
1332
1396
|
UpdateClusterConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -424,6 +424,10 @@ module Aws::EKS
|
|
424
424
|
# The architectures that the version supports.
|
425
425
|
# @return [Array<String>]
|
426
426
|
#
|
427
|
+
# @!attribute [rw] compute_types
|
428
|
+
# Indicates the compute type of the addon version.
|
429
|
+
# @return [Array<String>]
|
430
|
+
#
|
427
431
|
# @!attribute [rw] compatibilities
|
428
432
|
# An object representing the compatibilities of a version.
|
429
433
|
# @return [Array<Types::Compatibility>]
|
@@ -442,6 +446,7 @@ module Aws::EKS
|
|
442
446
|
class AddonVersionInfo < Struct.new(
|
443
447
|
:addon_version,
|
444
448
|
:architecture,
|
449
|
+
:compute_types,
|
445
450
|
:compatibilities,
|
446
451
|
:requires_configuration,
|
447
452
|
:requires_iam_permissions)
|
@@ -655,6 +660,28 @@ module Aws::EKS
|
|
655
660
|
include Aws::Structure
|
656
661
|
end
|
657
662
|
|
663
|
+
# Indicates the current configuration of the block storage capability on
|
664
|
+
# your EKS Auto Mode cluster. For example, if the capability is enabled
|
665
|
+
# or disabled. If the block storage capability is enabled, EKS Auto Mode
|
666
|
+
# will create and delete EBS volumes in your Amazon Web Services
|
667
|
+
# account. For more information, see EKS Auto Mode block storage
|
668
|
+
# capability in the EKS User Guide.
|
669
|
+
#
|
670
|
+
# @!attribute [rw] enabled
|
671
|
+
# Indicates if the block storage capability is enabled on your EKS
|
672
|
+
# Auto Mode cluster. If the block storage capability is enabled, EKS
|
673
|
+
# Auto Mode will create and delete EBS volumes in your Amazon Web
|
674
|
+
# Services account.
|
675
|
+
# @return [Boolean]
|
676
|
+
#
|
677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/BlockStorage AWS API Documentation
|
678
|
+
#
|
679
|
+
class BlockStorage < Struct.new(
|
680
|
+
:enabled)
|
681
|
+
SENSITIVE = []
|
682
|
+
include Aws::Structure
|
683
|
+
end
|
684
|
+
|
658
685
|
# An object representing the `certificate-authority-data` for your
|
659
686
|
# cluster.
|
660
687
|
#
|
@@ -876,6 +903,29 @@ module Aws::EKS
|
|
876
903
|
# The configuration for zonal shift for the cluster.
|
877
904
|
# @return [Types::ZonalShiftConfigResponse]
|
878
905
|
#
|
906
|
+
# @!attribute [rw] remote_network_config
|
907
|
+
# The configuration in the cluster for EKS Hybrid Nodes. You can't
|
908
|
+
# change or update this configuration after the cluster is created.
|
909
|
+
# @return [Types::RemoteNetworkConfigResponse]
|
910
|
+
#
|
911
|
+
# @!attribute [rw] compute_config
|
912
|
+
# Indicates the current configuration of the compute capability on
|
913
|
+
# your EKS Auto Mode cluster. For example, if the capability is
|
914
|
+
# enabled or disabled. If the compute capability is enabled, EKS Auto
|
915
|
+
# Mode will create and delete EC2 Managed Instances in your Amazon Web
|
916
|
+
# Services account. For more information, see EKS Auto Mode compute
|
917
|
+
# capability in the EKS User Guide.
|
918
|
+
# @return [Types::ComputeConfigResponse]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] storage_config
|
921
|
+
# Indicates the current configuration of the block storage capability
|
922
|
+
# on your EKS Auto Mode cluster. For example, if the capability is
|
923
|
+
# enabled or disabled. If the block storage capability is enabled, EKS
|
924
|
+
# Auto Mode will create and delete EBS volumes in your Amazon Web
|
925
|
+
# Services account. For more information, see EKS Auto Mode block
|
926
|
+
# storage capability in the EKS User Guide.
|
927
|
+
# @return [Types::StorageConfigResponse]
|
928
|
+
#
|
879
929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cluster AWS API Documentation
|
880
930
|
#
|
881
931
|
class Cluster < Struct.new(
|
@@ -901,7 +951,10 @@ module Aws::EKS
|
|
901
951
|
:outpost_config,
|
902
952
|
:access_config,
|
903
953
|
:upgrade_policy,
|
904
|
-
:zonal_shift_config
|
954
|
+
:zonal_shift_config,
|
955
|
+
:remote_network_config,
|
956
|
+
:compute_config,
|
957
|
+
:storage_config)
|
905
958
|
SENSITIVE = []
|
906
959
|
include Aws::Structure
|
907
960
|
end
|
@@ -968,6 +1021,72 @@ module Aws::EKS
|
|
968
1021
|
include Aws::Structure
|
969
1022
|
end
|
970
1023
|
|
1024
|
+
# Request to update the configuration of the compute capability of your
|
1025
|
+
# EKS Auto Mode cluster. For example, enable the capability. For more
|
1026
|
+
# information, see EKS Auto Mode compute capability in the EKS User
|
1027
|
+
# Guide.
|
1028
|
+
#
|
1029
|
+
# @!attribute [rw] enabled
|
1030
|
+
# Request to enable or disable the compute capability on your EKS Auto
|
1031
|
+
# Mode cluster. If the compute capability is enabled, EKS Auto Mode
|
1032
|
+
# will create and delete EC2 Managed Instances in your Amazon Web
|
1033
|
+
# Services account.
|
1034
|
+
# @return [Boolean]
|
1035
|
+
#
|
1036
|
+
# @!attribute [rw] node_pools
|
1037
|
+
# Configuration for node pools that defines the compute resources for
|
1038
|
+
# your EKS Auto Mode cluster. For more information, see EKS Auto Mode
|
1039
|
+
# Node Pools in the EKS User Guide.
|
1040
|
+
# @return [Array<String>]
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] node_role_arn
|
1043
|
+
# The ARN of the IAM Role EKS will assign to EC2 Managed Instances in
|
1044
|
+
# your EKS Auto Mode cluster. This value cannot be changed after the
|
1045
|
+
# compute capability of EKS Auto Mode is enabled. For more
|
1046
|
+
# information, see the IAM Reference in the EKS User Guide.
|
1047
|
+
# @return [String]
|
1048
|
+
#
|
1049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ComputeConfigRequest AWS API Documentation
|
1050
|
+
#
|
1051
|
+
class ComputeConfigRequest < Struct.new(
|
1052
|
+
:enabled,
|
1053
|
+
:node_pools,
|
1054
|
+
:node_role_arn)
|
1055
|
+
SENSITIVE = []
|
1056
|
+
include Aws::Structure
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Indicates the status of the request to update the compute capability
|
1060
|
+
# of your EKS Auto Mode cluster.
|
1061
|
+
#
|
1062
|
+
# @!attribute [rw] enabled
|
1063
|
+
# Indicates if the compute capability is enabled on your EKS Auto Mode
|
1064
|
+
# cluster. If the compute capability is enabled, EKS Auto Mode will
|
1065
|
+
# create and delete EC2 Managed Instances in your Amazon Web Services
|
1066
|
+
# account.
|
1067
|
+
# @return [Boolean]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] node_pools
|
1070
|
+
# Indicates the current configuration of node pools in your EKS Auto
|
1071
|
+
# Mode cluster. For more information, see EKS Auto Mode Node Pools in
|
1072
|
+
# the EKS User Guide.
|
1073
|
+
# @return [Array<String>]
|
1074
|
+
#
|
1075
|
+
# @!attribute [rw] node_role_arn
|
1076
|
+
# The ARN of the IAM Role EKS will assign to EC2 Managed Instances in
|
1077
|
+
# your EKS Auto Mode cluster.
|
1078
|
+
# @return [String]
|
1079
|
+
#
|
1080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ComputeConfigResponse AWS API Documentation
|
1081
|
+
#
|
1082
|
+
class ComputeConfigResponse < Struct.new(
|
1083
|
+
:enabled,
|
1084
|
+
:node_pools,
|
1085
|
+
:node_role_arn)
|
1086
|
+
SENSITIVE = []
|
1087
|
+
include Aws::Structure
|
1088
|
+
end
|
1089
|
+
|
971
1090
|
# The configuration sent to a cluster for configuration.
|
972
1091
|
#
|
973
1092
|
# @!attribute [rw] role_arn
|
@@ -1508,6 +1627,25 @@ module Aws::EKS
|
|
1508
1627
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
|
1509
1628
|
# @return [Types::ZonalShiftConfigRequest]
|
1510
1629
|
#
|
1630
|
+
# @!attribute [rw] remote_network_config
|
1631
|
+
# The configuration in the cluster for EKS Hybrid Nodes. You can't
|
1632
|
+
# change or update this configuration after the cluster is created.
|
1633
|
+
# @return [Types::RemoteNetworkConfigRequest]
|
1634
|
+
#
|
1635
|
+
# @!attribute [rw] compute_config
|
1636
|
+
# Enable or disable the compute capability of EKS Auto Mode when
|
1637
|
+
# creating your EKS Auto Mode cluster. If the compute capability is
|
1638
|
+
# enabled, EKS Auto Mode will create and delete EC2 Managed Instances
|
1639
|
+
# in your Amazon Web Services account
|
1640
|
+
# @return [Types::ComputeConfigRequest]
|
1641
|
+
#
|
1642
|
+
# @!attribute [rw] storage_config
|
1643
|
+
# Enable or disable the block storage capability of EKS Auto Mode when
|
1644
|
+
# creating your EKS Auto Mode cluster. If the block storage capability
|
1645
|
+
# is enabled, EKS Auto Mode will create and delete EBS volumes in your
|
1646
|
+
# Amazon Web Services account.
|
1647
|
+
# @return [Types::StorageConfigRequest]
|
1648
|
+
#
|
1511
1649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateClusterRequest AWS API Documentation
|
1512
1650
|
#
|
1513
1651
|
class CreateClusterRequest < Struct.new(
|
@@ -1524,7 +1662,10 @@ module Aws::EKS
|
|
1524
1662
|
:access_config,
|
1525
1663
|
:bootstrap_self_managed_addons,
|
1526
1664
|
:upgrade_policy,
|
1527
|
-
:zonal_shift_config
|
1665
|
+
:zonal_shift_config,
|
1666
|
+
:remote_network_config,
|
1667
|
+
:compute_config,
|
1668
|
+
:storage_config)
|
1528
1669
|
SENSITIVE = []
|
1529
1670
|
include Aws::Structure
|
1530
1671
|
end
|
@@ -2912,6 +3053,26 @@ module Aws::EKS
|
|
2912
3053
|
include Aws::Structure
|
2913
3054
|
end
|
2914
3055
|
|
3056
|
+
# Indicates the current configuration of the load balancing capability
|
3057
|
+
# on your EKS Auto Mode cluster. For example, if the capability is
|
3058
|
+
# enabled or disabled. For more information, see EKS Auto Mode load
|
3059
|
+
# balancing capability in the EKS User Guide.
|
3060
|
+
#
|
3061
|
+
# @!attribute [rw] enabled
|
3062
|
+
# Indicates if the load balancing capability is enabled on your EKS
|
3063
|
+
# Auto Mode cluster. If the load balancing capability is enabled, EKS
|
3064
|
+
# Auto Mode will create and delete load balancers in your Amazon Web
|
3065
|
+
# Services account.
|
3066
|
+
# @return [Boolean]
|
3067
|
+
#
|
3068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ElasticLoadBalancing AWS API Documentation
|
3069
|
+
#
|
3070
|
+
class ElasticLoadBalancing < Struct.new(
|
3071
|
+
:enabled)
|
3072
|
+
SENSITIVE = []
|
3073
|
+
include Aws::Structure
|
3074
|
+
end
|
3075
|
+
|
2915
3076
|
# The encryption configuration for the cluster.
|
2916
3077
|
#
|
2917
3078
|
# @!attribute [rw] resources
|
@@ -3479,6 +3640,11 @@ module Aws::EKS
|
|
3479
3640
|
# server. This can happen if there are network disruptions or if API
|
3480
3641
|
# servers are timing out processing requests.
|
3481
3642
|
#
|
3643
|
+
# * **Ec2InstanceTypeDoesNotExist**: One or more of the supplied
|
3644
|
+
# Amazon EC2 instance types do not exist. Amazon EKS checked for the
|
3645
|
+
# instance types that you provided in this Amazon Web Services
|
3646
|
+
# Region, and one or more aren't available.
|
3647
|
+
#
|
3482
3648
|
# * **Ec2LaunchTemplateNotFound**: We couldn't find the Amazon EC2
|
3483
3649
|
# launch template for your managed node group. You may be able to
|
3484
3650
|
# recreate a launch template with the same settings to recover.
|
@@ -3598,11 +3764,18 @@ module Aws::EKS
|
|
3598
3764
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cni-ipv6.html
|
3599
3765
|
# @return [String]
|
3600
3766
|
#
|
3767
|
+
# @!attribute [rw] elastic_load_balancing
|
3768
|
+
# Request to enable or disable the load balancing capability on your
|
3769
|
+
# EKS Auto Mode cluster. For more information, see EKS Auto Mode load
|
3770
|
+
# balancing capability in the EKS User Guide.
|
3771
|
+
# @return [Types::ElasticLoadBalancing]
|
3772
|
+
#
|
3601
3773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigRequest AWS API Documentation
|
3602
3774
|
#
|
3603
3775
|
class KubernetesNetworkConfigRequest < Struct.new(
|
3604
3776
|
:service_ipv_4_cidr,
|
3605
|
-
:ip_family
|
3777
|
+
:ip_family,
|
3778
|
+
:elastic_load_balancing)
|
3606
3779
|
SENSITIVE = []
|
3607
3780
|
include Aws::Structure
|
3608
3781
|
end
|
@@ -3639,12 +3812,19 @@ module Aws::EKS
|
|
3639
3812
|
# created the cluster.
|
3640
3813
|
# @return [String]
|
3641
3814
|
#
|
3815
|
+
# @!attribute [rw] elastic_load_balancing
|
3816
|
+
# Indicates the current configuration of the load balancing capability
|
3817
|
+
# on your EKS Auto Mode cluster. For example, if the capability is
|
3818
|
+
# enabled or disabled.
|
3819
|
+
# @return [Types::ElasticLoadBalancing]
|
3820
|
+
#
|
3642
3821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigResponse AWS API Documentation
|
3643
3822
|
#
|
3644
3823
|
class KubernetesNetworkConfigResponse < Struct.new(
|
3645
3824
|
:service_ipv_4_cidr,
|
3646
3825
|
:service_ipv_6_cidr,
|
3647
|
-
:ip_family
|
3826
|
+
:ip_family,
|
3827
|
+
:elastic_load_balancing)
|
3648
3828
|
SENSITIVE = []
|
3649
3829
|
include Aws::Structure
|
3650
3830
|
end
|
@@ -5459,6 +5639,78 @@ module Aws::EKS
|
|
5459
5639
|
include Aws::Structure
|
5460
5640
|
end
|
5461
5641
|
|
5642
|
+
# The configuration in the cluster for EKS Hybrid Nodes. You can't
|
5643
|
+
# change or update this configuration after the cluster is created.
|
5644
|
+
#
|
5645
|
+
# @!attribute [rw] remote_node_networks
|
5646
|
+
# The list of network CIDRs that can contain hybrid nodes.
|
5647
|
+
# @return [Array<Types::RemoteNodeNetwork>]
|
5648
|
+
#
|
5649
|
+
# @!attribute [rw] remote_pod_networks
|
5650
|
+
# The list of network CIDRs that can contain pods that run Kubernetes
|
5651
|
+
# webhooks on hybrid nodes.
|
5652
|
+
# @return [Array<Types::RemotePodNetwork>]
|
5653
|
+
#
|
5654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RemoteNetworkConfigRequest AWS API Documentation
|
5655
|
+
#
|
5656
|
+
class RemoteNetworkConfigRequest < Struct.new(
|
5657
|
+
:remote_node_networks,
|
5658
|
+
:remote_pod_networks)
|
5659
|
+
SENSITIVE = []
|
5660
|
+
include Aws::Structure
|
5661
|
+
end
|
5662
|
+
|
5663
|
+
# The configuration in the cluster for EKS Hybrid Nodes. You can't
|
5664
|
+
# change or update this configuration after the cluster is created.
|
5665
|
+
#
|
5666
|
+
# @!attribute [rw] remote_node_networks
|
5667
|
+
# The list of network CIDRs that can contain hybrid nodes.
|
5668
|
+
# @return [Array<Types::RemoteNodeNetwork>]
|
5669
|
+
#
|
5670
|
+
# @!attribute [rw] remote_pod_networks
|
5671
|
+
# The list of network CIDRs that can contain pods that run Kubernetes
|
5672
|
+
# webhooks on hybrid nodes.
|
5673
|
+
# @return [Array<Types::RemotePodNetwork>]
|
5674
|
+
#
|
5675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RemoteNetworkConfigResponse AWS API Documentation
|
5676
|
+
#
|
5677
|
+
class RemoteNetworkConfigResponse < Struct.new(
|
5678
|
+
:remote_node_networks,
|
5679
|
+
:remote_pod_networks)
|
5680
|
+
SENSITIVE = []
|
5681
|
+
include Aws::Structure
|
5682
|
+
end
|
5683
|
+
|
5684
|
+
# A network CIDR that can contain hybrid nodes.
|
5685
|
+
#
|
5686
|
+
# @!attribute [rw] cidrs
|
5687
|
+
# A network CIDR that can contain hybrid nodes.
|
5688
|
+
# @return [Array<String>]
|
5689
|
+
#
|
5690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RemoteNodeNetwork AWS API Documentation
|
5691
|
+
#
|
5692
|
+
class RemoteNodeNetwork < Struct.new(
|
5693
|
+
:cidrs)
|
5694
|
+
SENSITIVE = []
|
5695
|
+
include Aws::Structure
|
5696
|
+
end
|
5697
|
+
|
5698
|
+
# A network CIDR that can contain pods that run Kubernetes webhooks on
|
5699
|
+
# hybrid nodes.
|
5700
|
+
#
|
5701
|
+
# @!attribute [rw] cidrs
|
5702
|
+
# A network CIDR that can contain pods that run Kubernetes webhooks on
|
5703
|
+
# hybrid nodes.
|
5704
|
+
# @return [Array<String>]
|
5705
|
+
#
|
5706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RemotePodNetwork AWS API Documentation
|
5707
|
+
#
|
5708
|
+
class RemotePodNetwork < Struct.new(
|
5709
|
+
:cidrs)
|
5710
|
+
SENSITIVE = []
|
5711
|
+
include Aws::Structure
|
5712
|
+
end
|
5713
|
+
|
5462
5714
|
# The specified resource is in use.
|
5463
5715
|
#
|
5464
5716
|
# @!attribute [rw] cluster_name
|
@@ -5623,6 +5875,41 @@ module Aws::EKS
|
|
5623
5875
|
include Aws::Structure
|
5624
5876
|
end
|
5625
5877
|
|
5878
|
+
# Request to update the configuration of the storage capability of your
|
5879
|
+
# EKS Auto Mode cluster. For example, enable the capability. For more
|
5880
|
+
# information, see EKS Auto Mode block storage capability in the EKS
|
5881
|
+
# User Guide.
|
5882
|
+
#
|
5883
|
+
# @!attribute [rw] block_storage
|
5884
|
+
# Request to configure EBS Block Storage settings for your EKS Auto
|
5885
|
+
# Mode cluster.
|
5886
|
+
# @return [Types::BlockStorage]
|
5887
|
+
#
|
5888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/StorageConfigRequest AWS API Documentation
|
5889
|
+
#
|
5890
|
+
class StorageConfigRequest < Struct.new(
|
5891
|
+
:block_storage)
|
5892
|
+
SENSITIVE = []
|
5893
|
+
include Aws::Structure
|
5894
|
+
end
|
5895
|
+
|
5896
|
+
# Indicates the status of the request to update the block storage
|
5897
|
+
# capability of your EKS Auto Mode cluster.
|
5898
|
+
#
|
5899
|
+
# @!attribute [rw] block_storage
|
5900
|
+
# Indicates the current configuration of the block storage capability
|
5901
|
+
# on your EKS Auto Mode cluster. For example, if the capability is
|
5902
|
+
# enabled or disabled.
|
5903
|
+
# @return [Types::BlockStorage]
|
5904
|
+
#
|
5905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/StorageConfigResponse AWS API Documentation
|
5906
|
+
#
|
5907
|
+
class StorageConfigResponse < Struct.new(
|
5908
|
+
:block_storage)
|
5909
|
+
SENSITIVE = []
|
5910
|
+
include Aws::Structure
|
5911
|
+
end
|
5912
|
+
|
5626
5913
|
# @!attribute [rw] resource_arn
|
5627
5914
|
# The Amazon Resource Name (ARN) of the resource to add tags to.
|
5628
5915
|
# @return [String]
|
@@ -6057,6 +6344,20 @@ module Aws::EKS
|
|
6057
6344
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
|
6058
6345
|
# @return [Types::ZonalShiftConfigRequest]
|
6059
6346
|
#
|
6347
|
+
# @!attribute [rw] compute_config
|
6348
|
+
# Update the configuration of the compute capability of your EKS Auto
|
6349
|
+
# Mode cluster. For example, enable the capability.
|
6350
|
+
# @return [Types::ComputeConfigRequest]
|
6351
|
+
#
|
6352
|
+
# @!attribute [rw] kubernetes_network_config
|
6353
|
+
# The Kubernetes network configuration for the cluster.
|
6354
|
+
# @return [Types::KubernetesNetworkConfigRequest]
|
6355
|
+
#
|
6356
|
+
# @!attribute [rw] storage_config
|
6357
|
+
# Update the configuration of the block storage capability of your EKS
|
6358
|
+
# Auto Mode cluster. For example, enable the capability.
|
6359
|
+
# @return [Types::StorageConfigRequest]
|
6360
|
+
#
|
6060
6361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfigRequest AWS API Documentation
|
6061
6362
|
#
|
6062
6363
|
class UpdateClusterConfigRequest < Struct.new(
|
@@ -6066,7 +6367,10 @@ module Aws::EKS
|
|
6066
6367
|
:client_request_token,
|
6067
6368
|
:access_config,
|
6068
6369
|
:upgrade_policy,
|
6069
|
-
:zonal_shift_config
|
6370
|
+
:zonal_shift_config,
|
6371
|
+
:compute_config,
|
6372
|
+
:kubernetes_network_config,
|
6373
|
+
:storage_config)
|
6070
6374
|
SENSITIVE = []
|
6071
6375
|
include Aws::Structure
|
6072
6376
|
end
|
data/lib/aws-sdk-eks.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -192,7 +192,10 @@ module Aws
|
|
192
192
|
},
|
193
193
|
?kubernetes_network_config: {
|
194
194
|
service_ipv_4_cidr: ::String?,
|
195
|
-
ip_family: ("ipv4" | "ipv6")
|
195
|
+
ip_family: ("ipv4" | "ipv6")?,
|
196
|
+
elastic_load_balancing: {
|
197
|
+
enabled: bool?
|
198
|
+
}?
|
196
199
|
},
|
197
200
|
?logging: {
|
198
201
|
cluster_logging: Array[
|
@@ -229,6 +232,28 @@ module Aws
|
|
229
232
|
},
|
230
233
|
?zonal_shift_config: {
|
231
234
|
enabled: bool?
|
235
|
+
},
|
236
|
+
?remote_network_config: {
|
237
|
+
remote_node_networks: Array[
|
238
|
+
{
|
239
|
+
cidrs: Array[::String]?
|
240
|
+
},
|
241
|
+
]?,
|
242
|
+
remote_pod_networks: Array[
|
243
|
+
{
|
244
|
+
cidrs: Array[::String]?
|
245
|
+
},
|
246
|
+
]?
|
247
|
+
},
|
248
|
+
?compute_config: {
|
249
|
+
enabled: bool?,
|
250
|
+
node_pools: Array[::String]?,
|
251
|
+
node_role_arn: ::String?
|
252
|
+
},
|
253
|
+
?storage_config: {
|
254
|
+
block_storage: {
|
255
|
+
enabled: bool?
|
256
|
+
}?
|
232
257
|
}
|
233
258
|
) -> _CreateClusterResponseSuccess
|
234
259
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
@@ -871,6 +896,23 @@ module Aws
|
|
871
896
|
},
|
872
897
|
?zonal_shift_config: {
|
873
898
|
enabled: bool?
|
899
|
+
},
|
900
|
+
?compute_config: {
|
901
|
+
enabled: bool?,
|
902
|
+
node_pools: Array[::String]?,
|
903
|
+
node_role_arn: ::String?
|
904
|
+
},
|
905
|
+
?kubernetes_network_config: {
|
906
|
+
service_ipv_4_cidr: ::String?,
|
907
|
+
ip_family: ("ipv4" | "ipv6")?,
|
908
|
+
elastic_load_balancing: {
|
909
|
+
enabled: bool?
|
910
|
+
}?
|
911
|
+
},
|
912
|
+
?storage_config: {
|
913
|
+
block_storage: {
|
914
|
+
enabled: bool?
|
915
|
+
}?
|
874
916
|
}
|
875
917
|
) -> _UpdateClusterConfigResponseSuccess
|
876
918
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterConfigResponseSuccess
|