aws-sdk-lambda 1.84.0 → 1.85.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
  SHA256:
3
- metadata.gz: 5bfcdfb3efcb4f65b81ec5c165a98e763fd28406b48fd024ec283d2e2e7f3ddc
4
- data.tar.gz: 7fb10cd75c7988d7b81cc99e0baf2cc0ff1a77c4c896360bb1967d6a77cdc3e9
3
+ metadata.gz: f9239918e1864c6ac3848899ca2a6c0e4abbe34aea4f82081b4ba66fd8d3e9ba
4
+ data.tar.gz: 684fc18ed50fb4074416db75db4ab89ad6b97e82ed2d8881b08624c6de4168b6
5
5
  SHA512:
6
- metadata.gz: 0e7023e71755475046364a5b28ca712797c8764512f5b1164ba194441da16370afc0f6ec269e31dcca94cd00a2ce8d82dbec2b1533836fbd50dbaa9135656382
7
- data.tar.gz: 45e6d543441ac840eb3ec2b377161a7bb3d9c510cd89f805e4b652fdb5ddb7c0745f146e104bb61dda2ac63adb915695604953ef3b7447c0dd806c10fdeb5264
6
+ metadata.gz: 7032e6727215720c0bbca3e046bdfd82ae958a9dee80608e5fdac03a4dbc73d9a27629c3011a0057862102b062e7c7d7480e97c2d9cd939f45e6d76d7beb1d0a
7
+ data.tar.gz: c40bb0bd61589befbc0a142f9d75f71447d53e76914a145ec523cc3eb8ee8fdfc5ebdc830c7d3c56ce6899c35a42faccf3f4a8c82c8c63d38d7713c0265cc244
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2022-08-17)
5
+ ------------------
6
+
7
+ * Feature - Added support for customization of Consumer Group ID for MSK and Kafka Event Source Mappings.
8
+
4
9
  1.84.0 (2022-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.85.0
@@ -696,7 +696,7 @@ module Aws::Lambda
696
696
  end
697
697
 
698
698
  # Creates a mapping between an event source and an Lambda function.
699
- # Lambda reads items from the event source and triggers the function.
699
+ # Lambda reads items from the event source and invokes the function.
700
700
  #
701
701
  # For details about how to configure different event sources, see the
702
702
  # following topics.
@@ -713,7 +713,7 @@ module Aws::Lambda
713
713
  #
714
714
  # * [ Apache Kafka][6]
715
715
  #
716
- # The following error handling options are only available for stream
716
+ # The following error handling options are available only for stream
717
717
  # sources (DynamoDB and Kinesis):
718
718
  #
719
719
  # * `BisectBatchOnFunctionError` - If the function returns an error,
@@ -816,7 +816,7 @@ module Aws::Lambda
816
816
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
817
817
  # 10,000.
818
818
  #
819
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
819
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
820
820
  #
821
821
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
822
822
  #
@@ -846,7 +846,7 @@ module Aws::Lambda
846
846
  # @option params [String] :starting_position
847
847
  # The position in a stream from which to start reading. Required for
848
848
  # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
849
- # `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
849
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams.
850
850
  #
851
851
  # @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
852
852
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to
@@ -867,11 +867,11 @@ module Aws::Lambda
867
867
  # @option params [Integer] :maximum_retry_attempts
868
868
  # (Streams only) Discard records after the specified number of retries.
869
869
  # The default value is infinite (-1). When set to infinite (-1), failed
870
- # records will be retried until the record expires.
870
+ # records are retried until the record expires.
871
871
  #
872
872
  # @option params [Integer] :tumbling_window_in_seconds
873
873
  # (Streams only) The duration in seconds of a processing window. The
874
- # range is between 1 second up to 900 seconds.
874
+ # range is between 1 second and 900 seconds.
875
875
  #
876
876
  # @option params [Array<String>] :topics
877
877
  # The name of the Kafka topic.
@@ -884,12 +884,20 @@ module Aws::Lambda
884
884
  # secure your event source.
885
885
  #
886
886
  # @option params [Types::SelfManagedEventSource] :self_managed_event_source
887
- # The Self-Managed Apache Kafka cluster to send records.
887
+ # The self-managed Apache Kafka cluster to receive records from.
888
888
  #
889
889
  # @option params [Array<String>] :function_response_types
890
890
  # (Streams and Amazon SQS) A list of current response type enums applied
891
891
  # to the event source mapping.
892
892
  #
893
+ # @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
894
+ # Specific configuration settings for an Amazon Managed Streaming for
895
+ # Apache Kafka (Amazon MSK) event source.
896
+ #
897
+ # @option params [Types::SelfManagedKafkaEventSourceConfig] :self_managed_kafka_event_source_config
898
+ # Specific configuration settings for a self-managed Apache Kafka event
899
+ # source.
900
+ #
893
901
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
894
902
  #
895
903
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -915,6 +923,8 @@ module Aws::Lambda
915
923
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
916
924
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
917
925
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
926
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
927
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
918
928
  #
919
929
  # @example Request syntax with placeholder values
920
930
  #
@@ -960,6 +970,12 @@ module Aws::Lambda
960
970
  # },
961
971
  # },
962
972
  # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
973
+ # amazon_managed_kafka_event_source_config: {
974
+ # consumer_group_id: "URI",
975
+ # },
976
+ # self_managed_kafka_event_source_config: {
977
+ # consumer_group_id: "URI",
978
+ # },
963
979
  # })
964
980
  #
965
981
  # @example Response structure
@@ -996,6 +1012,8 @@ module Aws::Lambda
996
1012
  # resp.tumbling_window_in_seconds #=> Integer
997
1013
  # resp.function_response_types #=> Array
998
1014
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1015
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
1016
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
999
1017
  #
1000
1018
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1001
1019
  #
@@ -1577,6 +1595,8 @@ module Aws::Lambda
1577
1595
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
1578
1596
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
1579
1597
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
1598
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
1599
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
1580
1600
  #
1581
1601
  # @example Request syntax with placeholder values
1582
1602
  #
@@ -1618,6 +1638,8 @@ module Aws::Lambda
1618
1638
  # resp.tumbling_window_in_seconds #=> Integer
1619
1639
  # resp.function_response_types #=> Array
1620
1640
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1641
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
1642
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
1621
1643
  #
1622
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
1623
1645
  #
@@ -2053,6 +2075,8 @@ module Aws::Lambda
2053
2075
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
2054
2076
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
2055
2077
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
2078
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
2079
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
2056
2080
  #
2057
2081
  # @example Request syntax with placeholder values
2058
2082
  #
@@ -2094,6 +2118,8 @@ module Aws::Lambda
2094
2118
  # resp.tumbling_window_in_seconds #=> Integer
2095
2119
  # resp.function_response_types #=> Array
2096
2120
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2121
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
2122
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
2097
2123
  #
2098
2124
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2099
2125
  #
@@ -2869,7 +2895,8 @@ module Aws::Lambda
2869
2895
  # for long connections with timeout or keep-alive settings.
2870
2896
  #
2871
2897
  # This operation requires permission for the [lambda:InvokeFunction][8]
2872
- # action.
2898
+ # action. For details on how to set up permissions for cross-account
2899
+ # invocations, see [Granting function access to other accounts][9].
2873
2900
  #
2874
2901
  #
2875
2902
  #
@@ -2881,6 +2908,7 @@ module Aws::Lambda
2881
2908
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
2882
2909
  # [7]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
2883
2910
  # [8]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html
2911
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke
2884
2912
  #
2885
2913
  # @option params [required, String] :function_name
2886
2914
  # The name of the Lambda function, version, or alias.
@@ -3134,7 +3162,7 @@ module Aws::Lambda
3134
3162
  req.send_request(options)
3135
3163
  end
3136
3164
 
3137
- # Lists event source mappings. Specify an `EventSourceArn` to only show
3165
+ # Lists event source mappings. Specify an `EventSourceArn` to show only
3138
3166
  # event source mappings for a single event source.
3139
3167
  #
3140
3168
  # @option params [String] :event_source_arn
@@ -3228,6 +3256,8 @@ module Aws::Lambda
3228
3256
  # resp.event_source_mappings[0].tumbling_window_in_seconds #=> Integer
3229
3257
  # resp.event_source_mappings[0].function_response_types #=> Array
3230
3258
  # resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
3259
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.consumer_group_id #=> String
3260
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumer_group_id #=> String
3231
3261
  #
3232
3262
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
3233
3263
  #
@@ -4733,7 +4763,7 @@ module Aws::Lambda
4733
4763
  #
4734
4764
  # * [ Apache Kafka][6]
4735
4765
  #
4736
- # The following error handling options are only available for stream
4766
+ # The following error handling options are available only for stream
4737
4767
  # sources (DynamoDB and Kinesis):
4738
4768
  #
4739
4769
  # * `BisectBatchOnFunctionError` - If the function returns an error,
@@ -4826,7 +4856,7 @@ module Aws::Lambda
4826
4856
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
4827
4857
  # 10,000.
4828
4858
  #
4829
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
4859
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
4830
4860
  #
4831
4861
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
4832
4862
  #
@@ -4864,7 +4894,7 @@ module Aws::Lambda
4864
4894
  # @option params [Integer] :maximum_retry_attempts
4865
4895
  # (Streams only) Discard records after the specified number of retries.
4866
4896
  # The default value is infinite (-1). When set to infinite (-1), failed
4867
- # records will be retried until the record expires.
4897
+ # records are retried until the record expires.
4868
4898
  #
4869
4899
  # @option params [Integer] :parallelization_factor
4870
4900
  # (Streams only) The number of batches to process from each shard
@@ -4876,7 +4906,7 @@ module Aws::Lambda
4876
4906
  #
4877
4907
  # @option params [Integer] :tumbling_window_in_seconds
4878
4908
  # (Streams only) The duration in seconds of a processing window. The
4879
- # range is between 1 second up to 900 seconds.
4909
+ # range is between 1 second and 900 seconds.
4880
4910
  #
4881
4911
  # @option params [Array<String>] :function_response_types
4882
4912
  # (Streams and Amazon SQS) A list of current response type enums applied
@@ -4907,6 +4937,8 @@ module Aws::Lambda
4907
4937
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
4908
4938
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
4909
4939
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
4940
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
4941
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
4910
4942
  #
4911
4943
  # @example Request syntax with placeholder values
4912
4944
  #
@@ -4979,6 +5011,8 @@ module Aws::Lambda
4979
5011
  # resp.tumbling_window_in_seconds #=> Integer
4980
5012
  # resp.function_response_types #=> Array
4981
5013
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
5014
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
5015
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
4982
5016
  #
4983
5017
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
4984
5018
  #
@@ -5682,7 +5716,7 @@ module Aws::Lambda
5682
5716
  params: params,
5683
5717
  config: config)
