aws-sdk-lambda 1.165.0 → 1.167.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.
@@ -292,6 +292,7 @@ module Aws::Lambda
292
292
  ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
293
293
  ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
294
294
  ProvisionedPollerConfig = Shapes::StructureShape.new(name: 'ProvisionedPollerConfig')
295
+ ProvisionedPollerGroupName = Shapes::StringShape.new(name: 'ProvisionedPollerGroupName')
295
296
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
296
297
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
297
298
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
@@ -369,6 +370,9 @@ module Aws::Lambda
369
370
  TagsError = Shapes::StructureShape.new(name: 'TagsError')
370
371
  TagsErrorCode = Shapes::StringShape.new(name: 'TagsErrorCode')
371
372
  TagsErrorMessage = Shapes::StringShape.new(name: 'TagsErrorMessage')
373
+ TenancyConfig = Shapes::StructureShape.new(name: 'TenancyConfig')
374
+ TenantId = Shapes::StringShape.new(name: 'TenantId')
375
+ TenantIsolationMode = Shapes::StringShape.new(name: 'TenantIsolationMode')
372
376
  ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
373
377
  Timeout = Shapes::IntegerShape.new(name: 'Timeout')
374
378
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -580,6 +584,7 @@ module Aws::Lambda
580
584
  CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
581
585
  CreateFunctionRequest.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStart, location_name: "SnapStart"))
582
586
  CreateFunctionRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
587
+ CreateFunctionRequest.add_member(:tenancy_config, Shapes::ShapeRef.new(shape: TenancyConfig, location_name: "TenancyConfig"))
583
588
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
584
589
 
585
590
  CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -814,6 +819,7 @@ module Aws::Lambda
814
819
  FunctionConfiguration.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStartResponse, location_name: "SnapStart"))
815
820
  FunctionConfiguration.add_member(:runtime_version_config, Shapes::ShapeRef.new(shape: RuntimeVersionConfig, location_name: "RuntimeVersionConfig"))
816
821
  FunctionConfiguration.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
822
+ FunctionConfiguration.add_member(:tenancy_config, Shapes::ShapeRef.new(shape: TenancyConfig, location_name: "TenancyConfig"))
817
823
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
818
824
 
819
825
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -1014,6 +1020,7 @@ module Aws::Lambda
1014
1020
  InvocationRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
1015
1021
  InvocationRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
1016
1022
  InvocationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
1023
+ InvocationRequest.add_member(:tenant_id, Shapes::ShapeRef.new(shape: TenantId, location: "header", location_name: "X-Amz-Tenant-Id"))
1017
1024
  InvocationRequest.struct_class = Types::InvocationRequest
1018
1025
  InvocationRequest[:payload] = :payload
1019
1026
  InvocationRequest[:payload_member] = InvocationRequest.member(:payload)
@@ -1050,6 +1057,7 @@ module Aws::Lambda
1050
1057
  InvokeWithResponseStreamRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
1051
1058
  InvokeWithResponseStreamRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
1052
1059
  InvokeWithResponseStreamRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
1060
+ InvokeWithResponseStreamRequest.add_member(:tenant_id, Shapes::ShapeRef.new(shape: TenantId, location: "header", location_name: "X-Amz-Tenant-Id"))
1053
1061
  InvokeWithResponseStreamRequest.struct_class = Types::InvokeWithResponseStreamRequest
1054
1062
  InvokeWithResponseStreamRequest[:payload] = :payload
1055
1063
  InvokeWithResponseStreamRequest[:payload_member] = InvokeWithResponseStreamRequest.member(:payload)
@@ -1287,6 +1295,7 @@ module Aws::Lambda
1287
1295
 
1288
1296
  ProvisionedPollerConfig.add_member(:minimum_pollers, Shapes::ShapeRef.new(shape: MinimumNumberOfPollers, location_name: "MinimumPollers"))
1289
1297
  ProvisionedPollerConfig.add_member(:maximum_pollers, Shapes::ShapeRef.new(shape: MaximumNumberOfPollers, location_name: "MaximumPollers"))
