aws-sdk-eks 1.80.0 → 1.82.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 +132 -43
- data/lib/aws-sdk-eks/client_api.rb +25 -0
- data/lib/aws-sdk-eks/endpoint_provider.rb +64 -65
- data/lib/aws-sdk-eks/endpoints.rb +14 -0
- data/lib/aws-sdk-eks/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-eks/types.rb +159 -733
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9b4968db51335c0c88c1ac88526deed1a9850f13561f520eb66f5569f3a81bb
|
4
|
+
data.tar.gz: 17c49b9504cc4e2d489f0cbc070994ebdf5c6ea591c6c085ca4dd96f64585b0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b06168d9390ba63e0d1a2548e19501e1e1a1d14cea873a9409147c4adc543569b9bfb9368b9cf4348577c98aa2630d52ecf677057409a70f651b11f212a44ccb
|
7
|
+
data.tar.gz: 87a97a8efe3c5682d74e6469ebf933f0d4b55574ec4b9f38ccdd29810e7b3a7ac43188dab0ab69906552b0e9ba74c52174e4c076be2a5752ce7645b708cbcff5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.82.0 (2022-12-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for Windows managed nodes groups.
|
8
|
+
|
9
|
+
1.81.0 (2022-12-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for EKS add-ons configurationValues fields and DescribeAddonConfiguration function
|
13
|
+
|
4
14
|
1.80.0 (2022-11-29)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.82.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -533,8 +533,8 @@ module Aws::EKS
|
|
533
533
|
# The name of the cluster to create the add-on for.
|
534
534
|
#
|
535
535
|
# @option params [required, String] :addon_name
|
536
|
-
# The name of the add-on. The name must match one of the names
|
537
|
-
#
|
536
|
+
# The name of the add-on. The name must match one of the names that [
|
537
|
+
# `DescribeAddonVersions` ][1] returns.
|
538
538
|
#
|
539
539
|
#
|
540
540
|
#
|
@@ -605,6 +605,15 @@ module Aws::EKS
|
|
605
605
|
# organization. Each tag consists of a key and an optional value. You
|
606
606
|
# define both.
|
607
607
|
#
|
608
|
+
# @option params [String] :configuration_values
|
609
|
+
# The set of configuration values for the add-on that's created. The
|
610
|
+
# values that you provide are validated against the schema in [
|
611
|
+
# `DescribeAddonConfiguration` ][1].
|
612
|
+
#
|
613
|
+
#
|
614
|
+
#
|
615
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html
|
616
|
+
#
|
608
617
|
# @return [Types::CreateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
609
618
|
#
|
610
619
|
# * {Types::CreateAddonResponse#addon #addon} => Types::Addon
|
@@ -621,6 +630,7 @@ module Aws::EKS
|
|
621
630
|
# tags: {
|
622
631
|
# "TagKey" => "TagValue",
|
623
632
|
# },
|
633
|
+
# configuration_values: "String",
|
624
634
|
# })
|
625
635
|
#
|
626
636
|
# @example Response structure
|
@@ -644,6 +654,7 @@ module Aws::EKS
|
|
644
654
|
# resp.addon.owner #=> String
|
645
655
|
# resp.addon.marketplace_information.product_id #=> String
|
646
656
|
# resp.addon.marketplace_information.product_url #=> String
|
657
|
+
# resp.addon.configuration_values #=> String
|
647
658
|
#
|
648
659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddon AWS API Documentation
|
649
660
|
#
|
@@ -1052,9 +1063,13 @@ module Aws::EKS
|
|
1052
1063
|
#
|
1053
1064
|
# An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
|
1054
1065
|
# and associated Amazon EC2 instances that are managed by Amazon Web
|
1055
|
-
# Services for an Amazon EKS cluster.
|
1056
|
-
#
|
1057
|
-
#
|
1066
|
+
# Services for an Amazon EKS cluster. For more information, see [Managed
|
1067
|
+
# node groups][2] in the *Amazon EKS User Guide*.
|
1068
|
+
#
|
1069
|
+
# <note markdown="1"> Windows AMI types are only supported for commercial Regions that
|
1070
|
+
# support Windows Amazon EKS.
|
1071
|
+
#
|
1072
|
+
# </note>
|
1058
1073
|
#
|
1059
1074
|
#
|
1060
1075
|
#
|
@@ -1073,7 +1088,8 @@ module Aws::EKS
|
|
1073
1088
|
#
|
1074
1089
|
# @option params [Integer] :disk_size
|
1075
1090
|
# The root device disk size (in GiB) for your node group instances. The
|
1076
|
-
# default disk size is 20 GiB
|
1091
|
+
# default disk size is 20 GiB for Linux and Bottlerocket. The default
|
1092
|
+
# disk size is 50 GiB for Windows. If you specify `launchTemplate`, then
|
1077
1093
|
# don't specify `diskSize`, or the node group deployment will fail. For
|
1078
1094
|
# more information about using launch templates with Amazon EKS, see
|
1079
1095
|
# [Launch template support][1] in the *Amazon EKS User Guide*.
|
@@ -1097,11 +1113,11 @@ module Aws::EKS
|
|
1097
1113
|
#
|
1098
1114
|
# @option params [Array<String>] :instance_types
|
1099
1115
|
# Specify the instance types for a node group. If you specify a GPU
|
1100
|
-
# instance type,
|
1101
|
-
# parameter. If you specify `launchTemplate`, then
|
1102
|
-
# or one instance type in your launch template *or*
|
1103
|
-
# instance types for `instanceTypes`. If however,
|
1104
|
-
# instance type in your launch template *and* specify any
|
1116
|
+
# instance type, make sure to also specify an applicable GPU AMI type
|
1117
|
+
# with the `amiType` parameter. If you specify `launchTemplate`, then
|
1118
|
+
# you can specify zero or one instance type in your launch template *or*
|
1119
|
+
# you can specify 0-20 instance types for `instanceTypes`. If however,
|
1120
|
+
# you specify an instance type in your launch template *and* specify any
|
1105
1121
|
# `instanceTypes`, the node group deployment will fail. If you don't
|
1106
1122
|
# specify an instance type in a launch template or for `instanceTypes`,
|
1107
1123
|
# then `t3.medium` is used, by default. If you specify `Spot` for
|
@@ -1116,23 +1132,23 @@ module Aws::EKS
|
|
1116
1132
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
1117
1133
|
#
|
1118
1134
|
# @option params [String] :ami_type
|
1119
|
-
# The AMI type for your node group.
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
# EKS, see [Launch template support][1] in the *Amazon EKS User Guide*.
|
1135
|
+
# The AMI type for your node group. If you specify `launchTemplate`, and
|
1136
|
+
# your launch template uses a custom AMI, then don't specify `amiType`,
|
1137
|
+
# or the node group deployment will fail. If your launch template uses a
|
1138
|
+
# Windows custom AMI, then add `eks:kube-proxy-windows` to your Windows
|
1139
|
+
# nodes `rolearn` in the `aws-auth` `ConfigMap`. For more information
|
1140
|
+
# about using launch templates with Amazon EKS, see [Launch template
|
1141
|
+
# support][1] in the *Amazon EKS User Guide*.
|
1127
1142
|
#
|
1128
1143
|
#
|
1129
1144
|
#
|
1130
1145
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
1131
1146
|
#
|
1132
1147
|
# @option params [Types::RemoteAccessConfig] :remote_access
|
1133
|
-
# The remote access
|
1134
|
-
#
|
1135
|
-
#
|
1148
|
+
# The remote access configuration to use with your node group. For
|
1149
|
+
# Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
|
1150
|
+
# specify `launchTemplate`, then don't specify `remoteAccess`, or the
|
1151
|
+
# node group deployment will fail. For more information about using
|
1136
1152
|
# launch templates with Amazon EKS, see [Launch template support][1] in
|
1137
1153
|
# the *Amazon EKS User Guide*.
|
1138
1154
|
#
|
@@ -1214,18 +1230,24 @@ module Aws::EKS
|
|
1214
1230
|
# @option params [String] :release_version
|
1215
1231
|
# The AMI version of the Amazon EKS optimized AMI to use with your node
|
1216
1232
|
# group. By default, the latest available AMI version for the node
|
1217
|
-
# group's current Kubernetes version is used. For
|
1218
|
-
# [Amazon EKS optimized Amazon Linux
|
1219
|
-
# EKS User Guide*.
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
#
|
1233
|
+
# group's current Kubernetes version is used. For information about
|
1234
|
+
# Linux versions, see [Amazon EKS optimized Amazon Linux AMI
|
1235
|
+
# versions][1] in the *Amazon EKS User Guide*. Amazon EKS managed node
|
1236
|
+
# groups support the November 2022 and later releases of the Windows
|
1237
|
+
# AMIs. For information about Windows versions, see [Amazon EKS
|
1238
|
+
# optimized Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
1239
|
+
#
|
1240
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
1241
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
1242
|
+
# deployment will fail. For more information about using launch
|
1243
|
+
# templates with Amazon EKS, see [Launch template support][3] in the
|
1244
|
+
# *Amazon EKS User Guide*.
|
1224
1245
|
#
|
1225
1246
|
#
|
1226
1247
|
#
|
1227
1248
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
1228
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
1249
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
1250
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
1229
1251
|
#
|
1230
1252
|
# @return [Types::CreateNodegroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1231
1253
|
#
|
@@ -1244,7 +1266,7 @@ module Aws::EKS
|
|
1244
1266
|
# disk_size: 1,
|
1245
1267
|
# subnets: ["String"], # required
|
1246
1268
|
# instance_types: ["String"],
|
1247
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64, BOTTLEROCKET_ARM_64_NVIDIA, BOTTLEROCKET_x86_64_NVIDIA
|
1269
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64, BOTTLEROCKET_ARM_64_NVIDIA, BOTTLEROCKET_x86_64_NVIDIA, WINDOWS_CORE_2019_x86_64, WINDOWS_FULL_2019_x86_64, WINDOWS_CORE_2022_x86_64, WINDOWS_FULL_2022_x86_64
|
1248
1270
|
# remote_access: {
|
1249
1271
|
# ec2_ssh_key: "String",
|
1250
1272
|
# source_security_groups: ["String"],
|
@@ -1299,7 +1321,7 @@ module Aws::EKS
|
|
1299
1321
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1300
1322
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1301
1323
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
1302
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
1324
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
1303
1325
|
# resp.nodegroup.node_role #=> String
|
1304
1326
|
# resp.nodegroup.labels #=> Hash
|
1305
1327
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -1388,6 +1410,7 @@ module Aws::EKS
|
|
1388
1410
|
# resp.addon.owner #=> String
|
1389
1411
|
# resp.addon.marketplace_information.product_id #=> String
|
1390
1412
|
# resp.addon.marketplace_information.product_url #=> String
|
1413
|
+
# resp.addon.configuration_values #=> String
|
1391
1414
|
#
|
1392
1415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddon AWS API Documentation
|
1393
1416
|
#
|
@@ -1599,7 +1622,7 @@ module Aws::EKS
|
|
1599
1622
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1600
1623
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1601
1624
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
1602
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
1625
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
1603
1626
|
# resp.nodegroup.node_role #=> String
|
1604
1627
|
# resp.nodegroup.labels #=> Hash
|
1605
1628
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -1755,6 +1778,7 @@ module Aws::EKS
|
|
1755
1778
|
# resp.addon.owner #=> String
|
1756
1779
|
# resp.addon.marketplace_information.product_id #=> String
|
1757
1780
|
# resp.addon.marketplace_information.product_url #=> String
|
1781
|
+
# resp.addon.configuration_values #=> String
|
1758
1782
|
#
|
1759
1783
|
#
|
1760
1784
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1771,6 +1795,52 @@ module Aws::EKS
|
|
1771
1795
|
req.send_request(options)
|
1772
1796
|
end
|
1773
1797
|
|
1798
|
+
# Returns configuration options.
|
1799
|
+
#
|
1800
|
+
# @option params [required, String] :addon_name
|
1801
|
+
# The name of the add-on. The name must match one of the names that [
|
1802
|
+
# `DescribeAddonVersions` ][1] returns.
|
1803
|
+
#
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
|
1807
|
+
#
|
1808
|
+
# @option params [required, String] :addon_version
|
1809
|
+
# The version of the add-on. The version must match one of the versions
|
1810
|
+
# returned by [ `DescribeAddonVersions` ][1].
|
1811
|
+
#
|
1812
|
+
#
|
1813
|
+
#
|
1814
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
|
1815
|
+
#
|
1816
|
+
# @return [Types::DescribeAddonConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1817
|
+
#
|
1818
|
+
# * {Types::DescribeAddonConfigurationResponse#addon_name #addon_name} => String
|
1819
|
+
# * {Types::DescribeAddonConfigurationResponse#addon_version #addon_version} => String
|
1820
|
+
# * {Types::DescribeAddonConfigurationResponse#configuration_schema #configuration_schema} => String
|
1821
|
+
#
|
1822
|
+
# @example Request syntax with placeholder values
|
1823
|
+
#
|
1824
|
+
# resp = client.describe_addon_configuration({
|
1825
|
+
# addon_name: "String", # required
|
1826
|
+
# addon_version: "String", # required
|
1827
|
+
# })
|
1828
|
+
#
|
1829
|
+
# @example Response structure
|
1830
|
+
#
|
1831
|
+
# resp.addon_name #=> String
|
1832
|
+
# resp.addon_version #=> String
|
1833
|
+
# resp.configuration_schema #=> String
|
1834
|
+
#
|
1835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonConfiguration AWS API Documentation
|
1836
|
+
#
|
1837
|
+
# @overload describe_addon_configuration(params = {})
|
1838
|
+
# @param [Hash] params ({})
|
1839
|
+
def describe_addon_configuration(params = {}, options = {})
|
1840
|
+
req = build_request(:describe_addon_configuration, params)
|
1841
|
+
req.send_request(options)
|
1842
|
+
end
|
1843
|
+
|
1774
1844
|
# Describes the versions for an add-on. Information such as the
|
1775
1845
|
# Kubernetes versions that you can use the add-on with, the `owner`,
|
1776
1846
|
# `publisher`, and the `type` of the add-on are returned.
|
@@ -2136,7 +2206,7 @@ module Aws::EKS
|
|
2136
2206
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
2137
2207
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
2138
2208
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
2139
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
2209
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
2140
2210
|
# resp.nodegroup.node_role #=> String
|
2141
2211
|
# resp.nodegroup.labels #=> Hash
|
2142
2212
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -2951,6 +3021,15 @@ module Aws::EKS
|
|
2951
3021
|
# **A suitable default value is auto-generated.** You should normally
|
2952
3022
|
# not need to pass this option.**
|
2953
3023
|
#
|
3024
|
+
# @option params [String] :configuration_values
|
3025
|
+
# The set of configuration values for the add-on that's created. The
|
3026
|
+
# values that you provide are validated against the schema in
|
3027
|
+
# [DescribeAddonConfiguration][1].
|
3028
|
+
#
|
3029
|
+
#
|
3030
|
+
#
|
3031
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html
|
3032
|
+
#
|
2954
3033
|
# @return [Types::UpdateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2955
3034
|
#
|
2956
3035
|
# * {Types::UpdateAddonResponse#update #update} => Types::Update
|
@@ -2964,6 +3043,7 @@ module Aws::EKS
|
|
2964
3043
|
# service_account_role_arn: "RoleArn",
|
2965
3044
|
# resolve_conflicts: "OVERWRITE", # accepts OVERWRITE, NONE, PRESERVE
|
2966
3045
|
# client_request_token: "String",
|
3046
|
+
# configuration_values: "String",
|
2967
3047
|
# })
|
2968
3048
|
#
|
2969
3049
|
# @example Response structure
|
@@ -3297,8 +3377,10 @@ module Aws::EKS
|
|
3297
3377
|
# version by not specifying a Kubernetes version in the request. You can
|
3298
3378
|
# update to the latest AMI version of your cluster's current Kubernetes
|
3299
3379
|
# version by specifying your cluster's Kubernetes version in the
|
3300
|
-
# request. For
|
3301
|
-
#
|
3380
|
+
# request. For information about Linux versions, see [Amazon EKS
|
3381
|
+
# optimized Amazon Linux AMI versions][1] in the *Amazon EKS User
|
3382
|
+
# Guide*. For information about Windows versions, see [Amazon EKS
|
3383
|
+
# optimized Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
3302
3384
|
#
|
3303
3385
|
# You cannot roll back a node group to an earlier Kubernetes version or
|
3304
3386
|
# AMI version.
|
@@ -3312,6 +3394,7 @@ module Aws::EKS
|
|
3312
3394
|
#
|
3313
3395
|
#
|
3314
3396
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
3397
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
3315
3398
|
#
|
3316
3399
|
# @option params [required, String] :cluster_name
|
3317
3400
|
# The name of the Amazon EKS cluster that is associated with the managed
|
@@ -3337,18 +3420,24 @@ module Aws::EKS
|
|
3337
3420
|
# @option params [String] :release_version
|
3338
3421
|
# The AMI version of the Amazon EKS optimized AMI to use for the update.
|
3339
3422
|
# By default, the latest available AMI version for the node group's
|
3340
|
-
# Kubernetes version is used. For
|
3341
|
-
# optimized Amazon Linux
|
3342
|
-
# Guide*.
|
3343
|
-
#
|
3423
|
+
# Kubernetes version is used. For information about Linux versions, see
|
3424
|
+
# [Amazon EKS optimized Amazon Linux AMI versions][1] in the *Amazon EKS
|
3425
|
+
# User Guide*. Amazon EKS managed node groups support the November 2022
|
3426
|
+
# and later releases of the Windows AMIs. For information about Windows
|
3427
|
+
# versions, see [Amazon EKS optimized Windows AMI versions][2] in the
|
3428
|
+
# *Amazon EKS User Guide*.
|
3429
|
+
#
|
3430
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
3431
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
3344
3432
|
# update will fail. For more information about using launch templates
|
3345
|
-
# with Amazon EKS, see [Launch template support][
|
3433
|
+
# with Amazon EKS, see [Launch template support][3] in the *Amazon EKS
|
3346
3434
|
# User Guide*.
|
3347
3435
|
#
|
3348
3436
|
#
|
3349
3437
|
#
|
3350
3438
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
3351
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
3439
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
3440
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
3352
3441
|
#
|
3353
3442
|
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
3354
3443
|
# An object representing a node group's launch template specification.
|
@@ -3426,7 +3515,7 @@ module Aws::EKS
|
|
3426
3515
|
params: params,
|
3427
3516
|
config: config)
|
3428
3517
|
context[:gem_name] = 'aws-sdk-eks'
|
3429
|
-
context[:gem_version] = '1.
|
3518
|
+
context[:gem_version] = '1.82.0'
|
3430
3519
|
Seahorse::Client::Request.new(handlers, context)
|
3431
3520
|
end
|
3432
3521
|
|
@@ -71,6 +71,8 @@ module Aws::EKS
|
|
71
71
|
DeleteNodegroupResponse = Shapes::StructureShape.new(name: 'DeleteNodegroupResponse')
|
72
72
|
DeregisterClusterRequest = Shapes::StructureShape.new(name: 'DeregisterClusterRequest')
|
73
73
|
DeregisterClusterResponse = Shapes::StructureShape.new(name: 'DeregisterClusterResponse')
|
74
|
+
DescribeAddonConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAddonConfigurationRequest')
|
75
|
+
DescribeAddonConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAddonConfigurationResponse')
|
74
76
|
DescribeAddonRequest = Shapes::StructureShape.new(name: 'DescribeAddonRequest')
|
75
77
|
DescribeAddonResponse = Shapes::StructureShape.new(name: 'DescribeAddonResponse')
|
76
78
|
DescribeAddonVersionsRequest = Shapes::StructureShape.new(name: 'DescribeAddonVersionsRequest')
|
@@ -227,6 +229,7 @@ module Aws::EKS
|
|
227
229
|
Addon.add_member(:publisher, Shapes::ShapeRef.new(shape: String, location_name: "publisher"))
|
228
230
|
Addon.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "owner"))
|
229
231
|
Addon.add_member(:marketplace_information, Shapes::ShapeRef.new(shape: MarketplaceInformation, location_name: "marketplaceInformation"))
|
232
|
+
Addon.add_member(:configuration_values, Shapes::ShapeRef.new(shape: String, location_name: "configurationValues"))
|
230
233
|
Addon.struct_class = Types::Addon
|
231
234
|
|
232
235
|
AddonHealth.add_member(:issues, Shapes::ShapeRef.new(shape: AddonIssueList, location_name: "issues"))
|
@@ -355,6 +358,7 @@ module Aws::EKS
|
|
355
358
|
CreateAddonRequest.add_member(:resolve_conflicts, Shapes::ShapeRef.new(shape: ResolveConflicts, location_name: "resolveConflicts"))
|
356
359
|
CreateAddonRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
357
360
|
CreateAddonRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
361
|
+
CreateAddonRequest.add_member(:configuration_values, Shapes::ShapeRef.new(shape: String, location_name: "configurationValues"))
|
358
362
|
CreateAddonRequest.struct_class = Types::CreateAddonRequest
|
359
363
|
|
360
364
|
CreateAddonResponse.add_member(:addon, Shapes::ShapeRef.new(shape: Addon, location_name: "addon"))
|
@@ -444,6 +448,15 @@ module Aws::EKS
|
|
444
448
|
DeregisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
445
449
|
DeregisterClusterResponse.struct_class = Types::DeregisterClusterResponse
|
446
450
|
|
451
|
+
DescribeAddonConfigurationRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "addonName"))
|
452
|
+
DescribeAddonConfigurationRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "addonVersion"))
|
453
|
+
DescribeAddonConfigurationRequest.struct_class = Types::DescribeAddonConfigurationRequest
|
454
|
+
|
455
|
+
DescribeAddonConfigurationResponse.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
456
|
+
DescribeAddonConfigurationResponse.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
|
457
|
+
DescribeAddonConfigurationResponse.add_member(:configuration_schema, Shapes::ShapeRef.new(shape: String, location_name: "configurationSchema"))
|
458
|
+
DescribeAddonConfigurationResponse.struct_class = Types::DescribeAddonConfigurationResponse
|
459
|
+
|
447
460
|
DescribeAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
|
448
461
|
DescribeAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
|
449
462
|
DescribeAddonRequest.struct_class = Types::DescribeAddonRequest
|
@@ -837,6 +850,7 @@ module Aws::EKS
|
|
837
850
|
UpdateAddonRequest.add_member(:service_account_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "serviceAccountRoleArn"))
|
838
851
|
UpdateAddonRequest.add_member(:resolve_conflicts, Shapes::ShapeRef.new(shape: ResolveConflicts, location_name: "resolveConflicts"))
|
839
852
|
UpdateAddonRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
853
|
+
UpdateAddonRequest.add_member(:configuration_values, Shapes::ShapeRef.new(shape: String, location_name: "configurationValues"))
|
840
854
|
UpdateAddonRequest.struct_class = Types::UpdateAddonRequest
|
841
855
|
|
842
856
|
UpdateAddonResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
@@ -1107,6 +1121,17 @@ module Aws::EKS
|
|
1107
1121
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1108
1122
|
end)
|
1109
1123
|
|
1124
|
+
api.add_operation(:describe_addon_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1125
|
+
o.name = "DescribeAddonConfiguration"
|
1126
|
+
o.http_method = "GET"
|
1127
|
+
o.http_request_uri = "/addons/configuration-schemas"
|
1128
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAddonConfigurationRequest)
|
1129
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAddonConfigurationResponse)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1133
|
+
end)
|
1134
|
+
|
1110
1135
|
api.add_operation(:describe_addon_versions, Seahorse::Model::Operation.new.tap do |o|
|
1111
1136
|
o.name = "DescribeAddonVersions"
|
1112
1137
|
o.http_method = "GET"
|
@@ -50,71 +50,70 @@ IHRoaXMgcmVxdWVzdCIsInR5cGUiOiJTdHJpbmcifX0sInJ1bGVzIjpbeyJj
|
|
50
50
|
b25kaXRpb25zIjpbeyJmbiI6ImF3cy5wYXJ0aXRpb24iLCJhcmd2IjpbeyJy
|
51
51
|
ZWYiOiJSZWdpb24ifV0sImFzc2lnbiI6IlBhcnRpdGlvblJlc3VsdCJ9XSwi
|
52
52
|
dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJp
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
53
|
+
c1NldCIsImFyZ3YiOlt7InJlZiI6IkVuZHBvaW50In1dfV0sInR5cGUiOiJ0
|
54
|
+
cmVlIiwicnVsZXMiOlt7ImNvbmRpdGl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
Ont9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
118
117
|
|
119
118
|
JSON
|
120
119
|
end
|
@@ -179,6 +179,20 @@ module Aws::EKS
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
+
class DescribeAddonConfiguration
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::EKS::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
182
196
|
class DescribeAddonVersions
|
183
197
|
def self.build(context)
|
184
198
|
unless context.config.regional_endpoint
|
@@ -80,6 +80,8 @@ module Aws::EKS
|
|
80
80
|
Aws::EKS::Endpoints::DeregisterCluster.build(context)
|
81
81
|
when :describe_addon
|
82
82
|
Aws::EKS::Endpoints::DescribeAddon.build(context)
|
83
|
+
when :describe_addon_configuration
|
84
|
+
Aws::EKS::Endpoints::DescribeAddonConfiguration.build(context)
|
83
85
|
when :describe_addon_versions
|
84
86
|
Aws::EKS::Endpoints::DescribeAddonVersions.build(context)
|
85
87
|
when :describe_cluster
|