aws-sdk-eks 1.95.0 → 1.96.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,13 @@ module Aws::EKS
14
14
  include Seahorse::Model
15
15
 
16
16
  AMITypes = Shapes::StringShape.new(name: 'AMITypes')
17
+ AccessConfigResponse = Shapes::StructureShape.new(name: 'AccessConfigResponse')
17
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
+ AccessEntry = Shapes::StructureShape.new(name: 'AccessEntry')
20
+ AccessPoliciesList = Shapes::ListShape.new(name: 'AccessPoliciesList')
21
+ AccessPolicy = Shapes::StructureShape.new(name: 'AccessPolicy')
22
+ AccessScope = Shapes::StructureShape.new(name: 'AccessScope')
23
+ AccessScopeType = Shapes::StringShape.new(name: 'AccessScopeType')
18
24
  Addon = Shapes::StructureShape.new(name: 'Addon')
19
25
  AddonHealth = Shapes::StructureShape.new(name: 'AddonHealth')
20
26
  AddonInfo = Shapes::StructureShape.new(name: 'AddonInfo')
@@ -25,10 +31,15 @@ module Aws::EKS
25
31
  AddonVersionInfo = Shapes::StructureShape.new(name: 'AddonVersionInfo')
26
32
  AddonVersionInfoList = Shapes::ListShape.new(name: 'AddonVersionInfoList')
27
33
  Addons = Shapes::ListShape.new(name: 'Addons')
34
+ AssociateAccessPolicyRequest = Shapes::StructureShape.new(name: 'AssociateAccessPolicyRequest')
35
+ AssociateAccessPolicyResponse = Shapes::StructureShape.new(name: 'AssociateAccessPolicyResponse')
28
36
  AssociateEncryptionConfigRequest = Shapes::StructureShape.new(name: 'AssociateEncryptionConfigRequest')
29
37
  AssociateEncryptionConfigResponse = Shapes::StructureShape.new(name: 'AssociateEncryptionConfigResponse')
30
38
  AssociateIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'AssociateIdentityProviderConfigRequest')
31
39
  AssociateIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'AssociateIdentityProviderConfigResponse')
40
+ AssociatedAccessPoliciesList = Shapes::ListShape.new(name: 'AssociatedAccessPoliciesList')
41
+ AssociatedAccessPolicy = Shapes::StructureShape.new(name: 'AssociatedAccessPolicy')
42
+ AuthenticationMode = Shapes::StringShape.new(name: 'AuthenticationMode')
32
43
  AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
33
44
  AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
34
45
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -53,6 +64,9 @@ module Aws::EKS
53
64
  ConnectorConfigResponse = Shapes::StructureShape.new(name: 'ConnectorConfigResponse')
54
65
  ControlPlanePlacementRequest = Shapes::StructureShape.new(name: 'ControlPlanePlacementRequest')
55
66
  ControlPlanePlacementResponse = Shapes::StructureShape.new(name: 'ControlPlanePlacementResponse')
67
+ CreateAccessConfigRequest = Shapes::StructureShape.new(name: 'CreateAccessConfigRequest')
68
+ CreateAccessEntryRequest = Shapes::StructureShape.new(name: 'CreateAccessEntryRequest')
69
+ CreateAccessEntryResponse = Shapes::StructureShape.new(name: 'CreateAccessEntryResponse')
56
70
  CreateAddonRequest = Shapes::StructureShape.new(name: 'CreateAddonRequest')
57
71
  CreateAddonResponse = Shapes::StructureShape.new(name: 'CreateAddonResponse')
58
72
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
@@ -65,6 +79,8 @@ module Aws::EKS
65
79
  CreateNodegroupResponse = Shapes::StructureShape.new(name: 'CreateNodegroupResponse')
66
80
  CreatePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'CreatePodIdentityAssociationRequest')
67
81
  CreatePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'CreatePodIdentityAssociationResponse')
82
+ DeleteAccessEntryRequest = Shapes::StructureShape.new(name: 'DeleteAccessEntryRequest')
83
+ DeleteAccessEntryResponse = Shapes::StructureShape.new(name: 'DeleteAccessEntryResponse')
68
84
  DeleteAddonRequest = Shapes::StructureShape.new(name: 'DeleteAddonRequest')