1298
+ ProvisionedPollerConfig.add_member(:poller_group_name, Shapes::ShapeRef.new(shape: ProvisionedPollerGroupName, location_name: "PollerGroupName"))
1290
1299
  ProvisionedPollerConfig.struct_class = Types::ProvisionedPollerConfig
1291
1300
 
1292
1301
  PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
@@ -1478,6 +1487,9 @@ module Aws::Lambda
1478
1487
  TagsError.add_member(:message, Shapes::ShapeRef.new(shape: TagsErrorMessage, required: true, location_name: "Message"))
1479
1488
  TagsError.struct_class = Types::TagsError
1480
1489
 
1490
+ TenancyConfig.add_member(:tenant_isolation_mode, Shapes::ShapeRef.new(shape: TenantIsolationMode, required: true, location_name: "TenantIsolationMode"))
1491
+ TenancyConfig.struct_class = Types::TenancyConfig
1492
+
1481
1493
  TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
1482
1494
  TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1483
1495
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -226,7 +226,7 @@ module Aws::Lambda
226
226
  #
227
227
  # @!attribute [rw] invoked_via_function_url
228
228
  # Restricts the `lambda:InvokeFunction` action to function URL calls.
229
- # When set to `true`, this prevents the principal from invoking the
229
+ # When specified, this option prevents the principal from invoking the
230
230
  # function by any means other than the function URL. For more
231
231
  # information, see [Control access to Lambda function URLs][1].
232
232
  #
@@ -791,26 +791,28 @@ module Aws::Lambda
791
791
  # @return [Time]
792
792
  #
793
793
  # @!attribute [rw] destination_config
794
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
795
- # A configuration object that specifies the destination of an event
796
- # after Lambda processes it.
794
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
795
+ # Kafka) A configuration object that specifies the destination of an
796
+ # event after Lambda processes it.
797
797
  # @return [Types::DestinationConfig]
798
798
  #
799
799
  # @!attribute [rw] maximum_record_age_in_seconds
800
- # (Kinesis and DynamoDB Streams only) Discard records older than the
801
- # specified age. The default value is infinite (-1).
800
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
801
+ # Kafka) Discard records older than the specified age. The default
802
+ # value is infinite (-1).
802
803
  # @return [Integer]
803
804
  #
804
805
  # @!attribute [rw] bisect_batch_on_function_error
805
- # (Kinesis and DynamoDB Streams only) If the function returns an
806
- # error, split the batch in two and retry.
806
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
807
+ # Kafka) If the function returns an error, split the batch in two and
808
+ # retry.
807
809
  # @return [Boolean]
808
810
  #
809
811
  # @!attribute [rw] maximum_retry_attempts
810
- # (Kinesis and DynamoDB Streams only) Discard records after the
811
- # specified number of retries. The default value is infinite (-1).
812
- # When set to infinite (-1), failed records are retried until the
813
- # record expires.
812
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
813
+ # Kafka) Discard records after the specified number of retries. The
814
+ # default value is infinite (-1). When set to infinite (-1), failed
815
+ # records are retried until the record expires.
814
816
  # @return [Integer]
815
817
  #
816
818
  # @!attribute [rw] tags
@@ -841,8 +843,9 @@ module Aws::Lambda
841
843
  # @return [Types::SelfManagedEventSource]
842
844
  #
843
845
  # @!attribute [rw] function_response_types
844
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
845
- # response type enums applied to the event source mapping.
846
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
847
+ # and Amazon SQS) A list of current response type enums applied to the
848
+ # event source mapping.
846
849
  # @return [Array<String>]
847
850
  #
848
851
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -891,9 +894,9 @@ module Aws::Lambda
891
894
  # @return [Types::EventSourceMappingMetricsConfig]
892
895
  #
893
896
  # @!attribute [rw] provisioned_poller_config
894
- # (Amazon MSK and self-managed Apache Kafka only) The provisioned mode
895
- # configuration for the event source. For more information, see
896
- # [provisioned mode][1].
897
+ # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
898
+ # provisioned mode configuration for the event source. For more
899
+ # information, see [provisioned mode][1].
897
900
  #
