aws-sdk-lambda 1.191.0 → 1.193.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: ebbfe533c8e3e97322f049a952db63b864478a2a825cc39f244e9964663a0cab
4
- data.tar.gz: c7b32e68edcfd1cc73346ef5d4b83d18c7dad42d6ff00815913ff9151a873bb8
3
+ metadata.gz: 7cd651e6a16ecea8f1c270ee3ccafa92d0c1fb998a2abc4626d62503110743dc
4
+ data.tar.gz: 953b04a9f88e251ac6f5728b8845f2d6996799c3850ff8c580d5355c4ba559a8
5
5
  SHA512:
6
- metadata.gz: 2a12a3dde2ca8186ba2db5c92e6511303d644388204145b0145cae2f99be2e51e65d2a4d23695c00a084ce2f010a018ada78cc03e740aa59b0655382884535ec
7
- data.tar.gz: e9957cc1ad60c822f8c7017326a7c3451ca1dd9da542fc4303b0192d92aa27792a0102883e6c494a13975ccce704414ccd98a8dec450a7a9fc4ff6e6213541e8
6
+ metadata.gz: ed4618eeb2301da0fdbfdd2b3873c5f542efeafd890f72a00f4b7c6150958f8fe285674b7d50750122f91e97dc4fe08e24c5d383de3837976613545b799ebb13
7
+ data.tar.gz: b3ca1348825130da50a344f544e482075d3861bfd47efdfb95e135bdf738a1a07ecd83a551c13c560936763d6d979d55cc7bd8b9cfcd426a010602c4ea8e034c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.193.0 (2026-08-20)
5
+ ------------------
6
+
7
+ * Feature - Adds support for full JSON resource-based policies, enabling customers to create, retrieve, update, and delete function resource policies as complete JSON documents.
8
+
9
+ 1.192.0 (2026-07-30)
10
+ ------------------
11
+
12
+ * Feature - Add Python3.15 (python3.15) and NodeJs 26 (nodejs26.x) support to AWS Lambda
13
+
4
14
  1.191.0 (2026-07-14)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.191.0
1
+ 1.193.0
@@ -2118,7 +2118,7 @@ module Aws::Lambda
2118
2118
  #
2119
2119
  # resp = client.create_function({
2120
2120
  # function_name: "FunctionName", # required
2121
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, java8.al2023, java11.al2023, java17.al2023
2121
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
2122
2122
  # role: "RoleArn", # required
2123
2123
  # handler: "Handler",
2124
2124
  # code: { # required
@@ -2203,7 +2203,7 @@ module Aws::Lambda
2203
2203
  #
2204
2204
  # resp.function_name #=> String
2205
2205
  # resp.function_arn #=> String
2206
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
2206
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
2207
2207
  # resp.role #=> String
2208
2208
  # resp.handler #=> String
2209
2209
  # resp.code_size #=> Integer
@@ -2999,6 +2999,42 @@ module Aws::Lambda
2999
2999
  req.send_request(options)
3000
3000
  end
3001
3001
 
3002
+ # Deletes a [resource-based policy][1] from a Lambda resource.
3003
+ #
3004
+ #
3005
+ #
3006
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
3007
+ #
3008
+ # @option params [required, String] :resource_arn
3009
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
3010
+ # delete the policy from. You can use a qualified or an unqualified ARN.
3011
+ # The value must be a complete ARN, and the operation does not accept
3012
+ # wildcard characters.
3013
+ #
3014
+ # @option params [String] :revision_id
3015
+ # The revision ID that the existing policy must match for the deletion
3016
+ # to proceed. If the revision ID doesn't match, the operation fails
3017
+ # with a `PreconditionFailedException` error. To retrieve the current
3018
+ # revision ID, use the GetResourcePolicy operation.
3019
+ #
3020
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3021
+ #
3022
+ # @example Request syntax with placeholder values
3023
+ #
3024
+ # resp = client.delete_resource_policy({
3025
+ # resource_arn: "PolicyResourceArn", # required
3026
+ # revision_id: "RevisionId",
3027
+ # })
3028
+ #
3029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicy AWS API Documentation
3030
+ #
3031
+ # @overload delete_resource_policy(params = {})
3032
+ # @param [Hash] params ({})
3033
+ def delete_resource_policy(params = {}, options = {})
3034
+ req = build_request(:delete_resource_policy, params)
3035
+ req.send_request(options)
3036
+ end
3037
+
3002
3038
  # Retrieves details about your account's [limits][1] and usage in an
