aws-sdk-lambda 1.56.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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 in seconds of a processing window. The range
746
+ # is between 1 second up to 900 seconds.
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
@@ -780,7 +798,7 @@ module Aws::Lambda
780
798
  #
781
799
  # {
782
800
  # function_name: "FunctionName", # required
783
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
801
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
784
802
  # role: "RoleArn", # required
785
803
  # handler: "Handler",
786
804
  # code: { # required
@@ -957,7 +975,12 @@ module Aws::Lambda
957
975
  # @return [Array<Types::FileSystemConfig>]
958
976
  #
959
977
  # @!attribute [rw] image_config
960
- # Configuration values that override the container image Dockerfile.
978
+ # [Container image configuration values][1] that override the values
979
+ # in the container image Dockerfile.
980
+ #
981
+ #
982
+ #
983
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
961
984
  # @return [Types::ImageConfig]
962
985
  #
963
986
  # @!attribute [rw] code_signing_config_arn
@@ -1571,8 +1594,9 @@ module Aws::Lambda
1571
1594
  # @return [Integer]
1572
1595
  #
1573
1596
  # @!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.
1597
+ # (Streams and SQS standard queues) The maximum amount of time to
1598
+ # gather records before invoking the function, in seconds. The default
1599
+ # value is zero.
1576
1600
  # @return [Integer]
1577
1601
  #
1578
1602
  # @!attribute [rw] parallelization_factor
@@ -1615,7 +1639,7 @@ module Aws::Lambda
1615
1639
  # @return [Types::DestinationConfig]
1616
1640
  #
1617
1641
  # @!attribute [rw] topics
1618
- # (MSK) The name of the Kafka topic to consume.
1642
+ # The name of the Kafka topic.
1619
1643
  # @return [Array<String>]
1620
1644
  #
1621
1645
  # @!attribute [rw] queues
@@ -1623,19 +1647,14 @@ module Aws::Lambda
1623
1647
  # @return [Array<String>]
1624
1648
  #
1625
1649
  # @!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.
1650
+ # An array of the authentication protocol, or the VPC components to
1651
+ # secure your event source.
1637
1652
  # @return [Array<Types::SourceAccessConfiguration>]
1638
1653
  #
1654
+ # @!attribute [rw] self_managed_event_source
1655
+ # The Self-Managed Apache Kafka cluster for your event source.
1656
+ # @return [Types::SelfManagedEventSource]
1657
+ #
1639
1658
  # @!attribute [rw] maximum_record_age_in_seconds
1640
1659
  # (Streams) Discard records older than the specified age. The default
1641
1660
  # value is infinite (-1). When set to infinite (-1), failed records
@@ -1653,6 +1672,16 @@ module Aws::Lambda
1653
1672
  # records are retried until the record expires.
1654
1673
  # @return [Integer]
1655
1674
  #
1675
+ # @!attribute [rw] tumbling_window_in_seconds
1676
+ # (Streams) The duration in seconds of a processing window. The range
1677
+ # is between 1 second up to 900 seconds.
1678
+ # @return [Integer]
1679
+ #
1680
+ # @!attribute [rw] function_response_types
1681
+ # (Streams) A list of current response type enums applied to the event
1682
+ # source mapping.
1683
+ # @return [Array<String>]
1684
+ #
1656
1685
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
1657
1686
  #
1658
1687
  class EventSourceMappingConfiguration < Struct.new(
@@ -1672,9 +1701,12 @@ module Aws::Lambda
1672
1701
  :topics,
1673
1702
  :queues,
1674
1703
  :source_access_configurations,
1704
+ :self_managed_event_source,
1675
1705
  :maximum_record_age_in_seconds,
1676
1706
  :bisect_batch_on_function_error,
1677
- :maximum_retry_attempts)
1707
+ :maximum_retry_attempts,
1708
+ :tumbling_window_in_seconds,
1709
+ :function_response_types)
1678
1710
  SENSITIVE = []
1679
1711
  include Aws::Structure
1680
1712
  end
@@ -2659,12 +2691,12 @@ module Aws::Lambda
2659
2691
  include Aws::Structure
2660
2692
  end
2661
2693
 
