aws-sdk-eks 1.41.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,16 @@ module Aws::EKS
14
14
  include Seahorse::Model
15
15
 
16
16
  AMITypes = Shapes::StringShape.new(name: 'AMITypes')
17
+ Addon = Shapes::StructureShape.new(name: 'Addon')
18
+ AddonHealth = Shapes::StructureShape.new(name: 'AddonHealth')
19
+ AddonInfo = Shapes::StructureShape.new(name: 'AddonInfo')
20
+ AddonIssue = Shapes::StructureShape.new(name: 'AddonIssue')
21
+ AddonIssueCode = Shapes::StringShape.new(name: 'AddonIssueCode')
22
+ AddonIssueList = Shapes::ListShape.new(name: 'AddonIssueList')
23
+ AddonStatus = Shapes::StringShape.new(name: 'AddonStatus')
24
+ AddonVersionInfo = Shapes::StructureShape.new(name: 'AddonVersionInfo')
25
+ AddonVersionInfoList = Shapes::ListShape.new(name: 'AddonVersionInfoList')
26
+ Addons = Shapes::ListShape.new(name: 'Addons')
17
27
  AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
18
28
  AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
19
29
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -21,23 +31,35 @@ module Aws::EKS
21
31
  BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
22
32
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
23
33
  Capacity = Shapes::IntegerShape.new(name: 'Capacity')
34
+ CapacityTypes = Shapes::StringShape.new(name: 'CapacityTypes')
24
35
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
25
36
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
26
37
  Cluster = Shapes::StructureShape.new(name: 'Cluster')
27
38
  ClusterName = Shapes::StringShape.new(name: 'ClusterName')
28
39
  ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
40
+ Compatibilities = Shapes::ListShape.new(name: 'Compatibilities')
41
+ Compatibility = Shapes::StructureShape.new(name: 'Compatibility')
42
+ CreateAddonRequest = Shapes::StructureShape.new(name: 'CreateAddonRequest')
43
+ CreateAddonResponse = Shapes::StructureShape.new(name: 'CreateAddonResponse')
29
44
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
30
45
  CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
31
46
  CreateFargateProfileRequest = Shapes::StructureShape.new(name: 'CreateFargateProfileRequest')
32
47
  CreateFargateProfileResponse = Shapes::StructureShape.new(name: 'CreateFargateProfileResponse')
33
48
  CreateNodegroupRequest = Shapes::StructureShape.new(name: 'CreateNodegroupRequest')
34
49
  CreateNodegroupResponse = Shapes::StructureShape.new(name: 'CreateNodegroupResponse')
50
+ DeleteAddonRequest = Shapes::StructureShape.new(name: 'DeleteAddonRequest')
51
+ DeleteAddonResponse = Shapes::StructureShape.new(name: 'DeleteAddonResponse')
35
52
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
36
53
  DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
37
54
  DeleteFargateProfileRequest = Shapes::StructureShape.new(name: 'DeleteFargateProfileRequest')
38
55
  DeleteFargateProfileResponse = Shapes::StructureShape.new(name: 'DeleteFargateProfileResponse')
39
56
  DeleteNodegroupRequest = Shapes::StructureShape.new(name: 'DeleteNodegroupRequest')
40
57
  DeleteNodegroupResponse = Shapes::StructureShape.new(name: 'DeleteNodegroupResponse')
58
+ DescribeAddonRequest = Shapes::StructureShape.new(name: 'DescribeAddonRequest')
59
+ DescribeAddonResponse = Shapes::StructureShape.new(name: 'DescribeAddonResponse')
60
+ DescribeAddonVersionsRequest = Shapes::StructureShape.new(name: 'DescribeAddonVersionsRequest')
61
+ DescribeAddonVersionsRequestMaxResults = Shapes::IntegerShape.new(name: 'DescribeAddonVersionsRequestMaxResults')
62
+ DescribeAddonVersionsResponse = Shapes::StructureShape.new(name: 'DescribeAddonVersionsResponse')
41
63
  DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
42
64
  DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
43
65
  DescribeFargateProfileRequest = Shapes::StructureShape.new(name: 'DescribeFargateProfileRequest')