3003
3039
  # Amazon Web Services Region.
3004
3040
  #
@@ -3816,7 +3852,7 @@ module Aws::Lambda
3816
3852
  #
3817
3853
  # resp.configuration.function_name #=> String
3818
3854
  # resp.configuration.function_arn #=> String
3819
- # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
3855
+ # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
3820
3856
  # resp.configuration.role #=> String
3821
3857
  # resp.configuration.handler #=> String
3822
3858
  # resp.configuration.code_size #=> Integer
@@ -4140,7 +4176,7 @@ module Aws::Lambda
4140
4176
  #
4141
4177
  # resp.function_name #=> String
4142
4178
  # resp.function_arn #=> String
4143
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
4179
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4144
4180
  # resp.role #=> String
4145
4181
  # resp.handler #=> String
4146
4182
  # resp.code_size #=> Integer
@@ -4527,7 +4563,7 @@ module Aws::Lambda
4527
4563
  # resp.compatible_architectures #=> Array
4528
4564
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
4529
4565
  # resp.compatible_runtimes #=> Array
4530
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
4566
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4531
4567
  # resp.license_info #=> String
4532
4568
  #
4533
4569
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -4611,7 +4647,7 @@ module Aws::Lambda
4611
4647
  # resp.compatible_architectures #=> Array
4612
4648
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
4613
4649
  # resp.compatible_runtimes #=> Array
4614
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
4650
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4615
4651
  # resp.license_info #=> String
4616
4652
  #
4617
4653
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -4762,9 +4798,9 @@ module Aws::Lambda
4762
4798
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4763
4799
  #
4764
4800
  #
4765
- # @example Example: To get a provisioned concurrency configuration
4801
+ # @example Example: To view a provisioned concurrency configuration
4766
4802
  #
4767
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4803
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4768
4804
  # # function.
4769
4805
  #
4770
4806
  # resp = client.get_provisioned_concurrency_config({
@@ -4781,9 +4817,9 @@ module Aws::Lambda
4781
4817
  # status: "READY",
4782
4818
  # }
4783
4819
  #
4784
- # @example Example: To view a provisioned concurrency configuration
4820
+ # @example Example: To get a provisioned concurrency configuration
4785
4821
  #
4786
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4822
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4787
4823
  # # function.
4788
4824
  #
4789
4825
  # resp = client.get_provisioned_concurrency_config({
@@ -4825,6 +4861,44 @@ module Aws::Lambda
4825
4861
  req.send_request(options)
4826
4862
  end
4827
4863
 
4864
+ # Retrieves the [resource-based policy][1] attached to a Lambda
4865
+ # resource.
4866
+ #
4867
+ #
4868
+ #
4869
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
4870
+ #
4871
+ # @option params [required, String] :resource_arn
4872
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
4873
+ # retrieve the policy for. You can use a qualified or an unqualified
4874
+ # ARN. The value must be a complete ARN, and the operation does not
4875
+ # accept wildcard characters.
4876
+ #
4877
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4878
+ #
4879
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
4880
+ # * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
4881
+ #
4882
+ # @example Request syntax with placeholder values
4883
+ #
4884
+ # resp = client.get_resource_policy({
4885
+ # resource_arn: "PolicyResourceArn", # required
4886
+ # })
4887
+ #
4888
+ # @example Response structure
4889
+ #
4890
+ # resp.policy #=> String
4891
+ # resp.revision_id #=> String
4892
+ #
4893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicy AWS API Documentation
4894
+ #
4895
+ # @overload get_resource_policy(params = {})
4896
+ # @param [Hash] params ({})
4897
+ def get_resource_policy(params = {}, options = {})
4898
+ req = build_request(:get_resource_policy, params)
4899
+ req.send_request(options)
4900
+ end
4901
+
4828
4902
  # Retrieves the runtime management configuration for a function's
4829
4903
  # version. If the runtime update mode is **Manual**, this includes the
4830
4904
  # ARN of the runtime version and the runtime update mode. If the runtime
@@ -6185,7 +6259,7 @@ module Aws::Lambda
6185
6259
  # resp.functions #=> Array
6186
6260
  # resp.functions[0].function_name #=> String
