aws-sdk-lambda 1.193.0 → 1.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cd651e6a16ecea8f1c270ee3ccafa92d0c1fb998a2abc4626d62503110743dc
4
- data.tar.gz: 953b04a9f88e251ac6f5728b8845f2d6996799c3850ff8c580d5355c4ba559a8
3
+ metadata.gz: 0ece0cd79a68888241aecf629d5064acc008905a67479da2731bdcbdf2e79e6c
4
+ data.tar.gz: 5984ccfda74134c10d291339aca5705d4da841d318061b5786d4f9854b245b82
5
5
  SHA512:
6
- metadata.gz: ed4618eeb2301da0fdbfdd2b3873c5f542efeafd890f72a00f4b7c6150958f8fe285674b7d50750122f91e97dc4fe08e24c5d383de3837976613545b799ebb13
7
- data.tar.gz: b3ca1348825130da50a344f544e482075d3861bfd47efdfb95e135bdf738a1a07ecd83a551c13c560936763d6d979d55cc7bd8b9cfcd426a010602c4ea8e034c
6
+ metadata.gz: e3f336c35d9c7d5791de8f724dfcba440ef61ed833d521c73d926b6a7243480c302fc0b516c939755517bb332ef34562a41a5245082e23ad198741e9d5ee9e45
7
+ data.tar.gz: bb34bf442aa7aa9bafdfba93ec5b1ad68f459f27fd0b39e2d4eeaf77d747eb4c7deb71c7180c0df5ed8227b63b2f70957d6a8904224534e1e02b00a3d1942492
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.195.0 (2026-09-09)
5
+ ------------------
6
+
7
+ * Feature - Updates documentation for lambda function timeout.
8
+
9
+ 1.194.0 (2026-09-01)
10
+ ------------------
11
+
12
+ * Feature - AWS Lambda now provides configurable control over S3 direct access, allowing you to explicitly enable or disable how functions stream file reads directly from S3 buckets. This gives you flexibility to tune data access behavior based on your workload requirements, independent of memory size.
13
+
4
14
  1.193.0 (2026-08-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.193.0
1
+ 1.195.0
@@ -1839,9 +1839,12 @@ module Aws::Lambda
1839
1839
  #
1840
1840
  # @option params [Integer] :timeout
1841
1841
  # The amount of time (in seconds) that Lambda allows a function to run
1842
- # before stopping it. The default is 3 seconds. The maximum allowed
1843
- # value is 900 seconds. For more information, see [Lambda execution
1844
- # environment][1].
1842
+ # before stopping it. The default is 3 seconds, and the maximum allowed
1843
+ # value is 900 seconds. For functions using Lambda Managed Instances,
1844
+ # asynchronous invocations and event source mapping invocations (except
1845
+ # Amazon MQ and Amazon DocumentDB) support a maximum allowed value of
1846
+ # 5,400 seconds (90 minutes). For more information, see [Lambda
1847
+ # execution environment][1].
1845
1848
  #
1846
1849
  #
1847
1850
  #
@@ -2161,6 +2164,9 @@ module Aws::Lambda
2161
2164
  # {
2162
2165
  # arn: "FileSystemArn", # required
2163
2166
  # local_mount_path: "LocalMountPath", # required
2167
+ # s3_files_config: {
2168
+ # direct_s3_read: "ENABLED", # accepts ENABLED, DISABLED, AUTO
2169
+ # },
2164
2170
  # },
2165
2171
  # ],
2166
2172
  # code_signing_config_arn: "CodeSigningConfigArn",
@@ -2242,6 +2248,7 @@ module Aws::Lambda
2242
2248
  # resp.file_system_configs #=> Array
2243
2249
  # resp.file_system_configs[0].arn #=> String
2244
2250
  # resp.file_system_configs[0].local_mount_path #=> String
2251
+ # resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
2245
2252
  # resp.signing_profile_version_arn #=> String
2246
2253
  # resp.signing_job_arn #=> String
2247
2254
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -3891,6 +3898,7 @@ module Aws::Lambda
3891
3898
  # resp.configuration.file_system_configs #=> Array
3892
3899
  # resp.configuration.file_system_configs[0].arn #=> String
3893
3900
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
3901
+ # resp.configuration.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
3894
3902
  # resp.configuration.signing_profile_version_arn #=> String
3895
3903
  # resp.configuration.signing_job_arn #=> String
3896
3904
  # resp.configuration.package_type #=> String, one of "Zip", "Image"
@@ -4215,6 +4223,7 @@ module Aws::Lambda
4215
4223
  # resp.file_system_configs #=> Array
4216
4224
  # resp.file_system_configs[0].arn #=> String
4217
4225
  # resp.file_system_configs[0].local_mount_path #=> String
4226
+ # resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
4218
4227
  # resp.signing_profile_version_arn #=> String
4219
4228
  # resp.signing_job_arn #=> String
4220
4229
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -4798,9 +4807,9 @@ module Aws::Lambda
4798
4807
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4799
4808
  #
4800
4809
  #
4801
- # @example Example: To view a provisioned concurrency configuration
4810
+ # @example Example: To get a provisioned concurrency configuration
4802
4811
  #
4803
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4812
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4804
4813
  # # function.
4805
4814
  #
4806
4815
  # resp = client.get_provisioned_concurrency_config({
@@ -4817,9 +4826,9 @@ module Aws::Lambda
4817
4826
  # status: "READY",
4818
4827
  # }
4819
4828
  #
4820
- # @example Example: To get a provisioned concurrency configuration
4829
+ # @example Example: To view a provisioned concurrency configuration
4821
4830
  #
4822
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4831
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4823
4832
  # # function.
4824
4833
  #
4825
4834
  # resp = client.get_provisioned_concurrency_config({
@@ -6298,6 +6307,7 @@ module Aws::Lambda
6298
6307
  # resp.functions[0].file_system_configs #=> Array
6299
6308
  # resp.functions[0].file_system_configs[0].arn #=> String
6300
6309
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
6310
+ # resp.functions[0].file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
6301
6311
  # resp.functions[0].signing_profile_version_arn #=> String
6302
6312
  # resp.functions[0].signing_job_arn #=> String
6303
6313
  # resp.functions[0].package_type #=> String, one of "Zip", "Image"
@@ -6914,6 +6924,7 @@ module Aws::Lambda
6914
6924
  # resp.versions[0].file_system_configs #=> Array
6915
6925
  # resp.versions[0].file_system_configs[0].arn #=> String
6916
6926
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
6927
+ # resp.versions[0].file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
6917
6928
  # resp.versions[0].signing_profile_version_arn #=> String
6918
6929
  # resp.versions[0].signing_job_arn #=> String
6919
6930
  # resp.versions[0].package_type #=> String, one of "Zip", "Image"
@@ -7291,6 +7302,7 @@ module Aws::Lambda
7291
7302
  # resp.file_system_configs #=> Array
7292
7303
  # resp.file_system_configs[0].arn #=> String
7293
7304
  # resp.file_system_configs[0].local_mount_path #=> String
7305
+ # resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
7294
7306
  # resp.signing_profile_version_arn #=> String
7295
7307
  # resp.signing_job_arn #=> String
7296
7308
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -9276,6 +9288,7 @@ module Aws::Lambda
9276
9288
  # resp.file_system_configs #=> Array
9277
9289
  # resp.file_system_configs[0].arn #=> String
9278
9290
  # resp.file_system_configs[0].local_mount_path #=> String
9291
+ # resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
9279
9292
  # resp.signing_profile_version_arn #=> String
9280
9293
  # resp.signing_job_arn #=> String
9281
9294
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -9374,9 +9387,12 @@ module Aws::Lambda
9374
9387
  #
9375
9388
  # @option params [Integer] :timeout
9376
9389
  # The amount of time (in seconds) that Lambda allows a function to run
9377
- # before stopping it. The default is 3 seconds. The maximum allowed
9378
- # value is 900 seconds. For more information, see [Lambda execution
9379
- # environment][1].
9390
+ # before stopping it. The default is 3 seconds, and the maximum allowed
9391
+ # value is 900 seconds. For functions using Lambda Managed Instances,
9392
+ # asynchronous invocations and event source mapping invocations (except
9393
+ # Amazon MQ and Amazon DocumentDB) support a maximum allowed value of
9394
+ # 5,400 seconds (90 minutes). For more information, see [Lambda
9395
+ # execution environment][1].
9380
9396
  #
9381
9397
  #
9382
9398
  #
@@ -9647,6 +9663,9 @@ module Aws::Lambda
9647
9663
  # {
9648
9664
  # arn: "FileSystemArn", # required
9649
9665
  # local_mount_path: "LocalMountPath", # required
9666
+ # s3_files_config: {
9667
+ # direct_s3_read: "ENABLED", # accepts ENABLED, DISABLED, AUTO
9668
+ # },
9650
9669
  # },
9651
9670
  # ],
9652
9671
  # image_config: {
@@ -9723,6 +9742,7 @@ module Aws::Lambda
9723
9742
  # resp.file_system_configs #=> Array
9724
9743
  # resp.file_system_configs[0].arn #=> String
9725
9744
  # resp.file_system_configs[0].local_mount_path #=> String
9745
+ # resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
9726
9746
  # resp.signing_profile_version_arn #=> String
9727
9747
  # resp.signing_job_arn #=> String
9728
9748
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -10016,7 +10036,7 @@ module Aws::Lambda
10016
10036
  tracer: tracer
10017
10037
  )