5684
5718
  context[:gem_name] = 'aws-sdk-lambda'
5685
- context[:gem_version] = '1.84.0'
5719
+ context[:gem_version] = '1.85.0'
5686
5720
  Seahorse::Client::Request.new(handlers, context)
5687
5721
  end
5688
5722
 
@@ -30,6 +30,7 @@ module Aws::Lambda
30
30
  AllowMethodsList = Shapes::ListShape.new(name: 'AllowMethodsList')
31
31
  AllowOriginsList = Shapes::ListShape.new(name: 'AllowOriginsList')
32
32
  AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
33
+ AmazonManagedKafkaEventSourceConfig = Shapes::StructureShape.new(name: 'AmazonManagedKafkaEventSourceConfig')
33
34
  Architecture = Shapes::StringShape.new(name: 'Architecture')
34
35
  ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
35
36
  Arn = Shapes::StringShape.new(name: 'Arn')
@@ -281,6 +282,7 @@ module Aws::Lambda
281
282
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
282
283
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
283
284
  SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
285
+ SelfManagedKafkaEventSourceConfig = Shapes::StructureShape.new(name: 'SelfManagedKafkaEventSourceConfig')
284
286
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
285
287
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
286
288
  SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
@@ -395,6 +397,9 @@ module Aws::Lambda
395
397
  AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