6187
6261
  # resp.functions[0].function_arn #=> String
6188
- # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
6262
+ # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6189
6263
  # resp.functions[0].role #=> String
6190
6264
  # resp.functions[0].handler #=> String
6191
6265
  # resp.functions[0].code_size #=> Integer
@@ -6393,7 +6467,7 @@ module Aws::Lambda
6393
6467
  #
6394
6468
  # resp = client.list_layer_versions({
6395
6469
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
6396
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, java8.al2023, java11.al2023, java17.al2023
6470
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
6397
6471
  # layer_name: "LayerName", # required
6398
6472
  # marker: "String",
6399
6473
  # max_items: 1,
@@ -6410,7 +6484,7 @@ module Aws::Lambda
6410
6484
  # resp.layer_versions[0].compatible_architectures #=> Array
6411
6485
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
6412
6486
  # resp.layer_versions[0].compatible_runtimes #=> Array
6413
- # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
6487
+ # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6414
6488
  # resp.layer_versions[0].license_info #=> String
6415
6489
  #
6416
6490
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -6501,7 +6575,7 @@ module Aws::Lambda
6501
6575
  #
6502
6576
  # resp = client.list_layers({
6503
6577
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
6504
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, java8.al2023, java11.al2023, java17.al2023
6578
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
6505
6579
  # marker: "String",
6506
6580
  # max_items: 1,
6507
6581
  # })
@@ -6519,7 +6593,7 @@ module Aws::Lambda
6519
6593
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
6520
6594
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
6521
6595
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
6522
- # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
6596
+ # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6523
6597
  # resp.layers[0].latest_matching_version.license_info #=> String
6524
6598
  #
6525
6599
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -6801,7 +6875,7 @@ module Aws::Lambda
6801
6875
  # resp.versions #=> Array
6802
6876
  # resp.versions[0].function_name #=> String
6803
6877
  # resp.versions[0].function_arn #=> String
6804
- # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
6878
+ # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6805
6879
  # resp.versions[0].role #=> String
6806
6880
  # resp.versions[0].handler #=> String
6807
6881
  # resp.versions[0].code_size #=> Integer
@@ -6997,7 +7071,7 @@ module Aws::Lambda
6997
7071
  # zip_file: "data",
6998
7072
  # },
6999
7073
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
7000
- # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, java8.al2023, java11.al2023, java17.al2023
7074
+ # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
7001
7075
  # license_info: "LicenseInfo",
7002
7076
  # })
7003
7077
  #
@@ -7019,7 +7093,7 @@ module Aws::Lambda
7019
7093
  # resp.compatible_architectures #=> Array
7020
7094
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
7021
7095
  # resp.compatible_runtimes #=> Array
7022
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
7096
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
7023
7097
  # resp.license_info #=> String
7024
7098
  #
7025
7099
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -7178,7 +7252,7 @@ module Aws::Lambda
7178
7252
  #
7179
7253
  # resp.function_name #=> String
7180
7254
  # resp.function_arn #=> String
7181
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
7255
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
7182
7256
  # resp.role #=> String
7183
7257
  # resp.handler #=> String
7184
7258
  # resp.code_size #=> Integer
@@ -7737,6 +7811,73 @@ module Aws::Lambda
7737
7811
  req.send_request(options)
7738
7812
  end
7739
7813
 
