aws-sdk-kafkaconnect 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-kafkaconnect/client.rb +1035 -0
- data/lib/aws-sdk-kafkaconnect/client_api.rb +727 -0
- data/lib/aws-sdk-kafkaconnect/customizations.rb +0 -0
- data/lib/aws-sdk-kafkaconnect/errors.rb +166 -0
- data/lib/aws-sdk-kafkaconnect/resource.rb +26 -0
- data/lib/aws-sdk-kafkaconnect/types.rb +2341 -0
- data/lib/aws-sdk-kafkaconnect.rb +53 -0
- metadata +90 -0
File without changes
|
@@ -0,0 +1,166 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::KafkaConnect
|
11
|
+
|
12
|
+
# When KafkaConnect returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::KafkaConnect::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all KafkaConnect errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::KafkaConnect::Errors::ServiceError
|
20
|
+
# # rescues all KafkaConnect API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {BadRequestException}
|
31
|
+
# * {ConflictException}
|
32
|
+
# * {ForbiddenException}
|
33
|
+
# * {InternalServerErrorException}
|
34
|
+
# * {NotFoundException}
|
35
|
+
# * {ServiceUnavailableException}
|
36
|
+
# * {TooManyRequestsException}
|
37
|
+
# * {UnauthorizedException}
|
38
|
+
#
|
39
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
40
|
+
# if they are not defined above.
|
41
|
+
module Errors
|
42
|
+
|
43
|
+
extend Aws::Errors::DynamicErrors
|
44
|
+
|
45
|
+
class BadRequestException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::KafkaConnect::Types::BadRequestException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
class ConflictException < ServiceError
|
61
|
+
|
62
|
+
# @param [Seahorse::Client::RequestContext] context
|
63
|
+
# @param [String] message
|
64
|
+
# @param [Aws::KafkaConnect::Types::ConflictException] data
|
65
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
66
|
+
super(context, message, data)
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
class ForbiddenException < ServiceError
|
76
|
+
|
77
|
+
# @param [Seahorse::Client::RequestContext] context
|
78
|
+
# @param [String] message
|
79
|
+
# @param [Aws::KafkaConnect::Types::ForbiddenException] data
|
80
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
81
|
+
super(context, message, data)
|
82
|
+
end
|
83
|
+
|
84
|
+
# @return [String]
|
85
|
+
def message
|
86
|
+
@message || @data[:message]
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class InternalServerErrorException < ServiceError
|
91
|
+
|
92
|
+
# @param [Seahorse::Client::RequestContext] context
|
93
|
+
# @param [String] message
|
94
|
+
# @param [Aws::KafkaConnect::Types::InternalServerErrorException] data
|
95
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
96
|
+
super(context, message, data)
|
97
|
+
end
|
98
|
+
|
99
|
+
# @return [String]
|
100
|
+
def message
|
101
|
+
@message || @data[:message]
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
class NotFoundException < ServiceError
|
106
|
+
|
107
|
+
# @param [Seahorse::Client::RequestContext] context
|
108
|
+
# @param [String] message
|
109
|
+
# @param [Aws::KafkaConnect::Types::NotFoundException] data
|
110
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
111
|
+
super(context, message, data)
|
112
|
+
end
|
113
|
+
|
114
|
+
# @return [String]
|
115
|
+
def message
|
116
|
+
@message || @data[:message]
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class ServiceUnavailableException < ServiceError
|
121
|
+
|
122
|
+
# @param [Seahorse::Client::RequestContext] context
|
123
|
+
# @param [String] message
|
124
|
+
# @param [Aws::KafkaConnect::Types::ServiceUnavailableException] data
|
125
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
126
|
+
super(context, message, data)
|
127
|
+
end
|
128
|
+
|
129
|
+
# @return [String]
|
130
|
+
def message
|
131
|
+
@message || @data[:message]
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class TooManyRequestsException < ServiceError
|
136
|
+
|
137
|
+
# @param [Seahorse::Client::RequestContext] context
|
138
|
+
# @param [String] message
|
139
|
+
# @param [Aws::KafkaConnect::Types::TooManyRequestsException] data
|
140
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
141
|
+
super(context, message, data)
|
142
|
+
end
|
143
|
+
|
144
|
+
# @return [String]
|
145
|
+
def message
|
146
|
+
@message || @data[:message]
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class UnauthorizedException < ServiceError
|
151
|
+
|
152
|
+
# @param [Seahorse::Client::RequestContext] context
|
153
|
+
# @param [String] message
|
154
|
+
# @param [Aws::KafkaConnect::Types::UnauthorizedException] data
|
155
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
156
|
+
super(context, message, data)
|
157
|
+
end
|
158
|
+
|
159
|
+
# @return [String]
|
160
|
+
def message
|
161
|
+
@message || @data[:message]
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
end
|
166
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::KafkaConnect
|
11
|
+
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
# @param options ({})
|
15
|
+
# @option options [Client] :client
|
16
|
+
def initialize(options = {})
|
17
|
+
@client = options[:client] || Client.new(options)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [Client]
|
21
|
+
def client
|
22
|
+
@client
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,2341 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::KafkaConnect
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# The details of the Apache Kafka cluster to which the connector is
|
14
|
+
# connected.
|
15
|
+
#
|
16
|
+
# @note When making an API call, you may pass ApacheKafkaCluster
|
17
|
+
# data as a hash:
|
18
|
+
#
|
19
|
+
# {
|
20
|
+
# bootstrap_servers: "__string", # required
|
21
|
+
# vpc: { # required
|
22
|
+
# security_groups: ["__string"],
|
23
|
+
# subnets: ["__string"], # required
|
24
|
+
# },
|
25
|
+
# }
|
26
|
+
#
|
27
|
+
# @!attribute [rw] bootstrap_servers
|
28
|
+
# The bootstrap servers of the cluster.
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] vpc
|
32
|
+
# Details of an Amazon VPC which has network connectivity to the
|
33
|
+
# Apache Kafka cluster.
|
34
|
+
# @return [Types::Vpc]
|
35
|
+
#
|
36
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ApacheKafkaCluster AWS API Documentation
|
37
|
+
#
|
38
|
+
class ApacheKafkaCluster < Struct.new(
|
39
|
+
:bootstrap_servers,
|
40
|
+
:vpc)
|
41
|
+
SENSITIVE = []
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
45
|
+
# The description of the Apache Kafka cluster to which the connector is
|
46
|
+
# connected.
|
47
|
+
#
|
48
|
+
# @!attribute [rw] bootstrap_servers
|
49
|
+
# The bootstrap servers of the cluster.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @!attribute [rw] vpc
|
53
|
+
# Details of an Amazon VPC which has network connectivity to the
|
54
|
+
# Apache Kafka cluster.
|
55
|
+
# @return [Types::VpcDescription]
|
56
|
+
#
|
57
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ApacheKafkaClusterDescription AWS API Documentation
|
58
|
+
#
|
59
|
+
class ApacheKafkaClusterDescription < Struct.new(
|
60
|
+
:bootstrap_servers,
|
61
|
+
:vpc)
|
62
|
+
SENSITIVE = []
|
63
|
+
include Aws::Structure
|
64
|
+
end
|
65
|
+
|
66
|
+
# Specifies how the connector scales.
|
67
|
+
#
|
68
|
+
# @note When making an API call, you may pass AutoScaling
|
69
|
+
# data as a hash:
|
70
|
+
#
|
71
|
+
# {
|
72
|
+
# max_worker_count: 1, # required
|
73
|
+
# mcu_count: 1, # required
|
74
|
+
# min_worker_count: 1, # required
|
75
|
+
# scale_in_policy: {
|
76
|
+
# cpu_utilization_percentage: 1, # required
|
77
|
+
# },
|
78
|
+
# scale_out_policy: {
|
79
|
+
# cpu_utilization_percentage: 1, # required
|
80
|
+
# },
|
81
|
+
# }
|
82
|
+
#
|
83
|
+
# @!attribute [rw] max_worker_count
|
84
|
+
# The maximum number of workers allocated to the connector.
|
85
|
+
# @return [Integer]
|
86
|
+
#
|
87
|
+
# @!attribute [rw] mcu_count
|
88
|
+
# The number of microcontroller units (MCUs) allocated to each
|
89
|
+
# connector worker. The valid values are 1,2,4,8.
|
90
|
+
# @return [Integer]
|
91
|
+
#
|
92
|
+
# @!attribute [rw] min_worker_count
|
93
|
+
# The minimum number of workers allocated to the connector.
|
94
|
+
# @return [Integer]
|
95
|
+
#
|
96
|
+
# @!attribute [rw] scale_in_policy
|
97
|
+
# The sacle-in policy for the connector.
|
98
|
+
# @return [Types::ScaleInPolicy]
|
99
|
+
#
|
100
|
+
# @!attribute [rw] scale_out_policy
|
101
|
+
# The sacle-out policy for the connector.
|
102
|
+
# @return [Types::ScaleOutPolicy]
|
103
|
+
#
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/AutoScaling AWS API Documentation
|
105
|
+
#
|
106
|
+
class AutoScaling < Struct.new(
|
107
|
+
:max_worker_count,
|
108
|
+
:mcu_count,
|
109
|
+
:min_worker_count,
|
110
|
+
:scale_in_policy,
|
111
|
+
:scale_out_policy)
|
112
|
+
SENSITIVE = []
|
113
|
+
include Aws::Structure
|
114
|
+
end
|
115
|
+
|
116
|
+
# Information about the auto scaling parameters for the connector.
|
117
|
+
#
|
118
|
+
# @!attribute [rw] max_worker_count
|
119
|
+
# The maximum number of workers allocated to the connector.
|
120
|
+
# @return [Integer]
|
121
|
+
#
|
122
|
+
# @!attribute [rw] mcu_count
|
123
|
+
# The number of microcontroller units (MCUs) allocated to each
|
124
|
+
# connector worker. The valid values are 1,2,4,8.
|
125
|
+
# @return [Integer]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] min_worker_count
|
128
|
+
# The minimum number of workers allocated to the connector.
|
129
|
+
# @return [Integer]
|
130
|
+
#
|
131
|
+
# @!attribute [rw] scale_in_policy
|
132
|
+
# The sacle-in policy for the connector.
|
133
|
+
# @return [Types::ScaleInPolicyDescription]
|
134
|
+
#
|
135
|
+
# @!attribute [rw] scale_out_policy
|
136
|
+
# The sacle-out policy for the connector.>
|
137
|
+
# @return [Types::ScaleOutPolicyDescription]
|
138
|
+
#
|
139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/AutoScalingDescription AWS API Documentation
|
140
|
+
#
|
141
|
+
class AutoScalingDescription < Struct.new(
|
142
|
+
:max_worker_count,
|
143
|
+
:mcu_count,
|
144
|
+
:min_worker_count,
|
145
|
+
:scale_in_policy,
|
146
|
+
:scale_out_policy)
|
147
|
+
SENSITIVE = []
|
148
|
+
include Aws::Structure
|
149
|
+
end
|
150
|
+
|
151
|
+
# The updates to the auto scaling parameters for the connector.
|
152
|
+
#
|
153
|
+
# @note When making an API call, you may pass AutoScalingUpdate
|
154
|
+
# data as a hash:
|
155
|
+
#
|
156
|
+
# {
|
157
|
+
# max_worker_count: 1, # required
|
158
|
+
# mcu_count: 1, # required
|
159
|
+
# min_worker_count: 1, # required
|
160
|
+
# scale_in_policy: { # required
|
161
|
+
# cpu_utilization_percentage: 1, # required
|
162
|
+
# },
|
163
|
+
# scale_out_policy: { # required
|
164
|
+
# cpu_utilization_percentage: 1, # required
|
165
|
+
# },
|
166
|
+
# }
|
167
|
+
#
|
168
|
+
# @!attribute [rw] max_worker_count
|
169
|
+
# The target maximum number of workers allocated to the connector.
|
170
|
+
# @return [Integer]
|
171
|
+
#
|
172
|
+
# @!attribute [rw] mcu_count
|
173
|
+
# The target number of microcontroller units (MCUs) allocated to each
|
174
|
+
# connector worker. The valid values are 1,2,4,8.
|
175
|
+
# @return [Integer]
|
176
|
+
#
|
177
|
+
# @!attribute [rw] min_worker_count
|
178
|
+
# The target minimum number of workers allocated to the connector.
|
179
|
+
# @return [Integer]
|
180
|
+
#
|
181
|
+
# @!attribute [rw] scale_in_policy
|
182
|
+
# The target sacle-in policy for the connector.
|
183
|
+
# @return [Types::ScaleInPolicyUpdate]
|
184
|
+
#
|
185
|
+
# @!attribute [rw] scale_out_policy
|
186
|
+
# The target sacle-out policy for the connector.
|
187
|
+
# @return [Types::ScaleOutPolicyUpdate]
|
188
|
+
#
|
189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/AutoScalingUpdate AWS API Documentation
|
190
|
+
#
|
191
|
+
class AutoScalingUpdate < Struct.new(
|
192
|
+
:max_worker_count,
|
193
|
+
:mcu_count,
|
194
|
+
:min_worker_count,
|
195
|
+
:scale_in_policy,
|
196
|
+
:scale_out_policy)
|
197
|
+
SENSITIVE = []
|
198
|
+
include Aws::Structure
|
199
|
+
end
|
200
|
+
|
201
|
+
# HTTP Status Code 400: Bad request due to incorrect input. Correct your
|
202
|
+
# request and then retry it.
|
203
|
+
#
|
204
|
+
# @!attribute [rw] message
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/BadRequestException AWS API Documentation
|
208
|
+
#
|
209
|
+
class BadRequestException < Struct.new(
|
210
|
+
:message)
|
211
|
+
SENSITIVE = []
|
212
|
+
include Aws::Structure
|
213
|
+
end
|
214
|
+
|
215
|
+
# Information about the capacity of the connector, whether it is auto
|
216
|
+
# scaled or provisioned.
|
217
|
+
#
|
218
|
+
# @note When making an API call, you may pass Capacity
|
219
|
+
# data as a hash:
|
220
|
+
#
|
221
|
+
# {
|
222
|
+
# auto_scaling: {
|
223
|
+
# max_worker_count: 1, # required
|
224
|
+
# mcu_count: 1, # required
|
225
|
+
# min_worker_count: 1, # required
|
226
|
+
# scale_in_policy: {
|
227
|
+
# cpu_utilization_percentage: 1, # required
|
228
|
+
# },
|
229
|
+
# scale_out_policy: {
|
230
|
+
# cpu_utilization_percentage: 1, # required
|
231
|
+
# },
|
232
|
+
# },
|
233
|
+
# provisioned_capacity: {
|
234
|
+
# mcu_count: 1, # required
|
235
|
+
# worker_count: 1, # required
|
236
|
+
# },
|
237
|
+
# }
|
238
|
+
#
|
239
|
+
# @!attribute [rw] auto_scaling
|
240
|
+
# Information about the auto scaling parameters for the connector.
|
241
|
+
# @return [Types::AutoScaling]
|
242
|
+
#
|
243
|
+
# @!attribute [rw] provisioned_capacity
|
244
|
+
# Details about a fixed capacity allocated to a connector.
|
245
|
+
# @return [Types::ProvisionedCapacity]
|
246
|
+
#
|
247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/Capacity AWS API Documentation
|
248
|
+
#
|
249
|
+
class Capacity < Struct.new(
|
250
|
+
:auto_scaling,
|
251
|
+
:provisioned_capacity)
|
252
|
+
SENSITIVE = []
|
253
|
+
include Aws::Structure
|
254
|
+
end
|
255
|
+
|
256
|
+
# A description of the connector's capacity.
|
257
|
+
#
|
258
|
+
# @!attribute [rw] auto_scaling
|
259
|
+
# Describes the connector's auto scaling capacity.
|
260
|
+
# @return [Types::AutoScalingDescription]
|
261
|
+
#
|
262
|
+
# @!attribute [rw] provisioned_capacity
|
263
|
+
# Describes a connector's provisioned capacity.
|
264
|
+
# @return [Types::ProvisionedCapacityDescription]
|
265
|
+
#
|
266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CapacityDescription AWS API Documentation
|
267
|
+
#
|
268
|
+
class CapacityDescription < Struct.new(
|
269
|
+
:auto_scaling,
|
270
|
+
:provisioned_capacity)
|
271
|
+
SENSITIVE = []
|
272
|
+
include Aws::Structure
|
273
|
+
end
|
274
|
+
|
275
|
+
# The target capacity for the connector. The capacity can be auto scaled
|
276
|
+
# or provisioned.
|
277
|
+
#
|
278
|
+
# @note When making an API call, you may pass CapacityUpdate
|
279
|
+
# data as a hash:
|
280
|
+
#
|
281
|
+
# {
|
282
|
+
# auto_scaling: {
|
283
|
+
# max_worker_count: 1, # required
|
284
|
+
# mcu_count: 1, # required
|
285
|
+
# min_worker_count: 1, # required
|
286
|
+
# scale_in_policy: { # required
|
287
|
+
# cpu_utilization_percentage: 1, # required
|
288
|
+
# },
|
289
|
+
# scale_out_policy: { # required
|
290
|
+
# cpu_utilization_percentage: 1, # required
|
291
|
+
# },
|
292
|
+
# },
|
293
|
+
# provisioned_capacity: {
|
294
|
+
# mcu_count: 1, # required
|
295
|
+
# worker_count: 1, # required
|
296
|
+
# },
|
297
|
+
# }
|
298
|
+
#
|
299
|
+
# @!attribute [rw] auto_scaling
|
300
|
+
# The target auto scaling setting.
|
301
|
+
# @return [Types::AutoScalingUpdate]
|
302
|
+
#
|
303
|
+
# @!attribute [rw] provisioned_capacity
|
304
|
+
# The target settings for provisioned capacity.
|
305
|
+
# @return [Types::ProvisionedCapacityUpdate]
|
306
|
+
#
|
307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CapacityUpdate AWS API Documentation
|
308
|
+
#
|
309
|
+
class CapacityUpdate < Struct.new(
|
310
|
+
:auto_scaling,
|
311
|
+
:provisioned_capacity)
|
312
|
+
SENSITIVE = []
|
313
|
+
include Aws::Structure
|
314
|
+
end
|
315
|
+
|
316
|
+
# The settings for delivering connector logs to Amazon CloudWatch Logs.
|
317
|
+
#
|
318
|
+
# @note When making an API call, you may pass CloudWatchLogsLogDelivery
|
319
|
+
# data as a hash:
|
320
|
+
#
|
321
|
+
# {
|
322
|
+
# enabled: false, # required
|
323
|
+
# log_group: "__string",
|
324
|
+
# }
|
325
|
+
#
|
326
|
+
# @!attribute [rw] enabled
|
327
|
+
# Whether log delivery to Amazon CloudWatch Logs is enabled.
|
328
|
+
# @return [Boolean]
|
329
|
+
#
|
330
|
+
# @!attribute [rw] log_group
|
331
|
+
# The name of the CloudWatch log group that is the destination for log
|
332
|
+
# delivery.
|
333
|
+
# @return [String]
|
334
|
+
#
|
335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CloudWatchLogsLogDelivery AWS API Documentation
|
336
|
+
#
|
337
|
+
class CloudWatchLogsLogDelivery < Struct.new(
|
338
|
+
:enabled,
|
339
|
+
:log_group)
|
340
|
+
SENSITIVE = []
|
341
|
+
include Aws::Structure
|
342
|
+
end
|
343
|
+
|
344
|
+
# A description of the log delivery settings.
|
345
|
+
#
|
346
|
+
# @!attribute [rw] enabled
|
347
|
+
# Whether log delivery to Amazon CloudWatch Logs is enabled.
|
348
|
+
# @return [Boolean]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] log_group
|
351
|
+
# The name of the CloudWatch log group that is the destination for log
|
352
|
+
# delivery.
|
353
|
+
# @return [String]
|
354
|
+
#
|
355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CloudWatchLogsLogDeliveryDescription AWS API Documentation
|
356
|
+
#
|
357
|
+
class CloudWatchLogsLogDeliveryDescription < Struct.new(
|
358
|
+
:enabled,
|
359
|
+
:log_group)
|
360
|
+
SENSITIVE = []
|
361
|
+
include Aws::Structure
|
362
|
+
end
|
363
|
+
|
364
|
+
# HTTP Status Code 409: Conflict. A resource with this name already
|
365
|
+
# exists. Retry your request with another name.
|
366
|
+
#
|
367
|
+
# @!attribute [rw] message
|
368
|
+
# @return [String]
|
369
|
+
#
|
370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ConflictException AWS API Documentation
|
371
|
+
#
|
372
|
+
class ConflictException < Struct.new(
|
373
|
+
:message)
|
374
|
+
SENSITIVE = []
|
375
|
+
include Aws::Structure
|
376
|
+
end
|
377
|
+
|
378
|
+
# Summary of a connector.
|
379
|
+
#
|
380
|
+
# @!attribute [rw] capacity
|
381
|
+
# The connector's compute capacity settings.
|
382
|
+
# @return [Types::CapacityDescription]
|
383
|
+
#
|
384
|
+
# @!attribute [rw] connector_arn
|
385
|
+
# The Amazon Resource Name (ARN) of the connector.
|
386
|
+
# @return [String]
|
387
|
+
#
|
388
|
+
# @!attribute [rw] connector_description
|
389
|
+
# The description of the connector.
|
390
|
+
# @return [String]
|
391
|
+
#
|
392
|
+
# @!attribute [rw] connector_name
|
393
|
+
# The name of the connector.
|
394
|
+
# @return [String]
|
395
|
+
#
|
396
|
+
# @!attribute [rw] connector_state
|
397
|
+
# The state of the connector.
|
398
|
+
# @return [String]
|
399
|
+
#
|
400
|
+
# @!attribute [rw] creation_time
|
401
|
+
# The time that the connector was created.
|
402
|
+
# @return [Time]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] current_version
|
405
|
+
# The current version of the connector.
|
406
|
+
# @return [String]
|
407
|
+
#
|
408
|
+
# @!attribute [rw] kafka_cluster
|
409
|
+
# The details of the Apache Kafka cluster to which the connector is
|
410
|
+
# connected.
|
411
|
+
# @return [Types::KafkaClusterDescription]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] kafka_cluster_client_authentication
|
414
|
+
# The type of client authentication used to connect to the Apache
|
415
|
+
# Kafka cluster. The value is NONE when no client authentication is
|
416
|
+
# used.
|
417
|
+
# @return [Types::KafkaClusterClientAuthenticationDescription]
|
418
|
+
#
|
419
|
+
# @!attribute [rw] kafka_cluster_encryption_in_transit
|
420
|
+
# Details of encryption in transit to the Apache Kafka cluster.
|
421
|
+
# @return [Types::KafkaClusterEncryptionInTransitDescription]
|
422
|
+
#
|
423
|
+
# @!attribute [rw] kafka_connect_version
|
424
|
+
# The version of Kafka Connect. It has to be compatible with both the
|
425
|
+
# Apache Kafka cluster's version and the plugins.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] log_delivery
|
429
|
+
# The settings for delivering connector logs to Amazon CloudWatch
|
430
|
+
# Logs.
|
431
|
+
# @return [Types::LogDeliveryDescription]
|
432
|
+
#
|
433
|
+
# @!attribute [rw] plugins
|
434
|
+
# Specifies which plugins were used for this connector.
|
435
|
+
# @return [Array<Types::PluginDescription>]
|
436
|
+
#
|
437
|
+
# @!attribute [rw] service_execution_role_arn
|
438
|
+
# The Amazon Resource Name (ARN) of the IAM role used by the connector
|
439
|
+
# to access Amazon Web Services resources.
|
440
|
+
# @return [String]
|
441
|
+
#
|
442
|
+
# @!attribute [rw] worker_configuration
|
443
|
+
# The worker configurations that are in use with the connector.
|
444
|
+
# @return [Types::WorkerConfigurationDescription]
|
445
|
+
#
|
446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ConnectorSummary AWS API Documentation
|
447
|
+
#
|
448
|
+
class ConnectorSummary < Struct.new(
|
449
|
+
:capacity,
|
450
|
+
:connector_arn,
|
451
|
+
:connector_description,
|
452
|
+
:connector_name,
|
453
|
+
:connector_state,
|
454
|
+
:creation_time,
|
455
|
+
:current_version,
|
456
|
+
:kafka_cluster,
|
457
|
+
:kafka_cluster_client_authentication,
|
458
|
+
:kafka_cluster_encryption_in_transit,
|
459
|
+
:kafka_connect_version,
|
460
|
+
:log_delivery,
|
461
|
+
:plugins,
|
462
|
+
:service_execution_role_arn,
|
463
|
+
:worker_configuration)
|
464
|
+
SENSITIVE = []
|
465
|
+
include Aws::Structure
|
466
|
+
end
|
467
|
+
|
468
|
+
# @note When making an API call, you may pass CreateConnectorRequest
|
469
|
+
# data as a hash:
|
470
|
+
#
|
471
|
+
# {
|
472
|
+
# capacity: { # required
|
473
|
+
# auto_scaling: {
|
474
|
+
# max_worker_count: 1, # required
|
475
|
+
# mcu_count: 1, # required
|
476
|
+
# min_worker_count: 1, # required
|
477
|
+
# scale_in_policy: {
|
478
|
+
# cpu_utilization_percentage: 1, # required
|
479
|
+
# },
|
480
|
+
# scale_out_policy: {
|
481
|
+
# cpu_utilization_percentage: 1, # required
|
482
|
+
# },
|
483
|
+
# },
|
484
|
+
# provisioned_capacity: {
|
485
|
+
# mcu_count: 1, # required
|
486
|
+
# worker_count: 1, # required
|
487
|
+
# },
|
488
|
+
# },
|
489
|
+
# connector_configuration: { # required
|
490
|
+
# "__string" => "__string",
|
491
|
+
# },
|
492
|
+
# connector_description: "__stringMax1024",
|
493
|
+
# connector_name: "__stringMin1Max128", # required
|
494
|
+
# kafka_cluster: { # required
|
495
|
+
# apache_kafka_cluster: { # required
|
496
|
+
# bootstrap_servers: "__string", # required
|
497
|
+
# vpc: { # required
|
498
|
+
# security_groups: ["__string"],
|
499
|
+
# subnets: ["__string"], # required
|
500
|
+
# },
|
501
|
+
# },
|
502
|
+
# },
|
503
|
+
# kafka_cluster_client_authentication: { # required
|
504
|
+
# authentication_type: "NONE", # required, accepts NONE, IAM
|
505
|
+
# },
|
506
|
+
# kafka_cluster_encryption_in_transit: { # required
|
507
|
+
# encryption_type: "PLAINTEXT", # required, accepts PLAINTEXT, TLS
|
508
|
+
# },
|
509
|
+
# kafka_connect_version: "__string", # required
|
510
|
+
# log_delivery: {
|
511
|
+
# worker_log_delivery: { # required
|
512
|
+
# cloud_watch_logs: {
|
513
|
+
# enabled: false, # required
|
514
|
+
# log_group: "__string",
|
515
|
+
# },
|
516
|
+
# firehose: {
|
517
|
+
# delivery_stream: "__string",
|
518
|
+
# enabled: false, # required
|
519
|
+
# },
|
520
|
+
# s3: {
|
521
|
+
# bucket: "__string",
|
522
|
+
# enabled: false, # required
|
523
|
+
# prefix: "__string",
|
524
|
+
# },
|
525
|
+
# },
|
526
|
+
# },
|
527
|
+
# plugins: [ # required
|
528
|
+
# {
|
529
|
+
# custom_plugin: { # required
|
530
|
+
# custom_plugin_arn: "__string", # required
|
531
|
+
# revision: 1, # required
|
532
|
+
# },
|
533
|
+
# },
|
534
|
+
# ],
|
535
|
+
# service_execution_role_arn: "__string", # required
|
536
|
+
# worker_configuration: {
|
537
|
+
# revision: 1, # required
|
538
|
+
# worker_configuration_arn: "__string", # required
|
539
|
+
# },
|
540
|
+
# }
|
541
|
+
#
|
542
|
+
# @!attribute [rw] capacity
|
543
|
+
# Information about the capacity allocated to the connector. Exactly
|
544
|
+
# one of the two properties must be specified.
|
545
|
+
# @return [Types::Capacity]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] connector_configuration
|
548
|
+
# A map of keys to values that represent the configuration for the
|
549
|
+
# connector.
|
550
|
+
# @return [Hash<String,String>]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] connector_description
|
553
|
+
# A summary description of the connector.
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] connector_name
|
557
|
+
# The name of the connector.
|
558
|
+
# @return [String]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] kafka_cluster
|
561
|
+
# Specifies which Apache Kafka cluster to connect to.
|
562
|
+
# @return [Types::KafkaCluster]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] kafka_cluster_client_authentication
|
565
|
+
# Details of the client authentication used by the Apache Kafka
|
566
|
+
# cluster.
|
567
|
+
# @return [Types::KafkaClusterClientAuthentication]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] kafka_cluster_encryption_in_transit
|
570
|
+
# Details of encryption in transit to the Apache Kafka cluster.
|
571
|
+
# @return [Types::KafkaClusterEncryptionInTransit]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] kafka_connect_version
|
574
|
+
# The version of Kafka Connect. It has to be compatible with both the
|
575
|
+
# Apache Kafka cluster's version and the plugins.
|
576
|
+
# @return [String]
|
577
|
+
#
|
578
|
+
# @!attribute [rw] log_delivery
|
579
|
+
# Details about log delivery.
|
580
|
+
# @return [Types::LogDelivery]
|
581
|
+
#
|
582
|
+
# @!attribute [rw] plugins
|
583
|
+
# Specifies which plugins to use for the connector.
|
584
|
+
# @return [Array<Types::Plugin>]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] service_execution_role_arn
|
587
|
+
# The Amazon Resource Name (ARN) of the IAM role used by the connector
|
588
|
+
# to access the Amazon Web Services resources that it needs. The types
|
589
|
+
# of resources depends on the logic of the connector. For example, a
|
590
|
+
# connector that has Amazon S3 as a destination must have permissions
|
591
|
+
# that allow it to write to the S3 destination bucket.
|
592
|
+
# @return [String]
|
593
|
+
#
|
594
|
+
# @!attribute [rw] worker_configuration
|
595
|
+
# Specifies which worker configuration to use with the connector.
|
596
|
+
# @return [Types::WorkerConfiguration]
|
597
|
+
#
|
598
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnectorRequest AWS API Documentation
|
599
|
+
#
|
600
|
+
class CreateConnectorRequest < Struct.new(
|
601
|
+
:capacity,
|
602
|
+
:connector_configuration,
|
603
|
+
:connector_description,
|
604
|
+
:connector_name,
|
605
|
+
:kafka_cluster,
|
606
|
+
:kafka_cluster_client_authentication,
|
607
|
+
:kafka_cluster_encryption_in_transit,
|
608
|
+
:kafka_connect_version,
|
609
|
+
:log_delivery,
|
610
|
+
:plugins,
|
611
|
+
:service_execution_role_arn,
|
612
|
+
:worker_configuration)
|
613
|
+
SENSITIVE = []
|
614
|
+
include Aws::Structure
|
615
|
+
end
|
616
|
+
|
617
|
+
# @!attribute [rw] connector_arn
|
618
|
+
# The Amazon Resource Name (ARN) that Amazon assigned to the
|
619
|
+
# connector.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @!attribute [rw] connector_name
|
623
|
+
# The name of the connector.
|
624
|
+
# @return [String]
|
625
|
+
#
|
626
|
+
# @!attribute [rw] connector_state
|
627
|
+
# The state of the connector.
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnectorResponse AWS API Documentation
|
631
|
+
#
|
632
|
+
class CreateConnectorResponse < Struct.new(
|
633
|
+
:connector_arn,
|
634
|
+
:connector_name,
|
635
|
+
:connector_state)
|
636
|
+
SENSITIVE = []
|
637
|
+
include Aws::Structure
|
638
|
+
end
|
639
|
+
|
640
|
+
# @note When making an API call, you may pass CreateCustomPluginRequest
|
641
|
+
# data as a hash:
|
642
|
+
#
|
643
|
+
# {
|
644
|
+
# content_type: "JAR", # required, accepts JAR, ZIP
|
645
|
+
# description: "__stringMax1024",
|
646
|
+
# location: { # required
|
647
|
+
# s3_location: { # required
|
648
|
+
# bucket_arn: "__string", # required
|
649
|
+
# file_key: "__string", # required
|
650
|
+
# object_version: "__string",
|
651
|
+
# },
|
652
|
+
# },
|
653
|
+
# name: "__stringMin1Max128", # required
|
654
|
+
# }
|
655
|
+
#
|
656
|
+
# @!attribute [rw] content_type
|
657
|
+
# The type of the plugin file.
|
658
|
+
# @return [String]
|
659
|
+
#
|
660
|
+
# @!attribute [rw] description
|
661
|
+
# A summary description of the custom plugin.
|
662
|
+
# @return [String]
|
663
|
+
#
|
664
|
+
# @!attribute [rw] location
|
665
|
+
# Information about the location of a custom plugin.
|
666
|
+
# @return [Types::CustomPluginLocation]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] name
|
669
|
+
# The name of the custom plugin.
|
670
|
+
# @return [String]
|
671
|
+
#
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateCustomPluginRequest AWS API Documentation
|
673
|
+
#
|
674
|
+
class CreateCustomPluginRequest < Struct.new(
|
675
|
+
:content_type,
|
676
|
+
:description,
|
677
|
+
:location,
|
678
|
+
:name)
|
679
|
+
SENSITIVE = []
|
680
|
+
include Aws::Structure
|
681
|
+
end
|
682
|
+
|
683
|
+
# @!attribute [rw] custom_plugin_arn
|
684
|
+
# The Amazon Resource Name (ARN) that Amazon assigned to the custom
|
685
|
+
# plugin.
|
686
|
+
# @return [String]
|
687
|
+
#
|
688
|
+
# @!attribute [rw] custom_plugin_state
|
689
|
+
# The state of the custom plugin.
|
690
|
+
# @return [String]
|
691
|
+
#
|
692
|
+
# @!attribute [rw] name
|
693
|
+
# The name of the custom plugin.
|
694
|
+
# @return [String]
|
695
|
+
#
|
696
|
+
# @!attribute [rw] revision
|
697
|
+
# The revision of the custom plugin.
|
698
|
+
# @return [Integer]
|
699
|
+
#
|
700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateCustomPluginResponse AWS API Documentation
|
701
|
+
#
|
702
|
+
class CreateCustomPluginResponse < Struct.new(
|
703
|
+
:custom_plugin_arn,
|
704
|
+
:custom_plugin_state,
|
705
|
+
:name,
|
706
|
+
:revision)
|
707
|
+
SENSITIVE = []
|
708
|
+
include Aws::Structure
|
709
|
+
end
|
710
|
+
|
711
|
+
# @note When making an API call, you may pass CreateWorkerConfigurationRequest
|
712
|
+
# data as a hash:
|
713
|
+
#
|
714
|
+
# {
|
715
|
+
# description: "__stringMax1024",
|
716
|
+
# name: "__stringMin1Max128", # required
|
717
|
+
# properties_file_content: "__string", # required
|
718
|
+
# }
|
719
|
+
#
|
720
|
+
# @!attribute [rw] description
|
721
|
+
# A summary description of the worker configuration.
|
722
|
+
# @return [String]
|
723
|
+
#
|
724
|
+
# @!attribute [rw] name
|
725
|
+
# The name of the worker configuration.
|
726
|
+
# @return [String]
|
727
|
+
#
|
728
|
+
# @!attribute [rw] properties_file_content
|
729
|
+
# Base64 encoded contents of connect-distributed.properties file.
|
730
|
+
# @return [String]
|
731
|
+
#
|
732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfigurationRequest AWS API Documentation
|
733
|
+
#
|
734
|
+
class CreateWorkerConfigurationRequest < Struct.new(
|
735
|
+
:description,
|
736
|
+
:name,
|
737
|
+
:properties_file_content)
|
738
|
+
SENSITIVE = []
|
739
|
+
include Aws::Structure
|
740
|
+
end
|
741
|
+
|
742
|
+
# @!attribute [rw] creation_time
|
743
|
+
# The time that the worker configuration was created.
|
744
|
+
# @return [Time]
|
745
|
+
#
|
746
|
+
# @!attribute [rw] latest_revision
|
747
|
+
# The latest revision of the worker configuration.
|
748
|
+
# @return [Types::WorkerConfigurationRevisionSummary]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] name
|
751
|
+
# The name of the worker configuration.
|
752
|
+
# @return [String]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] worker_configuration_arn
|
755
|
+
# The Amazon Resource Name (ARN) that Amazon assigned to the worker
|
756
|
+
# configuration.
|
757
|
+
# @return [String]
|
758
|
+
#
|
759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfigurationResponse AWS API Documentation
|
760
|
+
#
|
761
|
+
class CreateWorkerConfigurationResponse < Struct.new(
|
762
|
+
:creation_time,
|
763
|
+
:latest_revision,
|
764
|
+
:name,
|
765
|
+
:worker_configuration_arn)
|
766
|
+
SENSITIVE = []
|
767
|
+
include Aws::Structure
|
768
|
+
end
|
769
|
+
|
770
|
+
# A plugin is an AWS resource that contains the code that defines a
|
771
|
+
# connector's logic.
|
772
|
+
#
|
773
|
+
# @note When making an API call, you may pass CustomPlugin
|
774
|
+
# data as a hash:
|
775
|
+
#
|
776
|
+
# {
|
777
|
+
# custom_plugin_arn: "__string", # required
|
778
|
+
# revision: 1, # required
|
779
|
+
# }
|
780
|
+
#
|
781
|
+
# @!attribute [rw] custom_plugin_arn
|
782
|
+
# The Amazon Resource Name (ARN) of the custom plugin.
|
783
|
+
# @return [String]
|
784
|
+
#
|
785
|
+
# @!attribute [rw] revision
|
786
|
+
# The revision of the custom plugin.
|
787
|
+
# @return [Integer]
|
788
|
+
#
|
789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPlugin AWS API Documentation
|
790
|
+
#
|
791
|
+
class CustomPlugin < Struct.new(
|
792
|
+
:custom_plugin_arn,
|
793
|
+
:revision)
|
794
|
+
SENSITIVE = []
|
795
|
+
include Aws::Structure
|
796
|
+
end
|
797
|
+
|
798
|
+
# Details about a custom plugin.
|
799
|
+
#
|
800
|
+
# @!attribute [rw] custom_plugin_arn
|
801
|
+
# The Amazon Resource Name (ARN) of the custom plugin.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] revision
|
805
|
+
# The revision of the custom plugin.
|
806
|
+
# @return [Integer]
|
807
|
+
#
|
808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginDescription AWS API Documentation
|
809
|
+
#
|
810
|
+
class CustomPluginDescription < Struct.new(
|
811
|
+
:custom_plugin_arn,
|
812
|
+
:revision)
|
813
|
+
SENSITIVE = []
|
814
|
+
include Aws::Structure
|
815
|
+
end
|
816
|
+
|
817
|
+
# Details about a custom plugin file.
|
818
|
+
#
|
819
|
+
# @!attribute [rw] file_md_5
|
820
|
+
# The hex-encoded MD5 checksum of the custom plugin file. You can use
|
821
|
+
# it to validate the file.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @!attribute [rw] file_size
|
825
|
+
# The size in bytes of the custom plugin file. You can use it to
|
826
|
+
# validate the file.
|
827
|
+
# @return [Integer]
|
828
|
+
#
|
829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginFileDescription AWS API Documentation
|
830
|
+
#
|
831
|
+
class CustomPluginFileDescription < Struct.new(
|
832
|
+
:file_md_5,
|
833
|
+
:file_size)
|
834
|
+
SENSITIVE = []
|
835
|
+
include Aws::Structure
|
836
|
+
end
|
837
|
+
|
838
|
+
# Information about the location of a custom plugin.
|
839
|
+
#
|
840
|
+
# @note When making an API call, you may pass CustomPluginLocation
|
841
|
+
# data as a hash:
|
842
|
+
#
|
843
|
+
# {
|
844
|
+
# s3_location: { # required
|
845
|
+
# bucket_arn: "__string", # required
|
846
|
+
# file_key: "__string", # required
|
847
|
+
# object_version: "__string",
|
848
|
+
# },
|
849
|
+
# }
|
850
|
+
#
|
851
|
+
# @!attribute [rw] s3_location
|
852
|
+
# The S3 bucket Amazon Resource Name (ARN), file key, and object
|
853
|
+
# version of the plugin file stored in Amazon S3.
|
854
|
+
# @return [Types::S3Location]
|
855
|
+
#
|
856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginLocation AWS API Documentation
|
857
|
+
#
|
858
|
+
class CustomPluginLocation < Struct.new(
|
859
|
+
:s3_location)
|
860
|
+
SENSITIVE = []
|
861
|
+
include Aws::Structure
|
862
|
+
end
|
863
|
+
|
864
|
+
# Information about the location of a custom plugin.
|
865
|
+
#
|
866
|
+
# @!attribute [rw] s3_location
|
867
|
+
# The S3 bucket Amazon Resource Name (ARN), file key, and object
|
868
|
+
# version of the plugin file stored in Amazon S3.
|
869
|
+
# @return [Types::S3LocationDescription]
|
870
|
+
#
|
871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginLocationDescription AWS API Documentation
|
872
|
+
#
|
873
|
+
class CustomPluginLocationDescription < Struct.new(
|
874
|
+
:s3_location)
|
875
|
+
SENSITIVE = []
|
876
|
+
include Aws::Structure
|
877
|
+
end
|
878
|
+
|
879
|
+
# Details about the revision of a custom plugin.
|
880
|
+
#
|
881
|
+
# @!attribute [rw] content_type
|
882
|
+
# The format of the plugin file.
|
883
|
+
# @return [String]
|
884
|
+
#
|
885
|
+
# @!attribute [rw] creation_time
|
886
|
+
# The time that the custom plugin was created.
|
887
|
+
# @return [Time]
|
888
|
+
#
|
889
|
+
# @!attribute [rw] description
|
890
|
+
# The description of the custom plugin.
|
891
|
+
# @return [String]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] file_description
|
894
|
+
# Details about the custom plugin file.
|
895
|
+
# @return [Types::CustomPluginFileDescription]
|
896
|
+
#
|
897
|
+
# @!attribute [rw] location
|
898
|
+
# Information about the location of the custom plugin.
|
899
|
+
# @return [Types::CustomPluginLocationDescription]
|
900
|
+
#
|
901
|
+
# @!attribute [rw] revision
|
902
|
+
# The revision of the custom plugin.
|
903
|
+
# @return [Integer]
|
904
|
+
#
|
905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginRevisionSummary AWS API Documentation
|
906
|
+
#
|
907
|
+
class CustomPluginRevisionSummary < Struct.new(
|
908
|
+
:content_type,
|
909
|
+
:creation_time,
|
910
|
+
:description,
|
911
|
+
:file_description,
|
912
|
+
:location,
|
913
|
+
:revision)
|
914
|
+
SENSITIVE = []
|
915
|
+
include Aws::Structure
|
916
|
+
end
|
917
|
+
|
918
|
+
# A summary of the custom plugin.
|
919
|
+
#
|
920
|
+
# @!attribute [rw] creation_time
|
921
|
+
# The time that the custom plugin was created.
|
922
|
+
# @return [Time]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] custom_plugin_arn
|
925
|
+
# The Amazon Resource Name (ARN) of the custom plugin.
|
926
|
+
# @return [String]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] custom_plugin_state
|
929
|
+
# The state of the custom plugin.
|
930
|
+
# @return [String]
|
931
|
+
#
|
932
|
+
# @!attribute [rw] description
|
933
|
+
# A description of the custom plugin.
|
934
|
+
# @return [String]
|
935
|
+
#
|
936
|
+
# @!attribute [rw] latest_revision
|
937
|
+
# The latest revision of the custom plugin.
|
938
|
+
# @return [Types::CustomPluginRevisionSummary]
|
939
|
+
#
|
940
|
+
# @!attribute [rw] name
|
941
|
+
# The name of the custom plugin.
|
942
|
+
# @return [String]
|
943
|
+
#
|
944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginSummary AWS API Documentation
|
945
|
+
#
|
946
|
+
class CustomPluginSummary < Struct.new(
|
947
|
+
:creation_time,
|
948
|
+
:custom_plugin_arn,
|
949
|
+
:custom_plugin_state,
|
950
|
+
:description,
|
951
|
+
:latest_revision,
|
952
|
+
:name)
|
953
|
+
SENSITIVE = []
|
954
|
+
include Aws::Structure
|
955
|
+
end
|
956
|
+
|
957
|
+
# @note When making an API call, you may pass DeleteConnectorRequest
|
958
|
+
# data as a hash:
|
959
|
+
#
|
960
|
+
# {
|
961
|
+
# connector_arn: "__string", # required
|
962
|
+
# current_version: "__string",
|
963
|
+
# }
|
964
|
+
#
|
965
|
+
# @!attribute [rw] connector_arn
|
966
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
967
|
+
# delete.
|
968
|
+
# @return [String]
|
969
|
+
#
|
970
|
+
# @!attribute [rw] current_version
|
971
|
+
# The current version of the connector that you want to delete.
|
972
|
+
# @return [String]
|
973
|
+
#
|
974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnectorRequest AWS API Documentation
|
975
|
+
#
|
976
|
+
class DeleteConnectorRequest < Struct.new(
|
977
|
+
:connector_arn,
|
978
|
+
:current_version)
|
979
|
+
SENSITIVE = []
|
980
|
+
include Aws::Structure
|
981
|
+
end
|
982
|
+
|
983
|
+
# @!attribute [rw] connector_arn
|
984
|
+
# The Amazon Resource Name (ARN) of the connector that you requested
|
985
|
+
# to delete.
|
986
|
+
# @return [String]
|
987
|
+
#
|
988
|
+
# @!attribute [rw] connector_state
|
989
|
+
# The state of the connector that you requested to delete.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnectorResponse AWS API Documentation
|
993
|
+
#
|
994
|
+
class DeleteConnectorResponse < Struct.new(
|
995
|
+
:connector_arn,
|
996
|
+
:connector_state)
|
997
|
+
SENSITIVE = []
|
998
|
+
include Aws::Structure
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# @note When making an API call, you may pass DescribeConnectorRequest
|
1002
|
+
# data as a hash:
|
1003
|
+
#
|
1004
|
+
# {
|
1005
|
+
# connector_arn: "__string", # required
|
1006
|
+
# }
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] connector_arn
|
1009
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
1010
|
+
# describe.
|
1011
|
+
# @return [String]
|
1012
|
+
#
|
1013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorRequest AWS API Documentation
|
1014
|
+
#
|
1015
|
+
class DescribeConnectorRequest < Struct.new(
|
1016
|
+
:connector_arn)
|
1017
|
+
SENSITIVE = []
|
1018
|
+
include Aws::Structure
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# @!attribute [rw] capacity
|
1022
|
+
# Information about the capacity of the connector, whether it is auto
|
1023
|
+
# scaled or provisioned.
|
1024
|
+
# @return [Types::CapacityDescription]
|
1025
|
+
#
|
1026
|
+
# @!attribute [rw] connector_arn
|
1027
|
+
# The Amazon Resource Name (ARN) of the connector.
|
1028
|
+
# @return [String]
|
1029
|
+
#
|
1030
|
+
# @!attribute [rw] connector_configuration
|
1031
|
+
# A map of keys to values that represent the configuration for the
|
1032
|
+
# connector.
|
1033
|
+
# @return [Hash<String,String>]
|
1034
|
+
#
|
1035
|
+
# @!attribute [rw] connector_description
|
1036
|
+
# A summary description of the connector.
|
1037
|
+
# @return [String]
|
1038
|
+
#
|
1039
|
+
# @!attribute [rw] connector_name
|
1040
|
+
# The name of the connector.
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] connector_state
|
1044
|
+
# The state of the connector.
|
1045
|
+
# @return [String]
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] creation_time
|
1048
|
+
# The time the connector was created.
|
1049
|
+
# @return [Time]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] current_version
|
1052
|
+
# The current version of the connector.
|
1053
|
+
# @return [String]
|
1054
|
+
#
|
1055
|
+
# @!attribute [rw] kafka_cluster
|
1056
|
+
# The Apache Kafka cluster that the connector is connected to.
|
1057
|
+
# @return [Types::KafkaClusterDescription]
|
1058
|
+
#
|
1059
|
+
# @!attribute [rw] kafka_cluster_client_authentication
|
1060
|
+
# The type of client authentication used to connect to the Apache
|
1061
|
+
# Kafka cluster. The value is NONE when no client authentication is
|
1062
|
+
# used.
|
1063
|
+
# @return [Types::KafkaClusterClientAuthenticationDescription]
|
1064
|
+
#
|
1065
|
+
# @!attribute [rw] kafka_cluster_encryption_in_transit
|
1066
|
+
# Details of encryption in transit to the Apache Kafka cluster.
|
1067
|
+
# @return [Types::KafkaClusterEncryptionInTransitDescription]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] kafka_connect_version
|
1070
|
+
# The version of Kafka Connect. It has to be compatible with both the
|
1071
|
+
# Apache Kafka cluster's version and the plugins.
|
1072
|
+
# @return [String]
|
1073
|
+
#
|
1074
|
+
# @!attribute [rw] log_delivery
|
1075
|
+
# Details about delivering logs to Amazon CloudWatch Logs.
|
1076
|
+
# @return [Types::LogDeliveryDescription]
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] plugins
|
1079
|
+
# Specifies which plugins were used for this connector.
|
1080
|
+
# @return [Array<Types::PluginDescription>]
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] service_execution_role_arn
|
1083
|
+
# The Amazon Resource Name (ARN) of the IAM role used by the connector
|
1084
|
+
# to access Amazon Web Services resources.
|
1085
|
+
# @return [String]
|
1086
|
+
#
|
1087
|
+
# @!attribute [rw] worker_configuration
|
1088
|
+
# Specifies which worker configuration was used for the connector.
|
1089
|
+
# @return [Types::WorkerConfigurationDescription]
|
1090
|
+
#
|
1091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorResponse AWS API Documentation
|
1092
|
+
#
|
1093
|
+
class DescribeConnectorResponse < Struct.new(
|
1094
|
+
:capacity,
|
1095
|
+
:connector_arn,
|
1096
|
+
:connector_configuration,
|
1097
|
+
:connector_description,
|
1098
|
+
:connector_name,
|
1099
|
+
:connector_state,
|
1100
|
+
:creation_time,
|
1101
|
+
:current_version,
|
1102
|
+
:kafka_cluster,
|
1103
|
+
:kafka_cluster_client_authentication,
|
1104
|
+
:kafka_cluster_encryption_in_transit,
|
1105
|
+
:kafka_connect_version,
|
1106
|
+
:log_delivery,
|
1107
|
+
:plugins,
|
1108
|
+
:service_execution_role_arn,
|
1109
|
+
:worker_configuration)
|
1110
|
+
SENSITIVE = []
|
1111
|
+
include Aws::Structure
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# @note When making an API call, you may pass DescribeCustomPluginRequest
|
1115
|
+
# data as a hash:
|
1116
|
+
#
|
1117
|
+
# {
|
1118
|
+
# custom_plugin_arn: "__string", # required
|
1119
|
+
# }
|
1120
|
+
#
|
1121
|
+
# @!attribute [rw] custom_plugin_arn
|
1122
|
+
# Returns information about a custom plugin.
|
1123
|
+
# @return [String]
|
1124
|
+
#
|
1125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPluginRequest AWS API Documentation
|
1126
|
+
#
|
1127
|
+
class DescribeCustomPluginRequest < Struct.new(
|
1128
|
+
:custom_plugin_arn)
|
1129
|
+
SENSITIVE = []
|
1130
|
+
include Aws::Structure
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# @!attribute [rw] creation_time
|
1134
|
+
# The time that the custom plugin was created.
|
1135
|
+
# @return [Time]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] custom_plugin_arn
|
1138
|
+
# The Amazon Resource Name (ARN) of the custom plugin.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] custom_plugin_state
|
1142
|
+
# The state of the custom plugin.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] description
|
1146
|
+
# The description of the custom plugin.
|
1147
|
+
# @return [String]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] latest_revision
|
1150
|
+
# The latest successfully created revision of the custom plugin. If
|
1151
|
+
# there are no successfully created revisions, this field will be
|
1152
|
+
# absent.
|
1153
|
+
# @return [Types::CustomPluginRevisionSummary]
|
1154
|
+
#
|
1155
|
+
# @!attribute [rw] name
|
1156
|
+
# The name of the custom plugin.
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPluginResponse AWS API Documentation
|
1160
|
+
#
|
1161
|
+
class DescribeCustomPluginResponse < Struct.new(
|
1162
|
+
:creation_time,
|
1163
|
+
:custom_plugin_arn,
|
1164
|
+
:custom_plugin_state,
|
1165
|
+
:description,
|
1166
|
+
:latest_revision,
|
1167
|
+
:name)
|
1168
|
+
SENSITIVE = []
|
1169
|
+
include Aws::Structure
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# @note When making an API call, you may pass DescribeWorkerConfigurationRequest
|
1173
|
+
# data as a hash:
|
1174
|
+
#
|
1175
|
+
# {
|
1176
|
+
# worker_configuration_arn: "__string", # required
|
1177
|
+
# }
|
1178
|
+
#
|
1179
|
+
# @!attribute [rw] worker_configuration_arn
|
1180
|
+
# The Amazon Resource Name (ARN) of the worker configuration that you
|
1181
|
+
# want to get information about.
|
1182
|
+
# @return [String]
|
1183
|
+
#
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfigurationRequest AWS API Documentation
|
1185
|
+
#
|
1186
|
+
class DescribeWorkerConfigurationRequest < Struct.new(
|
1187
|
+
:worker_configuration_arn)
|
1188
|
+
SENSITIVE = []
|
1189
|
+
include Aws::Structure
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# @!attribute [rw] creation_time
|
1193
|
+
# The time that the worker configuration was created.
|
1194
|
+
# @return [Time]
|
1195
|
+
#
|
1196
|
+
# @!attribute [rw] description
|
1197
|
+
# The description of the worker configuration.
|
1198
|
+
# @return [String]
|
1199
|
+
#
|
1200
|
+
# @!attribute [rw] latest_revision
|
1201
|
+
# The latest revision of the custom configuration.
|
1202
|
+
# @return [Types::WorkerConfigurationRevisionDescription]
|
1203
|
+
#
|
1204
|
+
# @!attribute [rw] name
|
1205
|
+
# The name of the worker configuration.
|
1206
|
+
# @return [String]
|
1207
|
+
#
|
1208
|
+
# @!attribute [rw] worker_configuration_arn
|
1209
|
+
# The Amazon Resource Name (ARN) of the custom configuration.
|
1210
|
+
# @return [String]
|
1211
|
+
#
|
1212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfigurationResponse AWS API Documentation
|
1213
|
+
#
|
1214
|
+
class DescribeWorkerConfigurationResponse < Struct.new(
|
1215
|
+
:creation_time,
|
1216
|
+
:description,
|
1217
|
+
:latest_revision,
|
1218
|
+
:name,
|
1219
|
+
:worker_configuration_arn)
|
1220
|
+
SENSITIVE = []
|
1221
|
+
include Aws::Structure
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# The settings for delivering logs to Amazon Kinesis Data Firehose.
|
1225
|
+
#
|
1226
|
+
# @note When making an API call, you may pass FirehoseLogDelivery
|
1227
|
+
# data as a hash:
|
1228
|
+
#
|
1229
|
+
# {
|
1230
|
+
# delivery_stream: "__string",
|
1231
|
+
# enabled: false, # required
|
1232
|
+
# }
|
1233
|
+
#
|
1234
|
+
# @!attribute [rw] delivery_stream
|
1235
|
+
# The name of the Kinesis Data Firehose delivery stream that is the
|
1236
|
+
# destination for log delivery.
|
1237
|
+
# @return [String]
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] enabled
|
1240
|
+
# Specifies whether connector logs get delivered to Amazon Kinesis
|
1241
|
+
# Data Firehose.
|
1242
|
+
# @return [Boolean]
|
1243
|
+
#
|
1244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/FirehoseLogDelivery AWS API Documentation
|
1245
|
+
#
|
1246
|
+
class FirehoseLogDelivery < Struct.new(
|
1247
|
+
:delivery_stream,
|
1248
|
+
:enabled)
|
1249
|
+
SENSITIVE = []
|
1250
|
+
include Aws::Structure
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
# A description of the settings for delivering logs to Amazon Kinesis
|
1254
|
+
# Data Firehose.
|
1255
|
+
#
|
1256
|
+
# @!attribute [rw] delivery_stream
|
1257
|
+
# The name of the Kinesis Data Firehose delivery stream that is the
|
1258
|
+
# destination for log delivery.
|
1259
|
+
# @return [String]
|
1260
|
+
#
|
1261
|
+
# @!attribute [rw] enabled
|
1262
|
+
# Specifies whether connector logs get delivered to Amazon Kinesis
|
1263
|
+
# Data Firehose.
|
1264
|
+
# @return [Boolean]
|
1265
|
+
#
|
1266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/FirehoseLogDeliveryDescription AWS API Documentation
|
1267
|
+
#
|
1268
|
+
class FirehoseLogDeliveryDescription < Struct.new(
|
1269
|
+
:delivery_stream,
|
1270
|
+
:enabled)
|
1271
|
+
SENSITIVE = []
|
1272
|
+
include Aws::Structure
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# HTTP Status Code 403: Access forbidden. Correct your credentials and
|
1276
|
+
# then retry your request.
|
1277
|
+
#
|
1278
|
+
# @!attribute [rw] message
|
1279
|
+
# @return [String]
|
1280
|
+
#
|
1281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ForbiddenException AWS API Documentation
|
1282
|
+
#
|
1283
|
+
class ForbiddenException < Struct.new(
|
1284
|
+
:message)
|
1285
|
+
SENSITIVE = []
|
1286
|
+
include Aws::Structure
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# HTTP Status Code 500: Unexpected internal server error. Retrying your
|
1290
|
+
# request might resolve the issue.
|
1291
|
+
#
|
1292
|
+
# @!attribute [rw] message
|
1293
|
+
# @return [String]
|
1294
|
+
#
|
1295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/InternalServerErrorException AWS API Documentation
|
1296
|
+
#
|
1297
|
+
class InternalServerErrorException < Struct.new(
|
1298
|
+
:message)
|
1299
|
+
SENSITIVE = []
|
1300
|
+
include Aws::Structure
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# The details of the Apache Kafka cluster to which the connector is
|
1304
|
+
# connected.
|
1305
|
+
#
|
1306
|
+
# @note When making an API call, you may pass KafkaCluster
|
1307
|
+
# data as a hash:
|
1308
|
+
#
|
1309
|
+
# {
|
1310
|
+
# apache_kafka_cluster: { # required
|
1311
|
+
# bootstrap_servers: "__string", # required
|
1312
|
+
# vpc: { # required
|
1313
|
+
# security_groups: ["__string"],
|
1314
|
+
# subnets: ["__string"], # required
|
1315
|
+
# },
|
1316
|
+
# },
|
1317
|
+
# }
|
1318
|
+
#
|
1319
|
+
# @!attribute [rw] apache_kafka_cluster
|
1320
|
+
# The Apache Kafka cluster to which the connector is connected.
|
1321
|
+
# @return [Types::ApacheKafkaCluster]
|
1322
|
+
#
|
1323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaCluster AWS API Documentation
|
1324
|
+
#
|
1325
|
+
class KafkaCluster < Struct.new(
|
1326
|
+
:apache_kafka_cluster)
|
1327
|
+
SENSITIVE = []
|
1328
|
+
include Aws::Structure
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# The client authentication information used in order to authenticate
|
1332
|
+
# with the Apache Kafka cluster.
|
1333
|
+
#
|
1334
|
+
# @note When making an API call, you may pass KafkaClusterClientAuthentication
|
1335
|
+
# data as a hash:
|
1336
|
+
#
|
1337
|
+
# {
|
1338
|
+
# authentication_type: "NONE", # required, accepts NONE, IAM
|
1339
|
+
# }
|
1340
|
+
#
|
1341
|
+
# @!attribute [rw] authentication_type
|
1342
|
+
# The type of client authentication used to connect to the Apache
|
1343
|
+
# Kafka cluster. Value NONE means that no client authentication is
|
1344
|
+
# used.
|
1345
|
+
# @return [String]
|
1346
|
+
#
|
1347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaClusterClientAuthentication AWS API Documentation
|
1348
|
+
#
|
1349
|
+
class KafkaClusterClientAuthentication < Struct.new(
|
1350
|
+
:authentication_type)
|
1351
|
+
SENSITIVE = []
|
1352
|
+
include Aws::Structure
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# The client authentication information used in order to authenticate
|
1356
|
+
# with the Apache Kafka cluster.
|
1357
|
+
#
|
1358
|
+
# @!attribute [rw] authentication_type
|
1359
|
+
# The type of client authentication used to connect to the Apache
|
1360
|
+
# Kafka cluster. Value NONE means that no client authentication is
|
1361
|
+
# used.
|
1362
|
+
# @return [String]
|
1363
|
+
#
|
1364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaClusterClientAuthenticationDescription AWS API Documentation
|
1365
|
+
#
|
1366
|
+
class KafkaClusterClientAuthenticationDescription < Struct.new(
|
1367
|
+
:authentication_type)
|
1368
|
+
SENSITIVE = []
|
1369
|
+
include Aws::Structure
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# Details of how to connect to the Apache Kafka cluster.
|
1373
|
+
#
|
1374
|
+
# @!attribute [rw] apache_kafka_cluster
|
1375
|
+
# The Apache Kafka cluster to which the connector is connected.
|
1376
|
+
# @return [Types::ApacheKafkaClusterDescription]
|
1377
|
+
#
|
1378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaClusterDescription AWS API Documentation
|
1379
|
+
#
|
1380
|
+
class KafkaClusterDescription < Struct.new(
|
1381
|
+
:apache_kafka_cluster)
|
1382
|
+
SENSITIVE = []
|
1383
|
+
include Aws::Structure
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# Details of encryption in transit to the Apache Kafka cluster.
|
1387
|
+
#
|
1388
|
+
# @note When making an API call, you may pass KafkaClusterEncryptionInTransit
|
1389
|
+
# data as a hash:
|
1390
|
+
#
|
1391
|
+
# {
|
1392
|
+
# encryption_type: "PLAINTEXT", # required, accepts PLAINTEXT, TLS
|
1393
|
+
# }
|
1394
|
+
#
|
1395
|
+
# @!attribute [rw] encryption_type
|
1396
|
+
# The type of encryption in transit to the Apache Kafka cluster.
|
1397
|
+
# @return [String]
|
1398
|
+
#
|
1399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaClusterEncryptionInTransit AWS API Documentation
|
1400
|
+
#
|
1401
|
+
class KafkaClusterEncryptionInTransit < Struct.new(
|
1402
|
+
:encryption_type)
|
1403
|
+
SENSITIVE = []
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# The description of the encryption in transit to the Apache Kafka
|
1408
|
+
# cluster.
|
1409
|
+
#
|
1410
|
+
# @!attribute [rw] encryption_type
|
1411
|
+
# The type of encryption in transit to the Apache Kafka cluster.
|
1412
|
+
# @return [String]
|
1413
|
+
#
|
1414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/KafkaClusterEncryptionInTransitDescription AWS API Documentation
|
1415
|
+
#
|
1416
|
+
class KafkaClusterEncryptionInTransitDescription < Struct.new(
|
1417
|
+
:encryption_type)
|
1418
|
+
SENSITIVE = []
|
1419
|
+
include Aws::Structure
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# @note When making an API call, you may pass ListConnectorsRequest
|
1423
|
+
# data as a hash:
|
1424
|
+
#
|
1425
|
+
# {
|
1426
|
+
# connector_name_prefix: "__string",
|
1427
|
+
# max_results: 1,
|
1428
|
+
# next_token: "__string",
|
1429
|
+
# }
|
1430
|
+
#
|
1431
|
+
# @!attribute [rw] connector_name_prefix
|
1432
|
+
# The name prefix that you want to use to search for and list
|
1433
|
+
# connectors.
|
1434
|
+
# @return [String]
|
1435
|
+
#
|
1436
|
+
# @!attribute [rw] max_results
|
1437
|
+
# The maximum number of connectors to list in one response.
|
1438
|
+
# @return [Integer]
|
1439
|
+
#
|
1440
|
+
# @!attribute [rw] next_token
|
1441
|
+
# If the response of a ListConnectors operation is truncated, it will
|
1442
|
+
# include a NextToken. Send this NextToken in a subsequent request to
|
1443
|
+
# continue listing from where the previous operation left off.
|
1444
|
+
# @return [String]
|
1445
|
+
#
|
1446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorsRequest AWS API Documentation
|
1447
|
+
#
|
1448
|
+
class ListConnectorsRequest < Struct.new(
|
1449
|
+
:connector_name_prefix,
|
1450
|
+
:max_results,
|
1451
|
+
:next_token)
|
1452
|
+
SENSITIVE = []
|
1453
|
+
include Aws::Structure
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
# @!attribute [rw] connectors
|
1457
|
+
# An array of connector descriptions.
|
1458
|
+
# @return [Array<Types::ConnectorSummary>]
|
1459
|
+
#
|
1460
|
+
# @!attribute [rw] next_token
|
1461
|
+
# If the response of a ListConnectors operation is truncated, it will
|
1462
|
+
# include a NextToken. Send this NextToken in a subsequent request to
|
1463
|
+
# continue listing from where it left off.
|
1464
|
+
# @return [String]
|
1465
|
+
#
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorsResponse AWS API Documentation
|
1467
|
+
#
|
1468
|
+
class ListConnectorsResponse < Struct.new(
|
1469
|
+
:connectors,
|
1470
|
+
:next_token)
|
1471
|
+
SENSITIVE = []
|
1472
|
+
include Aws::Structure
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# @note When making an API call, you may pass ListCustomPluginsRequest
|
1476
|
+
# data as a hash:
|
1477
|
+
#
|
1478
|
+
# {
|
1479
|
+
# max_results: 1,
|
1480
|
+
# next_token: "__string",
|
1481
|
+
# }
|
1482
|
+
#
|
1483
|
+
# @!attribute [rw] max_results
|
1484
|
+
# The maximum number of custom plugins to list in one response.
|
1485
|
+
# @return [Integer]
|
1486
|
+
#
|
1487
|
+
# @!attribute [rw] next_token
|
1488
|
+
# If the response of a ListCustomPlugins operation is truncated, it
|
1489
|
+
# will include a NextToken. Send this NextToken in a subsequent
|
1490
|
+
# request to continue listing from where the previous operation left
|
1491
|
+
# off.
|
1492
|
+
# @return [String]
|
1493
|
+
#
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListCustomPluginsRequest AWS API Documentation
|
1495
|
+
#
|
1496
|
+
class ListCustomPluginsRequest < Struct.new(
|
1497
|
+
:max_results,
|
1498
|
+
:next_token)
|
1499
|
+
SENSITIVE = []
|
1500
|
+
include Aws::Structure
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# @!attribute [rw] custom_plugins
|
1504
|
+
# An array of custom plugin descriptions.
|
1505
|
+
# @return [Array<Types::CustomPluginSummary>]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] next_token
|
1508
|
+
# If the response of a ListCustomPlugins operation is truncated, it
|
1509
|
+
# will include a NextToken. Send this NextToken in a subsequent
|
1510
|
+
# request to continue listing from where the previous operation left
|
1511
|
+
# off.
|
1512
|
+
# @return [String]
|
1513
|
+
#
|
1514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListCustomPluginsResponse AWS API Documentation
|
1515
|
+
#
|
1516
|
+
class ListCustomPluginsResponse < Struct.new(
|
1517
|
+
:custom_plugins,
|
1518
|
+
:next_token)
|
1519
|
+
SENSITIVE = []
|
1520
|
+
include Aws::Structure
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# @note When making an API call, you may pass ListWorkerConfigurationsRequest
|
1524
|
+
# data as a hash:
|
1525
|
+
#
|
1526
|
+
# {
|
1527
|
+
# max_results: 1,
|
1528
|
+
# next_token: "__string",
|
1529
|
+
# }
|
1530
|
+
#
|
1531
|
+
# @!attribute [rw] max_results
|
1532
|
+
# The maximum number of worker configurations to list in one response.
|
1533
|
+
# @return [Integer]
|
1534
|
+
#
|
1535
|
+
# @!attribute [rw] next_token
|
1536
|
+
# If the response of a ListWorkerConfigurations operation is
|
1537
|
+
# truncated, it will include a NextToken. Send this NextToken in a
|
1538
|
+
# subsequent request to continue listing from where the previous
|
1539
|
+
# operation left off.
|
1540
|
+
# @return [String]
|
1541
|
+
#
|
1542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurationsRequest AWS API Documentation
|
1543
|
+
#
|
1544
|
+
class ListWorkerConfigurationsRequest < Struct.new(
|
1545
|
+
:max_results,
|
1546
|
+
:next_token)
|
1547
|
+
SENSITIVE = []
|
1548
|
+
include Aws::Structure
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
# @!attribute [rw] next_token
|
1552
|
+
# If the response of a ListWorkerConfigurations operation is
|
1553
|
+
# truncated, it will include a NextToken. Send this NextToken in a
|
1554
|
+
# subsequent request to continue listing from where the previous
|
1555
|
+
# operation left off.
|
1556
|
+
# @return [String]
|
1557
|
+
#
|
1558
|
+
# @!attribute [rw] worker_configurations
|
1559
|
+
# An array of worker configuration descriptions.
|
1560
|
+
# @return [Array<Types::WorkerConfigurationSummary>]
|
1561
|
+
#
|
1562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurationsResponse AWS API Documentation
|
1563
|
+
#
|
1564
|
+
class ListWorkerConfigurationsResponse < Struct.new(
|
1565
|
+
:next_token,
|
1566
|
+
:worker_configurations)
|
1567
|
+
SENSITIVE = []
|
1568
|
+
include Aws::Structure
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# Details about log delivery.
|
1572
|
+
#
|
1573
|
+
# @note When making an API call, you may pass LogDelivery
|
1574
|
+
# data as a hash:
|
1575
|
+
#
|
1576
|
+
# {
|
1577
|
+
# worker_log_delivery: { # required
|
1578
|
+
# cloud_watch_logs: {
|
1579
|
+
# enabled: false, # required
|
1580
|
+
# log_group: "__string",
|
1581
|
+
# },
|
1582
|
+
# firehose: {
|
1583
|
+
# delivery_stream: "__string",
|
1584
|
+
# enabled: false, # required
|
1585
|
+
# },
|
1586
|
+
# s3: {
|
1587
|
+
# bucket: "__string",
|
1588
|
+
# enabled: false, # required
|
1589
|
+
# prefix: "__string",
|
1590
|
+
# },
|
1591
|
+
# },
|
1592
|
+
# }
|
1593
|
+
#
|
1594
|
+
# @!attribute [rw] worker_log_delivery
|
1595
|
+
# The workers can send worker logs to different destination types.
|
1596
|
+
# This configuration specifies the details of these destinations.
|
1597
|
+
# @return [Types::WorkerLogDelivery]
|
1598
|
+
#
|
1599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/LogDelivery AWS API Documentation
|
1600
|
+
#
|
1601
|
+
class LogDelivery < Struct.new(
|
1602
|
+
:worker_log_delivery)
|
1603
|
+
SENSITIVE = []
|
1604
|
+
include Aws::Structure
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# The description of the log delivery settings.
|
1608
|
+
#
|
1609
|
+
# @!attribute [rw] worker_log_delivery
|
1610
|
+
# The workers can send worker logs to different destination types.
|
1611
|
+
# This configuration specifies the details of these destinations.
|
1612
|
+
# @return [Types::WorkerLogDeliveryDescription]
|
1613
|
+
#
|
1614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/LogDeliveryDescription AWS API Documentation
|
1615
|
+
#
|
1616
|
+
class LogDeliveryDescription < Struct.new(
|
1617
|
+
:worker_log_delivery)
|
1618
|
+
SENSITIVE = []
|
1619
|
+
include Aws::Structure
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# HTTP Status Code 404: Resource not found due to incorrect input.
|
1623
|
+
# Correct your request and then retry it.
|
1624
|
+
#
|
1625
|
+
# @!attribute [rw] message
|
1626
|
+
# @return [String]
|
1627
|
+
#
|
1628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/NotFoundException AWS API Documentation
|
1629
|
+
#
|
1630
|
+
class NotFoundException < Struct.new(
|
1631
|
+
:message)
|
1632
|
+
SENSITIVE = []
|
1633
|
+
include Aws::Structure
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
# A plugin is an AWS resource that contains the code that defines your
|
1637
|
+
# connector logic.
|
1638
|
+
#
|
1639
|
+
# @note When making an API call, you may pass Plugin
|
1640
|
+
# data as a hash:
|
1641
|
+
#
|
1642
|
+
# {
|
1643
|
+
# custom_plugin: { # required
|
1644
|
+
# custom_plugin_arn: "__string", # required
|
1645
|
+
# revision: 1, # required
|
1646
|
+
# },
|
1647
|
+
# }
|
1648
|
+
#
|
1649
|
+
# @!attribute [rw] custom_plugin
|
1650
|
+
# Details about a custom plugin.
|
1651
|
+
# @return [Types::CustomPlugin]
|
1652
|
+
#
|
1653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/Plugin AWS API Documentation
|
1654
|
+
#
|
1655
|
+
class Plugin < Struct.new(
|
1656
|
+
:custom_plugin)
|
1657
|
+
SENSITIVE = []
|
1658
|
+
include Aws::Structure
|
1659
|
+
end
|
1660
|
+
|
1661
|
+
# The description of the plugin.
|
1662
|
+
#
|
1663
|
+
# @!attribute [rw] custom_plugin
|
1664
|
+
# Details about a custom plugin.
|
1665
|
+
# @return [Types::CustomPluginDescription]
|
1666
|
+
#
|
1667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PluginDescription AWS API Documentation
|
1668
|
+
#
|
1669
|
+
class PluginDescription < Struct.new(
|
1670
|
+
:custom_plugin)
|
1671
|
+
SENSITIVE = []
|
1672
|
+
include Aws::Structure
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
# Details about a connector's provisioned capacity.
|
1676
|
+
#
|
1677
|
+
# @note When making an API call, you may pass ProvisionedCapacity
|
1678
|
+
# data as a hash:
|
1679
|
+
#
|
1680
|
+
# {
|
1681
|
+
# mcu_count: 1, # required
|
1682
|
+
# worker_count: 1, # required
|
1683
|
+
# }
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] mcu_count
|
1686
|
+
# The number of microcontroller units (MCUs) allocated to each
|
1687
|
+
# connector worker. The valid values are 1,2,4,8.
|
1688
|
+
# @return [Integer]
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] worker_count
|
1691
|
+
# The number of workers that are allocated to the connector.
|
1692
|
+
# @return [Integer]
|
1693
|
+
#
|
1694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ProvisionedCapacity AWS API Documentation
|
1695
|
+
#
|
1696
|
+
class ProvisionedCapacity < Struct.new(
|
1697
|
+
:mcu_count,
|
1698
|
+
:worker_count)
|
1699
|
+
SENSITIVE = []
|
1700
|
+
include Aws::Structure
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
# The description of a connector's provisioned capacity.
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] mcu_count
|
1706
|
+
# The number of microcontroller units (MCUs) allocated to each
|
1707
|
+
# connector worker. The valid values are 1,2,4,8.
|
1708
|
+
# @return [Integer]
|
1709
|
+
#
|
1710
|
+
# @!attribute [rw] worker_count
|
1711
|
+
# The number of workers that are allocated to the connector.
|
1712
|
+
# @return [Integer]
|
1713
|
+
#
|
1714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ProvisionedCapacityDescription AWS API Documentation
|
1715
|
+
#
|
1716
|
+
class ProvisionedCapacityDescription < Struct.new(
|
1717
|
+
:mcu_count,
|
1718
|
+
:worker_count)
|
1719
|
+
SENSITIVE = []
|
1720
|
+
include Aws::Structure
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# An update to a connector's fixed capacity.
|
1724
|
+
#
|
1725
|
+
# @note When making an API call, you may pass ProvisionedCapacityUpdate
|
1726
|
+
# data as a hash:
|
1727
|
+
#
|
1728
|
+
# {
|
1729
|
+
# mcu_count: 1, # required
|
1730
|
+
# worker_count: 1, # required
|
1731
|
+
# }
|
1732
|
+
#
|
1733
|
+
# @!attribute [rw] mcu_count
|
1734
|
+
# The number of microcontroller units (MCUs) allocated to each
|
1735
|
+
# connector worker. The valid values are 1,2,4,8.
|
1736
|
+
# @return [Integer]
|
1737
|
+
#
|
1738
|
+
# @!attribute [rw] worker_count
|
1739
|
+
# The number of workers that are allocated to the connector.
|
1740
|
+
# @return [Integer]
|
1741
|
+
#
|
1742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ProvisionedCapacityUpdate AWS API Documentation
|
1743
|
+
#
|
1744
|
+
class ProvisionedCapacityUpdate < Struct.new(
|
1745
|
+
:mcu_count,
|
1746
|
+
:worker_count)
|
1747
|
+
SENSITIVE = []
|
1748
|
+
include Aws::Structure
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# The location of an object in Amazon S3.
|
1752
|
+
#
|
1753
|
+
# @note When making an API call, you may pass S3Location
|
1754
|
+
# data as a hash:
|
1755
|
+
#
|
1756
|
+
# {
|
1757
|
+
# bucket_arn: "__string", # required
|
1758
|
+
# file_key: "__string", # required
|
1759
|
+
# object_version: "__string",
|
1760
|
+
# }
|
1761
|
+
#
|
1762
|
+
# @!attribute [rw] bucket_arn
|
1763
|
+
# The Amazon Resource Name (ARN) of an S3 bucket.
|
1764
|
+
# @return [String]
|
1765
|
+
#
|
1766
|
+
# @!attribute [rw] file_key
|
1767
|
+
# The file key for an object in an S3 bucket.
|
1768
|
+
# @return [String]
|
1769
|
+
#
|
1770
|
+
# @!attribute [rw] object_version
|
1771
|
+
# The version of an object in an S3 bucket.
|
1772
|
+
# @return [String]
|
1773
|
+
#
|
1774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/S3Location AWS API Documentation
|
1775
|
+
#
|
1776
|
+
class S3Location < Struct.new(
|
1777
|
+
:bucket_arn,
|
1778
|
+
:file_key,
|
1779
|
+
:object_version)
|
1780
|
+
SENSITIVE = []
|
1781
|
+
include Aws::Structure
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# The description of the location of an object in Amazon S3.
|
1785
|
+
#
|
1786
|
+
# @!attribute [rw] bucket_arn
|
1787
|
+
# The Amazon Resource Name (ARN) of an S3 bucket.
|
1788
|
+
# @return [String]
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] file_key
|
1791
|
+
# The file key for an object in an S3 bucket.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] object_version
|
1795
|
+
# The version of an object in an S3 bucket.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/S3LocationDescription AWS API Documentation
|
1799
|
+
#
|
1800
|
+
class S3LocationDescription < Struct.new(
|
1801
|
+
:bucket_arn,
|
1802
|
+
:file_key,
|
1803
|
+
:object_version)
|
1804
|
+
SENSITIVE = []
|
1805
|
+
include Aws::Structure
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# Details about delivering logs to Amazon S3.
|
1809
|
+
#
|
1810
|
+
# @note When making an API call, you may pass S3LogDelivery
|
1811
|
+
# data as a hash:
|
1812
|
+
#
|
1813
|
+
# {
|
1814
|
+
# bucket: "__string",
|
1815
|
+
# enabled: false, # required
|
1816
|
+
# prefix: "__string",
|
1817
|
+
# }
|
1818
|
+
#
|
1819
|
+
# @!attribute [rw] bucket
|
1820
|
+
# The name of the S3 bucket that is the destination for log delivery.
|
1821
|
+
# @return [String]
|
1822
|
+
#
|
1823
|
+
# @!attribute [rw] enabled
|
1824
|
+
# Specifies whether connector logs get sent to the specified Amazon S3
|
1825
|
+
# destination.
|
1826
|
+
# @return [Boolean]
|
1827
|
+
#
|
1828
|
+
# @!attribute [rw] prefix
|
1829
|
+
# The S3 prefix that is the destination for log delivery.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/S3LogDelivery AWS API Documentation
|
1833
|
+
#
|
1834
|
+
class S3LogDelivery < Struct.new(
|
1835
|
+
:bucket,
|
1836
|
+
:enabled,
|
1837
|
+
:prefix)
|
1838
|
+
SENSITIVE = []
|
1839
|
+
include Aws::Structure
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# The description of the details about delivering logs to Amazon S3.
|
1843
|
+
#
|
1844
|
+
# @!attribute [rw] bucket
|
1845
|
+
# The name of the S3 bucket that is the destination for log delivery.
|
1846
|
+
# @return [String]
|
1847
|
+
#
|
1848
|
+
# @!attribute [rw] enabled
|
1849
|
+
# Specifies whether connector logs get sent to the specified Amazon S3
|
1850
|
+
# destination.
|
1851
|
+
# @return [Boolean]
|
1852
|
+
#
|
1853
|
+
# @!attribute [rw] prefix
|
1854
|
+
# The S3 prefix that is the destination for log delivery.
|
1855
|
+
# @return [String]
|
1856
|
+
#
|
1857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/S3LogDeliveryDescription AWS API Documentation
|
1858
|
+
#
|
1859
|
+
class S3LogDeliveryDescription < Struct.new(
|
1860
|
+
:bucket,
|
1861
|
+
:enabled,
|
1862
|
+
:prefix)
|
1863
|
+
SENSITIVE = []
|
1864
|
+
include Aws::Structure
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
# The scale-in policy for the connector.
|
1868
|
+
#
|
1869
|
+
# @note When making an API call, you may pass ScaleInPolicy
|
1870
|
+
# data as a hash:
|
1871
|
+
#
|
1872
|
+
# {
|
1873
|
+
# cpu_utilization_percentage: 1, # required
|
1874
|
+
# }
|
1875
|
+
#
|
1876
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1877
|
+
# Specifies the CPU utilization percentage threshold at which you want
|
1878
|
+
# connector scale in to be triggered.
|
1879
|
+
# @return [Integer]
|
1880
|
+
#
|
1881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleInPolicy AWS API Documentation
|
1882
|
+
#
|
1883
|
+
class ScaleInPolicy < Struct.new(
|
1884
|
+
:cpu_utilization_percentage)
|
1885
|
+
SENSITIVE = []
|
1886
|
+
include Aws::Structure
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
# The description of the scale-in policy for the connector.
|
1890
|
+
#
|
1891
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1892
|
+
# Specifies the CPU utilization percentage threshold at which you want
|
1893
|
+
# connector scale in to be triggered.
|
1894
|
+
# @return [Integer]
|
1895
|
+
#
|
1896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleInPolicyDescription AWS API Documentation
|
1897
|
+
#
|
1898
|
+
class ScaleInPolicyDescription < Struct.new(
|
1899
|
+
:cpu_utilization_percentage)
|
1900
|
+
SENSITIVE = []
|
1901
|
+
include Aws::Structure
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
# An update to the connector's scale-in policy.
|
1905
|
+
#
|
1906
|
+
# @note When making an API call, you may pass ScaleInPolicyUpdate
|
1907
|
+
# data as a hash:
|
1908
|
+
#
|
1909
|
+
# {
|
1910
|
+
# cpu_utilization_percentage: 1, # required
|
1911
|
+
# }
|
1912
|
+
#
|
1913
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1914
|
+
# The target CPU utilization percentage threshold at which you want
|
1915
|
+
# connector scale in to be triggered.
|
1916
|
+
# @return [Integer]
|
1917
|
+
#
|
1918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleInPolicyUpdate AWS API Documentation
|
1919
|
+
#
|
1920
|
+
class ScaleInPolicyUpdate < Struct.new(
|
1921
|
+
:cpu_utilization_percentage)
|
1922
|
+
SENSITIVE = []
|
1923
|
+
include Aws::Structure
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
# The scale-out policy for the connector.
|
1927
|
+
#
|
1928
|
+
# @note When making an API call, you may pass ScaleOutPolicy
|
1929
|
+
# data as a hash:
|
1930
|
+
#
|
1931
|
+
# {
|
1932
|
+
# cpu_utilization_percentage: 1, # required
|
1933
|
+
# }
|
1934
|
+
#
|
1935
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1936
|
+
# The CPU utilization percentage threshold at which you want connector
|
1937
|
+
# scale out to be triggered.
|
1938
|
+
# @return [Integer]
|
1939
|
+
#
|
1940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleOutPolicy AWS API Documentation
|
1941
|
+
#
|
1942
|
+
class ScaleOutPolicy < Struct.new(
|
1943
|
+
:cpu_utilization_percentage)
|
1944
|
+
SENSITIVE = []
|
1945
|
+
include Aws::Structure
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
# The description of the scale-out policy for the connector.
|
1949
|
+
#
|
1950
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1951
|
+
# The CPU utilization percentage threshold at which you want connector
|
1952
|
+
# scale out to be triggered.
|
1953
|
+
# @return [Integer]
|
1954
|
+
#
|
1955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleOutPolicyDescription AWS API Documentation
|
1956
|
+
#
|
1957
|
+
class ScaleOutPolicyDescription < Struct.new(
|
1958
|
+
:cpu_utilization_percentage)
|
1959
|
+
SENSITIVE = []
|
1960
|
+
include Aws::Structure
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
# An update to the connector's scale-out policy.
|
1964
|
+
#
|
1965
|
+
# @note When making an API call, you may pass ScaleOutPolicyUpdate
|
1966
|
+
# data as a hash:
|
1967
|
+
#
|
1968
|
+
# {
|
1969
|
+
# cpu_utilization_percentage: 1, # required
|
1970
|
+
# }
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] cpu_utilization_percentage
|
1973
|
+
# The target CPU utilization percentage threshold at which you want
|
1974
|
+
# connector scale out to be triggered.
|
1975
|
+
# @return [Integer]
|
1976
|
+
#
|
1977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ScaleOutPolicyUpdate AWS API Documentation
|
1978
|
+
#
|
1979
|
+
class ScaleOutPolicyUpdate < Struct.new(
|
1980
|
+
:cpu_utilization_percentage)
|
1981
|
+
SENSITIVE = []
|
1982
|
+
include Aws::Structure
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
# HTTP Status Code 503: Service Unavailable. Retrying your request in
|
1986
|
+
# some time might resolve the issue.
|
1987
|
+
#
|
1988
|
+
# @!attribute [rw] message
|
1989
|
+
# @return [String]
|
1990
|
+
#
|
1991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ServiceUnavailableException AWS API Documentation
|
1992
|
+
#
|
1993
|
+
class ServiceUnavailableException < Struct.new(
|
1994
|
+
:message)
|
1995
|
+
SENSITIVE = []
|
1996
|
+
include Aws::Structure
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
# HTTP Status Code 429: Limit exceeded. Resource limit reached.
|
2000
|
+
#
|
2001
|
+
# @!attribute [rw] message
|
2002
|
+
# @return [String]
|
2003
|
+
#
|
2004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/TooManyRequestsException AWS API Documentation
|
2005
|
+
#
|
2006
|
+
class TooManyRequestsException < Struct.new(
|
2007
|
+
:message)
|
2008
|
+
SENSITIVE = []
|
2009
|
+
include Aws::Structure
|
2010
|
+
end
|
2011
|
+
|
2012
|
+
# HTTP Status Code 401: Unauthorized request. The provided credentials
|
2013
|
+
# couldn't be validated.
|
2014
|
+
#
|
2015
|
+
# @!attribute [rw] message
|
2016
|
+
# @return [String]
|
2017
|
+
#
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UnauthorizedException AWS API Documentation
|
2019
|
+
#
|
2020
|
+
class UnauthorizedException < Struct.new(
|
2021
|
+
:message)
|
2022
|
+
SENSITIVE = []
|
2023
|
+
include Aws::Structure
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
# @note When making an API call, you may pass UpdateConnectorRequest
|
2027
|
+
# data as a hash:
|
2028
|
+
#
|
2029
|
+
# {
|
2030
|
+
# capacity: { # required
|
2031
|
+
# auto_scaling: {
|
2032
|
+
# max_worker_count: 1, # required
|
2033
|
+
# mcu_count: 1, # required
|
2034
|
+
# min_worker_count: 1, # required
|
2035
|
+
# scale_in_policy: { # required
|
2036
|
+
# cpu_utilization_percentage: 1, # required
|
2037
|
+
# },
|
2038
|
+
# scale_out_policy: { # required
|
2039
|
+
# cpu_utilization_percentage: 1, # required
|
2040
|
+
# },
|
2041
|
+
# },
|
2042
|
+
# provisioned_capacity: {
|
2043
|
+
# mcu_count: 1, # required
|
2044
|
+
# worker_count: 1, # required
|
2045
|
+
# },
|
2046
|
+
# },
|
2047
|
+
# connector_arn: "__string", # required
|
2048
|
+
# current_version: "__string", # required
|
2049
|
+
# }
|
2050
|
+
#
|
2051
|
+
# @!attribute [rw] capacity
|
2052
|
+
# The target capacity.
|
2053
|
+
# @return [Types::CapacityUpdate]
|
2054
|
+
#
|
2055
|
+
# @!attribute [rw] connector_arn
|
2056
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
2057
|
+
# update.
|
2058
|
+
# @return [String]
|
2059
|
+
#
|
2060
|
+
# @!attribute [rw] current_version
|
2061
|
+
# The current version of the connector that you want to update.
|
2062
|
+
# @return [String]
|
2063
|
+
#
|
2064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnectorRequest AWS API Documentation
|
2065
|
+
#
|
2066
|
+
class UpdateConnectorRequest < Struct.new(
|
2067
|
+
:capacity,
|
2068
|
+
:connector_arn,
|
2069
|
+
:current_version)
|
2070
|
+
SENSITIVE = []
|
2071
|
+
include Aws::Structure
|
2072
|
+
end
|
2073
|
+
|
2074
|
+
# @!attribute [rw] connector_arn
|
2075
|
+
# The Amazon Resource Name (ARN) of the connector.
|
2076
|
+
# @return [String]
|
2077
|
+
#
|
2078
|
+
# @!attribute [rw] connector_state
|
2079
|
+
# The state of the connector.
|
2080
|
+
# @return [String]
|
2081
|
+
#
|
2082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnectorResponse AWS API Documentation
|
2083
|
+
#
|
2084
|
+
class UpdateConnectorResponse < Struct.new(
|
2085
|
+
:connector_arn,
|
2086
|
+
:connector_state)
|
2087
|
+
SENSITIVE = []
|
2088
|
+
include Aws::Structure
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Information about the VPC in which the connector resides.
|
2092
|
+
#
|
2093
|
+
# @note When making an API call, you may pass Vpc
|
2094
|
+
# data as a hash:
|
2095
|
+
#
|
2096
|
+
# {
|
2097
|
+
# security_groups: ["__string"],
|
2098
|
+
# subnets: ["__string"], # required
|
2099
|
+
# }
|
2100
|
+
#
|
2101
|
+
# @!attribute [rw] security_groups
|
2102
|
+
# The security groups for the connector.
|
2103
|
+
# @return [Array<String>]
|
2104
|
+
#
|
2105
|
+
# @!attribute [rw] subnets
|
2106
|
+
# The subnets for the connector.
|
2107
|
+
# @return [Array<String>]
|
2108
|
+
#
|
2109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/Vpc AWS API Documentation
|
2110
|
+
#
|
2111
|
+
class Vpc < Struct.new(
|
2112
|
+
:security_groups,
|
2113
|
+
:subnets)
|
2114
|
+
SENSITIVE = []
|
2115
|
+
include Aws::Structure
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
# The description of the VPC in which the connector resides.
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] security_groups
|
2121
|
+
# The security groups for the connector.
|
2122
|
+
# @return [Array<String>]
|
2123
|
+
#
|
2124
|
+
# @!attribute [rw] subnets
|
2125
|
+
# The subnets for the connector.
|
2126
|
+
# @return [Array<String>]
|
2127
|
+
#
|
2128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/VpcDescription AWS API Documentation
|
2129
|
+
#
|
2130
|
+
class VpcDescription < Struct.new(
|
2131
|
+
:security_groups,
|
2132
|
+
:subnets)
|
2133
|
+
SENSITIVE = []
|
2134
|
+
include Aws::Structure
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
# The configuration of the workers, which are the processes that run the
|
2138
|
+
# connector logic.
|
2139
|
+
#
|
2140
|
+
# @note When making an API call, you may pass WorkerConfiguration
|
2141
|
+
# data as a hash:
|
2142
|
+
#
|
2143
|
+
# {
|
2144
|
+
# revision: 1, # required
|
2145
|
+
# worker_configuration_arn: "__string", # required
|
2146
|
+
# }
|
2147
|
+
#
|
2148
|
+
# @!attribute [rw] revision
|
2149
|
+
# The revision of the worker configuration.
|
2150
|
+
# @return [Integer]
|
2151
|
+
#
|
2152
|
+
# @!attribute [rw] worker_configuration_arn
|
2153
|
+
# The Amazon Resource Name (ARN) of the worker configuration.
|
2154
|
+
# @return [String]
|
2155
|
+
#
|
2156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfiguration AWS API Documentation
|
2157
|
+
#
|
2158
|
+
class WorkerConfiguration < Struct.new(
|
2159
|
+
:revision,
|
2160
|
+
:worker_configuration_arn)
|
2161
|
+
SENSITIVE = []
|
2162
|
+
include Aws::Structure
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
# The description of the worker configuration.
|
2166
|
+
#
|
2167
|
+
# @!attribute [rw] revision
|
2168
|
+
# The revision of the worker configuration.
|
2169
|
+
# @return [Integer]
|
2170
|
+
#
|
2171
|
+
# @!attribute [rw] worker_configuration_arn
|
2172
|
+
# The Amazon Resource Name (ARN) of the worker configuration.
|
2173
|
+
# @return [String]
|
2174
|
+
#
|
2175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationDescription AWS API Documentation
|
2176
|
+
#
|
2177
|
+
class WorkerConfigurationDescription < Struct.new(
|
2178
|
+
:revision,
|
2179
|
+
:worker_configuration_arn)
|
2180
|
+
SENSITIVE = []
|
2181
|
+
include Aws::Structure
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
# The description of the worker configuration revision.
|
2185
|
+
#
|
2186
|
+
# @!attribute [rw] creation_time
|
2187
|
+
# The time that the worker configuration was created.
|
2188
|
+
# @return [Time]
|
2189
|
+
#
|
2190
|
+
# @!attribute [rw] description
|
2191
|
+
# The description of the worker configuration revision.
|
2192
|
+
# @return [String]
|
2193
|
+
#
|
2194
|
+
# @!attribute [rw] properties_file_content
|
2195
|
+
# Base64 encoded contents of the connect-distributed.properties file.
|
2196
|
+
# @return [String]
|
2197
|
+
#
|
2198
|
+
# @!attribute [rw] revision
|
2199
|
+
# The description of a revision of the worker configuration.
|
2200
|
+
# @return [Integer]
|
2201
|
+
#
|
2202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationRevisionDescription AWS API Documentation
|
2203
|
+
#
|
2204
|
+
class WorkerConfigurationRevisionDescription < Struct.new(
|
2205
|
+
:creation_time,
|
2206
|
+
:description,
|
2207
|
+
:properties_file_content,
|
2208
|
+
:revision)
|
2209
|
+
SENSITIVE = []
|
2210
|
+
include Aws::Structure
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
# The summary of a worker configuration revision.
|
2214
|
+
#
|
2215
|
+
# @!attribute [rw] creation_time
|
2216
|
+
# The time that a worker configuration revision was created.
|
2217
|
+
# @return [Time]
|
2218
|
+
#
|
2219
|
+
# @!attribute [rw] description
|
2220
|
+
# The description of a worker configuration revision.
|
2221
|
+
# @return [String]
|
2222
|
+
#
|
2223
|
+
# @!attribute [rw] revision
|
2224
|
+
# The revision of a worker configuration.
|
2225
|
+
# @return [Integer]
|
2226
|
+
#
|
2227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationRevisionSummary AWS API Documentation
|
2228
|
+
#
|
2229
|
+
class WorkerConfigurationRevisionSummary < Struct.new(
|
2230
|
+
:creation_time,
|
2231
|
+
:description,
|
2232
|
+
:revision)
|
2233
|
+
SENSITIVE = []
|
2234
|
+
include Aws::Structure
|
2235
|
+
end
|
2236
|
+
|
2237
|
+
# The summary of a worker configuration.
|
2238
|
+
#
|
2239
|
+
# @!attribute [rw] creation_time
|
2240
|
+
# The time that a worker configuration was created.
|
2241
|
+
# @return [Time]
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] description
|
2244
|
+
# The description of a worker configuration.
|
2245
|
+
# @return [String]
|
2246
|
+
#
|
2247
|
+
# @!attribute [rw] latest_revision
|
2248
|
+
# The latest revision of a worker configuration.
|
2249
|
+
# @return [Types::WorkerConfigurationRevisionSummary]
|
2250
|
+
#
|
2251
|
+
# @!attribute [rw] name
|
2252
|
+
# The name of the worker configuration.
|
2253
|
+
# @return [String]
|
2254
|
+
#
|
2255
|
+
# @!attribute [rw] worker_configuration_arn
|
2256
|
+
# The Amazon Resource Name (ARN) of the worker configuration.
|
2257
|
+
# @return [String]
|
2258
|
+
#
|
2259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationSummary AWS API Documentation
|
2260
|
+
#
|
2261
|
+
class WorkerConfigurationSummary < Struct.new(
|
2262
|
+
:creation_time,
|
2263
|
+
:description,
|
2264
|
+
:latest_revision,
|
2265
|
+
:name,
|
2266
|
+
:worker_configuration_arn)
|
2267
|
+
SENSITIVE = []
|
2268
|
+
include Aws::Structure
|
2269
|
+
end
|
2270
|
+
|
2271
|
+
# Workers can send worker logs to different destination types. This
|
2272
|
+
# configuration specifies the details of these destinations.
|
2273
|
+
#
|
2274
|
+
# @note When making an API call, you may pass WorkerLogDelivery
|
2275
|
+
# data as a hash:
|
2276
|
+
#
|
2277
|
+
# {
|
2278
|
+
# cloud_watch_logs: {
|
2279
|
+
# enabled: false, # required
|
2280
|
+
# log_group: "__string",
|
2281
|
+
# },
|
2282
|
+
# firehose: {
|
2283
|
+
# delivery_stream: "__string",
|
2284
|
+
# enabled: false, # required
|
2285
|
+
# },
|
2286
|
+
# s3: {
|
2287
|
+
# bucket: "__string",
|
2288
|
+
# enabled: false, # required
|
2289
|
+
# prefix: "__string",
|
2290
|
+
# },
|
2291
|
+
# }
|
2292
|
+
#
|
2293
|
+
# @!attribute [rw] cloud_watch_logs
|
2294
|
+
# Details about delivering logs to Amazon CloudWatch Logs.
|
2295
|
+
# @return [Types::CloudWatchLogsLogDelivery]
|
2296
|
+
#
|
2297
|
+
# @!attribute [rw] firehose
|
2298
|
+
# Details about delivering logs to Amazon Kinesis Data Firehose.
|
2299
|
+
# @return [Types::FirehoseLogDelivery]
|
2300
|
+
#
|
2301
|
+
# @!attribute [rw] s3
|
2302
|
+
# Details about delivering logs to Amazon S3.
|
2303
|
+
# @return [Types::S3LogDelivery]
|
2304
|
+
#
|
2305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerLogDelivery AWS API Documentation
|
2306
|
+
#
|
2307
|
+
class WorkerLogDelivery < Struct.new(
|
2308
|
+
:cloud_watch_logs,
|
2309
|
+
:firehose,
|
2310
|
+
:s3)
|
2311
|
+
SENSITIVE = []
|
2312
|
+
include Aws::Structure
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
# Workers can send worker logs to different destination types. This
|
2316
|
+
# configuration specifies the details of these destinations.
|
2317
|
+
#
|
2318
|
+
# @!attribute [rw] cloud_watch_logs
|
2319
|
+
# Details about delivering logs to Amazon CloudWatch Logs.
|
2320
|
+
# @return [Types::CloudWatchLogsLogDeliveryDescription]
|
2321
|
+
#
|
2322
|
+
# @!attribute [rw] firehose
|
2323
|
+
# Details about delivering logs to Amazon Kinesis Data Firehose.
|
2324
|
+
# @return [Types::FirehoseLogDeliveryDescription]
|
2325
|
+
#
|
2326
|
+
# @!attribute [rw] s3
|
2327
|
+
# Details about delivering logs to Amazon S3.
|
2328
|
+
# @return [Types::S3LogDeliveryDescription]
|
2329
|
+
#
|
2330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerLogDeliveryDescription AWS API Documentation
|
2331
|
+
#
|
2332
|
+
class WorkerLogDeliveryDescription < Struct.new(
|
2333
|
+
:cloud_watch_logs,
|
2334
|
+
:firehose,
|
2335
|
+
:s3)
|
2336
|
+
SENSITIVE = []
|
2337
|
+
include Aws::Structure
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
end
|
2341
|
+
end
|