aws-sdk-lambda 1.160.0 → 1.161.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: 418eb4bdcdb11410cd73be623659caf9e73613bb02cd5cd7bed8f1aef22cfc94
4
- data.tar.gz: e0969b7d74e405d9342e21c89ba40ace42a866b81b1b07c0f97b72dc02d60509
3
+ metadata.gz: 2d261f707b6906a6734ae9cc34b831caae7040dea6065db86f9bc5936efc98dc
4
+ data.tar.gz: bce3533debe10bf07bab974fccd3f2e7990f0855c343b88d3dc6c66fff6dbdfa
5
5
  SHA512:
6
- metadata.gz: 4d1438957edf44bc8a627fd6c8e02a2fe33a959afa7e97bb5cede6338696030096d6b2a06470b50f439da619c266f5b58194573164ce38126aaef370b105feb9
7
- data.tar.gz: b0814eb19f7c8910edca72e01b57a4265b4232b9cdb55ae76fc09a6a510a1e99da7d2151459d086bfc6701a4e8a3d4fed08cd9a728189984b0335b102a41aaf7
6
+ metadata.gz: e799de907d46f26c97d2382547946b0a3b7b153ac03eaf9826e671d2bb2dbc4c51216e47fb606ed5fc48b5a1e1553fe1c8f9273876a8f8fce96d73c045de60a8
7
+ data.tar.gz: 3f3937af2e8a7131fa6d322e9fe045645feab052a3bd5b1deaaf77a1cae7453c450d9dcaa0f087e5063f08a0e60ce4079a87e68132d17455d57bb1e63ade4703
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.161.0 (2025-10-10)
5
+ ------------------
6
+
7
+ * Feature - Add InvokedViaFunctionUrl context key to limit invocations to only FURL invokes.
8
+
4
9
  1.160.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.160.0
1
+ 1.161.0
@@ -680,6 +680,17 @@ module Aws::Lambda
680
680
  #
681
681
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
682
682
  #
683
+ # @option params [Boolean] :invoked_via_function_url
684
+ # Restricts the `lambda:InvokeFunction` action to calls coming from a
685
+ # function URL. When set to `true`, this prevents the principal from
686
+ # invoking the function by any means other than the function URL. For
687
+ # more information, see [Security and auth model for Lambda function
688
+ # URLs][1].
689
+ #
690
+ #
691
+ #
692
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
693
+ #
683
694
  # @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
684
695
  #
685
696
  # * {Types::AddPermissionResponse#statement #statement} => String
@@ -734,6 +745,7 @@ module Aws::Lambda
734
745
  # revision_id: "String",
735
746
  # principal_org_id: "PrincipalOrgID",
736
747
  # function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
748
+ # invoked_via_function_url: false,
737
749
  # })
738
750
  #
739
751
  # @example Response structure
@@ -3869,9 +3881,9 @@ module Aws::Lambda
3869
3881
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
3870
3882
  #
3871
3883
  #
3872
- # @example Example: To get a provisioned concurrency configuration
3884
+ # @example Example: To view a provisioned concurrency configuration
3873
3885
  #
3874
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3886
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3875
3887
  # # function.
3876
3888
  #
3877
3889
  # resp = client.get_provisioned_concurrency_config({
@@ -3888,9 +3900,9 @@ module Aws::Lambda
3888
3900
  # status: "READY",
3889
3901
  # }
3890
3902
  #
3891
- # @example Example: To view a provisioned concurrency configuration
3903
+ # @example Example: To get a provisioned concurrency configuration
3892
3904
  #
3893
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3905
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3894
3906
  # # function.
3895
3907
  #
3896
3908
  # resp = client.get_provisioned_concurrency_config({
@@ -8350,7 +8362,7 @@ module Aws::Lambda
8350
8362
  tracer: tracer
8351
8363
  )
8352
8364
  context[:gem_name] = 'aws-sdk-lambda'
8353
- context[:gem_version] = '1.160.0'
8365
+ context[:gem_version] = '1.161.0'
8354
8366
  Seahorse::Client::Request.new(handlers, context)
8355
8367
  end
8356
8368
 
@@ -191,6 +191,7 @@ module Aws::Lambda
191
191
  InvokeWithResponseStreamRequest = Shapes::StructureShape.new(name: 'InvokeWithResponseStreamRequest')