69
85
  DeleteAddonResponse = Shapes::StructureShape.new(name: 'DeleteAddonResponse')
70
86
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
@@ -79,6 +95,8 @@ module Aws::EKS
79
95
  DeletePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'DeletePodIdentityAssociationResponse')
80
96
  DeregisterClusterRequest = Shapes::StructureShape.new(name: 'DeregisterClusterRequest')
81
97
  DeregisterClusterResponse = Shapes::StructureShape.new(name: 'DeregisterClusterResponse')
98
+ DescribeAccessEntryRequest = Shapes::StructureShape.new(name: 'DescribeAccessEntryRequest')
99
+ DescribeAccessEntryResponse = Shapes::StructureShape.new(name: 'DescribeAccessEntryResponse')
82
100
  DescribeAddonConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAddonConfigurationRequest')
83
101
  DescribeAddonConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAddonConfigurationResponse')
84
102
  DescribeAddonRequest = Shapes::StructureShape.new(name: 'DescribeAddonRequest')
@@ -100,6 +118,8 @@ module Aws::EKS
100
118
  DescribePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'DescribePodIdentityAssociationResponse')
101
119
  DescribeUpdateRequest = Shapes::StructureShape.new(name: 'DescribeUpdateRequest')
102
120
  DescribeUpdateResponse = Shapes::StructureShape.new(name: 'DescribeUpdateResponse')
121
+ DisassociateAccessPolicyRequest = Shapes::StructureShape.new(name: 'DisassociateAccessPolicyRequest')
122
+ DisassociateAccessPolicyResponse = Shapes::StructureShape.new(name: 'DisassociateAccessPolicyResponse')
103
123
  DisassociateIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'DisassociateIdentityProviderConfigRequest')
104
124
  DisassociateIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'DisassociateIdentityProviderConfigResponse')
105
125
  EksAnywhereSubscription = Shapes::StructureShape.new(name: 'EksAnywhereSubscription')
@@ -135,9 +155,18 @@ module Aws::EKS
135
155
  KubernetesNetworkConfigRequest = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigRequest')
136
156
  KubernetesNetworkConfigResponse = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigResponse')
137
157
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
158
+ ListAccessEntriesRequest = Shapes::StructureShape.new(name: 'ListAccessEntriesRequest')
159
+ ListAccessEntriesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListAccessEntriesRequestMaxResults')
160
+ ListAccessEntriesResponse = Shapes::StructureShape.new(name: 'ListAccessEntriesResponse')
161
+ ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
162
+ ListAccessPoliciesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListAccessPoliciesRequestMaxResults')
163
+ ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
138
164
  ListAddonsRequest = Shapes::StructureShape.new(name: 'ListAddonsRequest')
139
165
  ListAddonsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListAddonsRequestMaxResults')
140
166
  ListAddonsResponse = Shapes::StructureShape.new(name: 'ListAddonsResponse')
167
+ ListAssociatedAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAssociatedAccessPoliciesRequest')
168
+ ListAssociatedAccessPoliciesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListAssociatedAccessPoliciesRequestMaxResults')
169
+ ListAssociatedAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAssociatedAccessPoliciesResponse')
141
170
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
142
171
  ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
143
172
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
@@ -211,6 +240,9 @@ module Aws::EKS
211
240
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
212
241
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
213
242
  Update = Shapes::StructureShape.new(name: 'Update')
243
+ UpdateAccessConfigRequest = Shapes::StructureShape.new(name: 'UpdateAccessConfigRequest')
244
+ UpdateAccessEntryRequest = Shapes::StructureShape.new(name: 'UpdateAccessEntryRequest')
245
+ UpdateAccessEntryResponse = Shapes::StructureShape.new(name: 'UpdateAccessEntryResponse')
214
246
  UpdateAddonRequest = Shapes::StructureShape.new(name: 'UpdateAddonRequest')
215
247
  UpdateAddonResponse = Shapes::StructureShape.new(name: 'UpdateAddonResponse')
216
248
  UpdateClusterConfigRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigRequest')
@@ -247,9 +279,34 @@ module Aws::EKS
247
279
  taintValue = Shapes::StringShape.new(name: 'taintValue')
