aws-sdk-kafka 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2611d79c0822e778a6ebbb7b515bc2439f9456b2
4
- data.tar.gz: dfa1cbec309080c875470716294ae04a77e17031
3
+ metadata.gz: f75a4181821980d012507bba4a0de1ed0b2868fa
4
+ data.tar.gz: 74f67dcc0dae7ce3a0742805e14b8becdd94ed1b
5
5
  SHA512:
6
- metadata.gz: 991068e9e85d6b0da637ab7fc7b839d0d3285737331d10dff1e9a57fc5d7b40fbccc1c7b0c9e033dfb559fb3ff09e37d9d02f756ab1cd6b8dc8cd20960dec5d5
7
- data.tar.gz: cce536c371278b5b129813a3da58e85f4e86ecc0bbb66710215cf8ba3ca8189efaedd384c3a80f9c53c485411868d399fb9538e7e137e422bda727008fd0b4a6
6
+ metadata.gz: dd691ec31401885967f6c5f4caa4ee685127530eaa656a6e886c2456538d6e376bd0c489295f43d2137b498808781c3869f5eb598d4c1cd2b7cc17b2ace426e1
7
+ data.tar.gz: b135d73576a838dda285bef5c5ad24be2fd3997c0e5cbd1f74ec8e30fca9b52093e96bcc6f681cfc9baaff3a02399194c3598247f1c90f22efab30b1b86de835
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kafka/customizations'
42
42
  # @service
43
43
  module Aws::Kafka
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -799,7 +799,7 @@ module Aws::Kafka
799
799
  params: params,
800
800
  config: config)
801
801
  context[:gem_name] = 'aws-sdk-kafka'
802
- context[:gem_version] = '1.7.0'
802
+ context[:gem_version] = '1.8.0'
803
803
  Seahorse::Client::Request.new(handlers, context)
804
804
  end
805
805
 
@@ -81,6 +81,10 @@ module Aws::Kafka
81
81
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
82
82
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
83
83
 
84
+ BadRequestException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
85
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
86
+ BadRequestException.struct_class = Types::BadRequestException
87
+
84
88
  BrokerNodeGroupInfo.add_member(:broker_az_distribution, Shapes::ShapeRef.new(shape: BrokerAZDistribution, location_name: "brokerAZDistribution"))
85
89
  BrokerNodeGroupInfo.add_member(:client_subnets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "clientSubnets"))
86
90
  BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
@@ -130,6 +134,10 @@ module Aws::Kafka
130
134
  ConfigurationRevision.add_member(:revision, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "revision"))
131
135
  ConfigurationRevision.struct_class = Types::ConfigurationRevision
132
136
 
137
+ ConflictException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
138
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
139
+ ConflictException.struct_class = Types::ConflictException
140
+
133
141
  CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
134
142
  CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
135
143
  CreateClusterRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
@@ -205,12 +213,20 @@ module Aws::Kafka
205
213
  Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
206
214
  Error.struct_class = Types::Error
207
215
 
216
+ ForbiddenException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
217
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
218
+ ForbiddenException.struct_class = Types::ForbiddenException
219
+
208
220
  GetBootstrapBrokersRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
209
221
  GetBootstrapBrokersRequest.struct_class = Types::GetBootstrapBrokersRequest
210
222
 
211
223
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
212
224
  GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
213
225
 
226
+ InternalServerErrorException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
227
+ InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
228
+ InternalServerErrorException.struct_class = Types::InternalServerErrorException
229
+
214
230
  ListClustersRequest.add_member(:cluster_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterNameFilter"))
215
231
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
216
232
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -251,6 +267,14 @@ module Aws::Kafka
251
267
  NodeInfo.add_member(:zookeeper_node_info, Shapes::ShapeRef.new(shape: ZookeeperNodeInfo, location_name: "zookeeperNodeInfo"))
252
268
  NodeInfo.struct_class = Types::NodeInfo
253
269
 
270
+ NotFoundException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
271
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
272
+ NotFoundException.struct_class = Types::NotFoundException
273
+
274
+ ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
275
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
276
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
277
+
254
278
  StorageInfo.add_member(:ebs_storage_info, Shapes::ShapeRef.new(shape: EBSStorageInfo, location_name: "ebsStorageInfo"))
255
279
  StorageInfo.struct_class = Types::StorageInfo
256
280
 
@@ -258,6 +282,14 @@ module Aws::Kafka
258
282
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
259
283
  TagResourceRequest.struct_class = Types::TagResourceRequest
260
284
 
285
+ TooManyRequestsException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
286
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
287
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
288
+
289
+ UnauthorizedException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
290
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
291
+ UnauthorizedException.struct_class = Types::UnauthorizedException
292
+
261
293
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
262
294
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
263
295
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -10,5 +10,173 @@ module Aws::Kafka
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Kafka::Types::BadRequestException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def invalid_parameter
24
+ @data[:invalid_parameter]
25
+ end
26
+
27
+ # @return [String]
28
+ def message
29
+ @message || @data[:message]
30
+ end
31
+
32
+ end
33
+
34
+ class ConflictException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::Kafka::Types::ConflictException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def invalid_parameter
45
+ @data[:invalid_parameter]
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ end
54
+
55
+ class ForbiddenException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::Kafka::Types::ForbiddenException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def invalid_parameter
66
+ @data[:invalid_parameter]
67
+ end
68
+
69
+ # @return [String]
70
+ def message
71
+ @message || @data[:message]
72
+ end
73
+
74
+ end
75
+
76
+ class InternalServerErrorException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::Kafka::Types::InternalServerErrorException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def invalid_parameter
87
+ @data[:invalid_parameter]
88
+ end
89
+
90
+ # @return [String]
91
+ def message
92
+ @message || @data[:message]
93
+ end
94
+
95
+ end
96
+
97
+ class NotFoundException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::Kafka::Types::NotFoundException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+
106
+ # @return [String]
107
+ def invalid_parameter
108
+ @data[:invalid_parameter]
109
+ end
110
+
111
+ # @return [String]
112
+ def message
113
+ @message || @data[:message]
114
+ end
115
+
116
+ end
117
+
118
+ class ServiceUnavailableException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::Kafka::Types::ServiceUnavailableException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def invalid_parameter
129
+ @data[:invalid_parameter]
130
+ end
131
+
132
+ # @return [String]
133
+ def message
134
+ @message || @data[:message]
135
+ end
136
+
137
+ end
138
+
139
+ class TooManyRequestsException < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::Kafka::Types::TooManyRequestsException] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
147
+
148
+ # @return [String]
149
+ def invalid_parameter
150
+ @data[:invalid_parameter]
151
+ end
152
+
153
+ # @return [String]
154
+ def message
155
+ @message || @data[:message]
156
+ end
157
+
158
+ end
159
+
160
+ class UnauthorizedException < ServiceError
161
+
162
+ # @param [Seahorse::Client::RequestContext] context
163
+ # @param [String] message
164
+ # @param [Aws::Kafka::Types::UnauthorizedException] data
165
+ def initialize(context, message, data = Aws::EmptyStructure.new)
166
+ super(context, message, data)
167
+ end
168
+
169
+ # @return [String]
170
+ def invalid_parameter
171
+ @data[:invalid_parameter]
172
+ end
173
+
174
+ # @return [String]
175
+ def message
176
+ @message || @data[:message]
177
+ end
178
+
179
+ end
180
+
13
181
  end
14
182
  end
@@ -8,6 +8,22 @@
8
8
  module Aws::Kafka
9
9
  module Types
10
10
 
11
+ # Returns information about an error.
12
+ #
13
+ # @!attribute [rw] invalid_parameter
14
+ # @return [String]
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BadRequestException AWS API Documentation
20
+ #
21
+ class BadRequestException < Struct.new(
22
+ :invalid_parameter,
23
+ :message)
24
+ include Aws::Structure
25
+ end
26
+
11
27
  # Describes the setup to be used for Kafka broker nodes in the cluster.
12
28
  #
13
29
  # @note When making an API call, you may pass BrokerNodeGroupInfo
@@ -277,6 +293,22 @@ module Aws::Kafka
277
293
  include Aws::Structure
278
294
  end
279
295
 
296
+ # Returns information about an error.
297
+ #
298
+ # @!attribute [rw] invalid_parameter
299
+ # @return [String]
300
+ #
301
+ # @!attribute [rw] message
302
+ # @return [String]
303
+ #
304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConflictException AWS API Documentation
305
+ #
306
+ class ConflictException < Struct.new(
307
+ :invalid_parameter,
308
+ :message)
309
+ include Aws::Structure
310
+ end
311
+
280
312
  # Creates a cluster.
281
313
  #
282
314
  # @note When making an API call, you may pass CreateClusterRequest
@@ -713,6 +745,22 @@ module Aws::Kafka
713
745
  include Aws::Structure
714
746
  end
715
747
 
748
+ # Returns information about an error.
749
+ #
750
+ # @!attribute [rw] invalid_parameter
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] message
754
+ # @return [String]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ForbiddenException AWS API Documentation
757
+ #
758
+ class ForbiddenException < Struct.new(
759
+ :invalid_parameter,
760
+ :message)
761
+ include Aws::Structure
762
+ end
763
+
716
764
  # @note When making an API call, you may pass GetBootstrapBrokersRequest
717
765
  # data as a hash:
718
766
  #
@@ -743,6 +791,22 @@ module Aws::Kafka
743
791
  include Aws::Structure
744
792
  end
745
793
 
794
+ # Returns information about an error.
795
+ #
796
+ # @!attribute [rw] invalid_parameter
797
+ # @return [String]
798
+ #
799
+ # @!attribute [rw] message
800
+ # @return [String]
801
+ #
802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/InternalServerErrorException AWS API Documentation
803
+ #
804
+ class InternalServerErrorException < Struct.new(
805
+ :invalid_parameter,
806
+ :message)
807
+ include Aws::Structure
808
+ end
809
+
746
810
  # @note When making an API call, you may pass ListClustersRequest
747
811
  # data as a hash:
748
812
  #
@@ -951,6 +1015,38 @@ module Aws::Kafka
951
1015
  include Aws::Structure
952
1016
  end
953
1017
 
1018
+ # Returns information about an error.
1019
+ #
1020
+ # @!attribute [rw] invalid_parameter
1021
+ # @return [String]
1022
+ #
1023
+ # @!attribute [rw] message
1024
+ # @return [String]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NotFoundException AWS API Documentation
1027
+ #
1028
+ class NotFoundException < Struct.new(
1029
+ :invalid_parameter,
1030
+ :message)
1031
+ include Aws::Structure
1032
+ end
1033
+
1034
+ # Returns information about an error.
1035
+ #
1036
+ # @!attribute [rw] invalid_parameter
1037
+ # @return [String]
1038
+ #
1039
+ # @!attribute [rw] message
1040
+ # @return [String]
1041
+ #
1042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ServiceUnavailableException AWS API Documentation
1043
+ #
1044
+ class ServiceUnavailableException < Struct.new(
1045
+ :invalid_parameter,
1046
+ :message)
1047
+ include Aws::Structure
1048
+ end
1049
+
954
1050
  # Contains information about storage volumes attached to MSK broker
955
1051
  # nodes.
956
1052
  #
@@ -1001,6 +1097,38 @@ module Aws::Kafka
1001
1097
  include Aws::Structure
1002
1098
  end
1003
1099
 
1100
+ # Returns information about an error.
1101
+ #
1102
+ # @!attribute [rw] invalid_parameter
1103
+ # @return [String]
1104
+ #
1105
+ # @!attribute [rw] message
1106
+ # @return [String]
1107
+ #
1108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TooManyRequestsException AWS API Documentation
1109
+ #
1110
+ class TooManyRequestsException < Struct.new(
1111
+ :invalid_parameter,
1112
+ :message)
1113
+ include Aws::Structure
1114
+ end
1115
+
1116
+ # Returns information about an error.
1117
+ #
1118
+ # @!attribute [rw] invalid_parameter
1119
+ # @return [String]
1120
+ #
1121
+ # @!attribute [rw] message
1122
+ # @return [String]
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UnauthorizedException AWS API Documentation
1125
+ #
1126
+ class UnauthorizedException < Struct.new(
1127
+ :invalid_parameter,
1128
+ :message)
1129
+ include Aws::Structure
1130
+ end
1131
+
1004
1132
  # @note When making an API call, you may pass UntagResourceRequest
1005
1133
  # data as a hash:
1006
1134
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.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-20 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement