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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +17 -5
- data/lib/aws-sdk-lambda/client_api.rb +2 -0
- data/lib/aws-sdk-lambda/customizations.rb +0 -8
- data/lib/aws-sdk-lambda/types.rb +17 -3
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d261f707b6906a6734ae9cc34b831caae7040dea6065db86f9bc5936efc98dc
|
4
|
+
data.tar.gz: bce3533debe10bf07bab974fccd3f2e7990f0855c343b88d3dc6c66fff6dbdfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e799de907d46f26c97d2382547946b0a3b7b153ac03eaf9826e671d2bb2dbc4c51216e47fb606ed5fc48b5a1e1553fe1c8f9273876a8f8fce96d73c045de60a8
|
7
|
+
data.tar.gz: 3f3937af2e8a7131fa6d322e9fe045645feab052a3bd5b1deaaf77a1cae7453c450d9dcaa0f087e5063f08a0e60ce4079a87e68132d17455d57bb1e63ade4703
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
3884
|
+
# @example Example: To view a provisioned concurrency configuration
|
3873
3885
|
#
|
3874
|
-
# # The following example
|
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
|
3903
|
+
# @example Example: To get a provisioned concurrency configuration
|
3892
3904
|
#
|
3893
|
-
# # The following example
|
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.
|
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"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -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
|
440
|
-
#
|
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]
|
data/lib/aws-sdk-lambda.rb
CHANGED
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