aws-sdk-lambda 1.192.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f1be7073c08fcd6051bb64c7cb1c0b923bb10c530fe975c678177df2697a6a2
4
- data.tar.gz: fc63d24237852fcc074ea900616e5202b1e22015c079dd51c5361b288dd0befa
3
+ metadata.gz: ee5c1fb98f514866da65aa9a517599e6cfbc0e1d2e7df6b5cf60410a10f389f8
4
+ data.tar.gz: c5ec4f3339bb43fb88daa4b2ca9a77f0a99a9c5618980799afcd9303bae90e2f
5
5
  SHA512:
6
- metadata.gz: a7f57e6c45cb32fd37e50a66561b3f660b05268108fe52814090295dd895370e049273e4be773d30fa0b24dbb872f04e080d246aa203e034dc91b70677e2dbbe
7
- data.tar.gz: 0010475155705dea32cb54f0e8b62ae8a0c3afb7d48fad506f1361378f4cfd414b413458af2e526b85e3390da4421cd6bcc00195fbff0e32f60b12ee54ca2601
6
+ metadata.gz: 435e41d797bf594c3c37cde7b41e63a40cc99aa490857a7374fa3d8aac1cdb9e9e865856e10df8b3d6a0545370906ea3de63117facc9318a79833e752f9972fc
7
+ data.tar.gz: 9efd60cee6ebeebac9a664f1b7a747df115db784b280c0c7118f83cc09f5e64979cd9e924c4aa5f4a24054fbabf598808dc7605b5c80f0f9fa3e1aa3afd2101c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.193.0 (2026-08-20)
10
+ ------------------
11
+
12
+ * Feature - Adds support for full JSON resource-based policies, enabling customers to create, retrieve, update, and delete function resource policies as complete JSON documents.
13
+
4
14
  1.192.0 (2026-07-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.192.0
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"
@@ -2999,6 +3003,42 @@ module Aws::Lambda
2999
3003
  req.send_request(options)
3000
3004
  end
3001
3005
 
3006
+ # Deletes a [resource-based policy][1] from a Lambda resource.
3007
+ #
3008
+ #
3009
+ #
3010
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
3011
+ #
3012
+ # @option params [required, String] :resource_arn
3013
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
3014
+ # delete the policy from. You can use a qualified or an unqualified ARN.
3015
+ # The value must be a complete ARN, and the operation does not accept
3016
+ # wildcard characters.
3017
+ #
3018
+ # @option params [String] :revision_id
3019
+ # The revision ID that the existing policy must match for the deletion
3020
+ # to proceed. If the revision ID doesn't match, the operation fails
3021
+ # with a `PreconditionFailedException` error. To retrieve the current
3022
+ # revision ID, use the GetResourcePolicy operation.
3023
+ #
3024
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3025
+ #
3026
+ # @example Request syntax with placeholder values
3027
+ #
3028
+ # resp = client.delete_resource_policy({
3029
+ # resource_arn: "PolicyResourceArn", # required
3030
+ # revision_id: "RevisionId",
3031
+ # })
3032
+ #
3033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicy AWS API Documentation
3034
+ #
3035
+ # @overload delete_resource_policy(params = {})
3036
+ # @param [Hash] params ({})
3037
+ def delete_resource_policy(params = {}, options = {})
3038
+ req = build_request(:delete_resource_policy, params)
3039
+ req.send_request(options)
3040
+ end
3041
+
3002
3042
  # Retrieves details about your account's [limits][1] and usage in an
3003
3043
  # Amazon Web Services Region.
3004
3044
  #
@@ -3855,6 +3895,7 @@ module Aws::Lambda
3855
3895
  # resp.configuration.file_system_configs #=> Array
3856
3896
  # resp.configuration.file_system_configs[0].arn #=> String
3857
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"
3858
3899
  # resp.configuration.signing_profile_version_arn #=> String
3859
3900
  # resp.configuration.signing_job_arn #=> String
3860
3901
  # resp.configuration.package_type #=> String, one of "Zip", "Image"
@@ -4179,6 +4220,7 @@ module Aws::Lambda
4179
4220
  # resp.file_system_configs #=> Array
4180
4221
  # resp.file_system_configs[0].arn #=> String
4181
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"
4182
4224
  # resp.signing_profile_version_arn #=> String
4183
4225
  # resp.signing_job_arn #=> String
4184
4226
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -4762,9 +4804,9 @@ module Aws::Lambda
4762
4804
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4763
4805
  #
4764
4806
  #
4765
- # @example Example: To get a provisioned concurrency configuration
4807
+ # @example Example: To view a provisioned concurrency configuration
4766
4808
  #
4767
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4809
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4768
4810
  # # function.
4769
4811
  #
4770
4812
  # resp = client.get_provisioned_concurrency_config({
@@ -4781,9 +4823,9 @@ module Aws::Lambda
4781
4823
  # status: "READY",
4782
4824
  # }
4783
4825
  #
4784
- # @example Example: To view a provisioned concurrency configuration
4826
+ # @example Example: To get a provisioned concurrency configuration
4785
4827
  #
4786
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4828
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4787
4829
  # # function.
4788
4830
  #
4789
4831
  # resp = client.get_provisioned_concurrency_config({
@@ -4825,6 +4867,44 @@ module Aws::Lambda
4825
4867
  req.send_request(options)
4826
4868
  end
4827
4869
 
4870
+ # Retrieves the [resource-based policy][1] attached to a Lambda
4871
+ # resource.
4872
+ #
4873
+ #
4874
+ #
4875
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
4876
+ #
4877
+ # @option params [required, String] :resource_arn
4878
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
4879
+ # retrieve the policy for. You can use a qualified or an unqualified
4880
+ # ARN. The value must be a complete ARN, and the operation does not
4881
+ # accept wildcard characters.
4882
+ #
4883
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4884
+ #
4885
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
4886
+ # * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
4887
+ #
4888
+ # @example Request syntax with placeholder values
4889
+ #
4890
+ # resp = client.get_resource_policy({
4891
+ # resource_arn: "PolicyResourceArn", # required
4892
+ # })
4893
+ #
4894
+ # @example Response structure
4895
+ #
4896
+ # resp.policy #=> String
4897
+ # resp.revision_id #=> String
4898
+ #
4899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicy AWS API Documentation
4900
+ #
4901
+ # @overload get_resource_policy(params = {})
4902
+ # @param [Hash] params ({})
4903
+ def get_resource_policy(params = {}, options = {})
4904
+ req = build_request(:get_resource_policy, params)
4905
+ req.send_request(options)
4906
+ end
4907
+
4828
4908
  # Retrieves the runtime management configuration for a function's
4829
4909
  # version. If the runtime update mode is **Manual**, this includes the
4830
4910
  # ARN of the runtime version and the runtime update mode. If the runtime
@@ -6224,6 +6304,7 @@ module Aws::Lambda
6224
6304
  # resp.functions[0].file_system_configs #=> Array
6225
6305
  # resp.functions[0].file_system_configs[0].arn #=> String
6226
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"
6227
6308
  # resp.functions[0].signing_profile_version_arn #=> String
6228
6309
  # resp.functions[0].signing_job_arn #=> String
6229
6310
  # resp.functions[0].package_type #=> String, one of "Zip", "Image"
@@ -6840,6 +6921,7 @@ module Aws::Lambda
6840
6921
  # resp.versions[0].file_system_configs #=> Array
6841
6922
  # resp.versions[0].file_system_configs[0].arn #=> String
6842
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"
6843
6925
  # resp.versions[0].signing_profile_version_arn #=> String
6844
6926
  # resp.versions[0].signing_job_arn #=> String
6845
6927
  # resp.versions[0].package_type #=> String, one of "Zip", "Image"
@@ -7217,6 +7299,7 @@ module Aws::Lambda
7217
7299
  # resp.file_system_configs #=> Array
7218
7300
  # resp.file_system_configs[0].arn #=> String
7219
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"
7220
7303
  # resp.signing_profile_version_arn #=> String
7221
7304
  # resp.signing_job_arn #=> String
7222
7305
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -7737,6 +7820,73 @@ module Aws::Lambda
7737
7820
  req.send_request(options)
7738
7821
  end
7739
7822
 
7823
+ # Adds a [resource-based policy][1] to a Lambda resource. Resource-based
7824
+ # policies grant access to other [Amazon Web Services accounts][2],
7825
+ # [organizations][3], or [services][4]. Resource-based policies apply to
7826
+ # a single Lambda resource (for example, a function, function version,
7827
+ # or function alias).
7828
+ #
7829
+ # This operation replaces any existing policy on the Lambda resource. If
7830
+ # you previously added permissions using the AddPermission operation,
7831
+ # the new policy overwrites those permissions.
7832
+ #
7833
+ #
7834
+ #
7835
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
7836
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html
7837
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html
7838
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html
7839
+ #
7840
+ # @option params [required, String] :resource_arn
7841
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to add
7842
+ # the policy to. You can use a qualified or an unqualified ARN. The
7843
+ # value must be a complete ARN, and the operation does not accept
7844
+ # wildcard characters.
7845
+ #
7846
+ # @option params [required, String] :policy
7847
+ # The policy document you want to add to your Lambda resource. This is
7848
+ # formatted as a JSON string.
7849
+ #
7850
+ # For more information, see [Working with resource-based policies in
7851
+ # Lambda][1] in the *Lambda Developer Guide*.
7852
+ #
7853
+ #
7854
+ #
7855
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
7856
+ #
7857
+ # @option params [String] :revision_id
7858
+ # The revision ID that the existing policy must match for the
7859
+ # replacement to proceed. If the revision ID doesn't match, the
7860
+ # operation fails with a `PreconditionFailedException` error. To
7861
+ # retrieve the current revision ID, use the GetResourcePolicy operation.
7862
+ #
7863
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7864
+ #
7865
+ # * {Types::PutResourcePolicyResponse#policy #policy} => String
7866
+ # * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
7867
+ #
7868
+ # @example Request syntax with placeholder values
7869
+ #
7870
+ # resp = client.put_resource_policy({
7871
+ # resource_arn: "PolicyResourceArn", # required
7872
+ # policy: "ResourcePolicy", # required
7873
+ # revision_id: "RevisionId",
7874
+ # })
7875
+ #
7876
+ # @example Response structure
7877
+ #
7878
+ # resp.policy #=> String
7879
+ # resp.revision_id #=> String
7880
+ #
7881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicy AWS API Documentation
7882
+ #
7883
+ # @overload put_resource_policy(params = {})
7884
+ # @param [Hash] params ({})
7885
+ def put_resource_policy(params = {}, options = {})
7886
+ req = build_request(:put_resource_policy, params)
7887
+ req.send_request(options)
7888
+ end
7889
+
7740
7890
  # Sets the runtime management configuration for a function's version.
7741
7891
  # For more information, see [Runtime updates][1].
7742
7892
  #
@@ -9135,6 +9285,7 @@ module Aws::Lambda
9135
9285
  # resp.file_system_configs #=> Array
9136
9286
  # resp.file_system_configs[0].arn #=> String
9137
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"
9138
9289
  # resp.signing_profile_version_arn #=> String
9139
9290
  # resp.signing_job_arn #=> String
9140
9291
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -9506,6 +9657,9 @@ module Aws::Lambda
9506
9657
  # {
9507
9658
  # arn: "FileSystemArn", # required
9508
9659
  # local_mount_path: "LocalMountPath", # required
9660
+ # s3_files_config: {
9661
+ # direct_s3_read: "ENABLED", # accepts ENABLED, DISABLED, AUTO
9662
+ # },
9509
9663
  # },
9510
9664
  # ],
9511
9665
  # image_config: {
@@ -9582,6 +9736,7 @@ module Aws::Lambda
9582
9736
  # resp.file_system_configs #=> Array
9583
9737
  # resp.file_system_configs[0].arn #=> String
9584
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"
9585
9740
  # resp.signing_profile_version_arn #=> String
9586
9741
  # resp.signing_job_arn #=> String
9587
9742
  # resp.package_type #=> String, one of "Zip", "Image"
@@ -9875,7 +10030,7 @@ module Aws::Lambda
9875
10030
  tracer: tracer
9876
10031
  )
