aws-sdk-lambda 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a05b78f3435dafd9014f042ba2796bbcc7e9dfe2180d08e5dd0348a49de79040
4
- data.tar.gz: fe1b96049bc3b4f581033e975bf931e8a4860f21187e5d88b12733df983be47c
3
+ metadata.gz: 74c1c0abb49e85611a2f45c3d7ace367b87c8cf167a69d6c074b24a9332ddb7a
4
+ data.tar.gz: b2330f163440ac08f1ec057008baf1c2f2d825bff68f870f8bac6e1ee2650c78
5
5
  SHA512:
6
- metadata.gz: 77e54a757a64ce794b19c7fd2d1723a5397280a7d2ddcc07f5f5a888868c413458228411abc49e7a16785172276fb169ffbf1a6dbeb4b11c195c0a868259e742
7
- data.tar.gz: 42e89d825104c8eb04d2f4f8ba25a9611bf295a0129b62426c006046711e82399f1f88268db686f47df170ddc6c4721252c4089b3e1e9258e5e9435fbc41d606
6
+ metadata.gz: 7d67b2b7d53f68a977f80e46aa6f47c9d3d01cd667604b5256c77d7fc773f9a4fb0e0ed0b4dc7d4d87eca8927f5a8a897858a1baefb1ae6c8344dc5f8d19caf2
7
+ data.tar.gz: 47c14d68b15f2598584f8f79d179f079beee7d15d40d16d0d0793712c4a6c2f0aa8dfad20bbdbcfa8ec9b8314cb87b500281160d3eb55846a94aaf23304bc2e1
@@ -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.56.0'
52
+ GEM_VERSION = '1.57.0'
53
53
 
54
54
  end
@@ -733,6 +733,8 @@ module Aws::Lambda
733
733
  #
734
734
  # * [Using AWS Lambda with Amazon MSK][5]
735
735
  #
736
+ # * [Using AWS Lambda with Self-Managed Apache Kafka][6]
737
+ #
736
738
  # The following error handling options are only available for stream
737
739
  # sources (DynamoDB and Kinesis):
738
740
  #
@@ -760,8 +762,9 @@ module Aws::Lambda
760
762
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
761
763
  # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html
762
764
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
765
+ # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
763
766
  #
764
- # @option params [required, String] :event_source_arn
767
+ # @option params [String] :event_source_arn
765
768
  # The Amazon Resource Name (ARN) of the event source.
766
769
  #
767
770
  # * **Amazon Kinesis** - The ARN of the data stream or a stream
@@ -803,14 +806,17 @@ module Aws::Lambda
803
806
  #
804
807
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
805
808
  #
806
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
809
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
810
+ # the max is 10,000. For FIFO queues the max is 10.
807
811
  #
808
812
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
809
813
  # 10,000.
810
814
  #
815
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
816
+ #
811
817
  # @option params [Integer] :maximum_batching_window_in_seconds
812
- # (Streams) The maximum amount of time to gather records before invoking
813
- # the function, in seconds.
818
+ # (Streams and SQS standard queues) The maximum amount of time to gather
819
+ # records before invoking the function, in seconds.
814
820
  #
815
821
  # @option params [Integer] :parallelization_factor
816
822
  # (Streams) The number of batches to process from each shard
@@ -842,24 +848,26 @@ module Aws::Lambda
842
848
  # default value is infinite (-1). When set to infinite (-1), failed
843
849
  # records will be retried until the record expires.
844
850
  #
851
+ # @option params [Integer] :tumbling_window_in_seconds
852
+ # (Streams) The duration of a processing window in seconds. The range is
853
+ # between 1 second up to 15 minutes.
854
+ #
845
855
  # @option params [Array<String>] :topics
846
- # (MSK) The name of the Kafka topic.
856
+ # The name of the Kafka topic.
847
857
  #
848
858
  # @option params [Array<String>] :queues
849
859
  # (MQ) The name of the Amazon MQ broker destination queue to consume.
850
860
  #
851
861
  # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
852
- # (MQ) The Secrets Manager secret that stores your broker credentials.
853
- # To store your secret, use the following format: ` \{ "username": "your
854
- # username", "password": "your password" \}`
862
+ # An array of the authentication protocol, or the VPC components to
863
+ # secure your event source.
855
864
  #
856
- # To reference the secret, use the following format: `[ \{ "Type":
857
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
865
+ # @option params [Types::SelfManagedEventSource] :self_managed_event_source
866
+ # The Self-Managed Apache Kafka cluster to send records.
858
867
  #