898
901
  #
899
902
  #
@@ -1161,6 +1164,12 @@ module Aws::Lambda
1161
1164
  # The function's Amazon CloudWatch Logs configuration settings.
1162
1165
  # @return [Types::LoggingConfig]
1163
1166
  #
1167
+ # @!attribute [rw] tenancy_config
1168
+ # Configuration for multi-tenant applications that use Lambda
1169
+ # functions. Defines tenant isolation settings and resource
1170
+ # allocations. Required for functions supporting multiple tenants.
1171
+ # @return [Types::TenancyConfig]
1172
+ #
1164
1173
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1165
1174
  #
1166
1175
  class CreateFunctionRequest < Struct.new(
@@ -1187,7 +1196,8 @@ module Aws::Lambda
1187
1196
  :architectures,
1188
1197
  :ephemeral_storage,
1189
1198
  :snap_start,
1190
- :logging_config)
1199
+ :logging_config,
1200
+ :tenancy_config)
1191
1201
  SENSITIVE = []
1192
1202
  include Aws::Structure
1193
1203
  end
@@ -1982,8 +1992,8 @@ module Aws::Lambda
1982
1992
  #
1983
1993
  # @!attribute [rw] destination_config
1984
1994
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1985
- # Kafka event sources only) A configuration object that specifies the
1986
- # destination of an event after Lambda processes it.
1995
+ # Kafka) A configuration object that specifies the destination of an
1996
+ # event after Lambda processes it.
1987
1997
  # @return [Types::DestinationConfig]
1988
1998
  #
1989
1999
  # @!attribute [rw] topics
@@ -2005,10 +2015,10 @@ module Aws::Lambda
2005
2015
  # @return [Types::SelfManagedEventSource]
2006
2016
  #
2007
2017
  # @!attribute [rw] maximum_record_age_in_seconds
2008
- # (Kinesis and DynamoDB Streams only) Discard records older than the
2009
- # specified age. The default value is -1, which sets the maximum age
2010
- # to infinite. When the value is set to infinite, Lambda never
2011
- # discards old records.
2018
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2019
+ # Kafka) Discard records older than the specified age. The default
2020
+ # value is -1, which sets the maximum age to infinite. When the value
2021
+ # is set to infinite, Lambda never discards old records.
2012
2022
  #
2013
2023
  # <note markdown="1"> The minimum valid value for maximum record age is 60s. Although
2014
2024
  # values less than 60 and greater than -1 fall within the parameter's
@@ -2018,16 +2028,17 @@ module Aws::Lambda
2018
2028
  # @return [Integer]
2019
2029
  #
2020
2030
  # @!attribute [rw] bisect_batch_on_function_error
2021
- # (Kinesis and DynamoDB Streams only) If the function returns an
2022
- # error, split the batch in two and retry. The default value is false.
2031
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2032
+ # Kafka) If the function returns an error, split the batch in two and
2033
+ # retry. The default value is false.
2023
2034
  # @return [Boolean]
2024
2035
  #
2025
2036
  # @!attribute [rw] maximum_retry_attempts
2026
- # (Kinesis and DynamoDB Streams only) Discard records after the
2027
- # specified number of retries. The default value is -1, which sets the
2028
- # maximum number of retries to infinite. When MaximumRetryAttempts is
2029
- # infinite, Lambda retries failed records until the record expires in
2030
- # the event source.
2037
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2038
+ # Kafka) Discard records after the specified number of retries. The
2039
+ # default value is -1, which sets the maximum number of retries to
2040
+ # infinite. When MaximumRetryAttempts is infinite, Lambda retries
2041
+ # failed records until the record expires in the event source.
2031
2042
  # @return [Integer]
2032
2043
  #
2033
2044
  # @!attribute [rw] tumbling_window_in_seconds
@@ -2037,8 +2048,9 @@ module Aws::Lambda
2037
2048
  # @return [Integer]
2038
2049
  #
2039
2050
  # @!attribute [rw] function_response_types
2040
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
2041
- # response type enums applied to the event source mapping.
2051
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
2052
+ # and Amazon SQS) A list of current response type enums applied to the
2053
+ # event source mapping.
2042
2054
  # @return [Array<String>]
2043
2055
  #
2044
2056
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -2093,9 +2105,9 @@ module Aws::Lambda
2093
2105
  # @return [Types::EventSourceMappingMetricsConfig]
2094
2106
  #
2095
2107
  # @!attribute [rw] provisioned_poller_config
2096
- # (Amazon MSK and self-managed Apache Kafka only) The provisioned mode
2097
- # configuration for the event source. For more information, see
2098
- # [provisioned mode][1].
2108
+ # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
2109
+ # provisioned mode configuration for the event source. For more
2110
+ # information, see [provisioned mode][1].
2099
2111
  #
2100
2112
  #
2101
2113
  #
@@ -2575,6 +2587,12 @@ module Aws::Lambda
2575
2587
  # The function's Amazon CloudWatch Logs configuration settings.
2576
2588
  # @return [Types::LoggingConfig]
2577
2589
  #
2590
+ # @!attribute [rw] tenancy_config
2591
+ # The function's tenant isolation configuration settings. Determines
2592
+ # whether the Lambda function runs on a shared or dedicated
2593
+ # infrastructure per unique tenant.
2594
+ # @return [Types::TenancyConfig]
2595
+ #
2578
2596
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2579
2597
  #
2580
2598
  class FunctionConfiguration < Struct.new(
@@ -2613,7 +2631,8 @@ module Aws::Lambda
2613
2631
  :ephemeral_storage,
2614
2632
  :snap_start,
2615
2633
  :runtime_version_config,
2616
- :logging_config)
2634
+ :logging_config,
2635
+ :tenancy_config)
2617
2636
  SENSITIVE = []
2618
2637
  include Aws::Structure
2619
2638
  end
@@ -3775,6 +3794,10 @@ module Aws::Lambda
3775
3794
  # function.
3776
3795
  # @return [String]
3777
3796
  #
3797
+ # @!attribute [rw] tenant_id
3798
+ # The identifier of the tenant in a multi-tenant Lambda function.
3799
+ # @return [String]
3800
+ #
3778
3801
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationRequest AWS API Documentation
3779
3802
  #
3780
3803
  class InvocationRequest < Struct.new(
@@ -3783,7 +3806,8 @@ module Aws::Lambda
3783
3806
  :log_type,
3784
3807
  :client_context,
3785
3808
  :payload,
3786
- :qualifier)
3809
+ :qualifier,
3810
+ :tenant_id)
3787
3811
  SENSITIVE = [:payload]
3788
3812
  include Aws::Structure
3789
3813
  end
@@ -3961,6 +3985,10 @@ module Aws::Lambda
3961
3985
  # `--payload file://payload.json`.
3962
3986
  # @return [String]
3963
3987
  #
3988
+ # @!attribute [rw] tenant_id
3989
+ # The identifier of the tenant in a multi-tenant Lambda function.
3990
+ # @return [String]
3991
+ #
3964
3992
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamRequest AWS API Documentation
3965
3993
  #
3966
3994
  class InvokeWithResponseStreamRequest < Struct.new(
@@ -3969,7 +3997,8 @@ module Aws::Lambda
3969
3997
  :log_type,
3970
3998
  :client_context,
3971
3999
  :qualifier,
3972
- :payload)
4000
+ :payload,
4001
+ :tenant_id)
3973
4002
  SENSITIVE = [:payload]
3974
4003
  include Aws::Structure
3975
4004
  end
@@ -5055,30 +5084,30 @@ module Aws::Lambda
5055
5084
  # @!attribute [rw] destination
5056
5085
  # The Amazon Resource Name (ARN) of the destination resource.
5057
5086
  #
5058
- # To retain records of unsuccessful [asynchronous invocations][1], you
5059
- # can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5060
- # bucket, Lambda function, or Amazon EventBridge event bus as the
5061
- # destination.
5087
+ # To retain records of failed invocations from [Kinesis][1],
5088
+ # [DynamoDB][2], [self-managed Apache Kafka][3], or [Amazon MSK][3],
5089
+ # you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5090
+ # bucket, or Kafka topic as the destination.
5062
5091
  #
5063
5092
  # <note markdown="1"> Amazon SNS destinations have a message size limit of 256 KB. If the
5064
5093
  # combined size of the function request and response payload exceeds
5065
5094
  # the limit, Lambda will drop the payload when sending `OnFailure`
5066
5095
  # event to the destination. For details on this behavior, refer to
5067
- # [Retaining records of asynchronous invocations][2].
5096
+ # [Retaining records of asynchronous invocations][4].
5068
5097
  #
5069
5098
  # </note>
5070
5099
  #
5071
- # To retain records of failed invocations from [Kinesis][3],
5072
- # [DynamoDB][4], [self-managed Kafka][5] or [Amazon MSK][6], you can
5100
+ # To retain records of failed invocations from [Kinesis][1],
5101
+ # [DynamoDB][2], [self-managed Kafka][5] or [Amazon MSK][6], you can
5073
5102
  # configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket
5074
5103
  # as the destination.
5075
5104
  #
5076
5105
  #
5077
5106
  #
5078
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
5079
- # [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5080
- # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5081
- # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5107
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5108
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5109
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html
5110
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5082
5111
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
5083
5112
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
5084
5113
  # @return [String]
@@ -5251,8 +5280,7 @@ module Aws::Lambda
5251
5280
 
5252
5281
  # The [ provisioned mode][1] configuration for the event source. Use
5253
5282
  # Provisioned Mode to customize the minimum and maximum number of event
5254
- # pollers for your event source. An event poller is a compute unit that
5255
- # provides approximately 5 MBps of throughput.
5283
+ # pollers for your event source.
5256
5284
  #
5257
5285
  #
5258
5286
  #
@@ -5260,19 +5288,34 @@ module Aws::Lambda
5260
5288
  #
5261
5289
  # @!attribute [rw] minimum_pollers
5262
5290
  # The minimum number of event pollers this event source can scale down
5263
- # to.
5291
+ # to. For Amazon SQS events source mappings, default is 2, and minimum
5292
+ # 2 required. For Amazon MSK and self-managed Apache Kafka event
5293
+ # source mappings, default is 1.
5264
5294
  # @return [Integer]
5265
5295
  #
5266
5296
  # @!attribute [rw] maximum_pollers
5267
5297
  # The maximum number of event pollers this event source can scale up
5268
- # to.
5298
+ # to. For Amazon SQS events source mappings, default is 200, and
5299
+ # minimum value allowed is 2. For Amazon MSK and self-managed Apache
5300
+ # Kafka event source mappings, default is 200, and minimum value
5301
+ # allowed is 1.
5269
5302
  # @return [Integer]
5270
5303
  #
5304
+ # @!attribute [rw] poller_group_name
5305
+ # (Amazon MSK and self-managed Apache Kafka) The name of the
5306
+ # provisioned poller group. Use this option to group multiple ESMs
5307
+ # within the VPC to share Event Poller Unit (EPU) capacity. This
5308
+ # option is used to optimize Provisioned mode costs for your ESMs. You
5309
+ # can group up to 100 ESMs per poller group and aggregate maximum
5310
+ # pollers across all ESMs in a group cannot exceed 2000.
5311
+ # @return [String]
5312
+ #
5271
5313
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ProvisionedPollerConfig AWS API Documentation
5272
5314
  #
5273
5315
  class ProvisionedPollerConfig < Struct.new(
5274
5316
  :minimum_pollers,
5275
- :maximum_pollers)
5317
+ :maximum_pollers,
5318
+ :poller_group_name)
5276
5319
  SENSITIVE = []
5277
5320
  include Aws::Structure
5278
5321
  end
@@ -6423,6 +6466,25 @@ module Aws::Lambda
6423
6466
  include Aws::Structure
6424
6467
  end
6425
6468
 
6469
+ # Specifies the tenant isolation mode configuration for a Lambda
6470
+ # function. This allows you to configure specific tenant isolation
6471
+ # strategies for your function invocations. Tenant isolation
6472
+ # configuration cannot be modified after function creation.
6473
+ #
6474
+ # @!attribute [rw] tenant_isolation_mode
6475
+ # Tenant isolation mode allows for invocation to be sent to a
6476
+ # corresponding execution environment dedicated to a specific tenant
6477
+ # ID.
6478
+ # @return [String]
6479
+ #
6480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TenancyConfig AWS API Documentation
6481
+ #
6482
+ class TenancyConfig < Struct.new(
6483
+ :tenant_isolation_mode)
6484
+ SENSITIVE = []
6485
+ include Aws::Structure
6486
+ end
6487
+
6426
6488
  # The request throughput limit was exceeded. For more information, see
6427
6489
  # [Lambda quotas][1].
6428
6490
  #
@@ -6700,26 +6762,28 @@ module Aws::Lambda
6700
6762
  # @return [Integer]
6701
6763
  #
6702
6764
  # @!attribute [rw] destination_config
6703
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
6704
- # A configuration object that specifies the destination of an event
6705
- # after Lambda processes it.
6765
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6766
+ # Kafka) A configuration object that specifies the destination of an
6767
+ # event after Lambda processes it.
6706
6768
  # @return [Types::DestinationConfig]
6707
6769
  #
6708
6770
  # @!attribute [rw] maximum_record_age_in_seconds
6709
- # (Kinesis and DynamoDB Streams only) Discard records older than the
6710
- # specified age. The default value is infinite (-1).
6771
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6772
+ # Kafka) Discard records older than the specified age. The default
6773
+ # value is infinite (-1).
6711
6774
  # @return [Integer]
6712
6775
  #
6713
6776
  # @!attribute [rw] bisect_batch_on_function_error
6714
- # (Kinesis and DynamoDB Streams only) If the function returns an
6715
- # error, split the batch in two and retry.
6777
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6778
+ # Kafka) If the function returns an error, split the batch in two and
6779
+ # retry.
6716
6780
  # @return [Boolean]
6717
6781
  #
6718
6782
  # @!attribute [rw] maximum_retry_attempts
6719
- # (Kinesis and DynamoDB Streams only) Discard records after the
6720
- # specified number of retries. The default value is infinite (-1).
6721
- # When set to infinite (-1), failed records are retried until the
6722
- # record expires.
6783
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6784
+ # Kafka) Discard records after the specified number of retries. The
6785
+ # default value is infinite (-1). When set to infinite (-1), failed
6786
+ # records are retried until the record expires.
6723
6787
  # @return [Integer]
6724
6788
  #
6725
6789
  # @!attribute [rw] parallelization_factor
@@ -6739,8 +6803,9 @@ module Aws::Lambda
6739
6803
  # @return [Integer]
6740
6804
  #
6741
6805
  # @!attribute [rw] function_response_types
6742
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
6743
- # response type enums applied to the event source mapping.
6806
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
6807
+ # and Amazon SQS) A list of current response type enums applied to the
6808
+ # event source mapping.
6744
6809
  # @return [Array<String>]
6745
6810
  #
6746
6811
  # @!attribute [rw] scaling_config
@@ -6789,9 +6854,9 @@ module Aws::Lambda
6789
6854
  # @return [Types::EventSourceMappingMetricsConfig]
6790
6855
  #
6791
6856
  # @!attribute [rw] provisioned_poller_config
6792
- # (Amazon MSK and self-managed Apache Kafka only) The provisioned mode
6793
- # configuration for the event source. For more information, see
6794
- # [provisioned mode][1].
6857
+ # (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
6858
+ # provisioned mode configuration for the event source. For more
6859
+ # information, see [provisioned mode][1].
6795
6860
  #
6796
6861
  #
6797
6862
  #
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.165.0'
59
+ GEM_VERSION = '1.167.0'
60
60
 
61
61
  end
62
62