9877
10032
  context[:gem_name] = 'aws-sdk-lambda'
9878
- context[:gem_version] = '1.192.0'
10033
+ context[:gem_version] = '1.194.0'
9879
10034
  Seahorse::Client::Request.new(handlers, context)
9880
10035
  end
9881
10036
 
@@ -132,9 +132,11 @@ module Aws::Lambda
132
132
  DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
133
133
  DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
134
134
  DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
135
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
135
136
  Description = Shapes::StringShape.new(name: 'Description')
136
137
  DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
137
138
  DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
139
+ DirectS3Read = Shapes::StringShape.new(name: 'DirectS3Read')
138
140
  DocumentDBEventSourceConfig = Shapes::StructureShape.new(name: 'DocumentDBEventSourceConfig')
139
141
  DurableConfig = Shapes::StructureShape.new(name: 'DurableConfig')
140
142
  DurableExecutionAlreadyStartedException = Shapes::StructureShape.new(name: 'DurableExecutionAlreadyStartedException')
@@ -270,6 +272,8 @@ module Aws::Lambda
270
272
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
271
273
  GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
272
274
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
275
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
276
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
273
277
  GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
274
278
  GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
275
279
  Handler = Shapes::StringShape.new(name: 'Handler')
@@ -423,6 +427,7 @@ module Aws::Lambda
423
427
  Pattern = Shapes::StringShape.new(name: 'Pattern')
