aws-sdk-eks 1.93.0 → 1.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +385 -16
- data/lib/aws-sdk-eks/client_api.rb +153 -0
- data/lib/aws-sdk-eks/endpoints.rb +70 -0
- data/lib/aws-sdk-eks/plugins/endpoints.rb +13 -2
- data/lib/aws-sdk-eks/types.rb +483 -24
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +2 -2
@@ -63,6 +63,8 @@ module Aws::EKS
|
|
63
63
|
CreateFargateProfileResponse = Shapes::StructureShape.new(name: 'CreateFargateProfileResponse')
|
64
64
|
CreateNodegroupRequest = Shapes::StructureShape.new(name: 'CreateNodegroupRequest')
|
65
65
|
CreateNodegroupResponse = Shapes::StructureShape.new(name: 'CreateNodegroupResponse')
|
66
|
+
CreatePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'CreatePodIdentityAssociationRequest')
|
67
|
+
CreatePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'CreatePodIdentityAssociationResponse')
|
66
68
|
DeleteAddonRequest = Shapes::StructureShape.new(name: 'DeleteAddonRequest')
|
67
69
|
DeleteAddonResponse = Shapes::StructureShape.new(name: 'DeleteAddonResponse')
|
68
70
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
@@ -73,6 +75,8 @@ module Aws::EKS
|
|
73
75
|
DeleteFargateProfileResponse = Shapes::StructureShape.new(name: 'DeleteFargateProfileResponse')
|
74
76
|
DeleteNodegroupRequest = Shapes::StructureShape.new(name: 'DeleteNodegroupRequest')
|
75
77
|
DeleteNodegroupResponse = Shapes::StructureShape.new(name: 'DeleteNodegroupResponse')
|
78
|
+
DeletePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'DeletePodIdentityAssociationRequest')
|
79
|
+
DeletePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'DeletePodIdentityAssociationResponse')
|
76
80
|
DeregisterClusterRequest = Shapes::StructureShape.new(name: 'DeregisterClusterRequest')
|
77
81
|
DeregisterClusterResponse = Shapes::StructureShape.new(name: 'DeregisterClusterResponse')
|
78
82
|
DescribeAddonConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAddonConfigurationRequest')
|
@@ -92,6 +96,8 @@ module Aws::EKS
|
|
92
96
|
DescribeIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigResponse')
|
93
97
|
DescribeNodegroupRequest = Shapes::StructureShape.new(name: 'DescribeNodegroupRequest')
|
94
98
|
DescribeNodegroupResponse = Shapes::StructureShape.new(name: 'DescribeNodegroupResponse')
|
99
|
+
DescribePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'DescribePodIdentityAssociationRequest')
|
100
|
+
DescribePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'DescribePodIdentityAssociationResponse')
|
95
101
|
DescribeUpdateRequest = Shapes::StructureShape.new(name: 'DescribeUpdateRequest')
|
96
102
|
DescribeUpdateResponse = Shapes::StructureShape.new(name: 'DescribeUpdateResponse')
|
97
103
|
DisassociateIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'DisassociateIdentityProviderConfigRequest')
|
@@ -146,6 +152,9 @@ module Aws::EKS
|
|
146
152
|
ListNodegroupsRequest = Shapes::StructureShape.new(name: 'ListNodegroupsRequest')
|
147
153
|
ListNodegroupsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListNodegroupsRequestMaxResults')
|
148
154
|
ListNodegroupsResponse = Shapes::StructureShape.new(name: 'ListNodegroupsResponse')
|
155
|
+
ListPodIdentityAssociationsMaxResults = Shapes::IntegerShape.new(name: 'ListPodIdentityAssociationsMaxResults')
|
156
|
+
ListPodIdentityAssociationsRequest = Shapes::StructureShape.new(name: 'ListPodIdentityAssociationsRequest')
|
157
|
+
ListPodIdentityAssociationsResponse = Shapes::StructureShape.new(name: 'ListPodIdentityAssociationsResponse')
|
149
158
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
150
159
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
151
160
|
ListUpdatesRequest = Shapes::StructureShape.new(name: 'ListUpdatesRequest')
|
@@ -172,6 +181,9 @@ module Aws::EKS
|
|
172
181
|
OutpostConfigRequest = Shapes::StructureShape.new(name: 'OutpostConfigRequest')
|
173
182
|
OutpostConfigResponse = Shapes::StructureShape.new(name: 'OutpostConfigResponse')
|
174
183
|
PercentCapacity = Shapes::IntegerShape.new(name: 'PercentCapacity')
|
184
|
+
PodIdentityAssociation = Shapes::StructureShape.new(name: 'PodIdentityAssociation')
|
185
|
+
PodIdentityAssociationSummaries = Shapes::ListShape.new(name: 'PodIdentityAssociationSummaries')
|
186
|
+
PodIdentityAssociationSummary = Shapes::StructureShape.new(name: 'PodIdentityAssociationSummary')
|
175
187
|
Provider = Shapes::StructureShape.new(name: 'Provider')
|
176
188
|
RegisterClusterRequest = Shapes::StructureShape.new(name: 'RegisterClusterRequest')
|
177
189
|
RegisterClusterResponse = Shapes::StructureShape.new(name: 'RegisterClusterResponse')
|
@@ -215,6 +227,8 @@ module Aws::EKS
|
|
215
227
|
UpdateParam = Shapes::StructureShape.new(name: 'UpdateParam')
|
216
228
|
UpdateParamType = Shapes::StringShape.new(name: 'UpdateParamType')
|
217
229
|
UpdateParams = Shapes::ListShape.new(name: 'UpdateParams')
|
230
|
+
UpdatePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'UpdatePodIdentityAssociationRequest')
|
231
|
+
UpdatePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'UpdatePodIdentityAssociationResponse')
|
218
232
|
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
219
233
|
UpdateTaintsPayload = Shapes::StructureShape.new(name: 'UpdateTaintsPayload')
|
220
234
|
UpdateType = Shapes::StringShape.new(name: 'UpdateType')
|
@@ -447,6 +461,17 @@ module Aws::EKS
|
|
447
461
|
CreateNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
|
448
462
|
CreateNodegroupResponse.struct_class = Types::CreateNodegroupResponse
|
449
463
|
|
464
|
+
CreatePodIdentityAssociationRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
465
|
+
CreatePodIdentityAssociationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespace"))
|
466
|
+
CreatePodIdentityAssociationRequest.add_member(:service_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceAccount"))
|
467
|
+
CreatePodIdentityAssociationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
468
|
+
CreatePodIdentityAssociationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
469
|
+
CreatePodIdentityAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
470
|
+
CreatePodIdentityAssociationRequest.struct_class = Types::CreatePodIdentityAssociationRequest
|
471
|
+
|
472
|
+
CreatePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
|
473
|
+
CreatePodIdentityAssociationResponse.struct_class = Types::CreatePodIdentityAssociationResponse
|
474
|
+
|
450
475
|
DeleteAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
|
451
476
|
DeleteAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
|
452
477
|
DeleteAddonRequest.add_member(:preserve, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "preserve"))
|
@@ -481,6 +506,13 @@ module Aws::EKS
|
|
481
506
|
DeleteNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
|
482
507
|
DeleteNodegroupResponse.struct_class = Types::DeleteNodegroupResponse
|
483
508
|
|
509
|
+
DeletePodIdentityAssociationRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
510
|
+
DeletePodIdentityAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
|
511
|
+
DeletePodIdentityAssociationRequest.struct_class = Types::DeletePodIdentityAssociationRequest
|
512
|
+
|
513
|
+
DeletePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
|
514
|
+
DeletePodIdentityAssociationResponse.struct_class = Types::DeletePodIdentityAssociationResponse
|
515
|
+
|
484
516
|
DeregisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
485
517
|
DeregisterClusterRequest.struct_class = Types::DeregisterClusterRequest
|
486
518
|
|
@@ -549,6 +581,13 @@ module Aws::EKS
|
|
549
581
|
DescribeNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
|
550
582
|
DescribeNodegroupResponse.struct_class = Types::DescribeNodegroupResponse
|
551
583
|
|
584
|
+
DescribePodIdentityAssociationRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
585
|
+
DescribePodIdentityAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
|
586
|
+
DescribePodIdentityAssociationRequest.struct_class = Types::DescribePodIdentityAssociationRequest
|
587
|
+
|
588
|
+
DescribePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
|
589
|
+
DescribePodIdentityAssociationResponse.struct_class = Types::DescribePodIdentityAssociationResponse
|
590
|
+
|
552
591
|
DescribeUpdateRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
553
592
|
DescribeUpdateRequest.add_member(:update_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "updateId"))
|
554
593
|
DescribeUpdateRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nodegroupName"))
|
@@ -725,6 +764,17 @@ module Aws::EKS
|
|
725
764
|
ListNodegroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
726
765
|
ListNodegroupsResponse.struct_class = Types::ListNodegroupsResponse
|
727
766
|
|
767
|
+
ListPodIdentityAssociationsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
768
|
+
ListPodIdentityAssociationsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "namespace"))
|
769
|
+
ListPodIdentityAssociationsRequest.add_member(:service_account, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "serviceAccount"))
|
770
|
+
ListPodIdentityAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPodIdentityAssociationsMaxResults, location: "querystring", location_name: "maxResults"))
|
771
|
+
ListPodIdentityAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
772
|
+
ListPodIdentityAssociationsRequest.struct_class = Types::ListPodIdentityAssociationsRequest
|
773
|
+
|
774
|
+
ListPodIdentityAssociationsResponse.add_member(:associations, Shapes::ShapeRef.new(shape: PodIdentityAssociationSummaries, location_name: "associations"))
|
775
|
+
ListPodIdentityAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
776
|
+
ListPodIdentityAssociationsResponse.struct_class = Types::ListPodIdentityAssociationsResponse
|
777
|
+
|
728
778
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
729
779
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
730
780
|
|
@@ -838,6 +888,26 @@ module Aws::EKS
|
|
838
888
|
OutpostConfigResponse.add_member(:control_plane_placement, Shapes::ShapeRef.new(shape: ControlPlanePlacementResponse, location_name: "controlPlanePlacement"))
|
839
889
|
OutpostConfigResponse.struct_class = Types::OutpostConfigResponse
|
840
890
|
|
891
|
+
PodIdentityAssociation.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
892
|
+
PodIdentityAssociation.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
893
|
+
PodIdentityAssociation.add_member(:service_account, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccount"))
|
894
|
+
PodIdentityAssociation.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
895
|
+
PodIdentityAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: String, location_name: "associationArn"))
|
896
|
+
PodIdentityAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
|
897
|
+
PodIdentityAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
898
|
+
PodIdentityAssociation.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
899
|
+
PodIdentityAssociation.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
|
900
|
+
PodIdentityAssociation.struct_class = Types::PodIdentityAssociation
|
901
|
+
|
902
|
+
PodIdentityAssociationSummaries.member = Shapes::ShapeRef.new(shape: PodIdentityAssociationSummary)
|
903
|
+
|
904
|
+
PodIdentityAssociationSummary.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
905
|
+
PodIdentityAssociationSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
906
|
+
PodIdentityAssociationSummary.add_member(:service_account, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccount"))
|
907
|
+
PodIdentityAssociationSummary.add_member(:association_arn, Shapes::ShapeRef.new(shape: String, location_name: "associationArn"))
|
908
|
+
PodIdentityAssociationSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
|
909
|
+
PodIdentityAssociationSummary.struct_class = Types::PodIdentityAssociationSummary
|
910
|
+
|
841
911
|
Provider.add_member(:key_arn, Shapes::ShapeRef.new(shape: String, location_name: "keyArn"))
|
842
912
|
Provider.struct_class = Types::Provider
|
843
913
|
|
@@ -996,6 +1066,15 @@ module Aws::EKS
|
|
996
1066
|
|
997
1067
|
UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
|
998
1068
|
|
1069
|
+
UpdatePodIdentityAssociationRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
1070
|
+
UpdatePodIdentityAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
|
1071
|
+
UpdatePodIdentityAssociationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
1072
|
+
UpdatePodIdentityAssociationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1073
|
+
UpdatePodIdentityAssociationRequest.struct_class = Types::UpdatePodIdentityAssociationRequest
|
1074
|
+
|
1075
|
+
UpdatePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
|
1076
|
+
UpdatePodIdentityAssociationResponse.struct_class = Types::UpdatePodIdentityAssociationResponse
|
1077
|
+
|
999
1078
|
UpdateTaintsPayload.add_member(:add_or_update_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "addOrUpdateTaints"))
|
1000
1079
|
UpdateTaintsPayload.add_member(:remove_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "removeTaints"))
|
1001
1080
|
UpdateTaintsPayload.struct_class = Types::UpdateTaintsPayload
|
@@ -1144,6 +1223,20 @@ module Aws::EKS
|
|
1144
1223
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1145
1224
|
end)
|
1146
1225
|
|
1226
|
+
api.add_operation(:create_pod_identity_association, Seahorse::Model::Operation.new.tap do |o|
|
1227
|
+
o.name = "CreatePodIdentityAssociation"
|
1228
|
+
o.http_method = "POST"
|
1229
|
+
o.http_request_uri = "/clusters/{name}/pod-identity-associations"
|
1230
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePodIdentityAssociationRequest)
|
1231
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePodIdentityAssociationResponse)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1238
|
+
end)
|
1239
|
+
|
1147
1240
|
api.add_operation(:delete_addon, Seahorse::Model::Operation.new.tap do |o|
|
1148
1241
|
o.name = "DeleteAddon"
|
1149
1242
|
o.http_method = "DELETE"
|
@@ -1208,6 +1301,18 @@ module Aws::EKS
|
|
1208
1301
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1209
1302
|
end)
|
1210
1303
|
|
1304
|
+
api.add_operation(:delete_pod_identity_association, Seahorse::Model::Operation.new.tap do |o|
|
1305
|
+
o.name = "DeletePodIdentityAssociation"
|
1306
|
+
o.http_method = "DELETE"
|
1307
|
+
o.http_request_uri = "/clusters/{name}/pod-identity-associations/{associationId}"
|
1308
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePodIdentityAssociationRequest)
|
1309
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePodIdentityAssociationResponse)
|
1310
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1311
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1312
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1313
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1314
|
+
end)
|
1315
|
+
|
1211
1316
|
api.add_operation(:deregister_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1212
1317
|
o.name = "DeregisterCluster"
|
1213
1318
|
o.http_method = "DELETE"
|
@@ -1325,6 +1430,18 @@ module Aws::EKS
|
|
1325
1430
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1326
1431
|
end)
|
1327
1432
|
|
1433
|
+
api.add_operation(:describe_pod_identity_association, Seahorse::Model::Operation.new.tap do |o|
|
1434
|
+
o.name = "DescribePodIdentityAssociation"
|
1435
|
+
o.http_method = "GET"
|
1436
|
+
o.http_request_uri = "/clusters/{name}/pod-identity-associations/{associationId}"
|
1437
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePodIdentityAssociationRequest)
|
1438
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePodIdentityAssociationResponse)
|
1439
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1440
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1441
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1442
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1443
|
+
end)
|
1444
|
+
|
1328
1445
|
api.add_operation(:describe_update, Seahorse::Model::Operation.new.tap do |o|
|
1329
1446
|
o.name = "DescribeUpdate"
|
1330
1447
|
o.http_method = "GET"
|
@@ -1398,6 +1515,12 @@ module Aws::EKS
|
|
1398
1515
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1399
1516
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1400
1517
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1518
|
+
o[:pager] = Aws::Pager.new(
|
1519
|
+
limit_key: "max_results",
|
1520
|
+
tokens: {
|
1521
|
+
"next_token" => "next_token"
|
1522
|
+
}
|
1523
|
+
)
|
1401
1524
|
end)
|
1402
1525
|
|
1403
1526
|
api.add_operation(:list_fargate_profiles, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1456,6 +1579,24 @@ module Aws::EKS
|
|
1456
1579
|
)
|
1457
1580
|
end)
|
1458
1581
|
|
1582
|
+
api.add_operation(:list_pod_identity_associations, Seahorse::Model::Operation.new.tap do |o|
|
1583
|
+
o.name = "ListPodIdentityAssociations"
|
1584
|
+
o.http_method = "GET"
|
1585
|
+
o.http_request_uri = "/clusters/{name}/pod-identity-associations"
|
1586
|
+
o.input = Shapes::ShapeRef.new(shape: ListPodIdentityAssociationsRequest)
|
1587
|
+
o.output = Shapes::ShapeRef.new(shape: ListPodIdentityAssociationsResponse)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1589
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1590
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1591
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1592
|
+
o[:pager] = Aws::Pager.new(
|
1593
|
+
limit_key: "max_results",
|
1594
|
+
tokens: {
|
1595
|
+
"next_token" => "next_token"
|
1596
|
+
}
|
1597
|
+
)
|
1598
|
+
end)
|
1599
|
+
|
1459
1600
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1460
1601
|
o.name = "ListTagsForResource"
|
1461
1602
|
o.http_method = "GET"
|
@@ -1602,6 +1743,18 @@ module Aws::EKS
|
|
1602
1743
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1603
1744
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1604
1745
|
end)
|
1746
|
+
|
1747
|
+
api.add_operation(:update_pod_identity_association, Seahorse::Model::Operation.new.tap do |o|
|
1748
|
+
o.name = "UpdatePodIdentityAssociation"
|
1749
|
+
o.http_method = "POST"
|
1750
|
+
o.http_request_uri = "/clusters/{name}/pod-identity-associations/{associationId}"
|
1751
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePodIdentityAssociationRequest)
|
1752
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePodIdentityAssociationResponse)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1754
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1756
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1757
|
+
end)
|
1605
1758
|
end
|
1606
1759
|
|
1607
1760
|
end
|
@@ -110,6 +110,20 @@ module Aws::EKS
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
class CreatePodIdentityAssociation
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::EKS::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
113
127
|
class DeleteAddon
|
114
128
|
def self.build(context)
|
115
129
|
unless context.config.regional_endpoint
|
@@ -180,6 +194,20 @@ module Aws::EKS
|
|
180
194
|
end
|
181
195
|
end
|
182
196
|
|
197
|
+
class DeletePodIdentityAssociation
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::EKS::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
183
211
|
class DeregisterCluster
|
184
212
|
def self.build(context)
|
185
213
|
unless context.config.regional_endpoint
|
@@ -306,6 +334,20 @@ module Aws::EKS
|
|
306
334
|
end
|
307
335
|
end
|
308
336
|
|
337
|
+
class DescribePodIdentityAssociation
|
338
|
+
def self.build(context)
|
339
|
+
unless context.config.regional_endpoint
|
340
|
+
endpoint = context.config.endpoint.to_s
|
341
|
+
end
|
342
|
+
Aws::EKS::EndpointParameters.new(
|
343
|
+
region: context.config.region,
|
344
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
345
|
+
use_fips: context.config.use_fips_endpoint,
|
346
|
+
endpoint: endpoint,
|
347
|
+
)
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
309
351
|
class DescribeUpdate
|
310
352
|
def self.build(context)
|
311
353
|
unless context.config.regional_endpoint
|
@@ -418,6 +460,20 @@ module Aws::EKS
|
|
418
460
|
end
|
419
461
|
end
|
420
462
|
|
463
|
+
class ListPodIdentityAssociations
|
464
|
+
def self.build(context)
|
465
|
+
unless context.config.regional_endpoint
|
466
|
+
endpoint = context.config.endpoint.to_s
|
467
|
+
end
|
468
|
+
Aws::EKS::EndpointParameters.new(
|
469
|
+
region: context.config.region,
|
470
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
471
|
+
use_fips: context.config.use_fips_endpoint,
|
472
|
+
endpoint: endpoint,
|
473
|
+
)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
421
477
|
class ListTagsForResource
|
422
478
|
def self.build(context)
|
423
479
|
unless context.config.regional_endpoint
|
@@ -572,5 +628,19 @@ module Aws::EKS
|
|
572
628
|
end
|
573
629
|
end
|
574
630
|
|
631
|
+
class UpdatePodIdentityAssociation
|
632
|
+
def self.build(context)
|
633
|
+
unless context.config.regional_endpoint
|
634
|
+
endpoint = context.config.endpoint.to_s
|
635
|
+
end
|
636
|
+
Aws::EKS::EndpointParameters.new(
|
637
|
+
region: context.config.region,
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
640
|
+
endpoint: endpoint,
|
641
|
+
)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
575
645
|
end
|
576
646
|
end
|
@@ -25,16 +25,17 @@ module Aws::EKS
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -70,6 +71,8 @@ module Aws::EKS
|
|
70
71
|
Aws::EKS::Endpoints::CreateFargateProfile.build(context)
|
71
72
|
when :create_nodegroup
|
72
73
|
Aws::EKS::Endpoints::CreateNodegroup.build(context)
|
74
|
+
when :create_pod_identity_association
|
75
|
+
Aws::EKS::Endpoints::CreatePodIdentityAssociation.build(context)
|
73
76
|
when :delete_addon
|
74
77
|
Aws::EKS::Endpoints::DeleteAddon.build(context)
|
75
78
|
when :delete_cluster
|
@@ -80,6 +83,8 @@ module Aws::EKS
|
|
80
83
|
Aws::EKS::Endpoints::DeleteFargateProfile.build(context)
|
81
84
|
when :delete_nodegroup
|
82
85
|
Aws::EKS::Endpoints::DeleteNodegroup.build(context)
|
86
|
+
when :delete_pod_identity_association
|
87
|
+
Aws::EKS::Endpoints::DeletePodIdentityAssociation.build(context)
|
83
88
|
when :deregister_cluster
|
84
89
|
Aws::EKS::Endpoints::DeregisterCluster.build(context)
|
85
90
|
when :describe_addon
|
@@ -98,6 +103,8 @@ module Aws::EKS
|
|
98
103
|
Aws::EKS::Endpoints::DescribeIdentityProviderConfig.build(context)
|
99
104
|
when :describe_nodegroup
|
100
105
|
Aws::EKS::Endpoints::DescribeNodegroup.build(context)
|
106
|
+
when :describe_pod_identity_association
|
107
|
+
Aws::EKS::Endpoints::DescribePodIdentityAssociation.build(context)
|
101
108
|
when :describe_update
|
102
109
|
Aws::EKS::Endpoints::DescribeUpdate.build(context)
|
103
110
|
when :disassociate_identity_provider_config
|
@@ -114,6 +121,8 @@ module Aws::EKS
|
|
114
121
|
Aws::EKS::Endpoints::ListIdentityProviderConfigs.build(context)
|
115
122
|
when :list_nodegroups
|
116
123
|
Aws::EKS::Endpoints::ListNodegroups.build(context)
|
124
|
+
when :list_pod_identity_associations
|
125
|
+
Aws::EKS::Endpoints::ListPodIdentityAssociations.build(context)
|
117
126
|
when :list_tags_for_resource
|
118
127
|
Aws::EKS::Endpoints::ListTagsForResource.build(context)
|
119
128
|
when :list_updates
|
@@ -136,6 +145,8 @@ module Aws::EKS
|
|
136
145
|
Aws::EKS::Endpoints::UpdateNodegroupConfig.build(context)
|
137
146
|
when :update_nodegroup_version
|
138
147
|
Aws::EKS::Endpoints::UpdateNodegroupVersion.build(context)
|
148
|
+
when :update_pod_identity_association
|
149
|
+
Aws::EKS::Endpoints::UpdatePodIdentityAssociation.build(context)
|
139
150
|
end
|
140
151
|
end
|
141
152
|
end
|