10018
10038
  context[:gem_name] = 'aws-sdk-lambda'
10019
- context[:gem_version] = '1.193.0'
10039
+ context[:gem_version] = '1.195.0'
10020
10040
  Seahorse::Client::Request.new(handlers, context)
10021
10041
  end
10022
10042
 
@@ -136,6 +136,7 @@ module Aws::Lambda
136
136
  Description = Shapes::StringShape.new(name: 'Description')
137
137
  DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
138
138
  DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
139
+ DirectS3Read = Shapes::StringShape.new(name: 'DirectS3Read')
139
140
  DocumentDBEventSourceConfig = Shapes::StructureShape.new(name: 'DocumentDBEventSourceConfig')
140
141
  DurableConfig = Shapes::StructureShape.new(name: 'DurableConfig')
141
142
  DurableExecutionAlreadyStartedException = Shapes::StructureShape.new(name: 'DurableExecutionAlreadyStartedException')
@@ -487,6 +488,7 @@ module Aws::Lambda
487
488
  RuntimeVersionConfig = Shapes::StructureShape.new(name: 'RuntimeVersionConfig')
488
489
  RuntimeVersionError = Shapes::StructureShape.new(name: 'RuntimeVersionError')
489
490
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
491
+ S3FilesConfig = Shapes::StructureShape.new(name: 'S3FilesConfig')
490
492
  S3FilesMountConnectivityException = Shapes::StructureShape.new(name: 'S3FilesMountConnectivityException')
