aws-sdk-eks 1.173.0 → 1.174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +411 -33
- data/lib/aws-sdk-eks/client_api.rb +168 -0
- data/lib/aws-sdk-eks/types.rb +449 -0
- data/lib/aws-sdk-eks/waiters.rb +61 -10
- data/lib/aws-sdk-eks.rb +2 -2
- data/sig/client.rbs +70 -0
- data/sig/types.rbs +109 -2
- data/sig/waiters.rbs +14 -0
- metadata +1 -1
|
@@ -22,6 +22,9 @@ module Aws::EKS
|
|
|
22
22
|
AccessPolicy = Shapes::StructureShape.new(name: 'AccessPolicy')
|
|
23
23
|
AccessScope = Shapes::StructureShape.new(name: 'AccessScope')
|
|
24
24
|
AccessScopeType = Shapes::StringShape.new(name: 'AccessScopeType')
|
|
25
|
+
ActivateCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'ActivateCertificateAuthorityRequest')
|
|
26
|
+
ActivateCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'ActivateCertificateAuthorityResponse')
|
|
27
|
+
ActiveCertificateAuthority = Shapes::StructureShape.new(name: 'ActiveCertificateAuthority')
|
|
25
28
|
AdditionalInfoMap = Shapes::MapShape.new(name: 'AdditionalInfoMap')
|
|
26
29
|
Addon = Shapes::StructureShape.new(name: 'Addon')
|
|
27
30
|
AddonCompatibilityDetail = Shapes::StructureShape.new(name: 'AddonCompatibilityDetail')
|
|
@@ -89,6 +92,16 @@ module Aws::EKS
|
|
|
89
92
|
Category = Shapes::StringShape.new(name: 'Category')
|
|
90
93
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
|
91
94
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
|
95
|
+
CertificateAuthority = Shapes::StructureShape.new(name: 'CertificateAuthority')
|
|
96
|
+
CertificateAuthorityActivatedBy = Shapes::StringShape.new(name: 'CertificateAuthorityActivatedBy')
|
|
97
|
+
CertificateAuthorityCreatedBy = Shapes::StringShape.new(name: 'CertificateAuthorityCreatedBy')
|
|
98
|
+
CertificateAuthorityDistributionStatus = Shapes::StringShape.new(name: 'CertificateAuthorityDistributionStatus')
|
|
99
|
+
CertificateAuthorityMaxResults = Shapes::IntegerShape.new(name: 'CertificateAuthorityMaxResults')
|
|
100
|
+
CertificateAuthorityScheduledEvents = Shapes::StructureShape.new(name: 'CertificateAuthorityScheduledEvents')
|
|
101
|
+
CertificateAuthoritySigningStatus = Shapes::StringShape.new(name: 'CertificateAuthoritySigningStatus')
|
|
102
|
+
CertificateAuthoritySummary = Shapes::StructureShape.new(name: 'CertificateAuthoritySummary')
|
|
103
|
+
CertificateAuthoritySummaryList = Shapes::ListShape.new(name: 'CertificateAuthoritySummaryList')
|
|
104
|
+
CertificateAuthorityValidity = Shapes::StructureShape.new(name: 'CertificateAuthorityValidity')
|
|
92
105
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
|
93
106
|
ClientStat = Shapes::StructureShape.new(name: 'ClientStat')
|
|
94
107
|
ClientStats = Shapes::ListShape.new(name: 'ClientStats')
|
|
@@ -123,6 +136,8 @@ module Aws::EKS
|
|
|
123
136
|
CreateAddonResponse = Shapes::StructureShape.new(name: 'CreateAddonResponse')
|
|
124
137
|
CreateCapabilityRequest = Shapes::StructureShape.new(name: 'CreateCapabilityRequest')
|
|
125
138
|
CreateCapabilityResponse = Shapes::StructureShape.new(name: 'CreateCapabilityResponse')
|
|
139
|
+
CreateCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityRequest')
|
|
140
|
+
CreateCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityResponse')
|
|
126
141
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
|
127
142
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
|
128
143
|
CreateEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateEksAnywhereSubscriptionRequest')
|
|
@@ -139,6 +154,8 @@ module Aws::EKS
|
|
|
139
154
|
DeleteAddonResponse = Shapes::StructureShape.new(name: 'DeleteAddonResponse')
|
|
140
155
|
DeleteCapabilityRequest = Shapes::StructureShape.new(name: 'DeleteCapabilityRequest')
|
|
141
156
|
DeleteCapabilityResponse = Shapes::StructureShape.new(name: 'DeleteCapabilityResponse')
|
|
157
|
+
DeleteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DeleteCertificateAuthorityRequest')
|
|
158
|
+
DeleteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DeleteCertificateAuthorityResponse')
|
|
142
159
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
|
143
160
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
|
144
161
|
DeleteEksAnywhereSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteEksAnywhereSubscriptionRequest')
|
|
@@ -164,6 +181,8 @@ module Aws::EKS
|
|
|
164
181
|
DescribeAddonVersionsResponse = Shapes::StructureShape.new(name: 'DescribeAddonVersionsResponse')
|
|
165
182
|
DescribeCapabilityRequest = Shapes::StructureShape.new(name: 'DescribeCapabilityRequest')
|
|
166
183
|
DescribeCapabilityResponse = Shapes::StructureShape.new(name: 'DescribeCapabilityResponse')
|
|
184
|
+
DescribeCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityRequest')
|
|
185
|
+
DescribeCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityResponse')
|
|
167
186
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
|
168
187
|
DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
|
|
169
188
|
DescribeClusterVersionMaxResults = Shapes::IntegerShape.new(name: 'DescribeClusterVersionMaxResults')
|
|
@@ -273,6 +292,8 @@ module Aws::EKS
|
|
|
273
292
|
ListCapabilitiesRequest = Shapes::StructureShape.new(name: 'ListCapabilitiesRequest')
|
|
274
293
|
ListCapabilitiesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListCapabilitiesRequestMaxResults')
|
|
275
294
|
ListCapabilitiesResponse = Shapes::StructureShape.new(name: 'ListCapabilitiesResponse')
|
|
295
|
+
ListCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListCertificateAuthoritiesRequest')
|
|
296
|
+
ListCertificateAuthoritiesResponse = Shapes::StructureShape.new(name: 'ListCertificateAuthoritiesResponse')
|
|
276
297
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
|
277
298
|
ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
|
|
278
299
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
|
@@ -466,6 +487,19 @@ module Aws::EKS
|
|
|
466
487
|
AccessScope.add_member(:namespaces, Shapes::ShapeRef.new(shape: StringList, location_name: "namespaces"))
|
|
467
488
|
AccessScope.struct_class = Types::AccessScope
|
|
468
489
|
|
|
490
|
+
ActivateCertificateAuthorityRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
491
|
+
ActivateCertificateAuthorityRequest.add_member(:certificate_authority_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "certificateAuthorityId"))
|
|
492
|
+
ActivateCertificateAuthorityRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
493
|
+
ActivateCertificateAuthorityRequest.struct_class = Types::ActivateCertificateAuthorityRequest
|
|
494
|
+
|
|
495
|
+
ActivateCertificateAuthorityResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
|
496
|
+
ActivateCertificateAuthorityResponse.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: CertificateAuthoritySummary, location_name: "certificateAuthority"))
|
|
497
|
+
ActivateCertificateAuthorityResponse.struct_class = Types::ActivateCertificateAuthorityResponse
|
|
498
|
+
|
|
499
|
+
ActiveCertificateAuthority.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
|
500
|
+
ActiveCertificateAuthority.add_member(:activated_by, Shapes::ShapeRef.new(shape: CertificateAuthorityActivatedBy, location_name: "activatedBy"))
|
|
501
|
+
ActiveCertificateAuthority.struct_class = Types::ActiveCertificateAuthority
|
|
502
|
+
|
|
469
503
|
AdditionalInfoMap.key = Shapes::ShapeRef.new(shape: String)
|
|
470
504
|
AdditionalInfoMap.value = Shapes::ShapeRef.new(shape: String)
|
|
471
505
|
|
|
@@ -685,8 +719,41 @@ module Aws::EKS
|
|
|
685
719
|
CategoryList.member = Shapes::ShapeRef.new(shape: Category)
|
|
686
720
|
|
|
687
721
|
Certificate.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
|
722
|
+
Certificate.add_member(:active, Shapes::ShapeRef.new(shape: ActiveCertificateAuthority, location_name: "active"))
|
|
688
723
|
Certificate.struct_class = Types::Certificate
|
|
689
724
|
|
|
725
|
+
CertificateAuthority.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
|
726
|
+
CertificateAuthority.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
727
|
+
CertificateAuthority.add_member(:created_by, Shapes::ShapeRef.new(shape: CertificateAuthorityCreatedBy, location_name: "createdBy"))
|
|
728
|
+
CertificateAuthority.add_member(:activated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "activatedAt"))
|
|
729
|
+
CertificateAuthority.add_member(:activated_by, Shapes::ShapeRef.new(shape: CertificateAuthorityActivatedBy, location_name: "activatedBy"))
|
|
730
|
+
CertificateAuthority.add_member(:signing_status, Shapes::ShapeRef.new(shape: CertificateAuthoritySigningStatus, location_name: "signingStatus"))
|
|
731
|
+
CertificateAuthority.add_member(:distribution_status, Shapes::ShapeRef.new(shape: CertificateAuthorityDistributionStatus, location_name: "distributionStatus"))
|
|
732
|
+
CertificateAuthority.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateAuthorityValidity, location_name: "validity"))
|
|
733
|
+
CertificateAuthority.add_member(:scheduled_events, Shapes::ShapeRef.new(shape: CertificateAuthorityScheduledEvents, location_name: "scheduledEvents"))
|
|
734
|
+
CertificateAuthority.add_member(:rollback_available, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "rollbackAvailable"))
|
|
735
|
+
CertificateAuthority.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
|
736
|
+
CertificateAuthority.struct_class = Types::CertificateAuthority
|
|
737
|
+
|
|
738
|
+
CertificateAuthorityScheduledEvents.add_member(:first_auto_activation, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstAutoActivation"))
|
|
739
|
+
CertificateAuthorityScheduledEvents.add_member(:final_auto_activation, Shapes::ShapeRef.new(shape: Timestamp, location_name: "finalAutoActivation"))
|
|
740
|
+
CertificateAuthorityScheduledEvents.struct_class = Types::CertificateAuthorityScheduledEvents
|
|
741
|
+
|
|
742
|
+
CertificateAuthoritySummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
|
743
|
+
CertificateAuthoritySummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
744
|
+
CertificateAuthoritySummary.add_member(:created_by, Shapes::ShapeRef.new(shape: CertificateAuthorityCreatedBy, location_name: "createdBy"))
|
|
745
|
+
CertificateAuthoritySummary.add_member(:activated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "activatedAt"))
|
|
746
|
+
CertificateAuthoritySummary.add_member(:activated_by, Shapes::ShapeRef.new(shape: CertificateAuthorityActivatedBy, location_name: "activatedBy"))
|
|
747
|
+
CertificateAuthoritySummary.add_member(:signing_status, Shapes::ShapeRef.new(shape: CertificateAuthoritySigningStatus, location_name: "signingStatus"))
|
|
748
|
+
CertificateAuthoritySummary.add_member(:distribution_status, Shapes::ShapeRef.new(shape: CertificateAuthorityDistributionStatus, location_name: "distributionStatus"))
|
|
749
|
+
CertificateAuthoritySummary.struct_class = Types::CertificateAuthoritySummary
|
|
750
|
+
|
|
751
|
+
CertificateAuthoritySummaryList.member = Shapes::ShapeRef.new(shape: CertificateAuthoritySummary)
|
|
752
|
+
|
|
753
|
+
CertificateAuthorityValidity.add_member(:not_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "notBefore"))
|
|
754
|
+
CertificateAuthorityValidity.add_member(:not_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "notAfter"))
|
|
755
|
+
CertificateAuthorityValidity.struct_class = Types::CertificateAuthorityValidity
|
|
756
|
+
|
|
690
757
|
ClientException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
|
691
758
|
ClientException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
|
692
759
|
ClientException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
|
@@ -857,6 +924,14 @@ module Aws::EKS
|
|
|
857
924
|
CreateCapabilityResponse.add_member(:capability, Shapes::ShapeRef.new(shape: Capability, location_name: "capability"))
|
|
858
925
|
CreateCapabilityResponse.struct_class = Types::CreateCapabilityResponse
|
|
859
926
|
|
|
927
|
+
CreateCertificateAuthorityRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
928
|
+
CreateCertificateAuthorityRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
929
|
+
CreateCertificateAuthorityRequest.struct_class = Types::CreateCertificateAuthorityRequest
|
|
930
|
+
|
|
931
|
+
CreateCertificateAuthorityResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
|
932
|
+
CreateCertificateAuthorityResponse.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: CertificateAuthoritySummary, location_name: "certificateAuthority"))
|
|
933
|
+
CreateCertificateAuthorityResponse.struct_class = Types::CreateCertificateAuthorityResponse
|
|
934
|
+
|
|
860
935
|
CreateClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "name"))
|
|
861
936
|
CreateClusterRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
|
862
937
|
CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
|
@@ -968,6 +1043,15 @@ module Aws::EKS
|
|
|
968
1043
|
DeleteCapabilityResponse.add_member(:capability, Shapes::ShapeRef.new(shape: Capability, location_name: "capability"))
|
|
969
1044
|
DeleteCapabilityResponse.struct_class = Types::DeleteCapabilityResponse
|
|
970
1045
|
|
|
1046
|
+
DeleteCertificateAuthorityRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
1047
|
+
DeleteCertificateAuthorityRequest.add_member(:certificate_authority_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "certificateAuthorityId"))
|
|
1048
|
+
DeleteCertificateAuthorityRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
1049
|
+
DeleteCertificateAuthorityRequest.struct_class = Types::DeleteCertificateAuthorityRequest
|
|
1050
|
+
|
|
1051
|
+
DeleteCertificateAuthorityResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
|
1052
|
+
DeleteCertificateAuthorityResponse.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: CertificateAuthoritySummary, location_name: "certificateAuthority"))
|
|
1053
|
+
DeleteCertificateAuthorityResponse.struct_class = Types::DeleteCertificateAuthorityResponse
|
|
1054
|
+
|
|
971
1055
|
DeleteClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
972
1056
|
DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
|
|
973
1057
|
|
|
@@ -1060,6 +1144,13 @@ module Aws::EKS
|
|
|
1060
1144
|
DescribeCapabilityResponse.add_member(:capability, Shapes::ShapeRef.new(shape: Capability, location_name: "capability"))
|
|
1061
1145
|
DescribeCapabilityResponse.struct_class = Types::DescribeCapabilityResponse
|
|
1062
1146
|
|
|
1147
|
+
DescribeCertificateAuthorityRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
1148
|
+
DescribeCertificateAuthorityRequest.add_member(:certificate_authority_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "certificateAuthorityId"))
|
|
1149
|
+
DescribeCertificateAuthorityRequest.struct_class = Types::DescribeCertificateAuthorityRequest
|
|
1150
|
+
|
|
1151
|
+
DescribeCertificateAuthorityResponse.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: CertificateAuthority, location_name: "certificateAuthority"))
|
|
1152
|
+
DescribeCertificateAuthorityResponse.struct_class = Types::DescribeCertificateAuthorityResponse
|
|
1153
|
+
|
|
1063
1154
|
DescribeClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
1064
1155
|
DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
|
|
1065
1156
|
|
|
@@ -1440,6 +1531,15 @@ module Aws::EKS
|
|
|
1440
1531
|
ListCapabilitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
1441
1532
|
ListCapabilitiesResponse.struct_class = Types::ListCapabilitiesResponse
|
|
1442
1533
|
|
|
1534
|
+
ListCertificateAuthoritiesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
|
1535
|
+
ListCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CertificateAuthorityMaxResults, location: "querystring", location_name: "maxResults"))
|
|
1536
|
+
ListCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
|
1537
|
+
ListCertificateAuthoritiesRequest.struct_class = Types::ListCertificateAuthoritiesRequest
|
|
1538
|
+
|
|
1539
|
+
ListCertificateAuthoritiesResponse.add_member(:certificate_authorities, Shapes::ShapeRef.new(shape: CertificateAuthoritySummaryList, location_name: "certificateAuthorities"))
|
|
1540
|
+
ListCertificateAuthoritiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
1541
|
+
ListCertificateAuthoritiesResponse.struct_class = Types::ListCertificateAuthoritiesResponse
|
|
1542
|
+
|
|
1443
1543
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
|
1444
1544
|
ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
|
1445
1545
|
ListClustersRequest.add_member(:include, Shapes::ShapeRef.new(shape: IncludeClustersList, location: "querystring", location_name: "include"))
|
|
@@ -2048,6 +2148,18 @@ module Aws::EKS
|
|
|
2048
2148
|
"uid" => "eks-2017-11-01",
|
|
2049
2149
|
}
|
|
2050
2150
|
|
|
2151
|
+
api.add_operation(:activate_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
|
2152
|
+
o.name = "ActivateCertificateAuthority"
|
|
2153
|
+
o.http_method = "POST"
|
|
2154
|
+
o.http_request_uri = "/clusters/{name}/certificate-authorities/{certificateAuthorityId}/activate"
|
|
2155
|
+
o.input = Shapes::ShapeRef.new(shape: ActivateCertificateAuthorityRequest)
|
|
2156
|
+
o.output = Shapes::ShapeRef.new(shape: ActivateCertificateAuthorityResponse)
|
|
2157
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2158
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
2159
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2160
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2161
|
+
end)
|
|
2162
|
+
|
|
2051
2163
|
api.add_operation(:associate_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
2052
2164
|
o.name = "AssociateAccessPolicy"
|
|
2053
2165
|
o.http_method = "POST"
|
|
@@ -2149,6 +2261,20 @@ module Aws::EKS
|
|
|
2149
2261
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2150
2262
|
end)
|
|
2151
2263
|
|
|
2264
|
+
api.add_operation(:create_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
|
2265
|
+
o.name = "CreateCertificateAuthority"
|
|
2266
|
+
o.http_method = "POST"
|
|
2267
|
+
o.http_request_uri = "/clusters/{name}/certificate-authorities"
|
|
2268
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityRequest)
|
|
2269
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityResponse)
|
|
2270
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2271
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
|
2272
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
2273
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
2274
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2275
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2276
|
+
end)
|
|
2277
|
+
|
|
2152
2278
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
|
2153
2279
|
o.name = "CreateCluster"
|
|
2154
2280
|
o.http_method = "POST"
|
|
@@ -2257,6 +2383,19 @@ module Aws::EKS
|
|
|
2257
2383
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2258
2384
|
end)
|
|
2259
2385
|
|
|
2386
|
+
api.add_operation(:delete_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
|
2387
|
+
o.name = "DeleteCertificateAuthority"
|
|
2388
|
+
o.http_method = "DELETE"
|
|
2389
|
+
o.http_request_uri = "/clusters/{name}/certificate-authorities/{certificateAuthorityId}"
|
|
2390
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCertificateAuthorityRequest)
|
|
2391
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCertificateAuthorityResponse)
|
|
2392
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2393
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
2394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
2395
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2396
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2397
|
+
end)
|
|
2398
|
+
|
|
2260
2399
|
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
|
2261
2400
|
o.name = "DeleteCluster"
|
|
2262
2401
|
o.http_method = "DELETE"
|
|
@@ -2399,6 +2538,17 @@ module Aws::EKS
|
|
|
2399
2538
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2400
2539
|
end)
|
|
2401
2540
|
|
|
2541
|
+
api.add_operation(:describe_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
|
2542
|
+
o.name = "DescribeCertificateAuthority"
|
|
2543
|
+
o.http_method = "GET"
|
|
2544
|
+
o.http_request_uri = "/clusters/{name}/certificate-authorities/{certificateAuthorityId}"
|
|
2545
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityRequest)
|
|
2546
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityResponse)
|
|
2547
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2548
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2549
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2550
|
+
end)
|
|
2551
|
+
|
|
2402
2552
|
api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
|
|
2403
2553
|
o.name = "DescribeCluster"
|
|
2404
2554
|
o.http_method = "GET"
|
|
@@ -2637,6 +2787,24 @@ module Aws::EKS
|
|
|
2637
2787
|
)
|
|
2638
2788
|
end)
|
|
2639
2789
|
|
|
2790
|
+
api.add_operation(:list_certificate_authorities, Seahorse::Model::Operation.new.tap do |o|
|
|
2791
|
+
o.name = "ListCertificateAuthorities"
|
|
2792
|
+
o.http_method = "GET"
|
|
2793
|
+
o.http_request_uri = "/clusters/{name}/certificate-authorities"
|
|
2794
|
+
o.input = Shapes::ShapeRef.new(shape: ListCertificateAuthoritiesRequest)
|
|
2795
|
+
o.output = Shapes::ShapeRef.new(shape: ListCertificateAuthoritiesResponse)
|
|
2796
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2797
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
2798
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
2799
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2800
|
+
o[:pager] = Aws::Pager.new(
|
|
2801
|
+
limit_key: "max_results",
|
|
2802
|
+
tokens: {
|
|
2803
|
+
"next_token" => "next_token"
|
|
2804
|
+
}
|
|
2805
|
+
)
|
|
2806
|
+
end)
|
|
2807
|
+
|
|
2640
2808
|
api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
|
|
2641
2809
|
o.name = "ListClusters"
|
|
2642
2810
|
o.http_method = "GET"
|