7814
+ # Adds a [resource-based policy][1] to a Lambda resource. Resource-based
7815
+ # policies grant access to other [Amazon Web Services accounts][2],
7816
+ # [organizations][3], or [services][4]. Resource-based policies apply to
7817
+ # a single Lambda resource (for example, a function, function version,
7818
+ # or function alias).
7819
+ #
7820
+ # This operation replaces any existing policy on the Lambda resource. If
7821
+ # you previously added permissions using the AddPermission operation,
7822
+ # the new policy overwrites those permissions.
7823
+ #
7824
+ #
7825
+ #
7826
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
7827
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html
7828
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html
7829
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html
7830
+ #
7831
+ # @option params [required, String] :resource_arn
7832
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to add
7833
+ # the policy to. You can use a qualified or an unqualified ARN. The
7834
+ # value must be a complete ARN, and the operation does not accept
7835
+ # wildcard characters.
7836
+ #
7837
+ # @option params [required, String] :policy
7838
+ # The policy document you want to add to your Lambda resource. This is
7839
+ # formatted as a JSON string.
7840
+ #
7841
+ # For more information, see [Working with resource-based policies in
7842
+ # Lambda][1] in the *Lambda Developer Guide*.
7843
+ #
7844
+ #
7845
+ #
7846
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
7847
+ #
7848
+ # @option params [String] :revision_id
7849
+ # The revision ID that the existing policy must match for the
7850
+ # replacement to proceed. If the revision ID doesn't match, the
7851
+ # operation fails with a `PreconditionFailedException` error. To
7852
+ # retrieve the current revision ID, use the GetResourcePolicy operation.
7853
+ #
7854
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7855
+ #
7856
+ # * {Types::PutResourcePolicyResponse#policy #policy} => String
7857
+ # * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
7858
+ #
7859
+ # @example Request syntax with placeholder values
7860
+ #
7861
+ # resp = client.put_resource_policy({
7862
+ # resource_arn: "PolicyResourceArn", # required
7863
+ # policy: "ResourcePolicy", # required
7864
+ # revision_id: "RevisionId",
7865
+ # })
7866
+ #
7867
+ # @example Response structure
7868
+ #
7869
+ # resp.policy #=> String
7870
+ # resp.revision_id #=> String
7871
+ #
7872
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicy AWS API Documentation
7873
+ #
7874
+ # @overload put_resource_policy(params = {})
7875
+ # @param [Hash] params ({})
7876
+ def put_resource_policy(params = {}, options = {})
7877
+ req = build_request(:put_resource_policy, params)
7878
+ req.send_request(options)
7879
+ end
7880
+
7740
7881
  # Sets the runtime management configuration for a function's version.
7741
7882
  # For more information, see [Runtime updates][1].
7742
7883
  #
@@ -8959,10 +9100,13 @@ module Aws::Lambda
8959
9100
  # use.
8960
9101
  #
8961
9102
  # @option params [String] :s3_object_storage_mode
8962
- # Specifies how the deployment package is stored. Use `COPY` (default)
8963
- # to upload a copy of your deployment package to Lambda. Use `REFERENCE`
8964
- # to have Lambda reference the deployment package from the specified
8965
- # Amazon S3 bucket.
9103
+ # Specifies how the deployment package is stored. Valid values:
9104
+ #
9105
+ # * `COPY` (default) Uploads a copy of your deployment package to
9106
+ # Lambda.
9107
+ #
9108
+ # * `REFERENCE` – Lambda references the deployment package from the
9109
+ # specified Amazon S3 bucket.
8966
9110
  #
8967
9111
  # @option params [String] :image_uri
8968
9112
  # URI of a container image in the Amazon ECR registry. Do not use for a
@@ -9093,7 +9237,7 @@ module Aws::Lambda
9093
9237
  #
9094
9238
  # resp.function_name #=> String
9095
9239
  # resp.function_arn #=> String
9096
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
9240
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
9097
9241
  # resp.role #=> String
9098
9242
  # resp.handler #=> String
9099
9243
  # resp.code_size #=> Integer
@@ -9489,7 +9633,7 @@ module Aws::Lambda
9489
9633
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
9490
9634
  # },
9491
9635
  # },
9492
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, java8.al2023, java11.al2023, java17.al2023
9636
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
9493
9637
  # dead_letter_config: {
9494
9638
  # target_arn: "ResourceArn",
9495
9639
  # },
@@ -9540,7 +9684,7 @@ module Aws::Lambda
9540
9684
  #
9541
9685
  # resp.function_name #=> String
9542
9686
  # resp.function_arn #=> String
9543
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "java8.al2023", "java11.al2023", "java17.al2023"
9687
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
9544
9688
  # resp.role #=> String
9545
9689
  # resp.handler #=> String
9546
9690
  # resp.code_size #=> Integer
@@ -9872,7 +10016,7 @@ module Aws::Lambda
9872
10016
  tracer: tracer
9873
10017
  )
9874
10018
  context[:gem_name] = 'aws-sdk-lambda'
9875
- context[:gem_version] = '1.191.0'
10019
+ context[:gem_version] = '1.193.0'
9876
10020
  Seahorse::Client::Request.new(handlers, context)
9877
10021
  end
9878
10022
 
@@ -132,6 +132,7 @@ 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')
@@ -270,6 +271,8 @@ module Aws::Lambda
270
271
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
271
272
  GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
