aws-sdk-kafka 1.24.0 → 1.26.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 +2 -2
- data/lib/aws-sdk-kafka/client.rb +99 -8
- data/lib/aws-sdk-kafka/client_api.rb +49 -0
- data/lib/aws-sdk-kafka/types.rb +112 -3
- 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: 12ca287eb8f5ee50f8048be8ced27a353f2ba7659133fbdad83b2a1720c294df
|
4
|
+
data.tar.gz: b702de3f699ec4fdfd10f270c8385a4224fd8ec95d48f6280d597ccaf6af3746
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 746b04115a7d618ac9c92157e5d1e917c4d1671da2052726f2b07fdcd339ef74e6866ed017fd0687d96d9128b6f4bf86f4bd98bcf7e24e7c87170097a85ab341
|
7
|
+
data.tar.gz: c9da49ecb05b68176054f21c8a4b8779f2d1ad08f4f1f85e30e9822cf1261e7f5bb13b22a8432f432b8151b0cecc4672180d66f2047b1bff022966489d2427e6
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::Kafka
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Kafka
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -458,6 +473,7 @@ module Aws::Kafka
|
|
458
473
|
# * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
|
459
474
|
# * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
460
475
|
# * {Types::CreateConfigurationResponse#name #name} => String
|
476
|
+
# * {Types::CreateConfigurationResponse#state #state} => String
|
461
477
|
#
|
462
478
|
# @example Request syntax with placeholder values
|
463
479
|
#
|
@@ -476,6 +492,7 @@ module Aws::Kafka
|
|
476
492
|
# resp.latest_revision.description #=> String
|
477
493
|
# resp.latest_revision.revision #=> Integer
|
478
494
|
# resp.name #=> String
|
495
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
479
496
|
#
|
480
497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
|
481
498
|
#
|
@@ -519,6 +536,37 @@ module Aws::Kafka
|
|
519
536
|
req.send_request(options)
|
520
537
|
end
|
521
538
|
|
539
|
+
# Deletes the specified MSK configuration. The configuration must be in
|
540
|
+
# the ACTIVE or DELETE\_FAILED state.
|
541
|
+
#
|
542
|
+
# @option params [required, String] :arn
|
543
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
544
|
+
#
|
545
|
+
# @return [Types::DeleteConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
546
|
+
#
|
547
|
+
# * {Types::DeleteConfigurationResponse#arn #arn} => String
|
548
|
+
# * {Types::DeleteConfigurationResponse#state #state} => String
|
549
|
+
#
|
550
|
+
# @example Request syntax with placeholder values
|
551
|
+
#
|
552
|
+
# resp = client.delete_configuration({
|
553
|
+
# arn: "__string", # required
|
554
|
+
# })
|
555
|
+
#
|
556
|
+
# @example Response structure
|
557
|
+
#
|
558
|
+
# resp.arn #=> String
|
559
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
560
|
+
#
|
561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration AWS API Documentation
|
562
|
+
#
|
563
|
+
# @overload delete_configuration(params = {})
|
564
|
+
# @param [Hash] params ({})
|
565
|
+
def delete_configuration(params = {}, options = {})
|
566
|
+
req = build_request(:delete_configuration, params)
|
567
|
+
req.send_request(options)
|
568
|
+
end
|
569
|
+
|
522
570
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
523
571
|
# (ARN) is specified in the request.
|
524
572
|
#
|
@@ -665,6 +713,7 @@ module Aws::Kafka
|
|
665
713
|
# * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array<String>
|
666
714
|
# * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
667
715
|
# * {Types::DescribeConfigurationResponse#name #name} => String
|
716
|
+
# * {Types::DescribeConfigurationResponse#state #state} => String
|
668
717
|
#
|
669
718
|
# @example Request syntax with placeholder values
|
670
719
|
#
|
@@ -683,6 +732,7 @@ module Aws::Kafka
|
|
683
732
|
# resp.latest_revision.description #=> String
|
684
733
|
# resp.latest_revision.revision #=> Integer
|
685
734
|
# resp.name #=> String
|
735
|
+
# resp.state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
686
736
|
#
|
687
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
|
688
738
|
#
|
@@ -1019,6 +1069,7 @@ module Aws::Kafka
|
|
1019
1069
|
# resp.configurations[0].latest_revision.description #=> String
|
1020
1070
|
# resp.configurations[0].latest_revision.revision #=> Integer
|
1021
1071
|
# resp.configurations[0].name #=> String
|
1072
|
+
# resp.configurations[0].state #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
|
1022
1073
|
# resp.next_token #=> String
|
1023
1074
|
#
|
1024
1075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
|
@@ -1325,6 +1376,46 @@ module Aws::Kafka
|
|
1325
1376
|
req.send_request(options)
|
1326
1377
|
end
|
1327
1378
|
|
1379
|
+
# Updates an existing MSK configuration. The configuration must be in
|
1380
|
+
# the Active state.
|
1381
|
+
#
|
1382
|
+
# @option params [required, String] :arn
|
1383
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
1384
|
+
#
|
1385
|
+
# @option params [String] :description
|
1386
|
+
# The description of the configuration.
|
1387
|
+
#
|
1388
|
+
# @option params [required, String, StringIO, File] :server_properties
|
1389
|
+
#
|
1390
|
+
# @return [Types::UpdateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1391
|
+
#
|
1392
|
+
# * {Types::UpdateConfigurationResponse#arn #arn} => String
|
1393
|
+
# * {Types::UpdateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
1394
|
+
#
|
1395
|
+
# @example Request syntax with placeholder values
|
1396
|
+
#
|
1397
|
+
# resp = client.update_configuration({
|
1398
|
+
# arn: "__string", # required
|
1399
|
+
# description: "__string",
|
1400
|
+
# server_properties: "data", # required
|
1401
|
+
# })
|
1402
|
+
#
|
1403
|
+
# @example Response structure
|
1404
|
+
#
|
1405
|
+
# resp.arn #=> String
|
1406
|
+
# resp.latest_revision.creation_time #=> Time
|
1407
|
+
# resp.latest_revision.description #=> String
|
1408
|
+
# resp.latest_revision.revision #=> Integer
|
1409
|
+
#
|
1410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration AWS API Documentation
|
1411
|
+
#
|
1412
|
+
# @overload update_configuration(params = {})
|
1413
|
+
# @param [Hash] params ({})
|
1414
|
+
def update_configuration(params = {}, options = {})
|
1415
|
+
req = build_request(:update_configuration, params)
|
1416
|
+
req.send_request(options)
|
1417
|
+
end
|
1418
|
+
|
1328
1419
|
# Updates the cluster with the configuration that is specified in the
|
1329
1420
|
# request body.
|
1330
1421
|
#
|
@@ -1498,7 +1589,7 @@ module Aws::Kafka
|
|
1498
1589
|
params: params,
|
1499
1590
|
config: config)
|
1500
1591
|
context[:gem_name] = 'aws-sdk-kafka'
|
1501
|
-
context[:gem_version] = '1.
|
1592
|
+
context[:gem_version] = '1.26.0'
|
1502
1593
|
Seahorse::Client::Request.new(handlers, context)
|
1503
1594
|
end
|
1504
1595
|
|
@@ -32,6 +32,7 @@ module Aws::Kafka
|
|
32
32
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
33
33
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
34
34
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
35
|
+
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
35
36
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
36
37
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
37
38
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
@@ -39,6 +40,8 @@ module Aws::Kafka
|
|
39
40
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
40
41
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
41
42
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
43
|
+
DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
|
44
|
+
DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
|
42
45
|
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
43
46
|
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
44
47
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
@@ -110,6 +113,8 @@ module Aws::Kafka
|
|
110
113
|
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
111
114
|
UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
|
112
115
|
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
116
|
+
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
117
|
+
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
113
118
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
114
119
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
115
120
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
@@ -225,6 +230,7 @@ module Aws::Kafka
|
|
225
230
|
Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
226
231
|
Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
|
227
232
|
Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
233
|
+
Configuration.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
|
228
234
|
Configuration.struct_class = Types::Configuration
|
229
235
|
|
230
236
|
ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
@@ -268,6 +274,7 @@ module Aws::Kafka
|
|
268
274
|
CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
269
275
|
CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
270
276
|
CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
277
|
+
CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
271
278
|
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
272
279
|
|
273
280
|
DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
@@ -278,6 +285,13 @@ module Aws::Kafka
|
|
278
285
|
DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
279
286
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
280
287
|
|
288
|
+
DeleteConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
289
|
+
DeleteConfigurationRequest.struct_class = Types::DeleteConfigurationRequest
|
290
|
+
|
291
|
+
DeleteConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
292
|
+
DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
293
|
+
DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
|
294
|
+
|
281
295
|
DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
|
282
296
|
DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
|
283
297
|
|
@@ -299,6 +313,7 @@ module Aws::Kafka
|
|
299
313
|
DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
300
314
|
DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
301
315
|
DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
316
|
+
DescribeConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
302
317
|
DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
|
303
318
|
|
304
319
|
DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
@@ -551,6 +566,15 @@ module Aws::Kafka
|
|
551
566
|
UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
552
567
|
UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
|
553
568
|
|
569
|
+
UpdateConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
570
|
+
UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
571
|
+
UpdateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
572
|
+
UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
|
573
|
+
|
574
|
+
UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
575
|
+
UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
576
|
+
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
577
|
+
|
554
578
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
555
579
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
556
580
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -653,6 +677,18 @@ module Aws::Kafka
|
|
653
677
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
654
678
|
end)
|
655
679
|
|
680
|
+
api.add_operation(:delete_configuration, Seahorse::Model::Operation.new.tap do |o|
|
681
|
+
o.name = "DeleteConfiguration"
|
682
|
+
o.http_method = "DELETE"
|
683
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
684
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationRequest)
|
685
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationResponse)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
690
|
+
end)
|
691
|
+
|
656
692
|
api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
|
657
693
|
o.name = "DescribeCluster"
|
658
694
|
o.http_method = "GET"
|
@@ -920,6 +956,19 @@ module Aws::Kafka
|
|
920
956
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
921
957
|
end)
|
922
958
|
|
959
|
+
api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
|
960
|
+
o.name = "UpdateConfiguration"
|
961
|
+
o.http_method = "PUT"
|
962
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
963
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
|
964
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
966
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
970
|
+
end)
|
971
|
+
|
923
972
|
api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
|
924
973
|
o.name = "UpdateClusterConfiguration"
|
925
974
|
o.http_method = "PUT"
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -526,6 +526,10 @@ module Aws::Kafka
|
|
526
526
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
527
527
|
# @return [String]
|
528
528
|
#
|
529
|
+
# @!attribute [rw] state
|
530
|
+
# The state of a configuration.
|
531
|
+
# @return [String]
|
532
|
+
#
|
529
533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
|
530
534
|
#
|
531
535
|
class Configuration < Struct.new(
|
@@ -534,7 +538,8 @@ module Aws::Kafka
|
|
534
538
|
:description,
|
535
539
|
:kafka_versions,
|
536
540
|
:latest_revision,
|
537
|
-
:name
|
541
|
+
:name,
|
542
|
+
:state)
|
538
543
|
SENSITIVE = []
|
539
544
|
include Aws::Structure
|
540
545
|
end
|
@@ -826,13 +831,19 @@ module Aws::Kafka
|
|
826
831
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
827
832
|
# @return [String]
|
828
833
|
#
|
834
|
+
# @!attribute [rw] state
|
835
|
+
# The state of the configuration. The possible states are ACTIVE,
|
836
|
+
# DELETING and DELETE\_FAILED.
|
837
|
+
# @return [String]
|
838
|
+
#
|
829
839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
|
830
840
|
#
|
831
841
|
class CreateConfigurationResponse < Struct.new(
|
832
842
|
:arn,
|
833
843
|
:creation_time,
|
834
844
|
:latest_revision,
|
835
|
-
:name
|
845
|
+
:name,
|
846
|
+
:state)
|
836
847
|
SENSITIVE = []
|
837
848
|
include Aws::Structure
|
838
849
|
end
|
@@ -880,6 +891,47 @@ module Aws::Kafka
|
|
880
891
|
include Aws::Structure
|
881
892
|
end
|
882
893
|
|
894
|
+
# Request body for DeleteConfiguration.
|
895
|
+
#
|
896
|
+
# @note When making an API call, you may pass DeleteConfigurationRequest
|
897
|
+
# data as a hash:
|
898
|
+
#
|
899
|
+
# {
|
900
|
+
# arn: "__string", # required
|
901
|
+
# }
|
902
|
+
#
|
903
|
+
# @!attribute [rw] arn
|
904
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
905
|
+
# @return [String]
|
906
|
+
#
|
907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationRequest AWS API Documentation
|
908
|
+
#
|
909
|
+
class DeleteConfigurationRequest < Struct.new(
|
910
|
+
:arn)
|
911
|
+
SENSITIVE = []
|
912
|
+
include Aws::Structure
|
913
|
+
end
|
914
|
+
|
915
|
+
# Response body for DeleteConfiguration.
|
916
|
+
#
|
917
|
+
# @!attribute [rw] arn
|
918
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
919
|
+
# @return [String]
|
920
|
+
#
|
921
|
+
# @!attribute [rw] state
|
922
|
+
# The state of the configuration. The possible states are ACTIVE,
|
923
|
+
# DELETING and DELETE\_FAILED.
|
924
|
+
# @return [String]
|
925
|
+
#
|
926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationResponse AWS API Documentation
|
927
|
+
#
|
928
|
+
class DeleteConfigurationResponse < Struct.new(
|
929
|
+
:arn,
|
930
|
+
:state)
|
931
|
+
SENSITIVE = []
|
932
|
+
include Aws::Structure
|
933
|
+
end
|
934
|
+
|
883
935
|
# @note When making an API call, you may pass DescribeClusterOperationRequest
|
884
936
|
# data as a hash:
|
885
937
|
#
|
@@ -990,6 +1042,11 @@ module Aws::Kafka
|
|
990
1042
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
991
1043
|
# @return [String]
|
992
1044
|
#
|
1045
|
+
# @!attribute [rw] state
|
1046
|
+
# The state of the configuration. The possible states are ACTIVE,
|
1047
|
+
# DELETING and DELETE\_FAILED.
|
1048
|
+
# @return [String]
|
1049
|
+
#
|
993
1050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
|
994
1051
|
#
|
995
1052
|
class DescribeConfigurationResponse < Struct.new(
|
@@ -998,7 +1055,8 @@ module Aws::Kafka
|
|
998
1055
|
:description,
|
999
1056
|
:kafka_versions,
|
1000
1057
|
:latest_revision,
|
1001
|
-
:name
|
1058
|
+
:name,
|
1059
|
+
:state)
|
1002
1060
|
SENSITIVE = []
|
1003
1061
|
include Aws::Structure
|
1004
1062
|
end
|
@@ -2230,6 +2288,57 @@ module Aws::Kafka
|
|
2230
2288
|
include Aws::Structure
|
2231
2289
|
end
|
2232
2290
|
|
2291
|
+
# Request body for UpdateConfiguration.
|
2292
|
+
#
|
2293
|
+
# @note When making an API call, you may pass UpdateConfigurationRequest
|
2294
|
+
# data as a hash:
|
2295
|
+
#
|
2296
|
+
# {
|
2297
|
+
# arn: "__string", # required
|
2298
|
+
# description: "__string",
|
2299
|
+
# server_properties: "data", # required
|
2300
|
+
# }
|
2301
|
+
#
|
2302
|
+
# @!attribute [rw] arn
|
2303
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2304
|
+
# @return [String]
|
2305
|
+
#
|
2306
|
+
# @!attribute [rw] description
|
2307
|
+
# The description of the configuration.
|
2308
|
+
# @return [String]
|
2309
|
+
#
|
2310
|
+
# @!attribute [rw] server_properties
|
2311
|
+
# @return [String]
|
2312
|
+
#
|
2313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationRequest AWS API Documentation
|
2314
|
+
#
|
2315
|
+
class UpdateConfigurationRequest < Struct.new(
|
2316
|
+
:arn,
|
2317
|
+
:description,
|
2318
|
+
:server_properties)
|
2319
|
+
SENSITIVE = []
|
2320
|
+
include Aws::Structure
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
# Response body for UpdateConfiguration.
|
2324
|
+
#
|
2325
|
+
# @!attribute [rw] arn
|
2326
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2327
|
+
# @return [String]
|
2328
|
+
#
|
2329
|
+
# @!attribute [rw] latest_revision
|
2330
|
+
# Latest revision of the configuration.
|
2331
|
+
# @return [Types::ConfigurationRevision]
|
2332
|
+
#
|
2333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationResponse AWS API Documentation
|
2334
|
+
#
|
2335
|
+
class UpdateConfigurationResponse < Struct.new(
|
2336
|
+
:arn,
|
2337
|
+
:latest_revision)
|
2338
|
+
SENSITIVE = []
|
2339
|
+
include Aws::Structure
|
2340
|
+
end
|
2341
|
+
|
2233
2342
|
# Request body for UpdateMonitoring.
|
2234
2343
|
#
|
2235
2344
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
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.26.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-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|