491
493
  S3FilesMountFailureException = Shapes::StructureShape.new(name: 'S3FilesMountFailureException')
492
494
  S3FilesMountTimeoutException = Shapes::StructureShape.new(name: 'S3FilesMountTimeoutException')
@@ -1226,6 +1228,7 @@ module Aws::Lambda
1226
1228
 
1227
1229
  FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
1228
1230
  FileSystemConfig.add_member(:local_mount_path, Shapes::ShapeRef.new(shape: LocalMountPath, required: true, location_name: "LocalMountPath"))
1231
+ FileSystemConfig.add_member(:s3_files_config, Shapes::ShapeRef.new(shape: S3FilesConfig, location_name: "S3FilesConfig"))
1229
1232
  FileSystemConfig.struct_class = Types::FileSystemConfig
1230
1233
 
1231
1234
  FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
@@ -2118,6 +2121,9 @@ module Aws::Lambda
2118
2121
  RuntimeVersionError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
2119
2122
  RuntimeVersionError.struct_class = Types::RuntimeVersionError
2120
2123
 
2124
+ S3FilesConfig.add_member(:direct_s3_read, Shapes::ShapeRef.new(shape: DirectS3Read, location_name: "DirectS3Read"))
2125
+ S3FilesConfig.struct_class = Types::S3FilesConfig
2126
+
2121
2127
  S3FilesMountConnectivityException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2122