2662
- # Configuration values that override the container image Dockerfile. See
2663
- # [Override Container settings][1].
2694
+ # Configuration values that override the container image Dockerfile
2695
+ # settings. See [Container settings][1].
2664
2696
  #
2665
2697
  #
2666
2698
  #
2667
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-images-settings.html
2699
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
2668
2700
  #
2669
2701
  # @note When making an API call, you may pass ImageConfig
2670
2702
  # data as a hash:
@@ -3626,7 +3658,9 @@ module Aws::Lambda
3626
3658
  # @return [String]
3627
3659
  #
3628
3660
  # @!attribute [rw] max_items
3629
- # The maximum number of functions to return.
3661
+ # The maximum number of functions to return in the response. Note that
3662
+ # `ListFunctions` returns a maximum of 50 items in each response, even
3663
+ # if you set the number higher.
3630
3664
  # @return [Integer]
3631
3665
  #
3632
3666
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
@@ -3663,7 +3697,7 @@ module Aws::Lambda
3663
3697
  # data as a hash:
3664
3698
  #
3665
3699
  # {
3666
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3700
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3667
3701
  # layer_name: "LayerName", # required
3668
3702
  # marker: "String",
3669
3703
  # max_items: 1,
@@ -3718,7 +3752,7 @@ module Aws::Lambda
3718
3752
  # data as a hash:
3719
3753
  #
3720
3754
  # {
3721
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3755
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3722
3756
  # marker: "String",
3723
3757
  # max_items: 1,
3724
3758
  # }
@@ -4080,7 +4114,7 @@ module Aws::Lambda
4080
4114
  # s3_object_version: "S3ObjectVersion",
4081
4115
  # zip_file: "data",
4082
4116
  # },
4083
- # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
4117
+ # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
4084
4118
  # license_info: "LicenseInfo",
4085
4119
  # }
4086
4120
  #
@@ -4701,6 +4735,31 @@ module Aws::Lambda
4701
4735
  include Aws::Structure
4702
4736
  end
4703
4737
 
4738
+ # The Self-Managed Apache Kafka cluster for your event source.
4739
+ #
4740
+ # @note When making an API call, you may pass SelfManagedEventSource
4741
+ # data as a hash:
4742
+ #
4743
+ # {
4744
+ # endpoints: {
4745
+ # "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
4746
+ # },
4747
+ # }
4748
+ #
4749
+ # @!attribute [rw] endpoints
4750
+ # The list of bootstrap servers for your Kafka brokers in the
4751
+ # following format: `"KAFKA_BOOTSTRAP_SERVERS":
4752
+ # ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`.
4753
+ # @return [Hash<String,Array<String>>]
4754
+ #
4755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedEventSource AWS API Documentation
4756
+ #
4757
+ class SelfManagedEventSource < Struct.new(
4758
+ :endpoints)
4759
+ SENSITIVE = []
4760
+ include Aws::Structure
4761
+ end
4762
+
4704
4763
  # The AWS Lambda service encountered an internal error.
4705
4764
  #
4706
4765
  # @!attribute [rw] type
@@ -4718,36 +4777,44 @@ module Aws::Lambda
4718
4777
  include Aws::Structure
4719
4778
  end
4720
4779
 
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" \}`
4780
+ # You can specify the authentication protocol, or the VPC components to
4781
+ # secure access to your event source.
4724
4782
  #
4725
4783
  # @note When making an API call, you may pass SourceAccessConfiguration
4726
4784
  # data as a hash:
4727
4785
  #
4728
4786
  # {
4729
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
4730
- # uri: "Arn",
4787
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
4788
+ # uri: "URI",
4731
4789
  # }
4732
4790
  #
4733
4791
  # @!attribute [rw] type
4734
- # To reference the secret, use the following format: `[ \{ "Type":
4735
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
4792
+ # The type of authentication protocol or the VPC components for your
4793
+ # event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
4794
+ #
4795
+ # * `BASIC_AUTH` - (MQ) The Secrets Manager secret that stores your
4796
+ # broker credentials.
4797
+ #
4798
+ # * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
4799
+ # connects to these subnets to fetch data from your Self-Managed
4800
+ # Apache Kafka cluster.
4801
+ #
4802
+ # * `VPC_SECURITY_GROUP` - The VPC security group used to manage
4803
+ # access to your Self-Managed Apache Kafka brokers.
4736
4804
  #
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.
4805
+ # * `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key
4806
+ # used for SASL SCRAM-256 authentication of your Self-Managed Apache
4807
+ # Kafka brokers.
4808
+ #
4809
+ # * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
4810
+ # used for SASL SCRAM-512 authentication of your Self-Managed Apache
4811
+ # Kafka brokers.
4741
4812
  # @return [String]
4742
4813
  #
4743
4814
  # @!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.
4815
+ # The value for your chosen configuration in `Type`. For example:
4816
+ # `"URI":
4817
+ # "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`.
4751
4818
  # @return [String]
4752
4819
  #
4753
4820
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
@@ -5056,10 +5123,12 @@ module Aws::Lambda
5056
5123
  # parallelization_factor: 1,
5057
5124
  # source_access_configurations: [
5058
5125
  # {
5059
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
5060
- # uri: "Arn",
5126
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5127
+ # uri: "URI",
5061
5128
  # },
5062
5129
  # ],
5130
+ # tumbling_window_in_seconds: 1,
5131
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
5063
5132
  # }
5064
5133
  #
5065
5134
  # @!attribute [rw] uuid
@@ -5097,15 +5166,18 @@ module Aws::Lambda
5097
5166
  #
5098
5167
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
5099
5168
  #
5100
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
5169
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
5170
+ # the max is 10,000. For FIFO queues the max is 10.
5101
5171
  #
5102
5172
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5103
5173
  # 10,000.
5174
+ #
5175
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
5104
5176
  # @return [Integer]
5105
5177
  #
5106
5178
  # @!attribute [rw] maximum_batching_window_in_seconds
5107
- # (Streams) The maximum amount of time to gather records before
5108
- # invoking the function, in seconds.
5179
+ # (Streams and SQS standard queues) The maximum amount of time to
5180
+ # gather records before invoking the function, in seconds.
5109
5181
  # @return [Integer]
5110
5182
  #
5111
5183
  # @!attribute [rw] destination_config
@@ -5135,18 +5207,19 @@ module Aws::Lambda
5135
5207
  # @return [Integer]
5136
5208
  #
5137
5209
  # @!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" \}`
5210
+ # An array of the authentication protocol, or the VPC components to
5211
+ # secure your event source.
5212
+ # @return [Array<Types::SourceAccessConfiguration>]
5141
5213
  #
5142
- # To reference the secret, use the following format: `[ \{ "Type":
5143
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
5214
+ # @!attribute [rw] tumbling_window_in_seconds
5215
+ # (Streams) The duration in seconds of a processing window. The range
5216
+ # is between 1 second up to 900 seconds.
5217
+ # @return [Integer]
5144
5218
  #
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>]
5219
+ # @!attribute [rw] function_response_types
5220
+ # (Streams) A list of current response type enums applied to the event
5221
+ # source mapping.
5222
+ # @return [Array<String>]
5150
5223
  #
5151
5224
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
5152
5225
  #
@@ -5161,7 +5234,9 @@ module Aws::Lambda
5161
5234
  :bisect_batch_on_function_error,
5162
5235
  :maximum_retry_attempts,
5163
5236
  :parallelization_factor,
5164
- :source_access_configurations)
5237
+ :source_access_configurations,
5238
+ :tumbling_window_in_seconds,
5239
+ :function_response_types)
5165
5240
  SENSITIVE = []
5166
5241
  include Aws::Structure
5167
5242
  end
@@ -5272,7 +5347,7 @@ module Aws::Lambda
5272
5347
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5273
5348
  # },
5274
5349
  # },
5275
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5350
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5276
5351
  # dead_letter_config: {
5277
5352
  # target_arn: "ResourceArn",
5278
5353
  # },
@@ -5407,7 +5482,12 @@ module Aws::Lambda
5407
5482
  # @return [Array<Types::FileSystemConfig>]
5408
5483
  #
5409
5484
  # @!attribute [rw] image_config
5410
- # Configuration values that override the container image Dockerfile.
5485
+ # [Container image configuration values][1] that override the values
5486
+ # in the container image Dockerfile.
5487
+ #
5488
+ #
5489
+ #
5490
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5411
5491
  # @return [Types::ImageConfig]
5412
5492
  #
5413
5493
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation