aws-sdk-kafka 1.13.0 → 1.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 157a956bc7a06c3aa24a941710c213520c99882a
4
- data.tar.gz: fc66c59e7a229a2da9b10dbde378831a2ffdb8cd
3
+ metadata.gz: e31772cfe5cda683b1475842c8d54c4a1a4f3253
4
+ data.tar.gz: 1c2c4ef5e0d4db86177cef70a91c76b633d0493c
5
5
  SHA512:
6
- metadata.gz: 12e0a0e1ebbcb790069d404e9290caad5ce2de89ad9e2444836d0ed8abf170806c6bbabbc64b581f447b749ceec7e21ffee4b53076ce78bc5c2c356a9d9155aa
7
- data.tar.gz: ceb5d634105cb040ebe512a264f9f6d315752320dfc163038015893bd78f12f264a024c342d0cecfeb9f3ebf8a6cd17964a75f99115fd22fe82996a35e1f9bdf
6
+ metadata.gz: 4e8b8638b2cd580f60701df17d38472e5335e2f4a057f8b8a719c4edb41f7be277f271d8071ce06c480731f379cfb320da8301325c190c4106fcf12c1f9397b8
7
+ data.tar.gz: 3048a3def224f87c2fdea6e27542c62ad9cab1ae231d6efb2fe48a9fca72dfb2f3d85227d806282363bf467f67fd93aee7b32ac002062b3a4f99709a5ed2e365
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kafka/customizations'
42
42
  # @service
43
43
  module Aws::Kafka
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -266,8 +266,7 @@ module Aws::Kafka
266
266
  # The name of the cluster.
267
267
  #
268
268
  # @option params [Types::ConfigurationInfo] :configuration_info
269
- # Represents the configuration that you want MSK to use for the brokers
270
- # in a cluster.
269
+ # Represents the configuration that you want MSK to use for the cluster.
271
270
  #
272
271
  # @option params [Types::EncryptionInfo] :encryption_info
273
272
  # Includes all encryption-related information.
@@ -357,7 +356,8 @@ module Aws::Kafka
357
356
  # configuration.
358
357
  #
359
358
  # @option params [required, String] :name
360
- # The name of the configuration.
359
+ # The name of the configuration. Configuration names are strings that
360
+ # match the regex "^\[0-9A-Za-z-\]+$".
361
361
  #
362
362
  # @option params [required, String, IO] :server_properties
363
363
  #
@@ -753,7 +753,7 @@ module Aws::Kafka
753
753
  req.send_request(options)
754
754
  end
755
755
 
756
- # Returns a list of all the MSK configurations in this Region.
756
+ # Returns a list of all the revisions of an MSK configuration.
757
757
  #
758
758
  # @option params [required, String] :arn
759
759
  #
@@ -966,6 +966,46 @@ module Aws::Kafka
966
966
  req.send_request(options)
967
967
  end
968
968
 
969
+ # Updates the number of broker nodes in the cluster. You can use this
970
+ # operation to increase the number of brokers in an existing cluster.
971
+ # You can't decrease the number of brokers.
972
+ #
973
+ # @option params [required, String] :cluster_arn
974
+ #
975
+ # @option params [required, String] :current_version
976
+ # The current version of the cluster.
977
+ #
978
+ # @option params [required, Integer] :target_number_of_broker_nodes
979
+ # The number of broker nodes that you want the cluster to have after
980
+ # this operation completes successfully.
981
+ #
982
+ # @return [Types::UpdateBrokerCountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
983
+ #
984
+ # * {Types::UpdateBrokerCountResponse#cluster_arn #cluster_arn} => String
985
+ # * {Types::UpdateBrokerCountResponse#cluster_operation_arn #cluster_operation_arn} => String
986
+ #
987
+ # @example Request syntax with placeholder values
988
+ #
989
+ # resp = client.update_broker_count({
990
+ # cluster_arn: "__string", # required
991
+ # current_version: "__string", # required
992
+ # target_number_of_broker_nodes: 1, # required
993
+ # })
994
+ #
995
+ # @example Response structure
996
+ #
997
+ # resp.cluster_arn #=> String
998
+ # resp.cluster_operation_arn #=> String
999
+ #
1000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerCount AWS API Documentation
1001
+ #
1002
+ # @overload update_broker_count(params = {})
1003
+ # @param [Hash] params ({})
1004
+ def update_broker_count(params = {}, options = {})
1005
+ req = build_request(:update_broker_count, params)
1006
+ req.send_request(options)
1007
+ end
1008
+
969
1009
  # Updates the EBS storage associated with MSK brokers.
