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.
@@ -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].
@@ -3714,10 +3737,13 @@ module Aws::Lambda
3714
3737
  # @return [String]
3715
3738
  #
3716
3739
  # @!attribute [rw] s3_object_storage_mode
3717
- # Specifies how the deployment package is stored. Use `COPY` (default)
3718
- # to upload a copy of your deployment package to Lambda. Use
3719
- # `REFERENCE` to have Lambda reference the deployment package from the
3720
- # specified Amazon S3 bucket.
3740
+ # Specifies how the deployment package is stored. Valid values:
3741
+ #
3742
+ # * `COPY` (default) Uploads a copy of your deployment package to
3743
+ # Lambda.
3744
+ #
3745
+ # * `REFERENCE` – Lambda references the deployment package from the
3746
+ # specified Amazon S3 bucket.
3721
3747
  # @return [String]
3722
3748
  #
3723
3749
  # @!attribute [rw] image_uri
@@ -3805,15 +3831,17 @@ module Aws::Lambda
3805
3831
  include Aws::Structure
3806
3832
  end
3807
3833
 
3808
- # Details about an error related to retrieving a function's deployment
3809
- # package.
3834
+ # Contains details about an error that occurred when Lambda attempted to
3835
+ # retrieve a function's deployment package.
3810
3836
  #
3811
3837
  # @!attribute [rw] error_code
3812
- # The error code for the failed retrieval.
3838
+ # The error code that identifies why Lambda failed to retrieve the
3839
+ # deployment package.
3813
3840
  # @return [String]
3814
3841
  #
3815
3842
  # @!attribute [rw] message
3816
- # A description of the error.
3843
+ # The human-readable message that describes why Lambda failed to
3844
+ # retrieve the deployment package.
3817
3845
  # @return [String]
3818
3846
  #
3819
3847
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocationError AWS API Documentation
@@ -5346,6 +5374,41 @@ module Aws::Lambda
5346
5374
  include Aws::Structure
5347
5375
  end
5348
5376
 
5377
+ # @!attribute [rw] resource_arn
5378
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
5379
+ # retrieve the policy for. You can use a qualified or an unqualified
5380
+ # ARN. The value must be a complete ARN, and the operation does not
5381
+ # accept wildcard characters.
5382
+ # @return [String]
5383
+ #
5384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyRequest AWS API Documentation
5385
+ #
5386
+ class GetResourcePolicyRequest < Struct.new(
5387
+ :resource_arn)
5388
+ SENSITIVE = []
5389
+ include Aws::Structure
5390
+ end
5391
+
5392
+ # @!attribute [rw] policy
5393
+ # The resource-based policy attached to the Lambda resource you
5394
+ # specified.
5395
+ # @return [String]
5396
+ #
5397
+ # @!attribute [rw] revision_id
5398
+ # The revision ID of the policy. Pass this value as the `RevisionId`
5399
+ # in a PutResourcePolicy or DeleteResourcePolicy request. Doing so
5400
+ # ensures the operation acts on the expected version of the policy.
5401
+ # @return [String]
5402
+ #
5403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyResponse AWS API Documentation
5404
+ #
5405
+ class GetResourcePolicyResponse < Struct.new(
5406
+ :policy,
5407
+ :revision_id)
5408
+ SENSITIVE = []
5409
+ include Aws::Structure
5410
+ end
5411
+
5349
5412
  # @!attribute [rw] function_name
5350
5413
  # The name or ARN of the Lambda function.
5351
5414
  #
@@ -6238,7 +6301,12 @@ module Aws::Lambda
6238
6301
  # @return [String]
6239
6302
  #
6240
6303
  # @!attribute [rw] s3_object_storage_mode
6241
- # The storage mode for a function's deployment package.
6304
+ # Specifies how the layer archive is stored. Valid values:
6305
+ #
6306
+ # * `COPY` (default) – Uploads a copy of your layer archive to Lambda.
6307
+ #
6308
+ # * `REFERENCE` – Lambda references the layer archive from the
6309
+ # specified Amazon S3 bucket.
6242
6310
  # @return [String]
6243
6311
  #
6244
6312
  # @!attribute [rw] zip_file
@@ -6287,8 +6355,7 @@ module Aws::Lambda
6287
6355
  # @return [String]
6288
6356
  #
6289
6357
  # @!attribute [rw] resolved_s3_object
6290
- # Details about the resolved Amazon S3 object that contains a
6291
- # function's deployment package.
6358
+ # The resolved Amazon S3 object that contains the layer archive.
6292
6359
  # @return [Types::ResolvedS3Object]
6293
6360
  #
6294
6361
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentOutput AWS API Documentation
@@ -7698,10 +7765,10 @@ module Aws::Lambda
7698
7765
  #
7699
7766
  # @!attribute [rw] maximum_pollers
7700
7767
  # The maximum number of event pollers this event source can scale up
7701
- # to. For Amazon SQS events source mappings, default is 200, and
7702
- # minimum value allowed is 2. For Amazon MSK and self-managed Apache
7703
- # Kafka event source mappings, default is 200, and minimum value
7704
- # allowed is 1.
7768
+ # to. For Amazon SQS event source mappings, the accepted range is
7769
+ # between 2 and 10,000, with a default of 200. For Amazon MSK and
7770
+ # self-managed Apache Kafka event source mappings, the accepted range
7771
+ # is between 1 and 2,000, with a default of 200.
7705
7772
  # @return [Integer]
7706
7773
  #
7707
7774
  # @!attribute [rw] poller_group_name
@@ -7724,15 +7791,8 @@ module Aws::Lambda
7724
7791
  include Aws::Structure
7725
7792
  end
7726
7793
 
7727
- # The resource-based policy you tried to add to the Lambda function
7728
- # would grant public access to it, and your account's
7729
- # `BlockPublicAccess` setting prevents public access. For more
7730
- # information about blocking public access to Lambda functions, see
7731
- # [Block public access to Lambda resources][1].
7732
- #
7733
- #
7734
- #
7735
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#access-control-block-public-access
7794
+ # The resource-based policy you tried to add to the Lambda resource
7795
+ # would grant public access to it, which isn't allowed.
7736
7796
  #
7737
7797
  # @!attribute [rw] type
7738
7798
  # The exception type.
@@ -8284,6 +8344,61 @@ module Aws::Lambda
8284
8344
  include Aws::Structure
8285
8345
  end
8286
8346
 
8347
+ # @!attribute [rw] resource_arn
8348
+ # The Amazon Resource Name (ARN) of the Lambda resource you want to
8349
+ # add the policy to. You can use a qualified or an unqualified ARN.
8350
+ # The value must be a complete ARN, and the operation does not accept
8351
+ # wildcard characters.
8352
+ # @return [String]
8353
+ #
8354
+ # @!attribute [rw] policy
8355
+ # The policy document you want to add to your Lambda resource. This is
8356
+ # formatted as a JSON string.
8357
+ #
8358
+ # For more information, see [Working with resource-based policies in
8359
+ # Lambda][1] in the *Lambda Developer Guide*.
8360
+ #
8361
+ #
8362
+ #
8363
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
8364
+ # @return [String]
8365
+ #
8366
+ # @!attribute [rw] revision_id
8367
+ # The revision ID that the existing policy must match for the
8368
+ # replacement to proceed. If the revision ID doesn't match, the
8369
+ # operation fails with a `PreconditionFailedException` error. To
8370
+ # retrieve the current revision ID, use the GetResourcePolicy
8371
+ # operation.
8372
+ # @return [String]
8373
+ #
8374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyRequest AWS API Documentation
8375
+ #
8376
+ class PutResourcePolicyRequest < Struct.new(
8377
+ :resource_arn,
8378
+ :policy,
8379
+ :revision_id)
8380
+ SENSITIVE = []
8381
+ include Aws::Structure
8382
+ end
8383
+
8384
+ # @!attribute [rw] policy
8385
+ # The resource-based policy that Lambda adds to the resource.
8386
+ # @return [String]
8387
+ #
8388
+ # @!attribute [rw] revision_id
8389
+ # The revision ID of the policy that Lambda adds to your Lambda
8390
+ # resource.
8391
+ # @return [String]
8392
+ #
8393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyResponse AWS API Documentation
8394
+ #
8395
+ class PutResourcePolicyResponse < Struct.new(
8396
+ :policy,
8397
+ :revision_id)
8398
+ SENSITIVE = []
8399
+ include Aws::Structure
8400
+ end
8401
+
8287
8402
  # @!attribute [rw] function_name
8288
8403
  # The name or ARN of the Lambda function.
8289
8404
  #
@@ -9825,10 +9940,13 @@ module Aws::Lambda
9825
9940
  # @return [String]
9826
9941
  #
9827
9942
  # @!attribute [rw] s3_object_storage_mode
9828
- # Specifies how the deployment package is stored. Use `COPY` (default)
9829
- # to upload a copy of your deployment package to Lambda. Use
9830
- # `REFERENCE` to have Lambda reference the deployment package from the
9831
- # specified Amazon S3 bucket.
9943
+ # Specifies how the deployment package is stored. Valid values:
9944
+ #
9945
+ # * `COPY` (default) Uploads a copy of your deployment package to
9946
+ # Lambda.
9947
+ #
9948
+ # * `REFERENCE` – Lambda references the deployment package from the
9949
+ # specified Amazon S3 bucket.
9832
9950
  # @return [String]
9833
9951
  #
9834
9952
  # @!attribute [rw] image_uri
@@ -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.191.0'
59
+ GEM_VERSION = '1.193.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -339,7 +339,7 @@ module Aws
339
339
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
340
340
  def function_name: () -> ::String
341
341
  def function_arn: () -> ::String
342
- def runtime: () -> ("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")
342
+ def runtime: () -> ("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")
343
343
  def role: () -> ::String
344
344
  def handler: () -> ::String
345
345
  def code_size: () -> ::Integer
@@ -381,7 +381,7 @@ module Aws
381
381
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_function-instance_method
382
382
  def create_function: (
383
383
  function_name: ::String,
384
- ?runtime: ("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"),
384
+ ?runtime: ("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"),
385
385
  role: ::String,
386
386
  ?handler: ::String,
387
387
  code: {
@@ -597,6 +597,13 @@ module Aws
597
597
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
598
598
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
599
599
 
600
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_resource_policy-instance_method
601
+ def delete_resource_policy: (
602
+ resource_arn: ::String,
603
+ ?revision_id: ::String
604
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
605
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
606
+
600
607
  interface _GetAccountSettingsResponseSuccess
601
608
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
602
609
  def account_limit: () -> Types::AccountLimit
@@ -776,7 +783,7 @@ module Aws
776
783
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
777
784
  def function_name: () -> ::String
778
785
  def function_arn: () -> ::String
779
- def runtime: () -> ("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")
786
+ def runtime: () -> ("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")
780
787
  def role: () -> ::String
781
788
  def handler: () -> ::String
782
789
  def code_size: () -> ::Integer
@@ -886,7 +893,7 @@ module Aws
886
893
  def created_date: () -> ::Time
887
894
  def version: () -> ::Integer
888
895
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
889
- def compatible_runtimes: () -> ::Array[("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")]
896
+ def compatible_runtimes: () -> ::Array[("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")]
890
897
  def license_info: () -> ::String
891
898
  end
892
899
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_layer_version-instance_method
@@ -905,7 +912,7 @@ module Aws
905
912
  def created_date: () -> ::Time
906
913
  def version: () -> ::Integer
907
914
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
908
- def compatible_runtimes: () -> ::Array[("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")]
915
+ def compatible_runtimes: () -> ::Array[("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")]
909
916
  def license_info: () -> ::String
910
917
  end
911
918
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_layer_version_by_arn-instance_method
@@ -954,6 +961,17 @@ module Aws
954
961
  ) -> _GetProvisionedConcurrencyConfigResponseSuccess
955
962
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedConcurrencyConfigResponseSuccess
956
963
 
964
+ interface _GetResourcePolicyResponseSuccess
965
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
966
+ def policy: () -> ::String
967
+ def revision_id: () -> ::String
968
+ end
969
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_resource_policy-instance_method
970
+ def get_resource_policy: (
971
+ resource_arn: ::String
972
+ ) -> _GetResourcePolicyResponseSuccess
973
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
974
+
957
975
  interface _GetRuntimeManagementConfigResponseSuccess
958
976
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRuntimeManagementConfigResponse]
959
977
  def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1166,7 +1184,7 @@ module Aws
1166
1184
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_layer_versions-instance_method
1167
1185
  def list_layer_versions: (
1168
1186
  ?compatible_architecture: ("x86_64" | "arm64"),
1169
- ?compatible_runtime: ("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"),
1187
+ ?compatible_runtime: ("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"),
1170
1188
  layer_name: ::String,
1171
1189
  ?marker: ::String,
1172
1190
  ?max_items: ::Integer
@@ -1181,7 +1199,7 @@ module Aws
1181
1199
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_layers-instance_method
1182
1200
  def list_layers: (
1183
1201
  ?compatible_architecture: ("x86_64" | "arm64"),
1184
- ?compatible_runtime: ("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"),
1202
+ ?compatible_runtime: ("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"),
1185
1203
  ?marker: ::String,
1186
1204
  ?max_items: ::Integer
1187
1205
  ) -> _ListLayersResponseSuccess
@@ -1232,7 +1250,7 @@ module Aws
1232
1250
  def created_date: () -> ::Time
1233
1251
  def version: () -> ::Integer
1234
1252
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
1235
- def compatible_runtimes: () -> ::Array[("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")]
1253
+ def compatible_runtimes: () -> ::Array[("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")]
1236
1254
  def license_info: () -> ::String
1237
1255
  end
1238
1256
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#publish_layer_version-instance_method
@@ -1247,7 +1265,7 @@ module Aws
1247
1265
  zip_file: ::String?
1248
1266
  },
1249
1267
  ?compatible_architectures: Array[("x86_64" | "arm64")],
1250
- ?compatible_runtimes: Array[("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")],
1268
+ ?compatible_runtimes: Array[("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")],
1251
1269
  ?license_info: ::String
1252
1270
  ) -> _PublishLayerVersionResponseSuccess
