aws-sdk-eks 1.90.0 → 1.92.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 +343 -37
- data/lib/aws-sdk-eks/client_api.rb +151 -0
- data/lib/aws-sdk-eks/endpoint_provider.rb +3 -3
- data/lib/aws-sdk-eks/endpoints.rb +70 -0
- data/lib/aws-sdk-eks/errors.rb +30 -0
- data/lib/aws-sdk-eks/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-eks/types.rb +377 -17
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +2 -2
@@ -57,6 +57,8 @@ module Aws::EKS
|
|
57
57
|
CreateAddonResponse = Shapes::StructureShape.new(name: 'CreateAddonResponse')
|
58
58
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
59
59
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
60
|
+
CreateEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateEksAnywhereSubscriptionRequest')
|
61
|
+
CreateEksAnywhereSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateEksAnywhereSubscriptionResponse')
|
60
62
|
CreateFargateProfileRequest = Shapes::StructureShape.new(name: 'CreateFargateProfileRequest')
|
61
63
|
CreateFargateProfileResponse = Shapes::StructureShape.new(name: 'CreateFargateProfileResponse')
|
62
64
|
CreateNodegroupRequest = Shapes::StructureShape.new(name: 'CreateNodegroupRequest')
|
@@ -65,6 +67,8 @@ module Aws::EKS
|
|
65
67
|
DeleteAddonResponse = Shapes::StructureShape.new(name: 'DeleteAddonResponse')
|
66
68
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
67
69
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
70
|
+
DeleteEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteEksAnywhereSubscriptionRequest')
|
71
|
+
DeleteEksAnywhereSubscriptionResponse = Shapes::StructureShape.new(name: 'DeleteEksAnywhereSubscriptionResponse')
|
68
72
|
DeleteFargateProfileRequest = Shapes::StructureShape.new(name: 'DeleteFargateProfileRequest')
|
69
73
|
DeleteFargateProfileResponse = Shapes::StructureShape.new(name: 'DeleteFargateProfileResponse')
|
70
74
|
DeleteNodegroupRequest = Shapes::StructureShape.new(name: 'DeleteNodegroupRequest')
|
@@ -80,6 +84,8 @@ module Aws::EKS
|
|
80
84
|
DescribeAddonVersionsResponse = Shapes::StructureShape.new(name: 'DescribeAddonVersionsResponse')
|
81
85
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
82
86
|
DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
|
87
|
+
DescribeEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'DescribeEksAnywhereSubscriptionRequest')
|
88
|
+
DescribeEksAnywhereSubscriptionResponse = Shapes::StructureShape.new(name: 'DescribeEksAnywhereSubscriptionResponse')
|
83
89
|
DescribeFargateProfileRequest = Shapes::StructureShape.new(name: 'DescribeFargateProfileRequest')
|
84
90
|
DescribeFargateProfileResponse = Shapes::StructureShape.new(name: 'DescribeFargateProfileResponse')
|
85
91
|
DescribeIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigRequest')
|
@@ -90,6 +96,14 @@ module Aws::EKS
|
|
90
96
|
DescribeUpdateResponse = Shapes::StructureShape.new(name: 'DescribeUpdateResponse')
|
91
97
|
DisassociateIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'DisassociateIdentityProviderConfigRequest')
|
92
98
|
DisassociateIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'DisassociateIdentityProviderConfigResponse')
|
99
|
+
EksAnywhereSubscription = Shapes::StructureShape.new(name: 'EksAnywhereSubscription')
|
100
|
+
EksAnywhereSubscriptionLicenseType = Shapes::StringShape.new(name: 'EksAnywhereSubscriptionLicenseType')
|
101
|
+
EksAnywhereSubscriptionList = Shapes::ListShape.new(name: 'EksAnywhereSubscriptionList')
|
102
|
+
EksAnywhereSubscriptionName = Shapes::StringShape.new(name: 'EksAnywhereSubscriptionName')
|
103
|
+
EksAnywhereSubscriptionStatus = Shapes::StringShape.new(name: 'EksAnywhereSubscriptionStatus')
|
104
|
+
EksAnywhereSubscriptionStatusValues = Shapes::ListShape.new(name: 'EksAnywhereSubscriptionStatusValues')
|
105
|
+
EksAnywhereSubscriptionTerm = Shapes::StructureShape.new(name: 'EksAnywhereSubscriptionTerm')
|
106
|
+
EksAnywhereSubscriptionTermUnit = Shapes::StringShape.new(name: 'EksAnywhereSubscriptionTermUnit')
|
93
107
|
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
94
108
|
EncryptionConfigList = Shapes::ListShape.new(name: 'EncryptionConfigList')
|
95
109
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
@@ -106,6 +120,7 @@ module Aws::EKS
|
|
106
120
|
IdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'IdentityProviderConfigResponse')
|
107
121
|
IdentityProviderConfigs = Shapes::ListShape.new(name: 'IdentityProviderConfigs')
|
108
122
|
IncludeClustersList = Shapes::ListShape.new(name: 'IncludeClustersList')
|
123
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
109
124
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
110
125
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
111
126
|
IpFamily = Shapes::StringShape.new(name: 'IpFamily')
|
@@ -120,6 +135,9 @@ module Aws::EKS
|
|
120
135
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
121
136
|
ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
|
122
137
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
138
|
+
ListEksAnywhereSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListEksAnywhereSubscriptionsRequest')
|
139
|
+
ListEksAnywhereSubscriptionsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListEksAnywhereSubscriptionsRequestMaxResults')
|
140
|
+
ListEksAnywhereSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListEksAnywhereSubscriptionsResponse')
|
123
141
|
ListFargateProfilesRequest = Shapes::StructureShape.new(name: 'ListFargateProfilesRequest')
|
124
142
|
ListFargateProfilesResponse = Shapes::StructureShape.new(name: 'ListFargateProfilesResponse')
|
125
143
|
ListIdentityProviderConfigsRequest = Shapes::StructureShape.new(name: 'ListIdentityProviderConfigsRequest')
|
@@ -187,6 +205,8 @@ module Aws::EKS
|
|
187
205
|
UpdateClusterConfigResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigResponse')
|
188
206
|
UpdateClusterVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterVersionRequest')
|
189
207
|
UpdateClusterVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterVersionResponse')
|
208
|
+
UpdateEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateEksAnywhereSubscriptionRequest')
|
209
|
+
UpdateEksAnywhereSubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateEksAnywhereSubscriptionResponse')
|
190
210
|
UpdateLabelsPayload = Shapes::StructureShape.new(name: 'UpdateLabelsPayload')
|
191
211
|
UpdateNodegroupConfigRequest = Shapes::StructureShape.new(name: 'UpdateNodegroupConfigRequest')
|
192
212
|
UpdateNodegroupConfigResponse = Shapes::StructureShape.new(name: 'UpdateNodegroupConfigResponse')
|
@@ -292,6 +312,7 @@ module Aws::EKS
|
|
292
312
|
ClientException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
293
313
|
ClientException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
294
314
|
ClientException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
315
|
+
ClientException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
295
316
|
ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
296
317
|
ClientException.struct_class = Types::ClientException
|
297
318
|
|
@@ -379,6 +400,18 @@ module Aws::EKS
|
|
379
400
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
380
401
|
CreateClusterResponse.struct_class = Types::CreateClusterResponse
|
381
402
|
|
403
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:name, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionName, required: true, location_name: "name"))
|
404
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:term, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionTerm, required: true, location_name: "term"))
|
405
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:license_quantity, Shapes::ShapeRef.new(shape: Integer, location_name: "licenseQuantity"))
|
406
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionLicenseType, location_name: "licenseType"))
|
407
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:auto_renew, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoRenew"))
|
408
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
409
|
+
CreateEksAnywhereSubscriptionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
410
|
+
CreateEksAnywhereSubscriptionRequest.struct_class = Types::CreateEksAnywhereSubscriptionRequest
|
411
|
+
|
412
|
+
CreateEksAnywhereSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: EksAnywhereSubscription, location_name: "subscription"))
|
413
|
+
CreateEksAnywhereSubscriptionResponse.struct_class = Types::CreateEksAnywhereSubscriptionResponse
|
414
|
+
|
382
415
|
CreateFargateProfileRequest.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fargateProfileName"))
|
383
416
|
CreateFargateProfileRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
384
417
|
CreateFargateProfileRequest.add_member(:pod_execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "podExecutionRoleArn"))
|
@@ -428,6 +461,12 @@ module Aws::EKS
|
|
428
461
|
DeleteClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
429
462
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
430
463
|
|
464
|
+
DeleteEksAnywhereSubscriptionRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
|
465
|
+
DeleteEksAnywhereSubscriptionRequest.struct_class = Types::DeleteEksAnywhereSubscriptionRequest
|
466
|
+
|
467
|
+
DeleteEksAnywhereSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: EksAnywhereSubscription, location_name: "subscription"))
|
468
|
+
DeleteEksAnywhereSubscriptionResponse.struct_class = Types::DeleteEksAnywhereSubscriptionResponse
|
469
|
+
|
431
470
|
DeleteFargateProfileRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
432
471
|
DeleteFargateProfileRequest.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "fargateProfileName"))
|
433
472
|
DeleteFargateProfileRequest.struct_class = Types::DeleteFargateProfileRequest
|
@@ -483,6 +522,12 @@ module Aws::EKS
|
|
483
522
|
DescribeClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
484
523
|
DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
|
485
524
|
|
525
|
+
DescribeEksAnywhereSubscriptionRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
|
526
|
+
DescribeEksAnywhereSubscriptionRequest.struct_class = Types::DescribeEksAnywhereSubscriptionRequest
|
527
|
+
|
528
|
+
DescribeEksAnywhereSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: EksAnywhereSubscription, location_name: "subscription"))
|
529
|
+
DescribeEksAnywhereSubscriptionResponse.struct_class = Types::DescribeEksAnywhereSubscriptionResponse
|
530
|
+
|
486
531
|
DescribeFargateProfileRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
487
532
|
DescribeFargateProfileRequest.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "fargateProfileName"))
|
488
533
|
DescribeFargateProfileRequest.struct_class = Types::DescribeFargateProfileRequest
|
@@ -521,6 +566,28 @@ module Aws::EKS
|
|
521
566
|
DisassociateIdentityProviderConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
522
567
|
DisassociateIdentityProviderConfigResponse.struct_class = Types::DisassociateIdentityProviderConfigResponse
|
523
568
|
|
569
|
+
EksAnywhereSubscription.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
570
|
+
EksAnywhereSubscription.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
571
|
+
EksAnywhereSubscription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
572
|
+
EksAnywhereSubscription.add_member(:effective_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "effectiveDate"))
|
573
|
+
EksAnywhereSubscription.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
|
574
|
+
EksAnywhereSubscription.add_member(:license_quantity, Shapes::ShapeRef.new(shape: Integer, location_name: "licenseQuantity"))
|
575
|
+
EksAnywhereSubscription.add_member(:license_type, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionLicenseType, location_name: "licenseType"))
|
576
|
+
EksAnywhereSubscription.add_member(:term, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionTerm, location_name: "term"))
|
577
|
+
EksAnywhereSubscription.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
578
|
+
EksAnywhereSubscription.add_member(:auto_renew, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoRenew"))
|
579
|
+
EksAnywhereSubscription.add_member(:license_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "licenseArns"))
|
580
|
+
EksAnywhereSubscription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
581
|
+
EksAnywhereSubscription.struct_class = Types::EksAnywhereSubscription
|
582
|
+
|
583
|
+
EksAnywhereSubscriptionList.member = Shapes::ShapeRef.new(shape: EksAnywhereSubscription)
|
584
|
+
|
585
|
+
EksAnywhereSubscriptionStatusValues.member = Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionStatus)
|
586
|
+
|
587
|
+
EksAnywhereSubscriptionTerm.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "duration"))
|
588
|
+
EksAnywhereSubscriptionTerm.add_member(:unit, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionTermUnit, location_name: "unit"))
|
589
|
+
EksAnywhereSubscriptionTerm.struct_class = Types::EksAnywhereSubscriptionTerm
|
590
|
+
|
524
591
|
EncryptionConfig.add_member(:resources, Shapes::ShapeRef.new(shape: StringList, location_name: "resources"))
|
525
592
|
EncryptionConfig.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, location_name: "provider"))
|
526
593
|
EncryptionConfig.struct_class = Types::EncryptionConfig
|
@@ -572,12 +639,14 @@ module Aws::EKS
|
|
572
639
|
InvalidParameterException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
573
640
|
InvalidParameterException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
|
574
641
|
InvalidParameterException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
642
|
+
InvalidParameterException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
575
643
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
576
644
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
577
645
|
|
578
646
|
InvalidRequestException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
579
647
|
InvalidRequestException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
580
648
|
InvalidRequestException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
649
|
+
InvalidRequestException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
581
650
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
582
651
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
583
652
|
|
@@ -620,6 +689,15 @@ module Aws::EKS
|
|
620
689
|
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
621
690
|
ListClustersResponse.struct_class = Types::ListClustersResponse
|
622
691
|
|
692
|
+
ListEksAnywhereSubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEksAnywhereSubscriptionsRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
693
|
+
ListEksAnywhereSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
694
|
+
ListEksAnywhereSubscriptionsRequest.add_member(:include_status, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionStatusValues, location: "querystring", location_name: "includeStatus"))
|
695
|
+
ListEksAnywhereSubscriptionsRequest.struct_class = Types::ListEksAnywhereSubscriptionsRequest
|
696
|
+
|
697
|
+
ListEksAnywhereSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: EksAnywhereSubscriptionList, location_name: "subscriptions"))
|
698
|
+
ListEksAnywhereSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
699
|
+
ListEksAnywhereSubscriptionsResponse.struct_class = Types::ListEksAnywhereSubscriptionsResponse
|
700
|
+
|
623
701
|
ListFargateProfilesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
624
702
|
ListFargateProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: FargateProfilesRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
625
703
|
ListFargateProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
@@ -784,6 +862,7 @@ module Aws::EKS
|
|
784
862
|
|
785
863
|
ResourceLimitExceededException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
786
864
|
ResourceLimitExceededException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
865
|
+
ResourceLimitExceededException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
787
866
|
ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
788
867
|
ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
|
789
868
|
|
@@ -791,6 +870,7 @@ module Aws::EKS
|
|
791
870
|
ResourceNotFoundException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
792
871
|
ResourceNotFoundException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
|
793
872
|
ResourceNotFoundException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
873
|
+
ResourceNotFoundException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
794
874
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
795
875
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
796
876
|
|
@@ -800,6 +880,7 @@ module Aws::EKS
|
|
800
880
|
ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
801
881
|
ServerException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
802
882
|
ServerException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
883
|
+
ServerException.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "subscriptionId"))
|
803
884
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
804
885
|
ServerException.struct_class = Types::ServerException
|
805
886
|
|
@@ -873,6 +954,14 @@ module Aws::EKS
|
|
873
954
|
UpdateClusterVersionResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
874
955
|
UpdateClusterVersionResponse.struct_class = Types::UpdateClusterVersionResponse
|
875
956
|
|
957
|
+
UpdateEksAnywhereSubscriptionRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
|
958
|
+
UpdateEksAnywhereSubscriptionRequest.add_member(:auto_renew, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoRenew"))
|
959
|
+
UpdateEksAnywhereSubscriptionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
960
|
+
UpdateEksAnywhereSubscriptionRequest.struct_class = Types::UpdateEksAnywhereSubscriptionRequest
|
961
|
+
|
962
|
+
UpdateEksAnywhereSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: EksAnywhereSubscription, location_name: "subscription"))
|
963
|
+
UpdateEksAnywhereSubscriptionResponse.struct_class = Types::UpdateEksAnywhereSubscriptionResponse
|
964
|
+
|
876
965
|
UpdateLabelsPayload.add_member(:add_or_update_labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "addOrUpdateLabels"))
|
877
966
|
UpdateLabelsPayload.add_member(:remove_labels, Shapes::ShapeRef.new(shape: labelsKeyList, location_name: "removeLabels"))
|
878
967
|
UpdateLabelsPayload.struct_class = Types::UpdateLabelsPayload
|
@@ -1013,6 +1102,19 @@ module Aws::EKS
|
|
1013
1102
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAvailabilityZoneException)
|
1014
1103
|
end)
|
1015
1104
|
|
1105
|
+
api.add_operation(:create_eks_anywhere_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1106
|
+
o.name = "CreateEksAnywhereSubscription"
|
1107
|
+
o.http_method = "POST"
|
1108
|
+
o.http_request_uri = "/eks-anywhere-subscriptions"
|
1109
|
+
o.input = Shapes::ShapeRef.new(shape: CreateEksAnywhereSubscriptionRequest)
|
1110
|
+
o.output = Shapes::ShapeRef.new(shape: CreateEksAnywhereSubscriptionResponse)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1113
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1114
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1116
|
+
end)
|
1117
|
+
|
1016
1118
|
api.add_operation(:create_fargate_profile, Seahorse::Model::Operation.new.tap do |o|
|
1017
1119
|
o.name = "CreateFargateProfile"
|
1018
1120
|
o.http_method = "POST"
|
@@ -1068,6 +1170,18 @@ module Aws::EKS
|
|
1068
1170
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1069
1171
|
end)
|
1070
1172
|
|
1173
|
+
api.add_operation(:delete_eks_anywhere_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1174
|
+
o.name = "DeleteEksAnywhereSubscription"
|
1175
|
+
o.http_method = "DELETE"
|
1176
|
+
o.http_request_uri = "/eks-anywhere-subscriptions/{id}"
|
1177
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEksAnywhereSubscriptionRequest)
|
1178
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEksAnywhereSubscriptionResponse)
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1180
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1181
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1182
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1183
|
+
end)
|
1184
|
+
|
1071
1185
|
api.add_operation(:delete_fargate_profile, Seahorse::Model::Operation.new.tap do |o|
|
1072
1186
|
o.name = "DeleteFargateProfile"
|
1073
1187
|
o.http_method = "DELETE"
|
@@ -1161,6 +1275,18 @@ module Aws::EKS
|
|
1161
1275
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1162
1276
|
end)
|
1163
1277
|
|
1278
|
+
api.add_operation(:describe_eks_anywhere_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1279
|
+
o.name = "DescribeEksAnywhereSubscription"
|
1280
|
+
o.http_method = "GET"
|
1281
|
+
o.http_request_uri = "/eks-anywhere-subscriptions/{id}"
|
1282
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEksAnywhereSubscriptionRequest)
|
1283
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEksAnywhereSubscriptionResponse)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1287
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1288
|
+
end)
|
1289
|
+
|
1164
1290
|
api.add_operation(:describe_fargate_profile, Seahorse::Model::Operation.new.tap do |o|
|
1165
1291
|
o.name = "DescribeFargateProfile"
|
1166
1292
|
o.http_method = "GET"
|
@@ -1262,6 +1388,18 @@ module Aws::EKS
|
|
1262
1388
|
)
|
1263
1389
|
end)
|
1264
1390
|
|
1391
|
+
api.add_operation(:list_eks_anywhere_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
1392
|
+
o.name = "ListEksAnywhereSubscriptions"
|
1393
|
+
o.http_method = "GET"
|
1394
|
+
o.http_request_uri = "/eks-anywhere-subscriptions"
|
1395
|
+
o.input = Shapes::ShapeRef.new(shape: ListEksAnywhereSubscriptionsRequest)
|
1396
|
+
o.output = Shapes::ShapeRef.new(shape: ListEksAnywhereSubscriptionsResponse)
|
1397
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1398
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1399
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1400
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1401
|
+
end)
|
1402
|
+
|
1265
1403
|
api.add_operation(:list_fargate_profiles, Seahorse::Model::Operation.new.tap do |o|
|
1266
1404
|
o.name = "ListFargateProfiles"
|
1267
1405
|
o.http_method = "GET"
|
@@ -1424,6 +1562,19 @@ module Aws::EKS
|
|
1424
1562
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1425
1563
|
end)
|
1426
1564
|
|
1565
|
+
api.add_operation(:update_eks_anywhere_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1566
|
+
o.name = "UpdateEksAnywhereSubscription"
|
1567
|
+
o.http_method = "POST"
|
1568
|
+
o.http_request_uri = "/eks-anywhere-subscriptions/{id}"
|
1569
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEksAnywhereSubscriptionRequest)
|
1570
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEksAnywhereSubscriptionResponse)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1573
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1574
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1575
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1576
|
+
end)
|
1577
|
+
|
1427
1578
|
api.add_operation(:update_nodegroup_config, Seahorse::Model::Operation.new.tap do |o|
|
1428
1579
|
o.name = "UpdateNodegroupConfig"
|
1429
1580
|
o.http_method = "POST"
|
@@ -32,11 +32,11 @@ module Aws::EKS
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://fips.eks.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
40
40
|
return Aws::Endpoints::Endpoint.new(url: "https://eks.#{region}.amazonaws.com", headers: {}, properties: {})
|
41
41
|
end
|
42
42
|
return Aws::Endpoints::Endpoint.new(url: "https://eks-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -68,6 +68,20 @@ module Aws::EKS
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
class CreateEksAnywhereSubscription
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::EKS::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
71
85
|
class CreateFargateProfile
|
72
86
|
def self.build(context)
|
73
87
|
unless context.config.regional_endpoint
|
@@ -124,6 +138,20 @@ module Aws::EKS
|
|
124
138
|
end
|
125
139
|
end
|
126
140
|
|
141
|
+
class DeleteEksAnywhereSubscription
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::EKS::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
127
155
|
class DeleteFargateProfile
|
128
156
|
def self.build(context)
|
129
157
|
unless context.config.regional_endpoint
|
@@ -222,6 +250,20 @@ module Aws::EKS
|
|
222
250
|
end
|
223
251
|
end
|
224
252
|
|
253
|
+
class DescribeEksAnywhereSubscription
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::EKS::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
225
267
|
class DescribeFargateProfile
|
226
268
|
def self.build(context)
|
227
269
|
unless context.config.regional_endpoint
|
@@ -320,6 +362,20 @@ module Aws::EKS
|
|
320
362
|
end
|
321
363
|
end
|
322
364
|
|
365
|
+
class ListEksAnywhereSubscriptions
|
366
|
+
def self.build(context)
|
367
|
+
unless context.config.regional_endpoint
|
368
|
+
endpoint = context.config.endpoint.to_s
|
369
|
+
end
|
370
|
+
Aws::EKS::EndpointParameters.new(
|
371
|
+
region: context.config.region,
|
372
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
373
|
+
use_fips: context.config.use_fips_endpoint,
|
374
|
+
endpoint: endpoint,
|
375
|
+
)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
323
379
|
class ListFargateProfiles
|
324
380
|
def self.build(context)
|
325
381
|
unless context.config.regional_endpoint
|
@@ -474,6 +530,20 @@ module Aws::EKS
|
|
474
530
|
end
|
475
531
|
end
|
476
532
|
|
533
|
+
class UpdateEksAnywhereSubscription
|
534
|
+
def self.build(context)
|
535
|
+
unless context.config.regional_endpoint
|
536
|
+
endpoint = context.config.endpoint.to_s
|
537
|
+
end
|
538
|
+
Aws::EKS::EndpointParameters.new(
|
539
|
+
region: context.config.region,
|
540
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
541
|
+
use_fips: context.config.use_fips_endpoint,
|
542
|
+
endpoint: endpoint,
|
543
|
+
)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
477
547
|
class UpdateNodegroupConfig
|
478
548
|
def self.build(context)
|
479
549
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-eks/errors.rb
CHANGED
@@ -101,6 +101,11 @@ module Aws::EKS
|
|
101
101
|
@data[:addon_name]
|
102
102
|
end
|
103
103
|
|
104
|
+
# @return [String]
|
105
|
+
def subscription_id
|
106
|
+
@data[:subscription_id]
|
107
|
+
end
|
108
|
+
|
104
109
|
# @return [String]
|
105
110
|
def message
|
106
111
|
@message || @data[:message]
|
@@ -136,6 +141,11 @@ module Aws::EKS
|
|
136
141
|
@data[:addon_name]
|
137
142
|
end
|
138
143
|
|
144
|
+
# @return [String]
|
145
|
+
def subscription_id
|
146
|
+
@data[:subscription_id]
|
147
|
+
end
|
148
|
+
|
139
149
|
# @return [String]
|
140
150
|
def message
|
141
151
|
@message || @data[:message]
|
@@ -166,6 +176,11 @@ module Aws::EKS
|
|
166
176
|
@data[:addon_name]
|
167
177
|
end
|
168
178
|
|
179
|
+
# @return [String]
|
180
|
+
def subscription_id
|
181
|
+
@data[:subscription_id]
|
182
|
+
end
|
183
|
+
|
169
184
|
# @return [String]
|
170
185
|
def message
|
171
186
|
@message || @data[:message]
|
@@ -236,6 +251,11 @@ module Aws::EKS
|
|
236
251
|
@data[:nodegroup_name]
|
237
252
|
end
|
238
253
|
|
254
|
+
# @return [String]
|
255
|
+
def subscription_id
|
256
|
+
@data[:subscription_id]
|
257
|
+
end
|
258
|
+
|
239
259
|
# @return [String]
|
240
260
|
def message
|
241
261
|
@message || @data[:message]
|
@@ -271,6 +291,11 @@ module Aws::EKS
|
|
271
291
|
@data[:addon_name]
|
272
292
|
end
|
273
293
|
|
294
|
+
# @return [String]
|
295
|
+
def subscription_id
|
296
|
+
@data[:subscription_id]
|
297
|
+
end
|
298
|
+
|
274
299
|
# @return [String]
|
275
300
|
def message
|
276
301
|
@message || @data[:message]
|
@@ -316,6 +341,11 @@ module Aws::EKS
|
|
316
341
|
@data[:addon_name]
|
317
342
|
end
|
318
343
|
|
344
|
+
# @return [String]
|
345
|
+
def subscription_id
|
346
|
+
@data[:subscription_id]
|
347
|
+
end
|
348
|
+
|
319
349
|
# @return [String]
|
320
350
|
def message
|
321
351
|
@message || @data[:message]
|
@@ -64,6 +64,8 @@ module Aws::EKS
|
|
64
64
|
Aws::EKS::Endpoints::CreateAddon.build(context)
|
65
65
|
when :create_cluster
|
66
66
|
Aws::EKS::Endpoints::CreateCluster.build(context)
|
67
|
+
when :create_eks_anywhere_subscription
|
68
|
+
Aws::EKS::Endpoints::CreateEksAnywhereSubscription.build(context)
|
67
69
|
when :create_fargate_profile
|
68
70
|
Aws::EKS::Endpoints::CreateFargateProfile.build(context)
|
69
71
|
when :create_nodegroup
|
@@ -72,6 +74,8 @@ module Aws::EKS
|
|
72
74
|
Aws::EKS::Endpoints::DeleteAddon.build(context)
|
73
75
|
when :delete_cluster
|
74
76
|
Aws::EKS::Endpoints::DeleteCluster.build(context)
|
77
|
+
when :delete_eks_anywhere_subscription
|
78
|
+
Aws::EKS::Endpoints::DeleteEksAnywhereSubscription.build(context)
|
75
79
|
when :delete_fargate_profile
|
76
80
|
Aws::EKS::Endpoints::DeleteFargateProfile.build(context)
|
77
81
|
when :delete_nodegroup
|
@@ -86,6 +90,8 @@ module Aws::EKS
|
|
86
90
|
Aws::EKS::Endpoints::DescribeAddonVersions.build(context)
|
87
91
|
when :describe_cluster
|
88
92
|
Aws::EKS::Endpoints::DescribeCluster.build(context)
|
93
|
+
when :describe_eks_anywhere_subscription
|
94
|
+
Aws::EKS::Endpoints::DescribeEksAnywhereSubscription.build(context)
|
89
95
|
when :describe_fargate_profile
|
90
96
|
Aws::EKS::Endpoints::DescribeFargateProfile.build(context)
|
91
97
|
when :describe_identity_provider_config
|
@@ -100,6 +106,8 @@ module Aws::EKS
|
|
100
106
|
Aws::EKS::Endpoints::ListAddons.build(context)
|
101
107
|
when :list_clusters
|
102
108
|
Aws::EKS::Endpoints::ListClusters.build(context)
|
109
|
+
when :list_eks_anywhere_subscriptions
|
110
|
+
Aws::EKS::Endpoints::ListEksAnywhereSubscriptions.build(context)
|
103
111
|
when :list_fargate_profiles
|
104
112
|
Aws::EKS::Endpoints::ListFargateProfiles.build(context)
|
105
113
|
when :list_identity_provider_configs
|
@@ -122,6 +130,8 @@ module Aws::EKS
|
|
122
130
|
Aws::EKS::Endpoints::UpdateClusterConfig.build(context)
|
123
131
|
when :update_cluster_version
|
124
132
|
Aws::EKS::Endpoints::UpdateClusterVersion.build(context)
|
133
|
+
when :update_eks_anywhere_subscription
|
134
|
+
Aws::EKS::Endpoints::UpdateEksAnywhereSubscription.build(context)
|
125
135
|
when :update_nodegroup_config
|
126
136
|
Aws::EKS::Endpoints::UpdateNodegroupConfig.build(context)
|
127
137
|
when :update_nodegroup_version
|