424
428
  PerExecutionEnvironmentMaxConcurrency = Shapes::IntegerShape.new(name: 'PerExecutionEnvironmentMaxConcurrency')
425
429
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
430
+ PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
426
431
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
427
432
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
428
433
  Principal = Shapes::StringShape.new(name: 'Principal')
@@ -451,6 +456,8 @@ module Aws::Lambda
451
456
  PutFunctionScalingConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionScalingConfigResponse')
452
457
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
453
458
  PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
459
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
460
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
454
461
  PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
455
462
  PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
456
463
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
@@ -469,16 +476,19 @@ module Aws::Lambda
469
476
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
470
477
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
471
478
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
479
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
472
480
  ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
473
481
  RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
474
482
  RetryDetails = Shapes::StructureShape.new(name: 'RetryDetails')
475
483
  ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
484
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
476
485
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
477
486
  Runtime = Shapes::StringShape.new(name: 'Runtime')
478
487
  RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
479
488
  RuntimeVersionConfig = Shapes::StructureShape.new(name: 'RuntimeVersionConfig')
480
489
  RuntimeVersionError = Shapes::StructureShape.new(name: 'RuntimeVersionError')
481
490
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
491
+ S3FilesConfig = Shapes::StructureShape.new(name: 'S3FilesConfig')
482
492
  S3FilesMountConnectivityException = Shapes::StructureShape.new(name: 'S3FilesMountConnectivityException')
483
493
  S3FilesMountFailureException = Shapes::StructureShape.new(name: 'S3FilesMountFailureException')
484
494
  S3FilesMountTimeoutException = Shapes::StructureShape.new(name: 'S3FilesMountTimeoutException')
@@ -1005,6 +1015,10 @@ module Aws::Lambda
1005
1015
  DeleteProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
1006
1016
  DeleteProvisionedConcurrencyConfigRequest.struct_class = Types::DeleteProvisionedConcurrencyConfigRequest
1007
1017
 
1018
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
1019
+ DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "RevisionId"))
1020
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
1021
+
1008
1022
  DestinationConfig.add_member(:on_success, Shapes::ShapeRef.new(shape: OnSuccess, location_name: "OnSuccess"))
1009
1023
  DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
1010
1024
  DestinationConfig.struct_class = Types::DestinationConfig
@@ -1214,6 +1228,7 @@ module Aws::Lambda
1214
1228
 
1215
1229
  FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
1216
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"))
1217
1232
  FileSystemConfig.struct_class = Types::FileSystemConfig
1218
1233
 
1219
1234
  FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
@@ -1505,6 +1520,13 @@ module Aws::Lambda
1505
1520
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
1506
1521
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
1507
1522
 
1523
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
1524
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
1525
+
1526
+ GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
1527
+ GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
1528
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
1529
+
1508
1530
  GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
1509
1531
  GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: NumericLatestPublishedOrAliasQualifier, location: "querystring", location_name: "Qualifier"))
1510
1532
  GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
@@ -2024,6 +2046,15 @@ module Aws::Lambda
2024
2046
  PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
2025
2047
  PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
2026
2048
 
2049
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
2050
+ PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
2051
+ PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
2052
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
2053
+
2054
+ PutResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
2055
+ PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
2056
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
2057
+
2027
2058
  PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
2028
2059
  PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: NumericLatestPublishedOrAliasQualifier, location: "querystring", location_name: "Qualifier"))
2029
2060
  PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
@@ -2090,6 +2121,9 @@ module Aws::Lambda
2090
2121
  RuntimeVersionError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
2091
2122
  RuntimeVersionError.struct_class = Types::RuntimeVersionError
2092
2123
 
2124
+ S3FilesConfig.add_member(:direct_s3_read, Shapes::ShapeRef.new(shape: DirectS3Read, location_name: "DirectS3Read"))
2125
+ S3FilesConfig.struct_class = Types::S3FilesConfig
2126
+
2093
2127
  S3FilesMountConnectivityException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2094
2128
  S3FilesMountConnectivityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2095
2129
  S3FilesMountConnectivityException.struct_class = Types::S3FilesMountConnectivityException
@@ -2688,6 +2722,20 @@ module Aws::Lambda
2688
2722
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2689
2723
  end)
2690
2724
 
2725
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2726
+ o.name = "DeleteResourcePolicy"
2727
+ o.http_method = "DELETE"
2728
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
2729
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
2730
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2732
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2734
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2735
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2736
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2737
+ end)
2738
+
2691
2739
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
2692
2740
  o.name = "GetAccountSettings"
2693
2741
  o.http_method = "GET"
@@ -2962,6 +3010,18 @@ module Aws::Lambda
2962
3010
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2963
3011
  end)
2964
3012
 
3013
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3014
+ o.name = "GetResourcePolicy"
3015
+ o.http_method = "GET"
3016
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
3017
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
3018
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
3019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3020
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3021
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3022
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3023
+ end)
3024
+
2965
3025
  api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
2966
3026
  o.name = "GetRuntimeManagementConfig"
2967
3027
  o.http_method = "GET"
@@ -3474,6 +3534,22 @@ module Aws::Lambda
3474
3534
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3475
3535
  end)
3476
3536
 
3537
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3538
+ o.name = "PutResourcePolicy"
3539
+ o.http_method = "PUT"
3540
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
3541
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
3542
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
3543
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3544
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3545
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
3546
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3547
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3548
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3550
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3551
+ end)
3552
+
3477
3553
  api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
3478
3554
  o.name = "PutRuntimeManagementConfig"
3479
3555
  o.http_method = "PUT"
@@ -2461,6 +2461,29 @@ module Aws::Lambda
2461
2461
  include Aws::Structure
2462
2462
  end
2463
2463
 
2464
+ # @!attribute [rw] resource_arn
2465
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
2466
+ # delete the policy from. You can use a qualified or an unqualified
2467
+ # ARN. The value must be a complete ARN, and the operation does not
2468
+ # accept wildcard characters.
2469
+ # @return [String]
2470
+ #
2471
+ # @!attribute [rw] revision_id
2472
+ # The revision ID that the existing policy must match for the deletion
2473
+ # to proceed. If the revision ID doesn't match, the operation fails
2474
+ # with a `PreconditionFailedException` error. To retrieve the current
2475
+ # revision ID, use the GetResourcePolicy operation.
2476
+ # @return [String]
2477
+ #
2478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicyRequest AWS API Documentation
2479
+ #
2480
+ class DeleteResourcePolicyRequest < Struct.new(
2481
+ :resource_arn,
2482
+ :revision_id)
2483
+ SENSITIVE = []
2484
+ include Aws::Structure
2485
+ end
2486
+
2464
2487
  # A configuration object that specifies the destination of an event
2465
2488
  # after Lambda processes it. For more information, see [Adding a
2466
2489
  # destination][1].
@@ -3609,7 +3632,7 @@ module Aws::Lambda
3609
3632
  end
3610
3633
 
3611
3634
  # Details about the connection between a Lambda function and an [Amazon
3612
- # EFS file system][1] or an [Amazon S3 Files file system][1].
3635
+ # EFS file system][1] or an [Amazon S3 file system][1].
3613
3636
  #
3614
3637
  #
3615
3638
  #
@@ -3625,11 +3648,20 @@ module Aws::Lambda
3625
3648
  # with `/mnt/`.
3626
3649
  # @return [String]
3627
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
+ #
3628
3659
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FileSystemConfig AWS API Documentation
3629
3660
  #
3630
3661
  class FileSystemConfig < Struct.new(
3631
3662
  :arn,
3632
- :local_mount_path)
3663
+ :local_mount_path,
3664
+ :s3_files_config)
3633
3665
  SENSITIVE = []
3634
3666
  include Aws::Structure
3635
3667
  end
@@ -4003,7 +4035,7 @@ module Aws::Lambda
4003
4035
  #
4004
4036
  # @!attribute [rw] file_system_configs
4005
4037
  # Connection settings for an [Amazon EFS file system][1] or an [Amazon
4006
- # S3 Files file system][1].
4038
+ # S3 file system][1].
4007
4039
  #
4008
4040
  #
4009
4041
  #
@@ -5351,6 +5383,41 @@ module Aws::Lambda
5351
5383
  include Aws::Structure
5352
5384
  end
5353
5385
 
5386
+ # @!attribute [rw] resource_arn
5387
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
5388
+ # retrieve the policy for. You can use a qualified or an unqualified
5389
+ # ARN. The value must be a complete ARN, and the operation does not
5390
+ # accept wildcard characters.
5391
+ # @return [String]
5392
+ #
5393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyRequest AWS API Documentation
5394
+ #
5395
+ class GetResourcePolicyRequest < Struct.new(
5396
+ :resource_arn)
5397
+ SENSITIVE = []
5398
+ include Aws::Structure
5399
+ end
5400
+
5401
+ # @!attribute [rw] policy
5402
+ # The resource-based policy attached to the Lambda resource you
5403
+ # specified.
5404
+ # @return [String]
5405
+ #
5406
+ # @!attribute [rw] revision_id
5407
+ # The revision ID of the policy. Pass this value as the `RevisionId`
5408
+ # in a PutResourcePolicy or DeleteResourcePolicy request. Doing so
5409
+ # ensures the operation acts on the expected version of the policy.
5410
+ # @return [String]
5411
+ #
5412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyResponse AWS API Documentation
5413
+ #
5414
+ class GetResourcePolicyResponse < Struct.new(
5415
+ :policy,
5416
+ :revision_id)
5417
+ SENSITIVE = []
5418
+ include Aws::Structure
5419
+ end
5420
+
5354
5421
  # @!attribute [rw] function_name
5355
5422
  # The name or ARN of the Lambda function.
5356
5423
  #
@@ -7707,10 +7774,10 @@ module Aws::Lambda
7707
7774
  #
7708
7775
  # @!attribute [rw] maximum_pollers
7709
7776
  # The maximum number of event pollers this event source can scale up
7710
- # to. For Amazon SQS events source mappings, default is 200, and
7711
- # minimum value allowed is 2. For Amazon MSK and self-managed Apache
7712
- # Kafka event source mappings, default is 200, and minimum value
7713
- # allowed is 1.
7777
+ # to. For Amazon SQS event source mappings, the accepted range is
7778
+ # between 2 and 10,000, with a default of 200. For Amazon MSK and
7779
+ # self-managed Apache Kafka event source mappings, the accepted range
7780
+ # is between 1 and 2,000, with a default of 200.
7714
7781
  # @return [Integer]
7715
7782
  #
7716
7783
  # @!attribute [rw] poller_group_name
@@ -7733,15 +7800,8 @@ module Aws::Lambda
7733
7800
  include Aws::Structure
7734
7801
  end
7735
7802
 
7736
- # The resource-based policy you tried to add to the Lambda function
7737
- # would grant public access to it, and your account's
7738
- # `BlockPublicAccess` setting prevents public access. For more
7739
- # information about blocking public access to Lambda functions, see
7740
- # [Block public access to Lambda resources][1].
7741
- #
7742
- #
7743
- #
7744
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#access-control-block-public-access
7803
+ # The resource-based policy you tried to add to the Lambda resource
7804
+ # would grant public access to it, which isn't allowed.
7745
7805
  #
7746
7806
  # @!attribute [rw] type
7747
7807
  # The exception type.
@@ -8293,6 +8353,61 @@ module Aws::Lambda
8293
8353
  include Aws::Structure
8294
8354
  end
8295
8355
 
8356
+ # @!attribute [rw] resource_arn
8357
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
8358
+ # add the policy to. You can use a qualified or an unqualified ARN.
8359
+ # The value must be a complete ARN, and the operation does not accept
8360
+ # wildcard characters.
8361
+ # @return [String]
8362
+ #
8363
+ # @!attribute [rw] policy
8364
+ # The policy document you want to add to your Lambda resource. This is
8365
+ # formatted as a JSON string.
8366
+ #
8367
+ # For more information, see [Working with resource-based policies in
8368
+ # Lambda][1] in the *Lambda Developer Guide*.
8369
+ #
8370
+ #
8371
+ #
8372
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
8373
+ # @return [String]
8374
+ #
8375
+ # @!attribute [rw] revision_id
8376
+ # The revision ID that the existing policy must match for the
8377
+ # replacement to proceed. If the revision ID doesn't match, the
8378
+ # operation fails with a `PreconditionFailedException` error. To
8379
+ # retrieve the current revision ID, use the GetResourcePolicy
8380
+ # operation.
8381
+ # @return [String]
8382
+ #
8383
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyRequest AWS API Documentation
8384
+ #
8385
+ class PutResourcePolicyRequest < Struct.new(
8386
+ :resource_arn,
8387
+ :policy,
8388
+ :revision_id)
8389
+ SENSITIVE = []
8390
+ include Aws::Structure
8391
+ end
8392
+
8393
+ # @!attribute [rw] policy
8394
+ # The resource-based policy that Lambda adds to the resource.
8395
+ # @return [String]
8396
+ #
8397
+ # @!attribute [rw] revision_id
8398
+ # The revision ID of the policy that Lambda adds to your Lambda
8399
+ # resource.
8400
+ # @return [String]
8401
+ #
8402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyResponse AWS API Documentation
8403
+ #
8404
+ class PutResourcePolicyResponse < Struct.new(
8405
+ :policy,
8406
+ :revision_id)
8407
+ SENSITIVE = []
8408
+ include Aws::Structure
8409
+ end
8410
+
8296
8411
  # @!attribute [rw] function_name
8297
8412
  # The name or ARN of the Lambda function.
8298
8413
  #
@@ -8665,6 +8780,37 @@ module Aws::Lambda
8665
8780
  include Aws::Structure
8666
8781
  end
8667
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
+
8668
8814
  # The Lambda function couldn't make a network connection to the
8669
8815
  # configured S3 Files access point.
8670
8816
  #
@@ -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.192.0'
59
+ GEM_VERSION = '1.194.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,
@@ -597,6 +600,13 @@ module Aws
597
600
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
598
601
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
599
602
 
603
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_resource_policy-instance_method
604
+ def delete_resource_policy: (
605
+ resource_arn: ::String,
606
+ ?revision_id: ::String
607
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
608
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
609
+
600
610
  interface _GetAccountSettingsResponseSuccess
601
611
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
602
612
  def account_limit: () -> Types::AccountLimit
@@ -954,6 +964,17 @@ module Aws
954
964
  ) -> _GetProvisionedConcurrencyConfigResponseSuccess
955
965
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedConcurrencyConfigResponseSuccess
956
966
 
967
+ interface _GetResourcePolicyResponseSuccess
968
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
969
+ def policy: () -> ::String
970
+ def revision_id: () -> ::String
971
+ end
972
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_resource_policy-instance_method
973
+ def get_resource_policy: (
974
+ resource_arn: ::String
975
+ ) -> _GetResourcePolicyResponseSuccess
976
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
977
+
957
978
  interface _GetRuntimeManagementConfigResponseSuccess
958
979
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRuntimeManagementConfigResponse]
959
980
  def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1389,6 +1410,19 @@ module Aws
1389
1410
  ) -> _PutProvisionedConcurrencyConfigResponseSuccess
1390
1411
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProvisionedConcurrencyConfigResponseSuccess
1391
1412
 
1413
+ interface _PutResourcePolicyResponseSuccess
1414
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
1415
+ def policy: () -> ::String
1416
+ def revision_id: () -> ::String
1417
+ end
1418
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_resource_policy-instance_method
1419
+ def put_resource_policy: (
1420
+ resource_arn: ::String,
1421
+ policy: ::String,
1422
+ ?revision_id: ::String
1423
+ ) -> _PutResourcePolicyResponseSuccess
1424
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
1425
+
1392
1426
  interface _PutRuntimeManagementConfigResponseSuccess
1393
1427
  include ::Seahorse::Client::_ResponseSuccess[Types::PutRuntimeManagementConfigResponse]
1394
1428
  def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1767,7 +1801,10 @@ module Aws
1767
1801
  ?file_system_configs: Array[
1768
1802
  {
1769
1803
  arn: ::String,
1770
- local_mount_path: ::String
1804
+ local_mount_path: ::String,
1805
+ s3_files_config: {
1806
+ direct_s3_read: ("ENABLED" | "DISABLED" | "AUTO")?
1807
+ }?
1771
1808
  }
1772
1809
  ],
1773
1810
  ?image_config: {
data/sig/types.rbs CHANGED
@@ -542,6 +542,12 @@ module Aws::Lambda
542
542
  SENSITIVE: []
543
543
  end
544
544
 
545
+ class DeleteResourcePolicyRequest
546
+ attr_accessor resource_arn: ::String
547
+ attr_accessor revision_id: ::String
548
+ SENSITIVE: []
549
+ end
550
+
545
551
  class DestinationConfig
546
552
  attr_accessor on_success: Types::OnSuccess
547
553
  attr_accessor on_failure: Types::OnFailure
@@ -798,6 +804,7 @@ module Aws::Lambda
798
804
  class FileSystemConfig
799
805
  attr_accessor arn: ::String
800
806
  attr_accessor local_mount_path: ::String
807
+ attr_accessor s3_files_config: Types::S3FilesConfig
801
808
  SENSITIVE: []
802
809
  end
803
810
 
@@ -1171,6 +1178,17 @@ module Aws::Lambda
1171
1178
  SENSITIVE: []
1172
1179
  end
1173
1180
 
1181
+ class GetResourcePolicyRequest
1182
+ attr_accessor resource_arn: ::String
1183
+ SENSITIVE: []
1184
+ end
1185
+
1186
+ class GetResourcePolicyResponse
1187
+ attr_accessor policy: ::String
1188
+ attr_accessor revision_id: ::String
1189
+ SENSITIVE: []
1190
+ end
1191
+
1174
1192
  class GetRuntimeManagementConfigRequest
1175
1193
  attr_accessor function_name: ::String
1176
1194
  attr_accessor qualifier: ::String
@@ -1837,6 +1855,19 @@ module Aws::Lambda
1837
1855
  SENSITIVE: []
1838
1856
  end
1839
1857
 
1858
+ class PutResourcePolicyRequest
1859
+ attr_accessor resource_arn: ::String
1860
+ attr_accessor policy: ::String
1861
+ attr_accessor revision_id: ::String
1862
+ SENSITIVE: []
1863
+ end
1864
+
1865
+ class PutResourcePolicyResponse
1866
+ attr_accessor policy: ::String
1867
+ attr_accessor revision_id: ::String
1868
+ SENSITIVE: []
1869
+ end
1870
+
1840
1871
  class PutRuntimeManagementConfigRequest
1841
1872
  attr_accessor function_name: ::String
1842
1873
  attr_accessor qualifier: ::String
@@ -1929,6 +1960,11 @@ module Aws::Lambda
1929
1960
  SENSITIVE: [:message]
1930
1961
  end
1931
1962
 
1963
+ class S3FilesConfig
1964
+ attr_accessor direct_s3_read: ("ENABLED" | "DISABLED" | "AUTO")
1965
+ SENSITIVE: []
1966
+ end
1967
+
1932
1968
  class S3FilesMountConnectivityException
1933
1969
  attr_accessor type: ::String
1934
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.192.0
4
+ version: 1.194.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services