1253
1271
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishLayerVersionResponseSuccess
@@ -1256,7 +1274,7 @@ module Aws
1256
1274
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1257
1275
  def function_name: () -> ::String
1258
1276
  def function_arn: () -> ::String
1259
- def runtime: () -> ("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")
1277
+ def runtime: () -> ("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")
1260
1278
  def role: () -> ::String
1261
1279
  def handler: () -> ::String
1262
1280
  def code_size: () -> ::Integer
@@ -1389,6 +1407,19 @@ module Aws
1389
1407
  ) -> _PutProvisionedConcurrencyConfigResponseSuccess
1390
1408
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProvisionedConcurrencyConfigResponseSuccess
1391
1409
 
1410
+ interface _PutResourcePolicyResponseSuccess
1411
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
1412
+ def policy: () -> ::String
1413
+ def revision_id: () -> ::String
1414
+ end
1415
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_resource_policy-instance_method
1416
+ def put_resource_policy: (
1417
+ resource_arn: ::String,
1418
+ policy: ::String,
1419
+ ?revision_id: ::String
1420
+ ) -> _PutResourcePolicyResponseSuccess
1421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
1422
+
1392
1423
  interface _PutRuntimeManagementConfigResponseSuccess
1393
1424
  include ::Seahorse::Client::_ResponseSuccess[Types::PutRuntimeManagementConfigResponse]
1394
1425
  def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1638,7 +1669,7 @@ module Aws
1638
1669
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1639
1670
  def function_name: () -> ::String
1640
1671
  def function_arn: () -> ::String
1641
- def runtime: () -> ("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")
1672
+ def runtime: () -> ("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")
1642
1673
  def role: () -> ::String
1643
1674
  def handler: () -> ::String
1644
1675
  def code_size: () -> ::Integer
@@ -1699,7 +1730,7 @@ module Aws
1699
1730
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1700
1731
  def function_name: () -> ::String
1701
1732
  def function_arn: () -> ::String
1702
- def runtime: () -> ("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")
1733
+ def runtime: () -> ("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")
1703
1734
  def role: () -> ::String
1704
1735
  def handler: () -> ::String
1705
1736
  def code_size: () -> ::Integer
@@ -1754,7 +1785,7 @@ module Aws
1754
1785
  ?environment: {
1755
1786
  variables: Hash[::String, ::String]?
1756
1787
  },
1757
- ?runtime: ("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"),
1788
+ ?runtime: ("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"),
1758
1789
  ?dead_letter_config: {
1759
1790
  target_arn: ::String?
1760
1791
  },