aws-sdk-lambda 1.185.0 → 1.186.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: a2554238c78719dca22aa1dafd4a5cf537e5cb9c4b3e6cbd2678211aaab48bb1
4
- data.tar.gz: bf3d51bf6d6f5c144647a5231298ca323c2c25598ed13086202751b9684548e4
3
+ metadata.gz: 6334932cf377cdaaba7067c4cb799967bc56e0136ae00f76ef2d42925923a82b
4
+ data.tar.gz: cd7a75ea9e711e17c7127c38b6fe5df3c60dfddca2bc818aebafb957d1dbe5ab
5
5
  SHA512:
6
- metadata.gz: cfc15e6876ba5581b7850da7d21e64e96a192d40c3aa042b1dc559ca2c58421ef36ea3e8f8c2e39b245122ecc6f622603095a96c911c9ecd686c1c287e1dcc4a
7
- data.tar.gz: 2ca4b33f6347e2c42e0dacdf2f38633bb5e8def34fe4c06ad847eae13d89b1e7984aad89a61b128666a34a176a927f5caaabf6bbc1c039fa660f7cb97e0f283e
6
+ metadata.gz: d4b5ff07f1117f9475ce7ab5af8e5a84cb8f279dc8ff304887b4ef885b574970f30b89d414f42cfa85cda2e9f9e9d7e848f3c3bf1e7fe8449f7e901579aee9d5
7
+ data.tar.gz: fd5abaf2ec807de7310e8327530a4290c824a9c33779f0b0f6cdb04d62e3eccd477b4c5b02599a150d4ce50bbc38421765f4820771e77e1d73e546ff60159730
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.186.0 (2026-06-29)
5
+ ------------------
6
+
7
+ * Feature - Lambda now supports self-managed S3 buckets for Lambda code storage giving you the option for Lambda to reference a copy of your source code from your own S3 buckets. This allows you to maintain a single copy of your source code and manage your own code storage limits.
8
+
4
9
  1.185.0 (2026-06-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.185.0
1
+ 1.186.0
@@ -2114,6 +2114,7 @@ module Aws::Lambda
2114
2114
  # s3_bucket: "S3Bucket",
2115
2115
  # s3_key: "S3Key",
2116
2116
  # s3_object_version: "S3ObjectVersion",
2117
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
2117
2118
  # image_uri: "String",
2118
2119
  # source_kms_key_arn: "KMSKeyArn",
2119
2120
  # },
@@ -3856,7 +3857,12 @@ module Aws::Lambda
3856
3857
  # resp.code.location #=> String
3857
3858
  # resp.code.image_uri #=> String
3858
3859
  # resp.code.resolved_image_uri #=> String
3860
+ # resp.code.resolved_s3_object.s3_bucket #=> String
3861
+ # resp.code.resolved_s3_object.s3_key #=> String
3862
+ # resp.code.resolved_s3_object.s3_object_version #=> String
3859
3863
  # resp.code.source_kms_key_arn #=> String
3864
+ # resp.code.error.error_code #=> String
3865
+ # resp.code.error.message #=> String
3860
3866
  # resp.tags #=> Hash
3861
3867
  # resp.tags["TagKey"] #=> String
3862
3868
  # resp.tags_error.error_code #=> String
@@ -4477,6 +4483,9 @@ module Aws::Lambda
4477
4483
  # resp.content.code_size #=> Integer
4478
4484
  # resp.content.signing_profile_version_arn #=> String
4479
4485
  # resp.content.signing_job_arn #=> String
4486
+ # resp.content.resolved_s3_object.s3_bucket #=> String
4487
+ # resp.content.resolved_s3_object.s3_key #=> String
4488
+ # resp.content.resolved_s3_object.s3_object_version #=> String
4480
4489
  # resp.layer_arn #=> String
4481
4490
  # resp.layer_version_arn #=> String
4482
4491
  # resp.description #=> String
@@ -4558,6 +4567,9 @@ module Aws::Lambda
4558
4567
  # resp.content.code_size #=> Integer
4559
4568
  # resp.content.signing_profile_version_arn #=> String
4560
4569
  # resp.content.signing_job_arn #=> String
4570
+ # resp.content.resolved_s3_object.s3_bucket #=> String
4571
+ # resp.content.resolved_s3_object.s3_key #=> String
4572
+ # resp.content.resolved_s3_object.s3_object_version #=> String
4561
4573
  # resp.layer_arn #=> String
4562
4574
  # resp.layer_version_arn #=> String
4563
4575
  # resp.description #=> String
@@ -6934,6 +6946,7 @@ module Aws::Lambda
6934
6946
  # s3_bucket: "S3Bucket",
6935
6947
  # s3_key: "S3Key",
6936
6948
  # s3_object_version: "S3ObjectVersion",
6949
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
6937
6950
  # zip_file: "data",
6938
6951
  # },
6939
6952
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
@@ -6948,6 +6961,9 @@ module Aws::Lambda
6948
6961
  # resp.content.code_size #=> Integer
6949
6962
  # resp.content.signing_profile_version_arn #=> String
6950
6963
  # resp.content.signing_job_arn #=> String
6964
+ # resp.content.resolved_s3_object.s3_bucket #=> String
6965
+ # resp.content.resolved_s3_object.s3_key #=> String
6966
+ # resp.content.resolved_s3_object.s3_object_version #=> String
6951
6967
  # resp.layer_arn #=> String
6952
6968
  # resp.layer_version_arn #=> String
6953
6969
  # resp.description #=> String
@@ -8883,6 +8899,12 @@ module Aws::Lambda
8883
8899
  # For versioned objects, the version of the deployment package object to
8884
8900
  # use.
8885
8901
  #
8902
+ # @option params [String] :s3_object_storage_mode
8903
+ # Specifies how the deployment package is stored. Use `COPY` (default)
8904
+ # to upload a copy of your deployment package to Lambda. Use `REFERENCE`
8905
+ # to have Lambda reference the deployment package from the specified
8906
+ # Amazon S3 bucket.
8907
+ #
8886
8908
  # @option params [String] :image_uri
8887
8909
  # URI of a container image in the Amazon ECR registry. Do not use for a
8888
8910
  # function defined with a .zip file archive.
@@ -8998,6 +9020,7 @@ module Aws::Lambda
8998
9020
  # s3_bucket: "S3Bucket",
8999
9021
  # s3_key: "S3Key",
9000
9022
  # s3_object_version: "S3ObjectVersion",
9023
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
9001
9024
  # image_uri: "String",
9002
9025
  # architectures: ["x86_64"], # accepts x86_64, arm64
9003
9026
  # publish: false,
@@ -9781,7 +9804,7 @@ module Aws::Lambda
9781
9804
  tracer: tracer
9782
9805
  )