970
1010
  #
971
1011
  # @option params [required, String] :cluster_arn
@@ -978,6 +1018,12 @@ module Aws::Kafka
978
1018
  # Describes the target volume size and the ID of the broker to apply the
979
1019
  # update to.
980
1020
  #
1021
+ # The value you specify for Target-Volume-in-GiB must be a whole number
1022
+ # that is greater than 100 GiB.
1023
+ #
1024
+ # The storage per broker after the update operation can't exceed 16384
1025
+ # GiB.
1026
+ #
981
1027
  # @return [Types::UpdateBrokerStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
982
1028
  #
983
1029
  # * {Types::UpdateBrokerStorageResponse#cluster_arn #cluster_arn} => String
@@ -1016,11 +1062,10 @@ module Aws::Kafka
1016
1062
  # @option params [required, String] :cluster_arn
1017
1063
  #
1018
1064
  # @option params [required, Types::ConfigurationInfo] :configuration_info
1019
- # Represents the configuration that you want MSK to use for the brokers
1020
- # in a cluster.
1065
+ # Represents the configuration that you want MSK to use for the cluster.
1021
1066
  #
1022
1067
  # @option params [required, String] :current_version
1023
- # The version of the cluster that needs to be updated.
1068
+ # The version of the cluster that you want to update.
1024
1069
  #
1025
1070
  # @return [Types::UpdateClusterConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1026
1071
  #
@@ -1065,7 +1110,7 @@ module Aws::Kafka
1065
1110
  params: params,
1066
1111
  config: config)
1067
1112
  context[:gem_name] = 'aws-sdk-kafka'
1068
- context[:gem_version] = '1.13.0'
1113
+ context[:gem_version] = '1.14.0'
1069
1114
  Seahorse::Client::Request.new(handlers, context)
1070
1115
  end
1071
1116
 
@@ -75,6 +75,8 @@ module Aws::Kafka
75
75
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
76
76
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
77
77
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
78
+ UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
79
+ UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
78
80
  UpdateBrokerStorageRequest = Shapes::StructureShape.new(name: 'UpdateBrokerStorageRequest')
79
81
  UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
80
82
  UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
@@ -100,7 +102,6 @@ module Aws::Kafka
100
102
  __stringMin1Max64 = Shapes::StringShape.new(name: '__stringMin1Max64')
101
103
  __stringMin5Max32 = Shapes::StringShape.new(name: '__stringMin5Max32')
102
104
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
103
- __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
104
105
 
105
106
  BadRequestException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
106
107
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
@@ -382,6 +383,15 @@ module Aws::Kafka
382
383
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
383
384
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
384
385
 
386
+ UpdateBrokerCountRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
387
+ UpdateBrokerCountRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
388
+ UpdateBrokerCountRequest.add_member(:target_number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "targetNumberOfBrokerNodes"))
389
+ UpdateBrokerCountRequest.struct_class = Types::UpdateBrokerCountRequest
390
+
391
+ UpdateBrokerCountResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
392
+ UpdateBrokerCountResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
393
+ UpdateBrokerCountResponse.struct_class = Types::UpdateBrokerCountResponse
394
+
385
395
  UpdateBrokerStorageRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
386
396
  UpdateBrokerStorageRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
387
397
  UpdateBrokerStorageRequest.add_member(:target_broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, required: true, location_name: "targetBrokerEBSVolumeInfo"))
@@ -678,6 +688,19 @@ module Aws::Kafka
678
688
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
679
689
  end)
680
690
 
691
+ api.add_operation(:update_broker_count, Seahorse::Model::Operation.new.tap do |o|
692
+ o.name = "UpdateBrokerCount"
693
+ o.http_method = "PUT"
694
+ o.http_request_uri = "/v1/clusters/{clusterArn}/nodes/count"
695
+ o.input = Shapes::ShapeRef.new(shape: UpdateBrokerCountRequest)
696
+ o.output = Shapes::ShapeRef.new(shape: UpdateBrokerCountResponse)
697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
698
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
699
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
700
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
702
+ end)
703
+
681
704
  api.add_operation(:update_broker_storage, Seahorse::Model::Operation.new.tap do |o|
682
705
  o.name = "UpdateBrokerStorage"
683
706
  o.http_method = "PUT"
@@ -70,14 +70,7 @@ module Aws::Kafka
70
70
  # }
71
71
  #
72
72
  # @!attribute [rw] broker_az_distribution
73
- # The distribution of broker nodes across Availability Zones. This is
74
- # an optional parameter. If you don't specify it, Amazon MSK gives it
75
- # the value DEFAULT. You can also explicitly set this parameter to the
76
- # value DEFAULT. No other values are currently allowed.
77
- #
78
- # Amazon MSK distributes the broker nodes evenly across the
79
- # Availability Zones that correspond to the subnets you provide when
80
- # you create the cluster.
73
+ # The distribution of broker nodes across Availability Zones.
81
74
  # @return [String]
82
75
  #
83
76
  # @!attribute [rw] client_subnets
@@ -100,6 +93,9 @@ module Aws::Kafka
100
93
  # interfaces in order to specify who can connect to and communicate
101
94
  # with the Amazon MSK cluster. If you don't specify a security group,
102
95
  # Amazon MSK uses the default security group associated with the VPC.
96
+ # If you specify security groups that were shared with you, you must
97
+ # ensure that you have permissions to them. Specifically, you need the
98
+ # ec2:DescribeSecurityGroups permission.
103
99
  # @return [Array<String>]
104
100
  #
105
101
  # @!attribute [rw] storage_info
@@ -236,7 +232,9 @@ module Aws::Kafka
236
232
  # @return [Types::BrokerSoftwareInfo]
237
233
  #
238
234
  # @!attribute [rw] current_version
239
- # The current version of the MSK cluster.
235
+ # The current version of the MSK cluster. Cluster versions aren't
236
+ # simple integers. You can obtain the current version by describing
237
+ # the cluster. An example version is KTVPDKIKX0DER.
240
238
  # @return [String]
241
239
  #
242
240
  # @!attribute [rw] encryption_info
@@ -375,7 +373,8 @@ module Aws::Kafka
375
373
  # @return [Types::ConfigurationRevision]
376
374
  #
377
375
  # @!attribute [rw] name
378
- # The name of the configuration.
376
+ # The name of the configuration. Configuration names are strings that
377
+ # match the regex "^\[0-9A-Za-z-\]+$".
379
378
  # @return [String]
380
379
  #
381
380
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
@@ -513,7 +512,7 @@ module Aws::Kafka
513
512
  #
514
513
  # @!attribute [rw] configuration_info
515
514
  # Represents the configuration that you want MSK to use for the
516
- # brokers in a cluster.
515
+ # cluster.
517
516
  # @return [Types::ConfigurationInfo]
518
517
  #
519
518
  # @!attribute [rw] encryption_info
@@ -598,7 +597,8 @@ module Aws::Kafka
598
597
  # @return [Array<String>]
599
598
  #
600
599
  # @!attribute [rw] name
601
- # The name of the configuration.
600
+ # The name of the configuration. Configuration names are strings that
601
+ # match the regex "^\[0-9A-Za-z-\]+$".
602
602
  # @return [String]
603
603
  #
604
604
  # @!attribute [rw] server_properties
@@ -629,7 +629,8 @@ module Aws::Kafka
629
629
  # @return [Types::ConfigurationRevision]
630
630
  #
631
631
  # @!attribute [rw] name
632
- # The name of the configuration.
632
+ # The name of the configuration. Configuration names are strings that
633
+ # match the regex "^\[0-9A-Za-z-\]+$".
633
634
  # @return [String]
634
635
  #
635
636
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
@@ -784,7 +785,8 @@ module Aws::Kafka
784
785
  # @return [Types::ConfigurationRevision]
785
786
  #
786
787
  # @!attribute [rw] name
787
- # The name of the configuration.
788
+ # The name of the configuration. Configuration names are strings that
789
+ # match the regex "^\[0-9A-Za-z-\]+$".
788
790
  # @return [String]
789
791
  #
790
792
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
@@ -908,7 +910,7 @@ module Aws::Kafka
908
910
  #
909
911
  # @!attribute [rw] client_broker
910
912
  # Indicates the encryption setting for data in transit between clients
911
- # and brokers. The following are the possible values.
913
+ # and brokers. You must set it to one of the following values.
912
914
  #
913
915
  # TLS means that client-broker communication is enabled with TLS only.
914
916
  #
@@ -918,7 +920,7 @@ module Aws::Kafka
918
920
  # PLAINTEXT means that client-broker communication is enabled in
919
921
  # plaintext only.
920
922
  #
921
- # The default value is TLS\_PLAINTEXT.
923
+ # The default value is TLS.
922
924
  # @return [String]
923
925
  #
924
926
  # @!attribute [rw] in_cluster
@@ -1047,7 +1049,9 @@ module Aws::Kafka
1047
1049
  #
1048
1050
  # @!attribute [rw] bootstrap_broker_string_tls
1049
1051
  # A string containing one or more DNS names (or IP) and TLS port
1050
- # pairs.
1052
+ # pairs. The following is an example.
1053
+ #
1054
+ # <programlisting>\{ "BootstrapBrokerStringTls": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094" \}</programlisting>
1051
1055
  # @return [String]
1052
1056
  #
1053
1057
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
@@ -1557,6 +1561,56 @@ module Aws::Kafka
1557
1561
  include Aws::Structure
1558
1562
  end
1559
1563
 
1564
+ # Request body for UpdateBrokerCount.
1565
+ #
1566
+ # @note When making an API call, you may pass UpdateBrokerCountRequest
1567
+ # data as a hash:
1568
+ #
1569
+ # {
1570
+ # cluster_arn: "__string", # required
1571
+ # current_version: "__string", # required
1572
+ # target_number_of_broker_nodes: 1, # required
1573
+ # }
1574
+ #
1575
+ # @!attribute [rw] cluster_arn
1576
+ # @return [String]
1577
+ #
1578
+ # @!attribute [rw] current_version
1579
+ # The current version of the cluster.
1580
+ # @return [String]
1581
+ #
1582
+ # @!attribute [rw] target_number_of_broker_nodes
1583
+ # The number of broker nodes that you want the cluster to have after
1584
+ # this operation completes successfully.
1585
+ # @return [Integer]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerCountRequest AWS API Documentation
1588
+ #
1589
+ class UpdateBrokerCountRequest < Struct.new(
1590
+ :cluster_arn,
1591
+ :current_version,
1592
+ :target_number_of_broker_nodes)
1593
+ include Aws::Structure
1594
+ end
1595
+
1596
+ # Response body for UpdateBrokerCount.
1597
+ #
1598
+ # @!attribute [rw] cluster_arn
1599
+ # The Amazon Resource Name (ARN) of the cluster.
1600
+ # @return [String]
1601
+ #
1602
+ # @!attribute [rw] cluster_operation_arn
1603
+ # The Amazon Resource Name (ARN) of the cluster operation.
1604
+ # @return [String]
1605
+ #
1606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerCountResponse AWS API Documentation
1607
+ #
1608
+ class UpdateBrokerCountResponse < Struct.new(
1609
+ :cluster_arn,
1610
+ :cluster_operation_arn)
1611
+ include Aws::Structure
1612
+ end
1613
+
1560
1614
  # Request object for UpdateBrokerStorage.
1561
1615
  #
1562
1616
  # @note When making an API call, you may pass UpdateBrokerStorageRequest
@@ -1584,6 +1638,12 @@ module Aws::Kafka
1584
1638
  # @!attribute [rw] target_broker_ebs_volume_info
1585
1639
  # Describes the target volume size and the ID of the broker to apply
1586
1640
  # the update to.
1641
+ #
1642
+ # The value you specify for Target-Volume-in-GiB must be a whole
1643
+ # number that is greater than 100 GiB.
1644
+ #
1645
+ # The storage per broker after the update operation can't exceed
1646
+ # 16384 GiB.
1587
1647
  # @return [Array<Types::BrokerEBSVolumeInfo>]
1588
1648
  #
1589
1649
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorageRequest AWS API Documentation
@@ -1632,11 +1692,11 @@ module Aws::Kafka
1632
1692
  #
1633
1693
  # @!attribute [rw] configuration_info
1634
1694
  # Represents the configuration that you want MSK to use for the
1635
- # brokers in a cluster.
1695
+ # cluster.
1636
1696
  # @return [Types::ConfigurationInfo]
1637
1697
  #
1638
1698
  # @!attribute [rw] current_version
1639
- # The version of the cluster that needs to be updated.
1699
+ # The version of the cluster that you want to update.
1640
1700
  # @return [String]
1641
1701
  #
1642
1702
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfigurationRequest AWS API Documentation
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.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2019-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core