396
398
  AllowedPublishers.struct_class = Types::AllowedPublishers
397
399
 
400
+ AmazonManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
401
+ AmazonManagedKafkaEventSourceConfig.struct_class = Types::AmazonManagedKafkaEventSourceConfig
402
+
398
403
  ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
399
404
 
400
405
  CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
@@ -471,6 +476,8 @@ module Aws::Lambda
471
476
  CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
472
477
  CreateEventSourceMappingRequest.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
473
478
  CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
479
+ CreateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
480
+ CreateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
474
481
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
475
482
 
476
483
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -633,6 +640,8 @@ module Aws::Lambda
633
640
  EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
634
641
  EventSourceMappingConfiguration.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
635
642
  EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
643
+ EventSourceMappingConfiguration.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
644
+ EventSourceMappingConfiguration.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
636
645
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
637
646
 
638
647
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
@@ -1195,6 +1204,9 @@ module Aws::Lambda
1195
1204
  SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
1196
1205
  SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
1197
1206
 
1207
+ SelfManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
1208
+ SelfManagedKafkaEventSourceConfig.struct_class = Types::SelfManagedKafkaEventSourceConfig
1209
+
1198
1210
  ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1199
1211
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1200
1212
  ServiceException.struct_class = Types::ServiceException
@@ -380,6 +380,32 @@ module Aws::Lambda
380
380
  include Aws::Structure
381
381
  end
382
382
 
383
+ # Specific configuration settings for an Amazon Managed Streaming for
384
+ # Apache Kafka (Amazon MSK) event source.
385
+ #
386
+ # @note When making an API call, you may pass AmazonManagedKafkaEventSourceConfig
387
+ # data as a hash:
388
+ #
389
+ # {
390
+ # consumer_group_id: "URI",
391
+ # }
392
+ #
393
+ # @!attribute [rw] consumer_group_id
394
+ # The identifier for the Kafka consumer group to join. The consumer
395
+ # group ID must be unique among all your Kafka event sources. After
396
+ # creating a Kafka event source mapping with the consumer group ID
397
+ # specified, you cannot update this value. For more information, see
398
+ # services-msk-consumer-group-id.
399
+ # @return [String]
400
+ #
401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
402
+ #
403
+ class AmazonManagedKafkaEventSourceConfig < Struct.new(
404
+ :consumer_group_id)
405
+ SENSITIVE = []
406
+ include Aws::Structure
407
+ end
408
+
383
409
  # Details about a [Code signing configuration][1].
384
410
  #
385
411
  #
@@ -760,6 +786,12 @@ module Aws::Lambda
760
786
  # },
761
787
  # },
762
788
  # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
789
+ # amazon_managed_kafka_event_source_config: {
790
+ # consumer_group_id: "URI",
791
+ # },
792
+ # self_managed_kafka_event_source_config: {
793
+ # consumer_group_id: "URI",
794
+ # },
763
795
  # }
764
796
  #
765
797
  # @!attribute [rw] event_source_arn
@@ -818,7 +850,7 @@ module Aws::Lambda
818
850
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
819
851
  # 10,000.
820
852
  #
821
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
853
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
822
854
  #
823
855
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
824
856
  # @return [Integer]
@@ -852,7 +884,7 @@ module Aws::Lambda
852
884
  # @!attribute [rw] starting_position
853
885
  # The position in a stream from which to start reading. Required for
854
886
  # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
855
- # `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
887
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams.
856
888
  # @return [String]
857
889
  #
858
890
  # @!attribute [rw] starting_position_timestamp
@@ -878,12 +910,12 @@ module Aws::Lambda
878
910
  # @!attribute [rw] maximum_retry_attempts
879
911
  # (Streams only) Discard records after the specified number of
880
912
  # retries. The default value is infinite (-1). When set to infinite
881
- # (-1), failed records will be retried until the record expires.
913
+ # (-1), failed records are retried until the record expires.
882
914
  # @return [Integer]
883
915
  #
884
916
  # @!attribute [rw] tumbling_window_in_seconds
885
917
  # (Streams only) The duration in seconds of a processing window. The
886
- # range is between 1 second up to 900 seconds.
918
+ # range is between 1 second and 900 seconds.
887
919
  # @return [Integer]
888
920
  #
889
921
  # @!attribute [rw] topics
@@ -900,7 +932,7 @@ module Aws::Lambda
900
932
  # @return [Array<Types::SourceAccessConfiguration>]
901
933
  #
902
934
  # @!attribute [rw] self_managed_event_source
903
- # The Self-Managed Apache Kafka cluster to send records.
935
+ # The self-managed Apache Kafka cluster to receive records from.
904
936
  # @return [Types::SelfManagedEventSource]
905
937
  #
906
938
  # @!attribute [rw] function_response_types
@@ -908,6 +940,16 @@ module Aws::Lambda
908
940
  # applied to the event source mapping.
909
941
  # @return [Array<String>]
910
942
  #
943
+ # @!attribute [rw] amazon_managed_kafka_event_source_config
944
+ # Specific configuration settings for an Amazon Managed Streaming for
945
+ # Apache Kafka (Amazon MSK) event source.
946
+ # @return [Types::AmazonManagedKafkaEventSourceConfig]
947
+ #
948
+ # @!attribute [rw] self_managed_kafka_event_source_config
949
+ # Specific configuration settings for a self-managed Apache Kafka
950
+ # event source.
951
+ # @return [Types::SelfManagedKafkaEventSourceConfig]
952
+ #
911
953
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
912
954
  #
913
955
  class CreateEventSourceMappingRequest < Struct.new(
@@ -929,7 +971,9 @@ module Aws::Lambda
929
971
  :queues,
930
972
  :source_access_configurations,
931
973
  :self_managed_event_source,
932
- :function_response_types)
974
+ :function_response_types,
975
+ :amazon_managed_kafka_event_source_config,
976
+ :self_managed_kafka_event_source_config)
933
977
  SENSITIVE = []
934
978
  include Aws::Structure
935
979
  end
@@ -2067,6 +2111,16 @@ module Aws::Lambda
2067
2111
  # applied to the event source mapping.
2068
2112
  # @return [Array<String>]
2069
2113
  #
2114
+ # @!attribute [rw] amazon_managed_kafka_event_source_config
2115
+ # Specific configuration settings for an Amazon Managed Streaming for
2116
+ # Apache Kafka (Amazon MSK) event source.
2117
+ # @return [Types::AmazonManagedKafkaEventSourceConfig]
2118
+ #
2119
+ # @!attribute [rw] self_managed_kafka_event_source_config
2120
+ # Specific configuration settings for a self-managed Apache Kafka
2121
+ # event source.
2122
+ # @return [Types::SelfManagedKafkaEventSourceConfig]
2123
+ #
2070
2124
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
2071
2125
  #
2072
2126
  class EventSourceMappingConfiguration < Struct.new(
@@ -2092,7 +2146,9 @@ module Aws::Lambda
2092
2146
  :bisect_batch_on_function_error,
2093
2147
  :maximum_retry_attempts,
2094
2148
  :tumbling_window_in_seconds,
2095
- :function_response_types)
2149
+ :function_response_types,
2150
+ :amazon_managed_kafka_event_source_config,
2151
+ :self_managed_kafka_event_source_config)
2096
2152
  SENSITIVE = []
2097
2153
  include Aws::Structure
2098
2154
  end
@@ -5519,6 +5575,32 @@ module Aws::Lambda
5519
5575
  include Aws::Structure
5520
5576
  end
5521
5577
 
5578
+ # Specific configuration settings for a self-managed Apache Kafka event
5579
+ # source.
5580
+ #
5581
+ # @note When making an API call, you may pass SelfManagedKafkaEventSourceConfig
5582
+ # data as a hash:
5583
+ #
5584
+ # {
5585
+ # consumer_group_id: "URI",
5586
+ # }
5587
+ #
5588
+ # @!attribute [rw] consumer_group_id
5589
+ # The identifier for the Kafka consumer group to join. The consumer
5590
+ # group ID must be unique among all your Kafka event sources. After
5591
+ # creating a Kafka event source mapping with the consumer group ID
5592
+ # specified, you cannot update this value. For more information, see
5593
+ # services-msk-consumer-group-id.
5594
+ # @return [String]
5595
+ #
5596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
5597
+ #
5598
+ class SelfManagedKafkaEventSourceConfig < Struct.new(
5599
+ :consumer_group_id)
5600
+ SENSITIVE = []
5601
+ include Aws::Structure
5602
+ end
5603
+
5522
5604
  # The Lambda service encountered an internal error.
5523
5605
  #
5524
5606
  # @!attribute [rw] type
@@ -5578,7 +5660,7 @@ module Aws::Lambda
5578
5660
  # source. This property cannot be specified in an
5579
5661
  # UpdateEventSourceMapping API call.
5580
5662
  #
5581
- # * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache
5663
+ # * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, self-managed Apache
5582
5664
  # Kafka) The Secrets Manager ARN of your secret key containing the
5583
5665
  # certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
5584
5666
  # private key password (optional) used for mutual TLS authentication
@@ -5967,7 +6049,7 @@ module Aws::Lambda
5967
6049
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5968
6050
  # 10,000.
5969
6051
  #
5970
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
6052
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
5971
6053
  #
5972
6054
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
5973
6055
  # @return [Integer]
@@ -6011,7 +6093,7 @@ module Aws::Lambda
6011
6093
  # @!attribute [rw] maximum_retry_attempts
6012
6094
  # (Streams only) Discard records after the specified number of
6013
6095
  # retries. The default value is infinite (-1). When set to infinite
6014
- # (-1), failed records will be retried until the record expires.
6096
+ # (-1), failed records are retried until the record expires.
6015
6097
  # @return [Integer]
6016
6098
  #
6017
6099
  # @!attribute [rw] parallelization_factor
@@ -6026,7 +6108,7 @@ module Aws::Lambda
6026
6108
  #
6027
6109
  # @!attribute [rw] tumbling_window_in_seconds
6028
6110
  # (Streams only) The duration in seconds of a processing window. The
6029
- # range is between 1 second up to 900 seconds.
6111
+ # range is between 1 second and 900 seconds.
6030
6112
  # @return [Integer]
6031
6113
  #
6032
6114
  # @!attribute [rw] function_response_types
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.84.0'
52
+ GEM_VERSION = '1.85.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.84.0
4
+ version: 1.85.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: 2022-05-12 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core