9783
9806
  context[:gem_name] = 'aws-sdk-lambda'
9784
- context[:gem_version] = '1.185.0'
9807
+ context[:gem_version] = '1.186.0'
9785
9808
  Seahorse::Client::Request.new(handlers, context)
9786
9809
  end
9787
9810
 
@@ -209,6 +209,7 @@ module Aws::Lambda
209
209
  FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
210
210
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
211
211
  FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
212
+ FunctionCodeLocationError = Shapes::StructureShape.new(name: 'FunctionCodeLocationError')
212
213
  FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
213
214
  FunctionEventInvokeConfig = Shapes::StructureShape.new(name: 'FunctionEventInvokeConfig')
214
215
  FunctionEventInvokeConfigList = Shapes::ListShape.new(name: 'FunctionEventInvokeConfigList')
@@ -459,6 +460,7 @@ module Aws::Lambda
459
460
  ReplayChildren = Shapes::BooleanShape.new(name: 'ReplayChildren')
460
461
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
461
462
  ReservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'ReservedConcurrentExecutions')
463
+ ResolvedS3Object = Shapes::StructureShape.new(name: 'ResolvedS3Object')
462
464
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
463
465
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
464
466
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -478,6 +480,7 @@ module Aws::Lambda
478
480
  S3FilesMountFailureException = Shapes::StructureShape.new(name: 'S3FilesMountFailureException')