@@ -62,7 +84,12 @@ module Aws::EKS
62
84
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
63
85
  Issue = Shapes::StructureShape.new(name: 'Issue')
64
86
  IssueList = Shapes::ListShape.new(name: 'IssueList')
87
+ KubernetesNetworkConfigRequest = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigRequest')
88
+ KubernetesNetworkConfigResponse = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigResponse')
65
89
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
90
+ ListAddonsRequest = Shapes::StructureShape.new(name: 'ListAddonsRequest')
91
+ ListAddonsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListAddonsRequestMaxResults')
92
+ ListAddonsResponse = Shapes::StructureShape.new(name: 'ListAddonsResponse')
66
93
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
67
94
  ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
68
95
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
@@ -91,9 +118,11 @@ module Aws::EKS
91
118
  OIDC = Shapes::StructureShape.new(name: 'OIDC')
92
119
  Provider = Shapes::StructureShape.new(name: 'Provider')
93
120
  RemoteAccessConfig = Shapes::StructureShape.new(name: 'RemoteAccessConfig')
121
+ ResolveConflicts = Shapes::StringShape.new(name: 'ResolveConflicts')
94
122
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
95
123
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
96
124
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
125
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
97
126
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
98
127
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
99
128
  String = Shapes::StringShape.new(name: 'String')
@@ -109,6 +138,8 @@ module Aws::EKS
109
138
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
110
139
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
111
140
  Update = Shapes::StructureShape.new(name: 'Update')
141
+ UpdateAddonRequest = Shapes::StructureShape.new(name: 'UpdateAddonRequest')
142
+ UpdateAddonResponse = Shapes::StructureShape.new(name: 'UpdateAddonResponse')
112
143
  UpdateClusterConfigRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigRequest')
113
144
  UpdateClusterConfigResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigResponse')
114
145
  UpdateClusterVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterVersionRequest')
@@ -130,6 +161,42 @@ module Aws::EKS
130
161
  labelsKeyList = Shapes::ListShape.new(name: 'labelsKeyList')
131
162
  labelsMap = Shapes::MapShape.new(name: 'labelsMap')
132
163
 
164
+ Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
165
+ Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
166
+ Addon.add_member(:status, Shapes::ShapeRef.new(shape: AddonStatus, location_name: "status"))
167
+ Addon.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
168
+ Addon.add_member(:health, Shapes::ShapeRef.new(shape: AddonHealth, location_name: "health"))
169
+ Addon.add_member(:addon_arn, Shapes::ShapeRef.new(shape: String, location_name: "addonArn"))
170
+ Addon.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
171
+ Addon.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
172
+ Addon.add_member(:service_account_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountRoleArn"))
173
+ Addon.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
174
+ Addon.struct_class = Types::Addon
175
+
176
+ AddonHealth.add_member(:issues, Shapes::ShapeRef.new(shape: AddonIssueList, location_name: "issues"))
177
+ AddonHealth.struct_class = Types::AddonHealth
178
+
179
+ AddonInfo.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
180
+ AddonInfo.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
181
+ AddonInfo.add_member(:addon_versions, Shapes::ShapeRef.new(shape: AddonVersionInfoList, location_name: "addonVersions"))
182
+ AddonInfo.struct_class = Types::AddonInfo
183
+
184
+ AddonIssue.add_member(:code, Shapes::ShapeRef.new(shape: AddonIssueCode, location_name: "code"))
185
+ AddonIssue.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
186
+ AddonIssue.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "resourceIds"))
187
+ AddonIssue.struct_class = Types::AddonIssue
188
+
189
+ AddonIssueList.member = Shapes::ShapeRef.new(shape: AddonIssue)
190
+
191
+ AddonVersionInfo.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
192
+ AddonVersionInfo.add_member(:architecture, Shapes::ShapeRef.new(shape: StringList, location_name: "architecture"))
193
+ AddonVersionInfo.add_member(:compatibilities, Shapes::ShapeRef.new(shape: Compatibilities, location_name: "compatibilities"))
194
+ AddonVersionInfo.struct_class = Types::AddonVersionInfo
195
+
196
+ AddonVersionInfoList.member = Shapes::ShapeRef.new(shape: AddonVersionInfo)
197
+
198
+ Addons.member = Shapes::ShapeRef.new(shape: AddonInfo)
199
+
133
200
  AutoScalingGroup.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
