aws-sdk-eks 1.18.0 → 1.19.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/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +1 -1
- data/lib/aws-sdk-eks/client_api.rb +36 -0
- data/lib/aws-sdk-eks/errors.rb +189 -0
- data/lib/aws-sdk-eks/types.rb +163 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8546d9a918b3b2f70a855b3bc874b4c678d4e311
|
4
|
+
data.tar.gz: cab38060519bbbfe9f6572a5084df8cc81a617ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6071e522a75d3f2ae986442ecf1b90ce0a19471b15a890bf48beb8a9f9f3ecea5b0bb10a8ce7e454932c6e5c8e915ba04e7cce5db6b8c61255535d1780c0772
|
7
|
+
data.tar.gz: 21b9840122ec86178d4c65aa755350895f5b47363dc01e416f08740d80ea795468e5ee5cf8b35ceb5a128e0fe3185a06101d400ac0e0a46096bfb6777ae6edcb
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -67,6 +67,10 @@ module Aws::EKS
|
|
67
67
|
Certificate.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
68
68
|
Certificate.struct_class = Types::Certificate
|
69
69
|
|
70
|
+
ClientException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
71
|
+
ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
72
|
+
ClientException.struct_class = Types::ClientException
|
73
|
+
|
70
74
|
Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
71
75
|
Cluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
72
76
|
Cluster.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
@@ -118,6 +122,14 @@ module Aws::EKS
|
|
118
122
|
|
119
123
|
ErrorDetails.member = Shapes::ShapeRef.new(shape: ErrorDetail)
|
120
124
|
|
125
|
+
InvalidParameterException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
126
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
127
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
128
|
+
|
129
|
+
InvalidRequestException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
130
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
131
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
132
|
+
|
121
133
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
122
134
|
ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
123
135
|
ListClustersRequest.struct_class = Types::ListClustersRequest
|
@@ -146,8 +158,32 @@ module Aws::EKS
|
|
146
158
|
Logging.add_member(:cluster_logging, Shapes::ShapeRef.new(shape: LogSetups, location_name: "clusterLogging"))
|
147
159
|
Logging.struct_class = Types::Logging
|
148
160
|
|
161
|
+
ResourceInUseException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
162
|
+
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
163
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
164
|
+
|
165
|
+
ResourceLimitExceededException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
166
|
+
ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
167
|
+
ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
|
168
|
+
|
169
|
+
ResourceNotFoundException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
170
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
171
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
172
|
+
|
173
|
+
ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
174
|
+
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
175
|
+
ServerException.struct_class = Types::ServerException
|
176
|
+
|
177
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
178
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
179
|
+
|
149
180
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
150
181
|
|
182
|
+
UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
183
|
+
UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
184
|
+
UnsupportedAvailabilityZoneException.add_member(:valid_zones, Shapes::ShapeRef.new(shape: StringList, location_name: "validZones"))
|
185
|
+
UnsupportedAvailabilityZoneException.struct_class = Types::UnsupportedAvailabilityZoneException
|
186
|
+
|
151
187
|
Update.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
152
188
|
Update.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "status"))
|
153
189
|
Update.add_member(:type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "type"))
|
data/lib/aws-sdk-eks/errors.rb
CHANGED
@@ -10,5 +10,194 @@ module Aws::EKS
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ClientException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::EKS::Types::ClientException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def cluster_name
|
24
|
+
@data[:cluster_name]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def message
|
29
|
+
@message || @data[:message]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class InvalidParameterException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::EKS::Types::InvalidParameterException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def cluster_name
|
45
|
+
@data[:cluster_name]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def message
|
50
|
+
@message || @data[:message]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
55
|
+
class InvalidRequestException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::EKS::Types::InvalidRequestException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [String]
|
65
|
+
def cluster_name
|
66
|
+
@data[:cluster_name]
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class ResourceInUseException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::EKS::Types::ResourceInUseException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def cluster_name
|
87
|
+
@data[:cluster_name]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def message
|
92
|
+
@message || @data[:message]
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class ResourceLimitExceededException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::EKS::Types::ResourceLimitExceededException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def cluster_name
|
108
|
+
@data[:cluster_name]
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def message
|
113
|
+
@message || @data[:message]
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
class ResourceNotFoundException < ServiceError
|
119
|
+
|
120
|
+
# @param [Seahorse::Client::RequestContext] context
|
121
|
+
# @param [String] message
|
122
|
+
# @param [Aws::EKS::Types::ResourceNotFoundException] data
|
123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
|
+
super(context, message, data)
|
125
|
+
end
|
126
|
+
|
127
|
+
# @return [String]
|
128
|
+
def cluster_name
|
129
|
+
@data[:cluster_name]
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def message
|
134
|
+
@message || @data[:message]
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
139
|
+
class ServerException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::EKS::Types::ServerException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
|
148
|
+
# @return [String]
|
149
|
+
def cluster_name
|
150
|
+
@data[:cluster_name]
|
151
|
+
end
|
152
|
+
|
153
|
+
# @return [String]
|
154
|
+
def message
|
155
|
+
@message || @data[:message]
|
156
|
+
end
|
157
|
+
|
158
|
+
end
|
159
|
+
|
160
|
+
class ServiceUnavailableException < ServiceError
|
161
|
+
|
162
|
+
# @param [Seahorse::Client::RequestContext] context
|
163
|
+
# @param [String] message
|
164
|
+
# @param [Aws::EKS::Types::ServiceUnavailableException] data
|
165
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
166
|
+
super(context, message, data)
|
167
|
+
end
|
168
|
+
|
169
|
+
# @return [String]
|
170
|
+
def message
|
171
|
+
@message || @data[:message]
|
172
|
+
end
|
173
|
+
|
174
|
+
end
|
175
|
+
|
176
|
+
class UnsupportedAvailabilityZoneException < ServiceError
|
177
|
+
|
178
|
+
# @param [Seahorse::Client::RequestContext] context
|
179
|
+
# @param [String] message
|
180
|
+
# @param [Aws::EKS::Types::UnsupportedAvailabilityZoneException] data
|
181
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
182
|
+
super(context, message, data)
|
183
|
+
end
|
184
|
+
|
185
|
+
# @return [String]
|
186
|
+
def message
|
187
|
+
@message || @data[:message]
|
188
|
+
end
|
189
|
+
|
190
|
+
# @return [String]
|
191
|
+
def cluster_name
|
192
|
+
@data[:cluster_name]
|
193
|
+
end
|
194
|
+
|
195
|
+
# @return [String]
|
196
|
+
def valid_zones
|
197
|
+
@data[:valid_zones]
|
198
|
+
end
|
199
|
+
|
200
|
+
end
|
201
|
+
|
13
202
|
end
|
14
203
|
end
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -24,6 +24,26 @@ module Aws::EKS
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
+
# These errors are usually caused by a client action. Actions can
|
28
|
+
# include using an action or resource on behalf of a user that doesn't
|
29
|
+
# have permissions to use the action or resource or specifying an
|
30
|
+
# identifier that is not valid.
|
31
|
+
#
|
32
|
+
# @!attribute [rw] cluster_name
|
33
|
+
# The Amazon EKS cluster associated with the exception.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] message
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ClientException AWS API Documentation
|
40
|
+
#
|
41
|
+
class ClientException < Struct.new(
|
42
|
+
:cluster_name,
|
43
|
+
:message)
|
44
|
+
include Aws::Structure
|
45
|
+
end
|
46
|
+
|
27
47
|
# An object representing an Amazon EKS cluster.
|
28
48
|
#
|
29
49
|
# @!attribute [rw] name
|
@@ -360,6 +380,42 @@ module Aws::EKS
|
|
360
380
|
include Aws::Structure
|
361
381
|
end
|
362
382
|
|
383
|
+
# The specified parameter is invalid. Review the available parameters
|
384
|
+
# for the API request.
|
385
|
+
#
|
386
|
+
# @!attribute [rw] cluster_name
|
387
|
+
# The Amazon EKS cluster associated with the exception.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @!attribute [rw] message
|
391
|
+
# @return [String]
|
392
|
+
#
|
393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InvalidParameterException AWS API Documentation
|
394
|
+
#
|
395
|
+
class InvalidParameterException < Struct.new(
|
396
|
+
:cluster_name,
|
397
|
+
:message)
|
398
|
+
include Aws::Structure
|
399
|
+
end
|
400
|
+
|
401
|
+
# The request is invalid given the state of the cluster. Check the state
|
402
|
+
# of the cluster and the associated operations.
|
403
|
+
#
|
404
|
+
# @!attribute [rw] cluster_name
|
405
|
+
# The Amazon EKS cluster associated with the exception.
|
406
|
+
# @return [String]
|
407
|
+
#
|
408
|
+
# @!attribute [rw] message
|
409
|
+
# @return [String]
|
410
|
+
#
|
411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InvalidRequestException AWS API Documentation
|
412
|
+
#
|
413
|
+
class InvalidRequestException < Struct.new(
|
414
|
+
:cluster_name,
|
415
|
+
:message)
|
416
|
+
include Aws::Structure
|
417
|
+
end
|
418
|
+
|
363
419
|
# @note When making an API call, you may pass ListClustersRequest
|
364
420
|
# data as a hash:
|
365
421
|
#
|
@@ -535,6 +591,113 @@ module Aws::EKS
|
|
535
591
|
include Aws::Structure
|
536
592
|
end
|
537
593
|
|
594
|
+
# The specified resource is in use.
|
595
|
+
#
|
596
|
+
# @!attribute [rw] cluster_name
|
597
|
+
# The Amazon EKS cluster associated with the exception.
|
598
|
+
# @return [String]
|
599
|
+
#
|
600
|
+
# @!attribute [rw] message
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ResourceInUseException AWS API Documentation
|
604
|
+
#
|
605
|
+
class ResourceInUseException < Struct.new(
|
606
|
+
:cluster_name,
|
607
|
+
:message)
|
608
|
+
include Aws::Structure
|
609
|
+
end
|
610
|
+
|
611
|
+
# You have encountered a service limit on the specified resource.
|
612
|
+
#
|
613
|
+
# @!attribute [rw] cluster_name
|
614
|
+
# The Amazon EKS cluster associated with the exception.
|
615
|
+
# @return [String]
|
616
|
+
#
|
617
|
+
# @!attribute [rw] message
|
618
|
+
# @return [String]
|
619
|
+
#
|
620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ResourceLimitExceededException AWS API Documentation
|
621
|
+
#
|
622
|
+
class ResourceLimitExceededException < Struct.new(
|
623
|
+
:cluster_name,
|
624
|
+
:message)
|
625
|
+
include Aws::Structure
|
626
|
+
end
|
627
|
+
|
628
|
+
# The specified resource could not be found. You can view your available
|
629
|
+
# clusters with ListClusters. Amazon EKS clusters are Region-specific.
|
630
|
+
#
|
631
|
+
# @!attribute [rw] cluster_name
|
632
|
+
# The Amazon EKS cluster associated with the exception.
|
633
|
+
# @return [String]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] message
|
636
|
+
# @return [String]
|
637
|
+
#
|
638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ResourceNotFoundException AWS API Documentation
|
639
|
+
#
|
640
|
+
class ResourceNotFoundException < Struct.new(
|
641
|
+
:cluster_name,
|
642
|
+
:message)
|
643
|
+
include Aws::Structure
|
644
|
+
end
|
645
|
+
|
646
|
+
# These errors are usually caused by a server-side issue.
|
647
|
+
#
|
648
|
+
# @!attribute [rw] cluster_name
|
649
|
+
# The Amazon EKS cluster associated with the exception.
|
650
|
+
# @return [String]
|
651
|
+
#
|
652
|
+
# @!attribute [rw] message
|
653
|
+
# @return [String]
|
654
|
+
#
|
655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ServerException AWS API Documentation
|
656
|
+
#
|
657
|
+
class ServerException < Struct.new(
|
658
|
+
:cluster_name,
|
659
|
+
:message)
|
660
|
+
include Aws::Structure
|
661
|
+
end
|
662
|
+
|
663
|
+
# The service is unavailable. Back off and retry the operation.
|
664
|
+
#
|
665
|
+
# @!attribute [rw] message
|
666
|
+
# @return [String]
|
667
|
+
#
|
668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ServiceUnavailableException AWS API Documentation
|
669
|
+
#
|
670
|
+
class ServiceUnavailableException < Struct.new(
|
671
|
+
:message)
|
672
|
+
include Aws::Structure
|
673
|
+
end
|
674
|
+
|
675
|
+
# At least one of your specified cluster subnets is in an Availability
|
676
|
+
# Zone that does not support Amazon EKS. The exception output specifies
|
677
|
+
# the supported Availability Zones for your account, from which you can
|
678
|
+
# choose subnets for your cluster.
|
679
|
+
#
|
680
|
+
# @!attribute [rw] message
|
681
|
+
# @return [String]
|
682
|
+
#
|
683
|
+
# @!attribute [rw] cluster_name
|
684
|
+
# The Amazon EKS cluster associated with the exception.
|
685
|
+
# @return [String]
|
686
|
+
#
|
687
|
+
# @!attribute [rw] valid_zones
|
688
|
+
# The supported Availability Zones for your account. Choose subnets in
|
689
|
+
# these Availability Zones for your cluster.
|
690
|
+
# @return [Array<String>]
|
691
|
+
#
|
692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UnsupportedAvailabilityZoneException AWS API Documentation
|
693
|
+
#
|
694
|
+
class UnsupportedAvailabilityZoneException < Struct.new(
|
695
|
+
:message,
|
696
|
+
:cluster_name,
|
697
|
+
:valid_zones)
|
698
|
+
include Aws::Structure
|
699
|
+
end
|
700
|
+
|
538
701
|
# An object representing an asynchronous update.
|
539
702
|
#
|
540
703
|
# @!attribute [rw] id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|