2128
  S3FilesMountConnectivityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2123
2129
  S3FilesMountConnectivityException.struct_class = Types::S3FilesMountConnectivityException
@@ -1809,9 +1809,12 @@ module Aws::Lambda
1809
1809
  #
1810
1810
  # @!attribute [rw] timeout
1811
1811
  # The amount of time (in seconds) that Lambda allows a function to run
1812
- # before stopping it. The default is 3 seconds. The maximum allowed
1813
- # value is 900 seconds. For more information, see [Lambda execution
1814
- # environment][1].
1812
+ # before stopping it. The default is 3 seconds, and the maximum
1813
+ # allowed value is 900 seconds. For functions using Lambda Managed
1814
+ # Instances, asynchronous invocations and event source mapping
1815
+ # invocations (except Amazon MQ and Amazon DocumentDB) support a
1816
+ # maximum allowed value of 5,400 seconds (90 minutes). For more
1817
+ # information, see [Lambda execution environment][1].
1815
1818
  #
1816
1819
  #
1817
1820
  #
@@ -3632,7 +3635,7 @@ module Aws::Lambda
3632
3635
  end
3633
3636
 
3634
3637
  # Details about the connection between a Lambda function and an [Amazon
3635
- # EFS file system][1] or an [Amazon S3 Files file system][1].
3638
+ # EFS file system][1] or an [Amazon S3 file system][1].
3636
3639
  #
3637
3640
  #
3638
3641
  #
@@ -3648,11 +3651,20 @@ module Aws::Lambda
3648
3651
  # with `/mnt/`.
3649
3652
  # @return [String]
3650
3653
  #
3654
+ # @!attribute [rw] s3_files_config
3655
+ # The configuration for how your function accesses data on an Amazon
3656
+ # S3 file system. Valid only when the file system access point ARN is
3657
+ # an Amazon S3 Files access point. If you specify a different access
3658
+ # point type (for example, Amazon Elastic File System), the operation
3659
+ # returns an `InvalidParameterException`.
3660
+ # @return [Types::S3FilesConfig]
3661
+ #
3651
3662
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FileSystemConfig AWS API Documentation
3652
3663
  #
3653
3664
  class FileSystemConfig < Struct.new(
3654
3665
  :arn,
3655
- :local_mount_path)
3666
+ :local_mount_path,
3667
+ :s3_files_config)
3656
3668
  SENSITIVE = []
3657
3669
  include Aws::Structure
3658
3670
  end
@@ -4026,7 +4038,7 @@ module Aws::Lambda
4026
4038
  #
4027
4039
  # @!attribute [rw] file_system_configs
4028
4040
  # Connection settings for an [Amazon EFS file system][1] or an [Amazon
4029
- # S3 Files file system][1].
4041
+ # S3 file system][1].
4030
4042
  #
4031
4043
  #
4032
4044
  #
@@ -8771,6 +8783,37 @@ module Aws::Lambda
8771
8783
  include Aws::Structure
8772
8784
  end
8773
8785
 
8786
+ # Setting controls how your function accesses data from an Amazon S3
8787
+ # file system.
8788
+ #
8789
+ # @!attribute [rw] direct_s3_read
8790
+ # Specifies if a function reads from the file system for the lowest
8791
+ # latency, or through Amazon S3 Files feature "direct Amazon S3
8792
+ # bucket reads" for the highest throughput. Valid values:
8793
+ #
8794
+ # * `AUTO` (default) – Direct reads are active for functions you
8795
+ # configure with 512 MB or more of memory.
8796
+ #
8797
+ # * `ENABLED` – Enforces all reads are directly from the Amazon S3
8798
+ # bucket, regardless of available memory (less than 512 MB).
8799
+ #
8800
+ # * `DISABLED` – Routes all reads through the file system, regardless
8801
+ # of memory configuration.
8802
+ #
8803
+ # To use direct reads, you must grant the execution role the
8804
+ # `s3:GetObject` and `s3:GetObjectVersion` permissions. If a direct
8805
+ # read fails, Lambda automatically falls back to reading through the
8806
+ # file system.
8807
+ # @return [String]
8808
+ #
8809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/S3FilesConfig AWS API Documentation
8810
+ #
8811
+ class S3FilesConfig < Struct.new(
8812
+ :direct_s3_read)
8813
+ SENSITIVE = []
8814
+ include Aws::Structure
8815
+ end
8816
+
8774
8817
  # The Lambda function couldn't make a network connection to the
8775
8818
  # configured S3 Files access point.
8776
8819
  #
@@ -10046,9 +10089,12 @@ module Aws::Lambda
10046
10089
  #
10047
10090
  # @!attribute [rw] timeout
10048
10091
  # The amount of time (in seconds) that Lambda allows a function to run
10049
- # before stopping it. The default is 3 seconds. The maximum allowed
10050
- # value is 900 seconds. For more information, see [Lambda execution
10051
- # environment][1].
10092
+ # before stopping it. The default is 3 seconds, and the maximum
10093
+ # allowed value is 900 seconds. For functions using Lambda Managed
10094
+ # Instances, asynchronous invocations and event source mapping
10095
+ # invocations (except Amazon MQ and Amazon DocumentDB) support a
10096
+ # maximum allowed value of 5,400 seconds (90 minutes). For more
10097
+ # information, see [Lambda execution environment][1].
10052
10098
  #
10053
10099
  #
10054
10100
  #
@@ -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.193.0'
59
+ GEM_VERSION = '1.195.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -419,7 +419,10 @@ module Aws
419
419
  ?file_system_configs: Array[
420
420
  {
421
421
  arn: ::String,
422
- local_mount_path: ::String
422
+ local_mount_path: ::String,
423
+ s3_files_config: {
424
+ direct_s3_read: ("ENABLED" | "DISABLED" | "AUTO")?
425
+ }?
423
426
  }
424
427
  ],
425
428
  ?code_signing_config_arn: ::String,
@@ -1798,7 +1801,10 @@ module Aws
1798
1801
  ?file_system_configs: Array[
1799
1802
  {
1800
1803
  arn: ::String,
1801
- local_mount_path: ::String
1804
+ local_mount_path: ::String,
1805
+ s3_files_config: {
1806
+ direct_s3_read: ("ENABLED" | "DISABLED" | "AUTO")?
1807
+ }?
1802
1808
  }
1803
1809
  ],
1804
1810
  ?image_config: {
data/sig/types.rbs CHANGED
@@ -804,6 +804,7 @@ module Aws::Lambda
804
804
  class FileSystemConfig
805
805
  attr_accessor arn: ::String
806
806
  attr_accessor local_mount_path: ::String
807
+ attr_accessor s3_files_config: Types::S3FilesConfig
807
808
  SENSITIVE: []
808
809
  end
809
810
 
@@ -1959,6 +1960,11 @@ module Aws::Lambda
1959
1960
  SENSITIVE: [:message]
1960
1961
  end
1961
1962
 
1963
+ class S3FilesConfig
1964
+ attr_accessor direct_s3_read: ("ENABLED" | "DISABLED" | "AUTO")
1965
+ SENSITIVE: []
1966
+ end
1967
+
1962
1968
  class S3FilesMountConnectivityException
1963
1969
  attr_accessor type: ::String
1964
1970
  attr_accessor message: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.193.0
4
+ version: 1.195.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.254.0
21
+ version: 3.255.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.254.0
31
+ version: 3.255.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement