aws-sdk-kafka 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- data/lib/aws-sdk-kafka/client.rb +35 -2
- data/lib/aws-sdk-kafka/client_api.rb +25 -0
- data/lib/aws-sdk-kafka/types.rb +45 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5082571863e152958842193bcc477ca8f4011207fd359cae38821d6e7c65d5c7
|
4
|
+
data.tar.gz: fafd786c37b6e1455fcc566a87ce66664ddac5568be5505e4d6a552c6cabc9ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9189b963ee4214029569540d1fbceb0efcd9b126ffcf74ff25330e8a15a2b070169a054c8625efbb50f398868d6a732dea5900d0e59a2e9e35b64032ebd431f9
|
7
|
+
data.tar.gz: b06ec8328bb0b9bd4df813d14b214db8c907fb07a20ab31d4ca5459b3d01976cd5b2a2d74088b3f778295aac62796c5479016d97cdd14d7ff9c2a5efcc52815d
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -450,7 +450,7 @@ module Aws::Kafka
|
|
450
450
|
# The name of the configuration. Configuration names are strings that
|
451
451
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
452
452
|
#
|
453
|
-
# @option params [required, String,
|
453
|
+
# @option params [required, String, StringIO, File] :server_properties
|
454
454
|
#
|
455
455
|
# @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
456
456
|
#
|
@@ -1150,6 +1150,39 @@ module Aws::Kafka
|
|
1150
1150
|
req.send_request(options)
|
1151
1151
|
end
|
1152
1152
|
|
1153
|
+
# Executes a reboot on a broker.
|
1154
|
+
#
|
1155
|
+
# @option params [required, Array<String>] :broker_ids
|
1156
|
+
# The list of broker ids to be rebooted.
|
1157
|
+
#
|
1158
|
+
# @option params [required, String] :cluster_arn
|
1159
|
+
#
|
1160
|
+
# @return [Types::RebootBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1161
|
+
#
|
1162
|
+
# * {Types::RebootBrokerResponse#cluster_arn #cluster_arn} => String
|
1163
|
+
# * {Types::RebootBrokerResponse#cluster_operation_arn #cluster_operation_arn} => String
|
1164
|
+
#
|
1165
|
+
# @example Request syntax with placeholder values
|
1166
|
+
#
|
1167
|
+
# resp = client.reboot_broker({
|
1168
|
+
# broker_ids: ["__string"], # required
|
1169
|
+
# cluster_arn: "__string", # required
|
1170
|
+
# })
|
1171
|
+
#
|
1172
|
+
# @example Response structure
|
1173
|
+
#
|
1174
|
+
# resp.cluster_arn #=> String
|
1175
|
+
# resp.cluster_operation_arn #=> String
|
1176
|
+
#
|
1177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBroker AWS API Documentation
|
1178
|
+
#
|
1179
|
+
# @overload reboot_broker(params = {})
|
1180
|
+
# @param [Hash] params ({})
|
1181
|
+
def reboot_broker(params = {}, options = {})
|
1182
|
+
req = build_request(:reboot_broker, params)
|
1183
|
+
req.send_request(options)
|
1184
|
+
end
|
1185
|
+
|
1153
1186
|
# Adds tags to the specified MSK resource.
|
1154
1187
|
#
|
1155
1188
|
# @option params [required, String] :resource_arn
|
@@ -1465,7 +1498,7 @@ module Aws::Kafka
|
|
1465
1498
|
params: params,
|
1466
1499
|
config: config)
|
1467
1500
|
context[:gem_name] = 'aws-sdk-kafka'
|
1468
|
-
context[:gem_version] = '1.
|
1501
|
+
context[:gem_version] = '1.24.0'
|
1469
1502
|
Seahorse::Client::Request.new(handlers, context)
|
1470
1503
|
end
|
1471
1504
|
|
@@ -91,6 +91,8 @@ module Aws::Kafka
|
|
91
91
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
92
92
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
93
93
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
94
|
+
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
95
|
+
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
94
96
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
95
97
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
96
98
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
@@ -469,6 +471,14 @@ module Aws::Kafka
|
|
469
471
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
470
472
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
471
473
|
|
474
|
+
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
475
|
+
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
476
|
+
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
477
|
+
|
478
|
+
RebootBrokerResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
479
|
+
RebootBrokerResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
480
|
+
RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
|
481
|
+
|
472
482
|
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
473
483
|
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
474
484
|
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
@@ -847,6 +857,21 @@ module Aws::Kafka
|
|
847
857
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
848
858
|
end)
|
849
859
|
|
860
|
+
api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
|
861
|
+
o.name = "RebootBroker"
|
862
|
+
o.http_method = "PUT"
|
863
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/reboot-broker"
|
864
|
+
o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
|
865
|
+
o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
873
|
+
end)
|
874
|
+
|
850
875
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
851
876
|
o.name = "TagResource"
|
852
877
|
o.http_method = "POST"
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -2446,6 +2446,51 @@ module Aws::Kafka
|
|
2446
2446
|
include Aws::Structure
|
2447
2447
|
end
|
2448
2448
|
|
2449
|
+
# Request body for RebootBrokerNode action.
|
2450
|
+
#
|
2451
|
+
# @note When making an API call, you may pass RebootBrokerRequest
|
2452
|
+
# data as a hash:
|
2453
|
+
#
|
2454
|
+
# {
|
2455
|
+
# broker_ids: ["__string"], # required
|
2456
|
+
# cluster_arn: "__string", # required
|
2457
|
+
# }
|
2458
|
+
#
|
2459
|
+
# @!attribute [rw] broker_ids
|
2460
|
+
# The list of broker ids to be rebooted.
|
2461
|
+
# @return [Array<String>]
|
2462
|
+
#
|
2463
|
+
# @!attribute [rw] cluster_arn
|
2464
|
+
# @return [String]
|
2465
|
+
#
|
2466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerRequest AWS API Documentation
|
2467
|
+
#
|
2468
|
+
class RebootBrokerRequest < Struct.new(
|
2469
|
+
:broker_ids,
|
2470
|
+
:cluster_arn)
|
2471
|
+
SENSITIVE = []
|
2472
|
+
include Aws::Structure
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
# Response body for RebootBrokers action.
|
2476
|
+
#
|
2477
|
+
# @!attribute [rw] cluster_arn
|
2478
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2479
|
+
# @return [String]
|
2480
|
+
#
|
2481
|
+
# @!attribute [rw] cluster_operation_arn
|
2482
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2483
|
+
# @return [String]
|
2484
|
+
#
|
2485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerResponse AWS API Documentation
|
2486
|
+
#
|
2487
|
+
class RebootBrokerResponse < Struct.new(
|
2488
|
+
:cluster_arn,
|
2489
|
+
:cluster_operation_arn)
|
2490
|
+
SENSITIVE = []
|
2491
|
+
include Aws::Structure
|
2492
|
+
end
|
2493
|
+
|
2449
2494
|
# The details of the Amazon S3 destination for broker logs.
|
2450
2495
|
#
|
2451
2496
|
# @note When making an API call, you may pass S3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|