192
192
  InvokeWithResponseStreamResponse = Shapes::StructureShape.new(name: 'InvokeWithResponseStreamResponse')
193
193
  InvokeWithResponseStreamResponseEvent = Shapes::StructureShape.new(name: 'InvokeWithResponseStreamResponseEvent')
194
+ InvokedViaFunctionUrl = Shapes::BooleanShape.new(name: 'InvokedViaFunctionUrl')
194
195
  KMSAccessDeniedException = Shapes::StructureShape.new(name: 'KMSAccessDeniedException')
195
196
  KMSDisabledException = Shapes::StructureShape.new(name: 'KMSDisabledException')
196
197
  KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
@@ -434,6 +435,7 @@ module Aws::Lambda
434
435
  AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
435
436
  AddPermissionRequest.add_member(:principal_org_id, Shapes::ShapeRef.new(shape: PrincipalOrgID, location_name: "PrincipalOrgID"))
436
437
  AddPermissionRequest.add_member(:function_url_auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, location_name: "FunctionUrlAuthType"))
438
+ AddPermissionRequest.add_member(:invoked_via_function_url, Shapes::ShapeRef.new(shape: InvokedViaFunctionUrl, location_name: "InvokedViaFunctionUrl"))
437
439
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
438
440
 
439
441
  AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
- # WARNING ABOUT GENERATED CODE
3
- #
4
- # This file is generated. See the contributing for info on making contributions:
5
- # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
- #
7
- # WARNING ABOUT GENERATED CODE
8
-
@@ -224,6 +224,18 @@ module Aws::Lambda
224
224
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
225
225
  # @return [String]
226
226
  #
227
+ # @!attribute [rw] invoked_via_function_url
228
+ # Restricts the `lambda:InvokeFunction` action to calls coming from a
229
+ # function URL. When set to `true`, this prevents the principal from
230
+ # invoking the function by any means other than the function URL. For
231
+ # more information, see [Security and auth model for Lambda function
232
+ # URLs][1].
233
+ #
234
+ #
235
+ #
236
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
237
+ # @return [Boolean]
238
+ #
227
239
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
228
240
  #
229
241
  class AddPermissionRequest < Struct.new(
@@ -237,7 +249,8 @@ module Aws::Lambda
237
249
  :qualifier,
238
250
  :revision_id,
239
251
  :principal_org_id,
240
- :function_url_auth_type)
252
+ :function_url_auth_type,
253
+ :invoked_via_function_url)
241
254
  SENSITIVE = []
242
255
  include Aws::Structure
243
256
  end
@@ -436,8 +449,9 @@ module Aws::Lambda
436
449
  # Code signing configuration policy for deployment validation failure.
437
450
  # If you set the policy to `Enforce`, Lambda blocks the deployment
438
451
  # request if signature validation checks fail. If you set the policy
439
- # to `Warn`, Lambda allows the deployment and creates a CloudWatch
440
- # log.
452
+ # to `Warn`, Lambda allows the deployment and issues a new Amazon
453
+ # CloudWatch metric (`SignatureValidationErrors`) and also stores the
454
+ # warning in the CloudTrail log.
441
455
  #
442
456
  # Default value: `Warn`
443
457
  # @return [String]
@@ -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.160.0'
59
+ GEM_VERSION = '1.161.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -114,7 +114,8 @@ module Aws
114
114
  ?qualifier: ::String,
115
115
  ?revision_id: ::String,
116
116
  ?principal_org_id: ::String,
117
- ?function_url_auth_type: ("NONE" | "AWS_IAM")
117
+ ?function_url_auth_type: ("NONE" | "AWS_IAM"),
118
+ ?invoked_via_function_url: bool
118
119
  ) -> _AddPermissionResponseSuccess
119
120
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddPermissionResponseSuccess
120
121
 
data/sig/types.rbs CHANGED
@@ -52,6 +52,7 @@ module Aws::Lambda
52
52
  attr_accessor revision_id: ::String
53
53
  attr_accessor principal_org_id: ::String
54
54
  attr_accessor function_url_auth_type: ("NONE" | "AWS_IAM")
55
+ attr_accessor invoked_via_function_url: bool
55
56
  SENSITIVE: []
56
57
  end
57
58
 
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.160.0
4
+ version: 1.161.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services