248
280
  taintsList = Shapes::ListShape.new(name: 'taintsList')
249
281
 
282
+ AccessConfigResponse.add_member(:bootstrap_cluster_creator_admin_permissions, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bootstrapClusterCreatorAdminPermissions"))
283
+ AccessConfigResponse.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: AuthenticationMode, location_name: "authenticationMode"))
284
+ AccessConfigResponse.struct_class = Types::AccessConfigResponse
285
+
250
286
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
251
287
  AccessDeniedException.struct_class = Types::AccessDeniedException
252
288
 
289
+ AccessEntry.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
290
+ AccessEntry.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
291
+ AccessEntry.add_member(:kubernetes_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "kubernetesGroups"))
292
+ AccessEntry.add_member(:access_entry_arn, Shapes::ShapeRef.new(shape: String, location_name: "accessEntryArn"))
293
+ AccessEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
294
+ AccessEntry.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
295
+ AccessEntry.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
296
+ AccessEntry.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
297
+ AccessEntry.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
298
+ AccessEntry.struct_class = Types::AccessEntry
299
+
300
+ AccessPoliciesList.member = Shapes::ShapeRef.new(shape: AccessPolicy)
301
+
302
+ AccessPolicy.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
303
+ AccessPolicy.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
304
+ AccessPolicy.struct_class = Types::AccessPolicy
305
+
306
+ AccessScope.add_member(:type, Shapes::ShapeRef.new(shape: AccessScopeType, location_name: "type"))
307
+ AccessScope.add_member(:namespaces, Shapes::ShapeRef.new(shape: StringList, location_name: "namespaces"))
308
+ AccessScope.struct_class = Types::AccessScope
309
+
253
310
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
254
311
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
255
312
  Addon.add_member(:status, Shapes::ShapeRef.new(shape: AddonStatus, location_name: "status"))
@@ -294,6 +351,17 @@ module Aws::EKS
294
351
 
295
352
  Addons.member = Shapes::ShapeRef.new(shape: AddonInfo)
296
353
 
354
+ AssociateAccessPolicyRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
355
+ AssociateAccessPolicyRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
356
+ AssociateAccessPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policyArn"))
357
+ AssociateAccessPolicyRequest.add_member(:access_scope, Shapes::ShapeRef.new(shape: AccessScope, required: true, location_name: "accessScope"))
358
+ AssociateAccessPolicyRequest.struct_class = Types::AssociateAccessPolicyRequest
359
+
360
+ AssociateAccessPolicyResponse.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
361
+ AssociateAccessPolicyResponse.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
362
+ AssociateAccessPolicyResponse.add_member(:associated_access_policy, Shapes::ShapeRef.new(shape: AssociatedAccessPolicy, location_name: "associatedAccessPolicy"))
363
+ AssociateAccessPolicyResponse.struct_class = Types::AssociateAccessPolicyResponse
364
+
297
365
  AssociateEncryptionConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
298
366
  AssociateEncryptionConfigRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, required: true, location_name: "encryptionConfig"))
299
367
  AssociateEncryptionConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -312,6 +380,14 @@ module Aws::EKS
312
380
  AssociateIdentityProviderConfigResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
313
381
  AssociateIdentityProviderConfigResponse.struct_class = Types::AssociateIdentityProviderConfigResponse
314
382
 