134
201
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
135
202
 
@@ -143,6 +210,7 @@ module Aws::EKS
143
210
 
144
211
  ClientException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
145
212
  ClientException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
213
+ ClientException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
146
214
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
147
215
  ClientException.struct_class = Types::ClientException
148
216
 
@@ -153,6 +221,7 @@ module Aws::EKS
153
221
  Cluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
154
222
  Cluster.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
155
223
  Cluster.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "resourcesVpcConfig"))
224
+ Cluster.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigResponse, location_name: "kubernetesNetworkConfig"))
156
225
  Cluster.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
157
226
  Cluster.add_member(:identity, Shapes::ShapeRef.new(shape: Identity, location_name: "identity"))
158
227
  Cluster.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
@@ -163,10 +232,30 @@ module Aws::EKS
163
232
  Cluster.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, location_name: "encryptionConfig"))
164
233
  Cluster.struct_class = Types::Cluster
165
234
 
235
+ Compatibilities.member = Shapes::ShapeRef.new(shape: Compatibility)
236
+
237
+ Compatibility.add_member(:cluster_version, Shapes::ShapeRef.new(shape: String, location_name: "clusterVersion"))
238
+ Compatibility.add_member(:platform_versions, Shapes::ShapeRef.new(shape: StringList, location_name: "platformVersions"))
239
+ Compatibility.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
240
+ Compatibility.struct_class = Types::Compatibility
241
+
242
+ CreateAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
243
+ CreateAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "addonName"))
244
+ CreateAddonRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
245
+ CreateAddonRequest.add_member(:service_account_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "serviceAccountRoleArn"))
246
+ CreateAddonRequest.add_member(:resolve_conflicts, Shapes::ShapeRef.new(shape: ResolveConflicts, location_name: "resolveConflicts"))
247
+ CreateAddonRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
248
+ CreateAddonRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
249
+ CreateAddonRequest.struct_class = Types::CreateAddonRequest
250
+
251
+ CreateAddonResponse.add_member(:addon, Shapes::ShapeRef.new(shape: Addon, location_name: "addon"))
252
+ CreateAddonResponse.struct_class = Types::CreateAddonResponse
253
+
166
254
  CreateClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "name"))
167
255
  CreateClusterRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
168
256
  CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
169
257
  CreateClusterRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, required: true, location_name: "resourcesVpcConfig"))
258
+ CreateClusterRequest.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigRequest, location_name: "kubernetesNetworkConfig"))
170
259
  CreateClusterRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
171
260
  CreateClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
172
261
  CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -201,6 +290,7 @@ module Aws::EKS
201
290
  CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
202
291
  CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
203
292
  CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
293
+ CreateNodegroupRequest.add_member(:capacity_type, Shapes::ShapeRef.new(shape: CapacityTypes, location_name: "capacityType"))
204
294
  CreateNodegroupRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
205
295
  CreateNodegroupRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
206
296
  CreateNodegroupRequest.struct_class = Types::CreateNodegroupRequest
@@ -208,6 +298,13 @@ module Aws::EKS
208
298
  CreateNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
209
299
  CreateNodegroupResponse.struct_class = Types::CreateNodegroupResponse
210
300
 
301
+ DeleteAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
302
+ DeleteAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
303
+ DeleteAddonRequest.struct_class = Types::DeleteAddonRequest
304
+
305
+ DeleteAddonResponse.add_member(:addon, Shapes::ShapeRef.new(shape: Addon, location_name: "addon"))
306
+ DeleteAddonResponse.struct_class = Types::DeleteAddonResponse
307
+
211
308
  DeleteClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
212
309
  DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
213
310
 
@@ -228,6 +325,23 @@ module Aws::EKS
228
325
  DeleteNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
229
326
  DeleteNodegroupResponse.struct_class = Types::DeleteNodegroupResponse
230
327
 