479
481
  S3FilesMountTimeoutException = Shapes::StructureShape.new(name: 'S3FilesMountTimeoutException')
480
482
  S3Key = Shapes::StringShape.new(name: 'S3Key')
483
+ S3ObjectStorageMode = Shapes::StringShape.new(name: 'S3ObjectStorageMode')
481
484
  S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
482
485
  ScalingConfig = Shapes::StructureShape.new(name: 'ScalingConfig')
483
486
  SchemaRegistryEventRecordFormat = Shapes::StringShape.new(name: 'SchemaRegistryEventRecordFormat')
@@ -1219,6 +1222,7 @@ module Aws::Lambda
1219
1222
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
1220
1223
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1221
1224
  FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1225
+ FunctionCode.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
1222
1226
  FunctionCode.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
1223
1227
  FunctionCode.add_member(:source_kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "SourceKMSKeyArn"))
1224
1228
  FunctionCode.struct_class = Types::FunctionCode
@@ -1227,9 +1231,15 @@ module Aws::Lambda
1227
1231
  FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: SensitiveStringOnServerOnly, location_name: "Location"))
1228
1232
  FunctionCodeLocation.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
1229
1233
  FunctionCodeLocation.add_member(:resolved_image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ResolvedImageUri"))
1234
+ FunctionCodeLocation.add_member(:resolved_s3_object, Shapes::ShapeRef.new(shape: ResolvedS3Object, location_name: "ResolvedS3Object"))
1230
1235
  FunctionCodeLocation.add_member(:source_kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "SourceKMSKeyArn"))
1236
+ FunctionCodeLocation.add_member(:error, Shapes::ShapeRef.new(shape: FunctionCodeLocationError, location_name: "Error"))
1231
1237
  FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
1232
1238
 
1239
+ FunctionCodeLocationError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
1240
+ FunctionCodeLocationError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
1241
+ FunctionCodeLocationError.struct_class = Types::FunctionCodeLocationError
1242
+
1233
1243
  FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
1234
1244
  FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: NameSpacedFunctionArn, location_name: "FunctionArn"))
1235
1245
  FunctionConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
@@ -1654,6 +1664,7 @@ module Aws::Lambda
1654
1664
  LayerVersionContentInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
1655
1665
  LayerVersionContentInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1656
1666
  LayerVersionContentInput.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1667
+ LayerVersionContentInput.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
1657
1668
  LayerVersionContentInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
1658
1669
  LayerVersionContentInput.struct_class = Types::LayerVersionContentInput
1659
1670
 
@@ -1662,6 +1673,7 @@ module Aws::Lambda
1662
1673
  LayerVersionContentOutput.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
1663
1674
  LayerVersionContentOutput.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
1664
1675
  LayerVersionContentOutput.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
1676
+ LayerVersionContentOutput.add_member(:resolved_s3_object, Shapes::ShapeRef.new(shape: ResolvedS3Object, location_name: "ResolvedS3Object"))
1665
1677
  LayerVersionContentOutput.struct_class = Types::LayerVersionContentOutput
1666
1678
 
1667
1679
  LayerVersionsList.member = Shapes::ShapeRef.new(shape: LayerVersionsListItem)
@@ -2028,6 +2040,11 @@ module Aws::Lambda
2028
2040
  RequestTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2029
2041
  RequestTooLargeException.struct_class = Types::RequestTooLargeException
2030
2042
 
2043
+ ResolvedS3Object.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
2044
+ ResolvedS3Object.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
2045
+ ResolvedS3Object.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
2046
+ ResolvedS3Object.struct_class = Types::ResolvedS3Object
2047
+
2031
2048
  ResourceConflictException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2032
2049
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2033
2050
  ResourceConflictException.struct_class = Types::ResourceConflictException
@@ -2281,6 +2298,7 @@ module Aws::Lambda
2281
2298
  UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
2282
2299
  UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
2283
2300
  UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
2301
+ UpdateFunctionCodeRequest.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
2284
2302
  UpdateFunctionCodeRequest.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
2285
2303
  UpdateFunctionCodeRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
2286
2304
  UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
@@ -3641,6 +3641,13 @@ module Aws::Lambda
3641
3641
  # to use.
3642
3642
  # @return [String]
3643
3643
  #
3644
+ # @!attribute [rw] s3_object_storage_mode
3645
+ # Specifies how the deployment package is stored. Use `COPY` (default)
3646
+ # to upload a copy of your deployment package to Lambda. Use
3647
+ # `REFERENCE` to have Lambda reference the deployment package from the
3648
+ # specified Amazon S3 bucket.
3649
+ # @return [String]
3650
+ #
3644
3651
  # @!attribute [rw] image_uri
3645
3652
  # URI of a [container image][1] in the Amazon ECR registry.
3646
3653
  #
@@ -3667,6 +3674,7 @@ module Aws::Lambda
3667
3674
  :s3_bucket,
3668
3675
  :s3_key,
3669
3676
  :s3_object_version,
3677
+ :s3_object_storage_mode,
3670
3678
  :image_uri,
3671
3679
  :source_kms_key_arn)
3672
3680
  SENSITIVE = [:zip_file]
@@ -3691,6 +3699,10 @@ module Aws::Lambda
3691
3699
  # The resolved URI for the image.
3692
3700
  # @return [String]
3693
3701
  #
3702
+ # @!attribute [rw] resolved_s3_object
3703
+ # The resolved Amazon S3 object that contains the deployment package.
3704
+ # @return [Types::ResolvedS3Object]
3705
+ #
3694
3706
  # @!attribute [rw] source_kms_key_arn
3695
3707
  # The ARN of the Key Management Service (KMS) customer managed key
3696
3708
  # that's used to encrypt your function's .zip deployment package. If
@@ -3702,6 +3714,11 @@ module Aws::Lambda
3702
3714
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
3703
3715
  # @return [String]
3704
3716
  #
3717
+ # @!attribute [rw] error
3718
+ # An object that contains details about an error related to function
3719
+ # deployment package retrieval.
3720
+ # @return [Types::FunctionCodeLocationError]
3721
+ #
3705
3722
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
3706
3723
  #
3707
3724
  class FunctionCodeLocation < Struct.new(
@@ -3709,11 +3726,33 @@ module Aws::Lambda
3709
3726
  :location,
3710
3727
  :image_uri,
3711
3728
  :resolved_image_uri,
3712
- :source_kms_key_arn)
3729
+ :resolved_s3_object,
3730
+ :source_kms_key_arn,
3731
+ :error)
3713
3732
  SENSITIVE = []
3714
3733
  include Aws::Structure
3715
3734
  end
3716
3735
 
3736
+ # Details about an error related to retrieving a function's deployment
3737
+ # package.
3738
+ #
3739
+ # @!attribute [rw] error_code
3740
+ # The error code for the failed retrieval.
3741
+ # @return [String]
3742
+ #
3743
+ # @!attribute [rw] message
3744
+ # A description of the error.
3745
+ # @return [String]
3746
+ #
3747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocationError AWS API Documentation
3748
+ #
3749
+ class FunctionCodeLocationError < Struct.new(
3750
+ :error_code,
3751
+ :message)
3752
+ SENSITIVE = [:message]
3753
+ include Aws::Structure
3754
+ end
3755
+
3717
3756
  # Details about a function's configuration.
3718
3757
  #
3719
3758
  # @!attribute [rw] function_name
@@ -6093,6 +6132,10 @@ module Aws::Lambda
6093
6132
  # use.
6094
6133
  # @return [String]
6095
6134
  #
6135
+ # @!attribute [rw] s3_object_storage_mode
6136
+ # The storage mode for a function's deployment package.
6137
+ # @return [String]
6138
+ #
6096
6139
  # @!attribute [rw] zip_file
6097
6140
  # The base64-encoded contents of the layer archive. Amazon Web
6098
6141
  # Services SDK and Amazon Web Services CLI clients handle the encoding
@@ -6105,6 +6148,7 @@ module Aws::Lambda
6105
6148
  :s3_bucket,
6106
6149
  :s3_key,
6107
6150
  :s3_object_version,
6151
+ :s3_object_storage_mode,
6108
6152
  :zip_file)
6109
6153
  SENSITIVE = [:zip_file]
6110
6154
  include Aws::Structure
@@ -6137,6 +6181,11 @@ module Aws::Lambda
6137
6181
  # The Amazon Resource Name (ARN) of a signing job.
6138
6182
  # @return [String]
6139
6183
  #
6184
+ # @!attribute [rw] resolved_s3_object
6185
+ # Details about the resolved Amazon S3 object that contains a
6186
+ # function's deployment package.
6187
+ # @return [Types::ResolvedS3Object]
6188
+ #
6140
6189
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentOutput AWS API Documentation
6141
6190
  #
6142
6191
  class LayerVersionContentOutput < Struct.new(
@@ -6144,7 +6193,8 @@ module Aws::Lambda
6144
6193
  :code_sha_256,
6145
6194
  :code_size,
6146
6195
  :signing_profile_version_arn,
6147
- :signing_job_arn)
6196
+ :signing_job_arn,
6197
+ :resolved_s3_object)
6148
6198
  SENSITIVE = []
6149
6199
  include Aws::Structure
6150
6200
  end
@@ -8341,6 +8391,31 @@ module Aws::Lambda
8341
8391
  include Aws::Structure
8342
8392
  end
8343
8393
 
8394
+ # Details about the resolved Amazon S3 object that contains a
8395
+ # function's deployment package.
8396
+ #
8397
+ # @!attribute [rw] s3_bucket
8398
+ # The Amazon S3 bucket that contains the deployment package.
8399
+ # @return [String]
8400
+ #
8401
+ # @!attribute [rw] s3_key
8402
+ # The Amazon S3 key of the deployment package.
8403
+ # @return [String]
8404
+ #
8405
+ # @!attribute [rw] s3_object_version
8406
+ # The version of the deployment package object.
8407
+ # @return [String]
8408
+ #
8409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResolvedS3Object AWS API Documentation
8410
+ #
8411
+ class ResolvedS3Object < Struct.new(
8412
+ :s3_bucket,
8413
+ :s3_key,
8414
+ :s3_object_version)
8415
+ SENSITIVE = []
8416
+ include Aws::Structure
8417
+ end
8418
+
8344
8419
  # The resource already exists, or another operation is in progress.
8345
8420
  #
8346
8421
  # @!attribute [rw] type
@@ -9639,6 +9714,13 @@ module Aws::Lambda
9639
9714
  # to use.
9640
9715
  # @return [String]
9641
9716
  #
9717
+ # @!attribute [rw] s3_object_storage_mode
9718
+ # Specifies how the deployment package is stored. Use `COPY` (default)
9719
+ # to upload a copy of your deployment package to Lambda. Use
9720
+ # `REFERENCE` to have Lambda reference the deployment package from the
9721
+ # specified Amazon S3 bucket.
9722
+ # @return [String]
9723
+ #
9642
9724
  # @!attribute [rw] image_uri
9643
9725
  # URI of a container image in the Amazon ECR registry. Do not use for
9644
9726
  # a function defined with a .zip file archive.
@@ -9686,6 +9768,7 @@ module Aws::Lambda
9686
9768
  :s3_bucket,
9687
9769
  :s3_key,
9688
9770
  :s3_object_version,
9771
+ :s3_object_storage_mode,
9689
9772
  :image_uri,
9690
9773
  :architectures,
9691
9774
  :publish,
@@ -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.185.0'
59
+ GEM_VERSION = '1.186.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -383,6 +383,7 @@ module Aws
383
383
  s3_bucket: ::String?,
384
384
  s3_key: ::String?,
385
385
  s3_object_version: ::String?,
386
+ s3_object_storage_mode: ("COPY" | "REFERENCE")?,
386
387
  image_uri: ::String?,
387
388
  source_kms_key_arn: ::String?
388
389
  },
@@ -1232,6 +1233,7 @@ module Aws
1232
1233
  s3_bucket: ::String?,
1233
1234
  s3_key: ::String?,
1234
1235
  s3_object_version: ::String?,
1236
+ s3_object_storage_mode: ("COPY" | "REFERENCE")?,
1235
1237
  zip_file: ::String?
1236
1238
  },
1237
1239
  ?compatible_architectures: Array[("x86_64" | "arm64")],
@@ -1666,6 +1668,7 @@ module Aws
1666
1668
  ?s3_bucket: ::String,
1667
1669
  ?s3_key: ::String,
1668
1670
  ?s3_object_version: ::String,
1671
+ ?s3_object_storage_mode: ("COPY" | "REFERENCE"),
1669
1672
  ?image_uri: ::String,
1670
1673
  ?architectures: Array[("x86_64" | "arm64")],
1671
1674
  ?publish: bool,
data/sig/types.rbs CHANGED
@@ -807,6 +807,7 @@ module Aws::Lambda
807
807
  attr_accessor s3_bucket: ::String
808
808
  attr_accessor s3_key: ::String
809
809
  attr_accessor s3_object_version: ::String
810
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
810
811
  attr_accessor image_uri: ::String
811
812
  attr_accessor source_kms_key_arn: ::String
812
813
  SENSITIVE: [:zip_file]
@@ -817,10 +818,18 @@ module Aws::Lambda
817
818
  attr_accessor location: ::String
818
819
  attr_accessor image_uri: ::String
819
820
  attr_accessor resolved_image_uri: ::String
821
+ attr_accessor resolved_s3_object: Types::ResolvedS3Object
820
822
  attr_accessor source_kms_key_arn: ::String
823
+ attr_accessor error: Types::FunctionCodeLocationError
821
824
  SENSITIVE: []
822
825
  end
823
826
 
827
+ class FunctionCodeLocationError
828
+ attr_accessor error_code: ::String
829
+ attr_accessor message: ::String
830
+ SENSITIVE: [:message]
831
+ end
832
+
824
833
  class FunctionConfiguration
825
834
  attr_accessor function_name: ::String
826
835
  attr_accessor function_arn: ::String
@@ -1361,6 +1370,7 @@ module Aws::Lambda
1361
1370
  attr_accessor s3_bucket: ::String
1362
1371
  attr_accessor s3_key: ::String
1363
1372
  attr_accessor s3_object_version: ::String
1373
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
1364
1374
  attr_accessor zip_file: ::String
1365
1375
  SENSITIVE: [:zip_file]
1366
1376
  end
@@ -1371,6 +1381,7 @@ module Aws::Lambda
1371
1381
  attr_accessor code_size: ::Integer
1372
1382
  attr_accessor signing_profile_version_arn: ::String
1373
1383
  attr_accessor signing_job_arn: ::String
1384
+ attr_accessor resolved_s3_object: Types::ResolvedS3Object
1374
1385
  SENSITIVE: []
1375
1386
  end
1376
1387
 
@@ -1851,6 +1862,13 @@ module Aws::Lambda
1851
1862
  SENSITIVE: []
1852
1863
  end
1853
1864
 
1865
+ class ResolvedS3Object
1866
+ attr_accessor s3_bucket: ::String
1867
+ attr_accessor s3_key: ::String
1868
+ attr_accessor s3_object_version: ::String
1869
+ SENSITIVE: []
1870
+ end
1871
+
1854
1872
  class ResourceConflictException
1855
1873
  attr_accessor type: ::String
1856
1874
  attr_accessor message: ::String
@@ -2182,6 +2200,7 @@ module Aws::Lambda
2182
2200
  attr_accessor s3_bucket: ::String
2183
2201
  attr_accessor s3_key: ::String
2184
2202
  attr_accessor s3_object_version: ::String
2203
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
2185
2204
  attr_accessor image_uri: ::String
2186
2205
  attr_accessor architectures: ::Array[("x86_64" | "arm64")]
2187
2206
  attr_accessor publish: bool
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.185.0
4
+ version: 1.186.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services