383
+ AssociatedAccessPoliciesList.member = Shapes::ShapeRef.new(shape: AssociatedAccessPolicy)
384
+
385
+ AssociatedAccessPolicy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "policyArn"))
386
+ AssociatedAccessPolicy.add_member(:access_scope, Shapes::ShapeRef.new(shape: AccessScope, location_name: "accessScope"))
387
+ AssociatedAccessPolicy.add_member(:associated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associatedAt"))
388
+ AssociatedAccessPolicy.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
389
+ AssociatedAccessPolicy.struct_class = Types::AssociatedAccessPolicy
390
+
315
391
  AutoScalingGroup.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
316
392
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
317
393
 
@@ -350,6 +426,7 @@ module Aws::EKS
350
426
  Cluster.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
351
427
  Cluster.add_member(:health, Shapes::ShapeRef.new(shape: ClusterHealth, location_name: "health"))
352
428
  Cluster.add_member(:outpost_config, Shapes::ShapeRef.new(shape: OutpostConfigResponse, location_name: "outpostConfig"))
429
+ Cluster.add_member(:access_config, Shapes::ShapeRef.new(shape: AccessConfigResponse, location_name: "accessConfig"))
353
430
  Cluster.struct_class = Types::Cluster
354
431
 
355
432
  ClusterHealth.add_member(:issues, Shapes::ShapeRef.new(shape: ClusterIssueList, location_name: "issues"))
@@ -386,6 +463,22 @@ module Aws::EKS
386
463
  ControlPlanePlacementResponse.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
387
464
  ControlPlanePlacementResponse.struct_class = Types::ControlPlanePlacementResponse
388
465
 
466
+ CreateAccessConfigRequest.add_member(:bootstrap_cluster_creator_admin_permissions, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bootstrapClusterCreatorAdminPermissions"))
467
+ CreateAccessConfigRequest.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: AuthenticationMode, location_name: "authenticationMode"))
468
+ CreateAccessConfigRequest.struct_class = Types::CreateAccessConfigRequest
469
+
470
+ CreateAccessEntryRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
471
+ CreateAccessEntryRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "principalArn"))
472
+ CreateAccessEntryRequest.add_member(:kubernetes_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "kubernetesGroups"))
473
+ CreateAccessEntryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
474
+ CreateAccessEntryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
475
+ CreateAccessEntryRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
476
+ CreateAccessEntryRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
477
+ CreateAccessEntryRequest.struct_class = Types::CreateAccessEntryRequest
478
+
479
+ CreateAccessEntryResponse.add_member(:access_entry, Shapes::ShapeRef.new(shape: AccessEntry, location_name: "accessEntry"))
480
+ CreateAccessEntryResponse.struct_class = Types::CreateAccessEntryResponse
481
+
389
482
  CreateAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
390
483
  CreateAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "addonName"))
391
484
  CreateAddonRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
@@ -409,6 +502,7 @@ module Aws::EKS
409
502
  CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
410
503
  CreateClusterRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, location_name: "encryptionConfig"))
411
504
  CreateClusterRequest.add_member(:outpost_config, Shapes::ShapeRef.new(shape: OutpostConfigRequest, location_name: "outpostConfig"))
505
+ CreateClusterRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: CreateAccessConfigRequest, location_name: "accessConfig"))
412
506
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
413
507
 
414
508
  CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
@@ -472,6 +566,12 @@ module Aws::EKS
472
566
  CreatePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
473
567
  CreatePodIdentityAssociationResponse.struct_class = Types::CreatePodIdentityAssociationResponse
474
568
 
569
+ DeleteAccessEntryRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
570
+ DeleteAccessEntryRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
571
+ DeleteAccessEntryRequest.struct_class = Types::DeleteAccessEntryRequest
572
+
573
+ DeleteAccessEntryResponse.struct_class = Types::DeleteAccessEntryResponse
574
+
475
575
  DeleteAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
476
576
  DeleteAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
477
577
  DeleteAddonRequest.add_member(:preserve, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "preserve"))
@@ -519,6 +619,13 @@ module Aws::EKS
519
619
  DeregisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
520
620
  DeregisterClusterResponse.struct_class = Types::DeregisterClusterResponse
521
621
 
622
+ DescribeAccessEntryRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
623
+ DescribeAccessEntryRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
624
+ DescribeAccessEntryRequest.struct_class = Types::DescribeAccessEntryRequest
625
+
626
+ DescribeAccessEntryResponse.add_member(:access_entry, Shapes::ShapeRef.new(shape: AccessEntry, location_name: "accessEntry"))
627
+ DescribeAccessEntryResponse.struct_class = Types::DescribeAccessEntryResponse
628
+
522
629
  DescribeAddonConfigurationRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "addonName"))
523
630
  DescribeAddonConfigurationRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "addonVersion"))
524
631
  DescribeAddonConfigurationRequest.struct_class = Types::DescribeAddonConfigurationRequest
@@ -597,6 +704,13 @@ module Aws::EKS
597
704
  DescribeUpdateResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
598
705
  DescribeUpdateResponse.struct_class = Types::DescribeUpdateResponse
599
706
 
707
+ DisassociateAccessPolicyRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
708
+ DisassociateAccessPolicyRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
709
+ DisassociateAccessPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "policyArn"))
710
+ DisassociateAccessPolicyRequest.struct_class = Types::DisassociateAccessPolicyRequest
711
+
712
+ DisassociateAccessPolicyResponse.struct_class = Types::DisassociateAccessPolicyResponse
713
+
600
714
  DisassociateIdentityProviderConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
601
715
  DisassociateIdentityProviderConfigRequest.add_member(:identity_provider_config, Shapes::ShapeRef.new(shape: IdentityProviderConfig, required: true, location_name: "identityProviderConfig"))
602
716
  DisassociateIdentityProviderConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -710,6 +824,24 @@ module Aws::EKS
710
824
  LaunchTemplateSpecification.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
711
825
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
712
826
 
827
+ ListAccessEntriesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
828
+ ListAccessEntriesRequest.add_member(:associated_policy_arn, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "associatedPolicyArn"))
829
+ ListAccessEntriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccessEntriesRequestMaxResults, location: "querystring", location_name: "maxResults"))
830
+ ListAccessEntriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
831
+ ListAccessEntriesRequest.struct_class = Types::ListAccessEntriesRequest
832
+
833
+ ListAccessEntriesResponse.add_member(:access_entries, Shapes::ShapeRef.new(shape: StringList, location_name: "accessEntries"))
834
+ ListAccessEntriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
835
+ ListAccessEntriesResponse.struct_class = Types::ListAccessEntriesResponse
836
+
837
+ ListAccessPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccessPoliciesRequestMaxResults, location: "querystring", location_name: "maxResults"))
838
+ ListAccessPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
839
+ ListAccessPoliciesRequest.struct_class = Types::ListAccessPoliciesRequest
840
+
841
+ ListAccessPoliciesResponse.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesList, location_name: "accessPolicies"))
842
+ ListAccessPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
843
+ ListAccessPoliciesResponse.struct_class = Types::ListAccessPoliciesResponse
844
+
713
845
  ListAddonsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
714
846
  ListAddonsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAddonsRequestMaxResults, location: "querystring", location_name: "maxResults"))
715
847
  ListAddonsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -719,6 +851,18 @@ module Aws::EKS
719
851
  ListAddonsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
720
852
  ListAddonsResponse.struct_class = Types::ListAddonsResponse
721
853
 
854
+ ListAssociatedAccessPoliciesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
855
+ ListAssociatedAccessPoliciesRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
856
+ ListAssociatedAccessPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAssociatedAccessPoliciesRequestMaxResults, location: "querystring", location_name: "maxResults"))
857
+ ListAssociatedAccessPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
858
+ ListAssociatedAccessPoliciesRequest.struct_class = Types::ListAssociatedAccessPoliciesRequest
859
+
860
+ ListAssociatedAccessPoliciesResponse.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
861
+ ListAssociatedAccessPoliciesResponse.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
862
+ ListAssociatedAccessPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
863
+ ListAssociatedAccessPoliciesResponse.add_member(:associated_access_policies, Shapes::ShapeRef.new(shape: AssociatedAccessPoliciesList, location_name: "associatedAccessPolicies"))
864
+ ListAssociatedAccessPoliciesResponse.struct_class = Types::ListAssociatedAccessPoliciesResponse
865
+
722
866
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
723
867
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
724
868
  ListClustersRequest.add_member(:include, Shapes::ShapeRef.new(shape: IncludeClustersList, location: "querystring", location_name: "include"))
@@ -995,6 +1139,19 @@ module Aws::EKS
995
1139
  Update.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errors"))
996
1140
  Update.struct_class = Types::Update
997
1141
 
1142
+ UpdateAccessConfigRequest.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: AuthenticationMode, location_name: "authenticationMode"))
1143
+ UpdateAccessConfigRequest.struct_class = Types::UpdateAccessConfigRequest
1144
+
1145
+ UpdateAccessEntryRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
1146
+ UpdateAccessEntryRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "principalArn"))
1147
+ UpdateAccessEntryRequest.add_member(:kubernetes_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "kubernetesGroups"))
1148
+ UpdateAccessEntryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1149
+ UpdateAccessEntryRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
1150
+ UpdateAccessEntryRequest.struct_class = Types::UpdateAccessEntryRequest
1151
+
1152
+ UpdateAccessEntryResponse.add_member(:access_entry, Shapes::ShapeRef.new(shape: AccessEntry, location_name: "accessEntry"))
1153
+ UpdateAccessEntryResponse.struct_class = Types::UpdateAccessEntryResponse
1154
+
998
1155
  UpdateAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
999
1156
  UpdateAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
1000
1157
  UpdateAddonRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
@@ -1011,6 +1168,7 @@ module Aws::EKS
1011
1168
  UpdateClusterConfigRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, location_name: "resourcesVpcConfig"))
1012
1169
  UpdateClusterConfigRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
1013
1170
  UpdateClusterConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1171
+ UpdateClusterConfigRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: UpdateAccessConfigRequest, location_name: "accessConfig"))
1014
1172
  UpdateClusterConfigRequest.struct_class = Types::UpdateClusterConfigRequest
1015
1173
 
1016
1174
  UpdateClusterConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
@@ -1124,6 +1282,18 @@ module Aws::EKS
1124
1282
  "uid" => "eks-2017-11-01",
1125
1283
  }
1126
1284
 
1285
+ api.add_operation(:associate_access_policy, Seahorse::Model::Operation.new.tap do |o|
1286
+ o.name = "AssociateAccessPolicy"
1287
+ o.http_method = "POST"
1288
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}/access-policies"
1289
+ o.input = Shapes::ShapeRef.new(shape: AssociateAccessPolicyRequest)
1290
+ o.output = Shapes::ShapeRef.new(shape: AssociateAccessPolicyResponse)
1291
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1292
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1293
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1294
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1295
+ end)
1296
+
1127
1297
  api.add_operation(:associate_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1128
1298
  o.name = "AssociateEncryptionConfig"
1129
1299
  o.http_method = "POST"
@@ -1152,6 +1322,20 @@ module Aws::EKS
1152
1322
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1153
1323
  end)
1154
1324
 
1325
+ api.add_operation(:create_access_entry, Seahorse::Model::Operation.new.tap do |o|
1326
+ o.name = "CreateAccessEntry"
1327
+ o.http_method = "POST"
1328
+ o.http_request_uri = "/clusters/{name}/access-entries"
1329
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessEntryRequest)
1330
+ o.output = Shapes::ShapeRef.new(shape: CreateAccessEntryResponse)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1334
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1337
+ end)
1338
+
1155
1339
  api.add_operation(:create_addon, Seahorse::Model::Operation.new.tap do |o|
1156
1340
  o.name = "CreateAddon"
1157
1341
  o.http_method = "POST"
@@ -1237,6 +1421,17 @@ module Aws::EKS
1237
1421
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1238
1422
  end)
1239
1423
 
1424
+ api.add_operation(:delete_access_entry, Seahorse::Model::Operation.new.tap do |o|
1425
+ o.name = "DeleteAccessEntry"
1426
+ o.http_method = "DELETE"
1427
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}"
1428
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccessEntryRequest)
1429
+ o.output = Shapes::ShapeRef.new(shape: DeleteAccessEntryResponse)
1430
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1433
+ end)
1434
+
1240
1435
  api.add_operation(:delete_addon, Seahorse::Model::Operation.new.tap do |o|
1241
1436
  o.name = "DeleteAddon"
1242
1437
  o.http_method = "DELETE"
@@ -1327,6 +1522,17 @@ module Aws::EKS
1327
1522
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1328
1523
  end)
1329
1524
 
1525
+ api.add_operation(:describe_access_entry, Seahorse::Model::Operation.new.tap do |o|
1526
+ o.name = "DescribeAccessEntry"
1527
+ o.http_method = "GET"
1528
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}"
1529
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccessEntryRequest)
1530
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccessEntryResponse)
1531
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1534
+ end)
1535
+
1330
1536
  api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
1331
1537
  o.name = "DescribeAddon"
1332
1538
  o.http_method = "GET"
@@ -1454,6 +1660,17 @@ module Aws::EKS
1454
1660
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1455
1661
  end)
1456
1662
 
1663
+ api.add_operation(:disassociate_access_policy, Seahorse::Model::Operation.new.tap do |o|
1664
+ o.name = "DisassociateAccessPolicy"
1665
+ o.http_method = "DELETE"
1666
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}/access-policies/{policyArn}"
1667
+ o.input = Shapes::ShapeRef.new(shape: DisassociateAccessPolicyRequest)
1668
+ o.output = Shapes::ShapeRef.new(shape: DisassociateAccessPolicyResponse)
1669
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1671
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1672
+ end)
1673
+
1457
1674
  api.add_operation(:disassociate_identity_provider_config, Seahorse::Model::Operation.new.tap do |o|
1458
1675
  o.name = "DisassociateIdentityProviderConfig"
1459
1676
  o.http_method = "POST"
@@ -1468,6 +1685,39 @@ module Aws::EKS
1468
1685
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1469
1686
  end)
1470
1687
 
1688
+ api.add_operation(:list_access_entries, Seahorse::Model::Operation.new.tap do |o|
1689
+ o.name = "ListAccessEntries"
1690
+ o.http_method = "GET"
1691
+ o.http_request_uri = "/clusters/{name}/access-entries"
1692
+ o.input = Shapes::ShapeRef.new(shape: ListAccessEntriesRequest)
1693
+ o.output = Shapes::ShapeRef.new(shape: ListAccessEntriesResponse)
1694
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1695
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1696
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1697
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1698
+ o[:pager] = Aws::Pager.new(
1699
+ limit_key: "max_results",
1700
+ tokens: {
1701
+ "next_token" => "next_token"
1702
+ }
1703
+ )
1704
+ end)
1705
+
1706
+ api.add_operation(:list_access_policies, Seahorse::Model::Operation.new.tap do |o|
1707
+ o.name = "ListAccessPolicies"
1708
+ o.http_method = "GET"
1709
+ o.http_request_uri = "/access-policies"
1710
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPoliciesRequest)
1711
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPoliciesResponse)
1712
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1713
+ o[:pager] = Aws::Pager.new(
1714
+ limit_key: "max_results",
1715
+ tokens: {
1716
+ "next_token" => "next_token"
1717
+ }
1718
+ )
1719
+ end)
1720
+
1471
1721
  api.add_operation(:list_addons, Seahorse::Model::Operation.new.tap do |o|
1472
1722
  o.name = "ListAddons"
1473
1723
  o.http_method = "GET"
@@ -1487,6 +1737,23 @@ module Aws::EKS
1487
1737
  )
1488
1738
  end)
1489
1739
 
1740
+ api.add_operation(:list_associated_access_policies, Seahorse::Model::Operation.new.tap do |o|
1741
+ o.name = "ListAssociatedAccessPolicies"
1742
+ o.http_method = "GET"
1743
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}/access-policies"
1744
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedAccessPoliciesRequest)
1745
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedAccessPoliciesResponse)
1746
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1747
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1748
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1749
+ o[:pager] = Aws::Pager.new(
1750
+ limit_key: "max_results",
1751
+ tokens: {
1752
+ "next_token" => "next_token"
1753
+ }
1754
+ )
1755
+ end)
1756
+
1490
1757
  api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
1491
1758
  o.name = "ListClusters"
1492
1759
  o.http_method = "GET"
@@ -1661,6 +1928,18 @@ module Aws::EKS
1661
1928
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1662
1929
  end)
1663
1930
 
1931
+ api.add_operation(:update_access_entry, Seahorse::Model::Operation.new.tap do |o|
1932
+ o.name = "UpdateAccessEntry"
1933
+ o.http_method = "POST"
1934
+ o.http_request_uri = "/clusters/{name}/access-entries/{principalArn}"
1935
+ o.input = Shapes::ShapeRef.new(shape: UpdateAccessEntryRequest)
1936
+ o.output = Shapes::ShapeRef.new(shape: UpdateAccessEntryResponse)
1937
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1939
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1940
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1941
+ end)
1942
+
1664
1943
  api.add_operation(:update_addon, Seahorse::Model::Operation.new.tap do |o|
1665
1944
  o.name = "UpdateAddon"
1666
1945
  o.http_method = "POST"