272
273
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
274
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
275
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
273
276
  GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
274
277
  GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
275
278
  Handler = Shapes::StringShape.new(name: 'Handler')
@@ -423,6 +426,7 @@ module Aws::Lambda
423
426
  Pattern = Shapes::StringShape.new(name: 'Pattern')
424
427
  PerExecutionEnvironmentMaxConcurrency = Shapes::IntegerShape.new(name: 'PerExecutionEnvironmentMaxConcurrency')
425
428
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
429
+ PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
426
430
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
427
431
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
428
432
  Principal = Shapes::StringShape.new(name: 'Principal')
@@ -451,6 +455,8 @@ module Aws::Lambda
451
455
  PutFunctionScalingConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionScalingConfigResponse')
452
456
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
453
457
  PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
458
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
459
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
454
460
  PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
455
461
  PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
456
462
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
@@ -469,10 +475,12 @@ module Aws::Lambda
469
475
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
470
476
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
471
477
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
478
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
472
479
  ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
473
480
  RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
474
481
  RetryDetails = Shapes::StructureShape.new(name: 'RetryDetails')
475
482
  ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
483
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
476
484
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
477
485
  Runtime = Shapes::StringShape.new(name: 'Runtime')
478
486
  RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
@@ -1005,6 +1013,10 @@ module Aws::Lambda
1005
1013
  DeleteProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
1006
1014
  DeleteProvisionedConcurrencyConfigRequest.struct_class = Types::DeleteProvisionedConcurrencyConfigRequest
1007
1015
 
1016
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
1017
+ DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "RevisionId"))
1018
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
1019
+
1008
1020
  DestinationConfig.add_member(:on_success, Shapes::ShapeRef.new(shape: OnSuccess, location_name: "OnSuccess"))
1009
1021
  DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
1010
1022
  DestinationConfig.struct_class = Types::DestinationConfig
@@ -1505,6 +1517,13 @@ module Aws::Lambda
1505
1517
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
1506
1518
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
1507
1519
 
1520
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
1521
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
1522
+
1523
+ GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
1524
+ GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
1525
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
1526
+
1508
1527
  GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
1509
1528
  GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: NumericLatestPublishedOrAliasQualifier, location: "querystring", location_name: "Qualifier"))
1510
1529
  GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
@@ -2024,6 +2043,15 @@ module Aws::Lambda
2024
2043
  PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
2025
2044
  PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
2026
2045
 
2046
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
2047
+ PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
2048
+ PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
2049
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
2050
+
2051
+ PutResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
2052
+ PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
2053
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
2054
+
2027
2055
  PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
2028
2056
  PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: NumericLatestPublishedOrAliasQualifier, location: "querystring", location_name: "Qualifier"))
2029
2057
  PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
@@ -2688,6 +2716,20 @@ module Aws::Lambda
2688
2716
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2689
2717
  end)
2690
2718
 
2719
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2720
+ o.name = "DeleteResourcePolicy"
2721
+ o.http_method = "DELETE"
2722
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
2723
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
2724
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2725
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2726
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2727
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2728
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2729
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2730
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2731
+ end)
2732
+
2691
2733
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
2692
2734
  o.name = "GetAccountSettings"
2693
2735
  o.http_method = "GET"
@@ -2962,6 +3004,18 @@ module Aws::Lambda
2962
3004
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2963
3005
  end)
2964
3006
 
3007
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3008
+ o.name = "GetResourcePolicy"
3009
+ o.http_method = "GET"
3010
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
3011
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
3012
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
3013
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3014
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3015
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3016
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3017
+ end)
3018
+
2965
3019
  api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
2966
3020
  o.name = "GetRuntimeManagementConfig"
2967
3021
  o.http_method = "GET"
@@ -3474,6 +3528,22 @@ module Aws::Lambda
3474
3528
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3475
3529
  end)
3476
3530
 
3531
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3532
+ o.name = "PutResourcePolicy"
3533
+ o.http_method = "PUT"
3534
+ o.http_request_uri = "/2026-07-09/resource-policy/{ResourceArn}"
3535
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
3536
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
3537
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3538
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3539
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
3540
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3541
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3542
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
3543
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3544
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3545
+ end)
3546
+
3477
3547
  api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
3478
3548
  o.name = "PutRuntimeManagementConfig"
3479
3549
  o.http_method = "PUT"