aws-sdk-lambda 1.193.0 → 1.194.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +15 -1
- data/lib/aws-sdk-lambda/client_api.rb +6 -0
- data/lib/aws-sdk-lambda/types.rb +43 -3
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +8 -2
- data/sig/types.rbs +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee5c1fb98f514866da65aa9a517599e6cfbc0e1d2e7df6b5cf60410a10f389f8
|
|
4
|
+
data.tar.gz: c5ec4f3339bb43fb88daa4b2ca9a77f0a99a9c5618980799afcd9303bae90e2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 435e41d797bf594c3c37cde7b41e63a40cc99aa490857a7374fa3d8aac1cdb9e9e865856e10df8b3d6a0545370906ea3de63117facc9318a79833e752f9972fc
|
|
7
|
+
data.tar.gz: 9efd60cee6ebeebac9a664f1b7a747df115db784b280c0c7118f83cc09f5e64979cd9e924c4aa5f4a24054fbabf598808dc7605b5c80f0f9fa3e1aa3afd2101c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.194.0 (2026-09-01)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
4
9
|
1.193.0 (2026-08-20)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.194.0
|
|
@@ -2161,6 +2161,9 @@ module Aws::Lambda
|
|
|
2161
2161
|
# {
|
|
2162
2162
|
# arn: "FileSystemArn", # required
|
|
2163
2163
|
# local_mount_path: "LocalMountPath", # required
|
|
2164
|
+
# s3_files_config: {
|
|
2165
|
+
# direct_s3_read: "ENABLED", # accepts ENABLED, DISABLED, AUTO
|
|
2166
|
+
# },
|
|
2164
2167
|
# },
|
|
2165
2168
|
# ],
|
|
2166
2169
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
|
@@ -2242,6 +2245,7 @@ module Aws::Lambda
|
|
|
2242
2245
|
# resp.file_system_configs #=> Array
|
|
2243
2246
|
# resp.file_system_configs[0].arn #=> String
|
|
2244
2247
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
2248
|
+
# resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
2245
2249
|
# resp.signing_profile_version_arn #=> String
|
|
2246
2250
|
# resp.signing_job_arn #=> String
|
|
2247
2251
|
# resp.package_type #=> String, one of "Zip", "Image"
|
|
@@ -3891,6 +3895,7 @@ module Aws::Lambda
|
|
|
3891
3895
|
# resp.configuration.file_system_configs #=> Array
|
|
3892
3896
|
# resp.configuration.file_system_configs[0].arn #=> String
|
|
3893
3897
|
# resp.configuration.file_system_configs[0].local_mount_path #=> String
|
|
3898
|
+
# resp.configuration.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
3894
3899
|
# resp.configuration.signing_profile_version_arn #=> String
|
|
3895
3900
|
# resp.configuration.signing_job_arn #=> String
|
|
3896
3901
|
# resp.configuration.package_type #=> String, one of "Zip", "Image"
|
|
@@ -4215,6 +4220,7 @@ module Aws::Lambda
|
|
|
4215
4220
|
# resp.file_system_configs #=> Array
|
|
4216
4221
|
# resp.file_system_configs[0].arn #=> String
|
|
4217
4222
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
4223
|
+
# resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
4218
4224
|
# resp.signing_profile_version_arn #=> String
|
|
4219
4225
|
# resp.signing_job_arn #=> String
|
|
4220
4226
|
# resp.package_type #=> String, one of "Zip", "Image"
|
|
@@ -6298,6 +6304,7 @@ module Aws::Lambda
|
|
|
6298
6304
|
# resp.functions[0].file_system_configs #=> Array
|
|
6299
6305
|
# resp.functions[0].file_system_configs[0].arn #=> String
|
|
6300
6306
|
# resp.functions[0].file_system_configs[0].local_mount_path #=> String
|
|
6307
|
+
# resp.functions[0].file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
6301
6308
|
# resp.functions[0].signing_profile_version_arn #=> String
|
|
6302
6309
|
# resp.functions[0].signing_job_arn #=> String
|
|
6303
6310
|
# resp.functions[0].package_type #=> String, one of "Zip", "Image"
|
|
@@ -6914,6 +6921,7 @@ module Aws::Lambda
|
|
|
6914
6921
|
# resp.versions[0].file_system_configs #=> Array
|
|
6915
6922
|
# resp.versions[0].file_system_configs[0].arn #=> String
|
|
6916
6923
|
# resp.versions[0].file_system_configs[0].local_mount_path #=> String
|
|
6924
|
+
# resp.versions[0].file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
6917
6925
|
# resp.versions[0].signing_profile_version_arn #=> String
|
|
6918
6926
|
# resp.versions[0].signing_job_arn #=> String
|
|
6919
6927
|
# resp.versions[0].package_type #=> String, one of "Zip", "Image"
|
|
@@ -7291,6 +7299,7 @@ module Aws::Lambda
|
|
|
7291
7299
|
# resp.file_system_configs #=> Array
|
|
7292
7300
|
# resp.file_system_configs[0].arn #=> String
|
|
7293
7301
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
7302
|
+
# resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
7294
7303
|
# resp.signing_profile_version_arn #=> String
|
|
7295
7304
|
# resp.signing_job_arn #=> String
|
|
7296
7305
|
# resp.package_type #=> String, one of "Zip", "Image"
|
|
@@ -9276,6 +9285,7 @@ module Aws::Lambda
|
|
|
9276
9285
|
# resp.file_system_configs #=> Array
|
|
9277
9286
|
# resp.file_system_configs[0].arn #=> String
|
|
9278
9287
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
9288
|
+
# resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
9279
9289
|
# resp.signing_profile_version_arn #=> String
|
|
9280
9290
|
# resp.signing_job_arn #=> String
|
|
9281
9291
|
# resp.package_type #=> String, one of "Zip", "Image"
|
|
@@ -9647,6 +9657,9 @@ module Aws::Lambda
|
|
|
9647
9657
|
# {
|
|
9648
9658
|
# arn: "FileSystemArn", # required
|
|
9649
9659
|
# local_mount_path: "LocalMountPath", # required
|
|
9660
|
+
# s3_files_config: {
|
|
9661
|
+
# direct_s3_read: "ENABLED", # accepts ENABLED, DISABLED, AUTO
|
|
9662
|
+
# },
|
|
9650
9663
|
# },
|
|
9651
9664
|
# ],
|
|
9652
9665
|
# image_config: {
|
|
@@ -9723,6 +9736,7 @@ module Aws::Lambda
|
|
|
9723
9736
|
# resp.file_system_configs #=> Array
|
|
9724
9737
|
# resp.file_system_configs[0].arn #=> String
|
|
9725
9738
|
# resp.file_system_configs[0].local_mount_path #=> String
|
|
9739
|
+
# resp.file_system_configs[0].s3_files_config.direct_s3_read #=> String, one of "ENABLED", "DISABLED", "AUTO"
|
|
9726
9740
|
# resp.signing_profile_version_arn #=> String
|
|
9727
9741
|
# resp.signing_job_arn #=> String
|
|
9728
9742
|
# resp.package_type #=> String, one of "Zip", "Image"
|
|
@@ -10016,7 +10030,7 @@ module Aws::Lambda
|
|
|
10016
10030
|
tracer: tracer
|
|
10017
10031
|
)
|
|
10018
10032
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
10019
|
-
context[:gem_version] = '1.
|
|
10033
|
+
context[:gem_version] = '1.194.0'
|
|
10020
10034
|
Seahorse::Client::Request.new(handlers, context)
|
|
10021
10035
|
end
|
|
10022
10036
|
|
|
@@ -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
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -3632,7 +3632,7 @@ module Aws::Lambda
|
|
|
3632
3632
|
end
|
|
3633
3633
|
|
|
3634
3634
|
# Details about the connection between a Lambda function and an [Amazon
|
|
3635
|
-
# EFS file system][1] or an [Amazon S3
|
|
3635
|
+
# EFS file system][1] or an [Amazon S3 file system][1].
|
|
3636
3636
|
#
|
|
3637
3637
|
#
|
|
3638
3638
|
#
|
|
@@ -3648,11 +3648,20 @@ module Aws::Lambda
|
|
|
3648
3648
|
# with `/mnt/`.
|
|
3649
3649
|
# @return [String]
|
|
3650
3650
|
#
|
|
3651
|
+
# @!attribute [rw] s3_files_config
|
|
3652
|
+
# The configuration for how your function accesses data on an Amazon
|
|
3653
|
+
# S3 file system. Valid only when the file system access point ARN is
|
|
3654
|
+
# an Amazon S3 Files access point. If you specify a different access
|
|
3655
|
+
# point type (for example, Amazon Elastic File System), the operation
|
|
3656
|
+
# returns an `InvalidParameterException`.
|
|
3657
|
+
# @return [Types::S3FilesConfig]
|
|
3658
|
+
#
|
|
3651
3659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FileSystemConfig AWS API Documentation
|
|
3652
3660
|
#
|
|
3653
3661
|
class FileSystemConfig < Struct.new(
|
|
3654
3662
|
:arn,
|
|
3655
|
-
:local_mount_path
|
|
3663
|
+
:local_mount_path,
|
|
3664
|
+
:s3_files_config)
|
|
3656
3665
|
SENSITIVE = []
|
|
3657
3666
|
include Aws::Structure
|
|
3658
3667
|
end
|
|
@@ -4026,7 +4035,7 @@ module Aws::Lambda
|
|
|
4026
4035
|
#
|
|
4027
4036
|
# @!attribute [rw] file_system_configs
|
|
4028
4037
|
# Connection settings for an [Amazon EFS file system][1] or an [Amazon
|
|
4029
|
-
# S3
|
|
4038
|
+
# S3 file system][1].
|
|
4030
4039
|
#
|
|
4031
4040
|
#
|
|
4032
4041
|
#
|
|
@@ -8771,6 +8780,37 @@ module Aws::Lambda
|
|
|
8771
8780
|
include Aws::Structure
|
|
8772
8781
|
end
|
|
8773
8782
|
|
|
8783
|
+
# Setting controls how your function accesses data from an Amazon S3
|
|
8784
|
+
# file system.
|
|
8785
|
+
#
|
|
8786
|
+
# @!attribute [rw] direct_s3_read
|
|
8787
|
+
# Specifies if a function reads from the file system for the lowest
|
|
8788
|
+
# latency, or through Amazon S3 Files feature "direct Amazon S3
|
|
8789
|
+
# bucket reads" for the highest throughput. Valid values:
|
|
8790
|
+
#
|
|
8791
|
+
# * `AUTO` (default) – Direct reads are active for functions you
|
|
8792
|
+
# configure with 512 MB or more of memory.
|
|
8793
|
+
#
|
|
8794
|
+
# * `ENABLED` – Enforces all reads are directly from the Amazon S3
|
|
8795
|
+
# bucket, regardless of available memory (less than 512 MB).
|
|
8796
|
+
#
|
|
8797
|
+
# * `DISABLED` – Routes all reads through the file system, regardless
|
|
8798
|
+
# of memory configuration.
|
|
8799
|
+
#
|
|
8800
|
+
# To use direct reads, you must grant the execution role the
|
|
8801
|
+
# `s3:GetObject` and `s3:GetObjectVersion` permissions. If a direct
|
|
8802
|
+
# read fails, Lambda automatically falls back to reading through the
|
|
8803
|
+
# file system.
|
|
8804
|
+
# @return [String]
|
|
8805
|
+
#
|
|
8806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/S3FilesConfig AWS API Documentation
|
|
8807
|
+
#
|
|
8808
|
+
class S3FilesConfig < Struct.new(
|
|
8809
|
+
:direct_s3_read)
|
|
8810
|
+
SENSITIVE = []
|
|
8811
|
+
include Aws::Structure
|
|
8812
|
+
end
|
|
8813
|
+
|
|
8774
8814
|
# The Lambda function couldn't make a network connection to the
|
|
8775
8815
|
# configured S3 Files access point.
|
|
8776
8816
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
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
|