859
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
860
- # can use customer or service managed keys. When using a customer
861
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
862
- # permissions.
868
+ # @option params [Array<String>] :function_response_types
869
+ # (Streams) A list of current response type enums applied to the event
870
+ # source mapping.
863
871
  #
864
872
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
865
873
  #
@@ -879,9 +887,12 @@ module Aws::Lambda
879
887
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
880
888
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
881
889
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
890
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
882
891
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
883
892
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
884
893
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
894
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
895
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
885
896
  #
886
897
  #
887
898
  # @example Example: To create a mapping between an event source and an AWS Lambda function
@@ -908,7 +919,7 @@ module Aws::Lambda
908
919
  # @example Request syntax with placeholder values
909
920
  #
910
921
  # resp = client.create_event_source_mapping({
911
- # event_source_arn: "Arn", # required
922
+ # event_source_arn: "Arn",
912
923
  # function_name: "FunctionName", # required
913
924
  # enabled: false,
914
925
  # batch_size: 1,
@@ -927,14 +938,21 @@ module Aws::Lambda
927
938
  # maximum_record_age_in_seconds: 1,
928
939
  # bisect_batch_on_function_error: false,
929
940
  # maximum_retry_attempts: 1,
941
+ # tumbling_window_in_seconds: 1,
930
942
  # topics: ["Topic"],
931
943
  # queues: ["Queue"],
932
944
  # source_access_configurations: [
933
945
  # {
934
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
935
- # uri: "Arn",
946
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
947
+ # uri: "URI",
936
948
  # },
937
949
  # ],
950
+ # self_managed_event_source: {
951
+ # endpoints: {
952
+ # "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
953
+ # },
954
+ # },
955
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
938
956
  # })
939
957
  #
940
958
  # @example Response structure
@@ -958,11 +976,17 @@ module Aws::Lambda
958
976
  # resp.queues #=> Array
959
977
  # resp.queues[0] #=> String
960
978
  # resp.source_access_configurations #=> Array
961
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
979
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
962
980
  # resp.source_access_configurations[0].uri #=> String
981
+ # resp.self_managed_event_source.endpoints #=> Hash
982
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
983
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
963
984
  # resp.maximum_record_age_in_seconds #=> Integer
964
985
  # resp.bisect_batch_on_function_error #=> Boolean
965
986
  # resp.maximum_retry_attempts #=> Integer
987
+ # resp.tumbling_window_in_seconds #=> Integer
988
+ # resp.function_response_types #=> Array
989
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
966
990
  #
967
991
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
968
992
  #
@@ -1464,9 +1488,12 @@ module Aws::Lambda
1464
1488
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1465
1489
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1466
1490
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
1491
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
1467
1492
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1468
1493
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1469
1494
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
1495
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
1496
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
1470
1497
  #
1471
1498
  #
1472
1499
  # @example Example: To delete a Lambda function event source mapping
@@ -1515,11 +1542,17 @@ module Aws::Lambda
1515
1542
  # resp.queues #=> Array
1516
1543
  # resp.queues[0] #=> String
1517
1544
  # resp.source_access_configurations #=> Array
1518
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
1545
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
1519
1546
  # resp.source_access_configurations[0].uri #=> String
1547
+ # resp.self_managed_event_source.endpoints #=> Hash
1548
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
1549
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
1520
1550
  # resp.maximum_record_age_in_seconds #=> Integer
1521
1551
  # resp.bisect_batch_on_function_error #=> Boolean
1522
1552
  # resp.maximum_retry_attempts #=> Integer
1553
+ # resp.tumbling_window_in_seconds #=> Integer
1554
+ # resp.function_response_types #=> Array
1555
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1523
1556
  #
1524
1557
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
1525
1558
  #
@@ -2001,9 +2034,12 @@ module Aws::Lambda
2001
2034
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
2002
2035
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
2003
2036
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
2037
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
2004
2038
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
2005
2039
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
2006
2040
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
2041
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
2042
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
2007
2043
  #
2008
2044
  #
2009
2045
  # @example Example: To get a Lambda function's event source mapping
@@ -2059,11 +2095,17 @@ module Aws::Lambda
2059
2095
  # resp.queues #=> Array
2060
2096
  # resp.queues[0] #=> String
2061
2097
  # resp.source_access_configurations #=> Array
2062
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
2098
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
2063
2099
  # resp.source_access_configurations[0].uri #=> String
2100
+ # resp.self_managed_event_source.endpoints #=> Hash
2101
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
2102
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
2064
2103
  # resp.maximum_record_age_in_seconds #=> Integer
2065
2104
  # resp.bisect_batch_on_function_error #=> Boolean
2066
2105
  # resp.maximum_retry_attempts #=> Integer
2106
+ # resp.tumbling_window_in_seconds #=> Integer
2107
+ # resp.function_response_types #=> Array
2108
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2067
2109
  #
2068
2110
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2069
2111
  #
@@ -2897,9 +2939,9 @@ module Aws::Lambda
2897
2939
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2898
2940
  #
2899
2941
  #
2900
- # @example Example: To get a provisioned concurrency configuration
2942
+ # @example Example: To view a provisioned concurrency configuration
2901
2943
  #
2902
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2944
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2903
2945
  # # function.
2904
2946
  #
2905
2947
  # resp = client.get_provisioned_concurrency_config({
@@ -2916,9 +2958,9 @@ module Aws::Lambda
2916
2958
  # status: "READY",
2917
2959
  # }
2918
2960
  #
2919
- # @example Example: To view a provisioned concurrency configuration
2961
+ # @example Example: To get a provisioned concurrency configuration
2920
2962
  #
2921
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2963
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2922
2964
  # # function.
2923
2965
  #
2924
2966
  # resp = client.get_provisioned_concurrency_config({
@@ -3443,11 +3485,17 @@ module Aws::Lambda
3443
3485
  # resp.event_source_mappings[0].queues #=> Array
3444
3486
  # resp.event_source_mappings[0].queues[0] #=> String
3445
3487
  # resp.event_source_mappings[0].source_access_configurations #=> Array
3446
- # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
3488
+ # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
3447
3489
  # resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
3490
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints #=> Hash
3491
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"] #=> Array
3492
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"][0] #=> String
3448
3493
  # resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
3449
3494
  # resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
3450
3495
  # resp.event_source_mappings[0].maximum_retry_attempts #=> Integer
3496
+ # resp.event_source_mappings[0].tumbling_window_in_seconds #=> Integer
3497
+ # resp.event_source_mappings[0].function_response_types #=> Array
3498
+ # resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
3451
3499
  #
3452
3500
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
3453
3501
  #
@@ -5337,14 +5385,17 @@ module Aws::Lambda
5337
5385
  #
5338
5386
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
5339
5387
  #
5340
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
5388
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
5389
+ # the max is 10,000. For FIFO queues the max is 10.
5341
5390
  #
5342
5391
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5343
5392
  # 10,000.
5344
5393
  #
5394
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
5395
+ #
5345
5396
  # @option params [Integer] :maximum_batching_window_in_seconds
5346
- # (Streams) The maximum amount of time to gather records before invoking
5347
- # the function, in seconds.
5397
+ # (Streams and SQS standard queues) The maximum amount of time to gather
5398
+ # records before invoking the function, in seconds.
5348
5399
  #
5349
5400
  # @option params [Types::DestinationConfig] :destination_config
5350
5401
  # (Streams) An Amazon SQS queue or Amazon SNS topic destination for
@@ -5368,17 +5419,16 @@ module Aws::Lambda
5368
5419
  # concurrently.
5369
5420
  #
5370
5421
  # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
5371
- # (MQ) The Secrets Manager secret that stores your broker credentials.
5372
- # To store your secret, use the following format: ` \{ "username": "your
5373
- # username", "password": "your password" \}`
5422
+ # An array of the authentication protocol, or the VPC components to
5423
+ # secure your event source.
5374
5424
  #
5375
- # To reference the secret, use the following format: `[ \{ "Type":
5376
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
5425
+ # @option params [Integer] :tumbling_window_in_seconds
5426
+ # (Streams) The duration of a processing window in seconds. The range is
5427
+ # between 1 second up to 15 minutes.
5377
5428
  #
5378
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
5379
- # can use customer or service managed keys. When using a customer
5380
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
5381
- # permissions.
5429
+ # @option params [Array<String>] :function_response_types
5430
+ # (Streams) A list of current response type enums applied to the event
5431
+ # source mapping.
5382
5432
  #
5383
5433
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5384
5434
  #
@@ -5398,9 +5448,12 @@ module Aws::Lambda
5398
5448
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
5399
5449
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
5400
5450
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
5451
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
5401
5452
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
5402
5453
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
5403
5454
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
5455
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
5456
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
5404
5457
  #
5405
5458
  #
5406
5459
  # @example Example: To update a Lambda function event source mapping
@@ -5448,10 +5501,12 @@ module Aws::Lambda
5448
5501
  # parallelization_factor: 1,
5449
5502
  # source_access_configurations: [
5450
5503
  # {
5451
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
5452
- # uri: "Arn",
5504
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5505
+ # uri: "URI",
5453
5506
  # },
5454
5507
  # ],
5508
+ # tumbling_window_in_seconds: 1,
5509
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
5455
5510
  # })
5456
5511
  #
5457
5512
  # @example Response structure
@@ -5475,11 +5530,17 @@ module Aws::Lambda
5475
5530
  # resp.queues #=> Array
5476
5531
  # resp.queues[0] #=> String
5477
5532
  # resp.source_access_configurations #=> Array
5478
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
5533
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
5479
5534
  # resp.source_access_configurations[0].uri #=> String
5535
+ # resp.self_managed_event_source.endpoints #=> Hash
5536
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
5537
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
5480
5538
  # resp.maximum_record_age_in_seconds #=> Integer
5481
5539
  # resp.bisect_batch_on_function_error #=> Boolean
5482
5540
  # resp.maximum_retry_attempts #=> Integer
5541
+ # resp.tumbling_window_in_seconds #=> Integer
5542
+ # resp.function_response_types #=> Array
5543
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
5483
5544
  #
5484
5545
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
5485
5546
  #
@@ -6121,7 +6182,7 @@ module Aws::Lambda
6121
6182
  params: params,
6122
6183
  config: config)
6123
6184
  context[:gem_name] = 'aws-sdk-lambda'
6124
- context[:gem_version] = '1.56.0'
6185
+ context[:gem_version] = '1.57.0'
6125
6186
  Seahorse::Client::Request.new(handlers, context)
6126
6187
  end
6127
6188
 
@@ -73,6 +73,10 @@ module Aws::Lambda
73
73
  EFSMountTimeoutException = Shapes::StructureShape.new(name: 'EFSMountTimeoutException')
74
74
  ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
75
75
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
76
+ EndPointType = Shapes::StringShape.new(name: 'EndPointType')
77
+ Endpoint = Shapes::StringShape.new(name: 'Endpoint')
78
+ EndpointLists = Shapes::ListShape.new(name: 'EndpointLists')
79
+ Endpoints = Shapes::MapShape.new(name: 'Endpoints')
76
80
  Environment = Shapes::StructureShape.new(name: 'Environment')
77
81
  EnvironmentError = Shapes::StructureShape.new(name: 'EnvironmentError')
78
82
  EnvironmentResponse = Shapes::StructureShape.new(name: 'EnvironmentResponse')
@@ -95,6 +99,8 @@ module Aws::Lambda
95
99
  FunctionEventInvokeConfigList = Shapes::ListShape.new(name: 'FunctionEventInvokeConfigList')
96
100
  FunctionList = Shapes::ListShape.new(name: 'FunctionList')
97
101
  FunctionName = Shapes::StringShape.new(name: 'FunctionName')
102
+ FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
103
+ FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
98
104
  FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
99
105
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
100
106
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
@@ -242,6 +248,7 @@ module Aws::Lambda
242
248
  S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
243
249
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
244
250
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
251
+ SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
245
252
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
246
253
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
247
254
  SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
@@ -272,6 +279,8 @@ module Aws::Lambda
272
279
  TracingConfig = Shapes::StructureShape.new(name: 'TracingConfig')
273
280
  TracingConfigResponse = Shapes::StructureShape.new(name: 'TracingConfigResponse')
274
281
  TracingMode = Shapes::StringShape.new(name: 'TracingMode')
282
+ TumblingWindowInSeconds = Shapes::IntegerShape.new(name: 'TumblingWindowInSeconds')
283
+ URI = Shapes::StringShape.new(name: 'URI')
275
284
  UnreservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'UnreservedConcurrentExecutions')
276
285
  UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
277
286
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -391,7 +400,7 @@ module Aws::Lambda
391
400
  CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
392
401
  CreateCodeSigningConfigResponse.struct_class = Types::CreateCodeSigningConfigResponse
393
402
 
394
- CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
403
+ CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
395
404
  CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
396
405
  CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
397
406
  CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
@@ -403,9 +412,12 @@ module Aws::Lambda
403
412
  CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
404
413
  CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
405
414
  CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
415
+ CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
406
416
  CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
407
417
  CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
408
418
  CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
419
+ CreateEventSourceMappingRequest.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
420
+ CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
409
421
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
410
422
 
411
423
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -504,6 +516,11 @@ module Aws::Lambda
504
516
  ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
505
517
  ENILimitReachedException.struct_class = Types::ENILimitReachedException
506
518
 
519
+ EndpointLists.member = Shapes::ShapeRef.new(shape: Endpoint)
520
+
521
+ Endpoints.key = Shapes::ShapeRef.new(shape: EndPointType)
522
+ Endpoints.value = Shapes::ShapeRef.new(shape: EndpointLists)
523
+
507
524
  Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
508
525
  Environment.struct_class = Types::Environment
509
526
 
@@ -534,9 +551,12 @@ module Aws::Lambda
534
551
  EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
535
552
  EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
536
553
  EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
554
+ EventSourceMappingConfiguration.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
537
555
  EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
538
556
  EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
539
557
  EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
558
+ EventSourceMappingConfiguration.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
559
+ EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
540
560
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
541
561
 
542
562
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
@@ -606,6 +626,8 @@ module Aws::Lambda
606
626
 
607
627
  FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
608
628
 
629
+ FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
630
+
609
631
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
610
632
 
611
633
  GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
@@ -1045,6 +1067,9 @@ module Aws::Lambda
1045
1067
 
1046
1068
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1047
1069
 
1070
+ SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
1071
+ SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
1072
+
1048
1073
  ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1049
1074
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1050
1075
  ServiceException.struct_class = Types::ServiceException
@@ -1052,7 +1077,7 @@ module Aws::Lambda
1052
1077
  SigningProfileVersionArns.member = Shapes::ShapeRef.new(shape: Arn)
1053
1078
 
1054
1079
  SourceAccessConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SourceAccessType, location_name: "Type"))
1055
- SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
1080
+ SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: URI, location_name: "URI"))
1056
1081
  SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
1057
1082
 
1058
1083
  SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
@@ -1124,6 +1149,8 @@ module Aws::Lambda
1124
1149
  UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
1125
1150
  UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
1126
1151
  UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
1152
+ UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
1153
+ UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
1127
1154
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
1128
1155
 
1129
1156
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -609,7 +609,7 @@ module Aws::Lambda
609
609
  # data as a hash:
610
610
  #
611
611
  # {
612
- # event_source_arn: "Arn", # required
612
+ # event_source_arn: "Arn",
613
613
  # function_name: "FunctionName", # required
614
614
  # enabled: false,
615
615
  # batch_size: 1,
@@ -628,14 +628,21 @@ module Aws::Lambda
628
628
  # maximum_record_age_in_seconds: 1,
629
629
  # bisect_batch_on_function_error: false,
630
630
  # maximum_retry_attempts: 1,
631
+ # tumbling_window_in_seconds: 1,
631
632
  # topics: ["Topic"],
632
633
  # queues: ["Queue"],
633
634
  # source_access_configurations: [
634
635
  # {
635
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
636
- # uri: "Arn",
636
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
637
+ # uri: "URI",
637
638
  # },
638
639
  # ],
640
+ # self_managed_event_source: {
641
+ # endpoints: {
642
+ # "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
643
+ # },
644
+ # },
645
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
639
646
  # }
640
647
  #
641
648
  # @!attribute [rw] event_source_arn
@@ -683,15 +690,18 @@ module Aws::Lambda
683
690
  #
684
691
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
685
692
  #
686
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
693
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
694
+ # the max is 10,000. For FIFO queues the max is 10.
687
695
  #
688
696
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
689
697
  # 10,000.
698
+ #
699
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
690
700
  # @return [Integer]
691
701
  #
692
702
  # @!attribute [rw] maximum_batching_window_in_seconds
693
- # (Streams) The maximum amount of time to gather records before
694
- # invoking the function, in seconds.
703
+ # (Streams and SQS standard queues) The maximum amount of time to
704
+ # gather records before invoking the function, in seconds.
695
705
  # @return [Integer]
696
706
  #
697
707
  # @!attribute [rw] parallelization_factor
@@ -731,8 +741,13 @@ module Aws::Lambda
731
741
  # records will be retried until the record expires.
732
742
  # @return [Integer]
733
743
  #
744
+ # @!attribute [rw] tumbling_window_in_seconds
745
+ # (Streams) The duration of a processing window in seconds. The range
746
+ # is between 1 second up to 15 minutes.
747
+ # @return [Integer]
748
+ #
734
749
  # @!attribute [rw] topics
735
- # (MSK) The name of the Kafka topic.
750
+ # The name of the Kafka topic.
736
751
  # @return [Array<String>]
737
752
  #
738
753
  # @!attribute [rw] queues
@@ -740,18 +755,18 @@ module Aws::Lambda
740
755
  # @return [Array<String>]
741
756
  #
742
757
  # @!attribute [rw] source_access_configurations
743
- # (MQ) The Secrets Manager secret that stores your broker credentials.
744
- # To store your secret, use the following format: ` \{ "username":
745
- # "your username", "password": "your password" \}`
758
+ # An array of the authentication protocol, or the VPC components to
759
+ # secure your event source.
760
+ # @return [Array<Types::SourceAccessConfiguration>]
746
761
  #
747
- # To reference the secret, use the following format: `[ \{ "Type":
748
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
762
+ # @!attribute [rw] self_managed_event_source
763
+ # The Self-Managed Apache Kafka cluster to send records.
764
+ # @return [Types::SelfManagedEventSource]
749
765
  #
750
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
751
- # you can use customer or service managed keys. When using a customer
752
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
753
- # permissions.
754
- # @return [Array<Types::SourceAccessConfiguration>]
766
+ # @!attribute [rw] function_response_types
767
+ # (Streams) A list of current response type enums applied to the event
768
+ # source mapping.
769
+ # @return [Array<String>]
755
770
  #
756
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
757
772
  #
@@ -768,9 +783,12 @@ module Aws::Lambda
768
783
  :maximum_record_age_in_seconds,
769
784
  :bisect_batch_on_function_error,
770
785
  :maximum_retry_attempts,
786
+ :tumbling_window_in_seconds,
771
787
  :topics,
772
788
  :queues,
773
- :source_access_configurations)
789
+ :source_access_configurations,
790
+ :self_managed_event_source,
791
+ :function_response_types)
774
792
  SENSITIVE = []
775
793
  include Aws::Structure
776
794
  end
@@ -1571,8 +1589,9 @@ module Aws::Lambda
1571
1589
  # @return [Integer]
1572
1590
  #
1573
1591
  # @!attribute [rw] maximum_batching_window_in_seconds
1574
- # (Streams) The maximum amount of time to gather records before
1575
- # invoking the function, in seconds. The default value is zero.
1592
+ # (Streams and SQS standard queues) The maximum amount of time to
1593
+ # gather records before invoking the function, in seconds. The default
1594
+ # value is zero.
1576
1595
  # @return [Integer]
1577
1596
  #
1578
1597
  # @!attribute [rw] parallelization_factor
@@ -1615,7 +1634,7 @@ module Aws::Lambda
1615
1634
  # @return [Types::DestinationConfig]
1616
1635
  #
1617
1636
  # @!attribute [rw] topics
1618
- # (MSK) The name of the Kafka topic to consume.
1637
+ # The name of the Kafka topic.
1619
1638
  # @return [Array<String>]
1620
1639
  #
1621
1640
  # @!attribute [rw] queues
@@ -1623,19 +1642,14 @@ module Aws::Lambda
1623
1642
  # @return [Array<String>]
1624
1643
  #
1625
1644
  # @!attribute [rw] source_access_configurations
1626
- # (MQ) The Secrets Manager secret that stores your broker credentials.
1627
- # To store your secret, use the following format: ` \{ "username":
1628
- # "your username", "password": "your password" \}`
1629
- #
1630
- # To reference the secret, use the following format: `[ \{ "Type":
1631
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
1632
- #
1633
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
1634
- # you can use customer or service managed keys. When using a customer
1635
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
1636
- # permissions.
1645
+ # An array of the authentication protocol, or the VPC components to
1646
+ # secure your event source.
1637
1647
  # @return [Array<Types::SourceAccessConfiguration>]
1638
1648
  #
1649
+ # @!attribute [rw] self_managed_event_source
1650
+ # The Self-Managed Apache Kafka cluster for your event source.
1651
+ # @return [Types::SelfManagedEventSource]
1652
+ #
1639
1653
  # @!attribute [rw] maximum_record_age_in_seconds
1640
1654
  # (Streams) Discard records older than the specified age. The default
1641
1655
  # value is infinite (-1). When set to infinite (-1), failed records
@@ -1653,6 +1667,16 @@ module Aws::Lambda
1653
1667
  # records are retried until the record expires.
1654
1668
  # @return [Integer]
1655
1669
  #
1670
+ # @!attribute [rw] tumbling_window_in_seconds
1671
+ # (Streams) The duration of a processing window in seconds. The range
1672
+ # is between 1 second up to 15 minutes.
1673
+ # @return [Integer]
1674
+ #
1675
+ # @!attribute [rw] function_response_types
1676
+ # (Streams) A list of current response type enums applied to the event
1677
+ # source mapping.
1678
+ # @return [Array<String>]
1679
+ #
1656
1680
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
1657
1681
  #
1658
1682
  class EventSourceMappingConfiguration < Struct.new(
@@ -1672,9 +1696,12 @@ module Aws::Lambda
1672
1696
  :topics,
1673
1697
  :queues,
1674
1698
  :source_access_configurations,
1699
+ :self_managed_event_source,
1675
1700
  :maximum_record_age_in_seconds,
1676
1701
  :bisect_batch_on_function_error,
1677
- :maximum_retry_attempts)
1702
+ :maximum_retry_attempts,
1703
+ :tumbling_window_in_seconds,
1704
+ :function_response_types)
1678
1705
  SENSITIVE = []
1679
1706
  include Aws::Structure
1680
1707
  end
@@ -2659,12 +2686,12 @@ module Aws::Lambda
2659
2686
  include Aws::Structure
2660
2687
  end
2661
2688
 
2662
- # Configuration values that override the container image Dockerfile. See
2663
- # [Override Container settings][1].
2689
+ # Configuration values that override the container image Dockerfile
2690
+ # settings. See [Container settings][1].
2664
2691
  #
2665
2692
  #
2666
2693
  #
2667
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-images-settings.html
2694
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
2668
2695
  #
2669
2696
  # @note When making an API call, you may pass ImageConfig
2670
2697
  # data as a hash:
@@ -4701,6 +4728,31 @@ module Aws::Lambda
4701
4728
  include Aws::Structure
4702
4729
  end
4703
4730
 
4731
+ # The Self-Managed Apache Kafka cluster for your event source.
4732
+ #
4733
+ # @note When making an API call, you may pass SelfManagedEventSource
4734
+ # data as a hash:
4735
+ #
4736
+ # {
4737
+ # endpoints: {
4738
+ # "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
4739
+ # },
4740
+ # }
4741
+ #
4742
+ # @!attribute [rw] endpoints
4743
+ # The list of bootstrap servers for your Kafka brokers in the
4744
+ # following format: `"KAFKA_BOOTSTRAP_SERVERS":
4745
+ # ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`.
4746
+ # @return [Hash<String,Array<String>>]
4747
+ #
4748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedEventSource AWS API Documentation
4749
+ #
4750
+ class SelfManagedEventSource < Struct.new(
4751
+ :endpoints)
4752
+ SENSITIVE = []
4753
+ include Aws::Structure
4754
+ end
4755
+
4704
4756
  # The AWS Lambda service encountered an internal error.
4705
4757
  #
4706
4758
  # @!attribute [rw] type
@@ -4718,36 +4770,41 @@ module Aws::Lambda
4718
4770
  include Aws::Structure
4719
4771
  end
4720
4772
 
4721
- # (MQ) The Secrets Manager secret that stores your broker credentials.
4722
- # To store your secret, use the following format: ` \{ "username": "your
4723
- # username", "password": "your password" \}`
4773
+ # You can specify the authentication protocol, or the VPC components to
4774
+ # secure access to your event source.
4724
4775
  #
4725
4776
  # @note When making an API call, you may pass SourceAccessConfiguration
4726
4777
  # data as a hash:
4727
4778
  #
4728
4779
  # {
4729
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
4730
- # uri: "Arn",
4780
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
4781
+ # uri: "URI",
4731
4782
  # }
4732
4783
  #
4733
4784
  # @!attribute [rw] type
4734
- # To reference the secret, use the following format: `[ \{ "Type":
4735
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
4785
+ # The type of authentication protocol or the VPC components for your
4786
+ # event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
4787
+ #
4788
+ # * `BASIC_AUTH` - (MQ) The Secrets Manager secret that stores your
4789
+ # broker credentials.
4736
4790
  #
4737
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
4738
- # you can use customer or service managed keys. When using a customer
4739
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
4740
- # permissions.
4791
+ # * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
4792
+ # connects to these subnets to fetch data from your Kafka cluster.
4793
+ #
4794
+ # * `VPC_SECURITY_GROUP` - The VPC security group used to manage
4795
+ # access to your Kafka brokers.
4796
+ #
4797
+ # * `SASL_SCRAM_256_AUTH` - The ARN of your secret key used for SASL
4798
+ # SCRAM-256 authentication of your Kafka brokers.
4799
+ #
4800
+ # * `SASL_SCRAM_512_AUTH` - The ARN of your secret key used for SASL
4801
+ # SCRAM-512 authentication of your Kafka brokers.
4741
4802
  # @return [String]
4742
4803
  #
4743
4804
  # @!attribute [rw] uri
4744
- # To reference the secret, use the following format: `[ \{ "Type":
4745
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
4746
- #
4747
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
4748
- # you can use customer or service managed keys. When using a customer
4749
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
4750
- # permissions.
4805
+ # The value for your chosen configuration in `Type`. For example:
4806
+ # `"URI":
4807
+ # "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`.
4751
4808
  # @return [String]
4752
4809
  #
4753
4810
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
@@ -5056,10 +5113,12 @@ module Aws::Lambda
5056
5113
  # parallelization_factor: 1,
5057
5114
  # source_access_configurations: [
5058
5115
  # {
5059
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
5060
- # uri: "Arn",
5116
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5117
+ # uri: "URI",
5061
5118
  # },
5062
5119
  # ],
5120
+ # tumbling_window_in_seconds: 1,
5121
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
5063
5122
  # }
5064
5123
  #
5065
5124
  # @!attribute [rw] uuid
@@ -5097,15 +5156,18 @@ module Aws::Lambda
5097
5156
  #
5098
5157
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
5099
5158
  #
5100
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
5159
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
5160
+ # the max is 10,000. For FIFO queues the max is 10.
5101
5161
  #
5102
5162
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5103
5163
  # 10,000.
5164
+ #
5165
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
5104
5166
  # @return [Integer]
5105
5167
  #
5106
5168
  # @!attribute [rw] maximum_batching_window_in_seconds
5107
- # (Streams) The maximum amount of time to gather records before
5108
- # invoking the function, in seconds.
5169
+ # (Streams and SQS standard queues) The maximum amount of time to
5170
+ # gather records before invoking the function, in seconds.
5109
5171
  # @return [Integer]
5110
5172
  #
5111
5173
  # @!attribute [rw] destination_config
@@ -5135,18 +5197,19 @@ module Aws::Lambda
5135
5197
  # @return [Integer]
5136
5198
  #
5137
5199
  # @!attribute [rw] source_access_configurations
5138
- # (MQ) The Secrets Manager secret that stores your broker credentials.
5139
- # To store your secret, use the following format: ` \{ "username":
5140
- # "your username", "password": "your password" \}`
5200
+ # An array of the authentication protocol, or the VPC components to
5201
+ # secure your event source.
5202
+ # @return [Array<Types::SourceAccessConfiguration>]
5141
5203
  #
5142
- # To reference the secret, use the following format: `[ \{ "Type":
5143
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
5204
+ # @!attribute [rw] tumbling_window_in_seconds
5205
+ # (Streams) The duration of a processing window in seconds. The range
5206
+ # is between 1 second up to 15 minutes.
5207
+ # @return [Integer]
5144
5208
  #
5145
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
5146
- # you can use customer or service managed keys. When using a customer
5147
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
5148
- # permissions.
5149
- # @return [Array<Types::SourceAccessConfiguration>]
5209
+ # @!attribute [rw] function_response_types
5210
+ # (Streams) A list of current response type enums applied to the event
5211
+ # source mapping.
5212
+ # @return [Array<String>]
5150
5213
  #
5151
5214
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
5152
5215
  #
@@ -5161,7 +5224,9 @@ module Aws::Lambda
5161
5224
  :bisect_batch_on_function_error,
5162
5225
  :maximum_retry_attempts,
5163
5226
  :parallelization_factor,
5164
- :source_access_configurations)
5227
+ :source_access_configurations,
5228
+ :tumbling_window_in_seconds,
5229
+ :function_response_types)
5165
5230
  SENSITIVE = []
5166
5231
  include Aws::Structure
5167
5232
  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.56.0
4
+ version: 1.57.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-12-04 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core