328
+ DescribeAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
329
+ DescribeAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
330
+ DescribeAddonRequest.struct_class = Types::DescribeAddonRequest
331
+
332
+ DescribeAddonResponse.add_member(:addon, Shapes::ShapeRef.new(shape: Addon, location_name: "addon"))
333
+ DescribeAddonResponse.struct_class = Types::DescribeAddonResponse
334
+
335
+ DescribeAddonVersionsRequest.add_member(:kubernetes_version, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "kubernetesVersion"))
336
+ DescribeAddonVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeAddonVersionsRequestMaxResults, location: "querystring", location_name: "maxResults"))
337
+ DescribeAddonVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
338
+ DescribeAddonVersionsRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "addonName"))
339
+ DescribeAddonVersionsRequest.struct_class = Types::DescribeAddonVersionsRequest
340
+
341
+ DescribeAddonVersionsResponse.add_member(:addons, Shapes::ShapeRef.new(shape: Addons, location_name: "addons"))
342
+ DescribeAddonVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
343
+ DescribeAddonVersionsResponse.struct_class = Types::DescribeAddonVersionsResponse
344
+
231
345
  DescribeClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
232
346
  DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
233
347
 
@@ -251,6 +365,7 @@ module Aws::EKS
251
365
  DescribeUpdateRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
252
366
  DescribeUpdateRequest.add_member(:update_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "updateId"))
253
367
  DescribeUpdateRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nodegroupName"))
368
+ DescribeUpdateRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "addonName"))
254
369
  DescribeUpdateRequest.struct_class = Types::DescribeUpdateRequest
255
370
 
256
371
  DescribeUpdateResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
@@ -295,11 +410,13 @@ module Aws::EKS
295
410
  InvalidParameterException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
296
411
  InvalidParameterException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
297
412
  InvalidParameterException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
413
+ InvalidParameterException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
298
414
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
299
415
  InvalidParameterException.struct_class = Types::InvalidParameterException
300
416
 
301
417
  InvalidRequestException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
302
418
  InvalidRequestException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
419
+ InvalidRequestException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
303
420
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
304
421
  InvalidRequestException.struct_class = Types::InvalidRequestException
305
422
 
@@ -310,11 +427,26 @@ module Aws::EKS
310
427
 
311
428
  IssueList.member = Shapes::ShapeRef.new(shape: Issue)
312
429
 
430
+ KubernetesNetworkConfigRequest.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
431
+ KubernetesNetworkConfigRequest.struct_class = Types::KubernetesNetworkConfigRequest
432
+
433
+ KubernetesNetworkConfigResponse.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
434
+ KubernetesNetworkConfigResponse.struct_class = Types::KubernetesNetworkConfigResponse
435
+
313
436
  LaunchTemplateSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
314
437
  LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
315
438
  LaunchTemplateSpecification.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
316
439
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
317
440
 
441
+ ListAddonsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
442
+ ListAddonsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAddonsRequestMaxResults, location: "querystring", location_name: "maxResults"))
443
+ ListAddonsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
444
+ ListAddonsRequest.struct_class = Types::ListAddonsRequest
445
+
446
+ ListAddonsResponse.add_member(:addons, Shapes::ShapeRef.new(shape: StringList, location_name: "addons"))
447
+ ListAddonsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
448
+ ListAddonsResponse.struct_class = Types::ListAddonsResponse
449
+
318
450
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
319
451
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
320
452
  ListClustersRequest.struct_class = Types::ListClustersRequest
@@ -349,6 +481,7 @@ module Aws::EKS
349
481
 
350
482
  ListUpdatesRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
351
483
  ListUpdatesRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nodegroupName"))
484
+ ListUpdatesRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "addonName"))
352
485
  ListUpdatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
353
486
  ListUpdatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUpdatesRequestMaxResults, location: "querystring", location_name: "maxResults"))
354
487
  ListUpdatesRequest.struct_class = Types::ListUpdatesRequest
@@ -376,6 +509,7 @@ module Aws::EKS
376
509
  Nodegroup.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
377
510
  Nodegroup.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
378
511
  Nodegroup.add_member(:status, Shapes::ShapeRef.new(shape: NodegroupStatus, location_name: "status"))
512
+ Nodegroup.add_member(:capacity_type, Shapes::ShapeRef.new(shape: CapacityTypes, location_name: "capacityType"))
379
513
  Nodegroup.add_member(:scaling_config, Shapes::ShapeRef.new(shape: NodegroupScalingConfig, location_name: "scalingConfig"))
380
514
  Nodegroup.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
381
515
  Nodegroup.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, location_name: "subnets"))
@@ -417,6 +551,7 @@ module Aws::EKS
417
551
 
418
552
  ResourceInUseException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
419
553
  ResourceInUseException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
554
+ ResourceInUseException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
420
555
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
421
556
  ResourceInUseException.struct_class = Types::ResourceInUseException
422
557
 
@@ -428,11 +563,13 @@ module Aws::EKS
428
563
  ResourceNotFoundException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
429
564
  ResourceNotFoundException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
430
565
  ResourceNotFoundException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
566
+ ResourceNotFoundException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
431
567
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
432
568
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
433
569
 
434
570
  ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
435
571
  ServerException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
572
+ ServerException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
436
573
  ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
437
574
  ServerException.struct_class = Types::ServerException
438
575
 
@@ -472,6 +609,17 @@ module Aws::EKS
472
609
  Update.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errors"))
473
610
  Update.struct_class = Types::Update
474
611
 
612
+ UpdateAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
613
+ UpdateAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
614
+ UpdateAddonRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
615
+ UpdateAddonRequest.add_member(:service_account_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "serviceAccountRoleArn"))
616
+ UpdateAddonRequest.add_member(:resolve_conflicts, Shapes::ShapeRef.new(shape: ResolveConflicts, location_name: "resolveConflicts"))
617
+ UpdateAddonRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
618
+ UpdateAddonRequest.struct_class = Types::UpdateAddonRequest
619
+
620
+ UpdateAddonResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
621
+ UpdateAddonResponse.struct_class = Types::UpdateAddonResponse
622
+
475
623
  UpdateClusterConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
476
624
  UpdateClusterConfigRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, location_name: "resourcesVpcConfig"))
477
625
  UpdateClusterConfigRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
@@ -561,6 +709,20 @@ module Aws::EKS
561
709
  "uid" => "eks-2017-11-01",
562
710
  }
563
711
 
712
+ api.add_operation(:create_addon, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "CreateAddon"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/clusters/{name}/addons"
716
+ o.input = Shapes::ShapeRef.new(shape: CreateAddonRequest)
717
+ o.output = Shapes::ShapeRef.new(shape: CreateAddonResponse)
718
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
721
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
723
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
724
+ end)
725
+
564
726
  api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
565
727
  o.name = "CreateCluster"
566
728
  o.http_method = "POST"
@@ -605,6 +767,19 @@ module Aws::EKS
605
767
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
606
768
  end)
607
769
 
770
+ api.add_operation(:delete_addon, Seahorse::Model::Operation.new.tap do |o|
771
+ o.name = "DeleteAddon"
772
+ o.http_method = "DELETE"
773
+ o.http_request_uri = "/clusters/{name}/addons/{addonName}"
774
+ o.input = Shapes::ShapeRef.new(shape: DeleteAddonRequest)
775
+ o.output = Shapes::ShapeRef.new(shape: DeleteAddonResponse)
776
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
777
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
781
+ end)
782
+
608
783
  api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
609
784
  o.name = "DeleteCluster"
610
785
  o.http_method = "DELETE"
@@ -644,6 +819,36 @@ module Aws::EKS
644
819
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
645
820
  end)
646
821
 
822
+ api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
823
+ o.name = "DescribeAddon"
824
+ o.http_method = "GET"
825
+ o.http_request_uri = "/clusters/{name}/addons/{addonName}"
826
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddonRequest)
827
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddonResponse)
828
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
829
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
833
+ end)
834
+
835
+ api.add_operation(:describe_addon_versions, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "DescribeAddonVersions"
837
+ o.http_method = "GET"
838
+ o.http_request_uri = "/addons/supported-versions"
839
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddonVersionsRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddonVersionsResponse)
841
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
843
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
844
+ o[:pager] = Aws::Pager.new(
845
+ limit_key: "max_results",
846
+ tokens: {
847
+ "next_token" => "next_token"
848
+ }
849
+ )
850
+ end)
851
+
647
852
  api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
648
853
  o.name = "DescribeCluster"
649
854
  o.http_method = "GET"
@@ -693,6 +898,25 @@ module Aws::EKS
693
898
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
694
899
  end)
695
900
 
901
+ api.add_operation(:list_addons, Seahorse::Model::Operation.new.tap do |o|
902
+ o.name = "ListAddons"
903
+ o.http_method = "GET"
904
+ o.http_request_uri = "/clusters/{name}/addons"
905
+ o.input = Shapes::ShapeRef.new(shape: ListAddonsRequest)
906
+ o.output = Shapes::ShapeRef.new(shape: ListAddonsResponse)
907
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
908
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
909
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
912
+ o[:pager] = Aws::Pager.new(
913
+ limit_key: "max_results",
914
+ tokens: {
915
+ "next_token" => "next_token"
916
+ }
917
+ )
918
+ end)
919
+
696
920
  api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
697
921
  o.name = "ListClusters"
698
922
  o.http_method = "GET"
@@ -796,6 +1020,20 @@ module Aws::EKS
796
1020
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
797
1021
  end)
798
1022
 
1023
+ api.add_operation(:update_addon, Seahorse::Model::Operation.new.tap do |o|
1024
+ o.name = "UpdateAddon"
1025
+ o.http_method = "POST"
1026
+ o.http_request_uri = "/clusters/{name}/addons/{addonName}/update"
1027
+ o.input = Shapes::ShapeRef.new(shape: UpdateAddonRequest)
1028
+ o.output = Shapes::ShapeRef.new(shape: UpdateAddonResponse)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1035
+ end)
1036
+
799
1037
  api.add_operation(:update_cluster_config, Seahorse::Model::Operation.new.tap do |o|
800
1038
  o.name = "UpdateClusterConfig"
801
1039
  o.http_method = "POST"
@@ -79,6 +79,11 @@ module Aws::EKS
79
79
  @data[:nodegroup_name]
80
80
  end
81
81
 
82
+ # @return [String]
83
+ def addon_name
84
+ @data[:addon_name]
85
+ end
86
+
82
87
  # @return [String]
83
88
  def message
84
89
  @message || @data[:message]
@@ -109,6 +114,11 @@ module Aws::EKS
109
114
  @data[:fargate_profile_name]
110
115
  end
111
116
 
117
+ # @return [String]
118
+ def addon_name
119
+ @data[:addon_name]
120
+ end
121
+
112
122
  # @return [String]
113
123
  def message
114
124
  @message || @data[:message]
@@ -134,6 +144,11 @@ module Aws::EKS
134
144
  @data[:nodegroup_name]
135
145
  end
136
146
 
147
+ # @return [String]
148
+ def addon_name
149
+ @data[:addon_name]
150
+ end
151
+
137
152
  # @return [String]
138
153
  def message
139
154
  @message || @data[:message]
@@ -174,6 +189,11 @@ module Aws::EKS
174
189
  @data[:nodegroup_name]
175
190
  end
176
191
 
192
+ # @return [String]
193
+ def addon_name
194
+ @data[:addon_name]
195
+ end
196
+
177
197
  # @return [String]
178
198
  def message
179
199
  @message || @data[:message]
@@ -229,6 +249,11 @@ module Aws::EKS
229
249
  @data[:fargate_profile_name]
230
250
  end
231
251
 
252
+ # @return [String]
253
+ def addon_name
254
+ @data[:addon_name]
255
+ end
256
+
232
257
  # @return [String]
233
258
  def message
234
259
  @message || @data[:message]
@@ -254,6 +279,11 @@ module Aws::EKS
254
279
  @data[:nodegroup_name]
255
280
  end
256
281
 
282
+ # @return [String]
283
+ def addon_name
284
+ @data[:addon_name]
285
+ end
286
+
257
287
  # @return [String]
258
288
  def message
259
289
  @message || @data[:message]