aws-sdk-lambda 1.197.0 → 1.199.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +41 -36
- data/lib/aws-sdk-lambda/client_api.rb +1 -0
- data/lib/aws-sdk-lambda/types.rb +16 -1
- 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: 0d7e05fd073ddffc6df268fb646e1387a2ac78c9490cda4158a54605184ed8dc
|
|
4
|
+
data.tar.gz: 41a92016e4c9dfafe067827302480fa036c03f348bfa2227712b7ba193d791bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50445839b3b42343f0aa15fe5cee660ecced10569f4af8ef123273997dff3f1811367ed012da46e5dc2f082c08a069962c2a75ebb88362676a486484b7adf7ac
|
|
7
|
+
data.tar.gz: 4dc626145117c9e6c1bcd7948386919d573a8eb9aa34a233c31fe68aeb8d6f8646957bb28c1a4b2c4d8bbf822ee1dc70c8b8225958163b5223f3f5c2508b1f12
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.199.0 (2026-10-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Lambda now supports an optional X-Ray trace header for chained invocations in durable executions, enabling child invocations to be linked to the initiating span.
|
|
8
|
+
|
|
9
|
+
1.198.0 (2026-10-12)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Doc updates to reposition Lambda Functions as Lambda Event Functions
|
|
13
|
+
|
|
4
14
|
1.197.0 (2026-10-08)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.199.0
|
|
@@ -831,6 +831,7 @@ module Aws::Lambda
|
|
|
831
831
|
# chained_invoke_options: {
|
|
832
832
|
# function_name: "NamespacedFunctionName", # required
|
|
833
833
|
# tenant_id: "TenantId",
|
|
834
|
+
# x_amzn_trace_id: "XAmznTraceId",
|
|
834
835
|
# },
|
|
835
836
|
# },
|
|
836
837
|
# ],
|
|
@@ -890,8 +891,8 @@ module Aws::Lambda
|
|
|
890
891
|
req.send_request(options)
|
|
891
892
|
end
|
|
892
893
|
|
|
893
|
-
# Creates an [alias][1] for a Lambda
|
|
894
|
-
# provide clients with a function identifier that you can update to
|
|
894
|
+
# Creates an [alias][1] for a Lambda Event Function version. Use aliases
|
|
895
|
+
# to provide clients with a function identifier that you can update to
|
|
895
896
|
# invoke a different version.
|
|
896
897
|
#
|
|
897
898
|
# You can also map an alias to split invocation requests between two
|
|
@@ -997,7 +998,7 @@ module Aws::Lambda
|
|
|
997
998
|
end
|
|
998
999
|
|
|
999
1000
|
# Creates a capacity provider that manages compute resources for Lambda
|
|
1000
|
-
#
|
|
1001
|
+
# Event Functions
|
|
1001
1002
|
#
|
|
1002
1003
|
# @option params [required, String] :capacity_provider_name
|
|
1003
1004
|
# The name of the capacity provider.
|
|
@@ -1180,8 +1181,9 @@ module Aws::Lambda
|
|
|
1180
1181
|
req.send_request(options)
|
|
1181
1182
|
end
|
|
1182
1183
|
|
|
1183
|
-
# Creates a mapping between an event source and an Lambda
|
|
1184
|
-
# Lambda reads items from the event source and invokes the
|
|
1184
|
+
# Creates a mapping between an event source and an Lambda Event
|
|
1185
|
+
# Function. Lambda reads items from the event source and invokes the
|
|
1186
|
+
# function.
|
|
1185
1187
|
#
|
|
1186
1188
|
# For details about how to configure different event sources, see the
|
|
1187
1189
|
# following topics.
|
|
@@ -1710,7 +1712,7 @@ module Aws::Lambda
|
|
|
1710
1712
|
req.send_request(options)
|
|
1711
1713
|
end
|
|
1712
1714
|
|
|
1713
|
-
# Creates a Lambda
|
|
1715
|
+
# Creates a Lambda Event Function. To create a function, you need a
|
|
1714
1716
|
# [deployment package][1] and an [execution role][2]. The deployment
|
|
1715
1717
|
# package is a .zip file archive or container image that contains your
|
|
1716
1718
|
# function code. The execution role grants the function permission to
|
|
@@ -2396,7 +2398,7 @@ module Aws::Lambda
|
|
|
2396
2398
|
req.send_request(options)
|
|
2397
2399
|
end
|
|
2398
2400
|
|
|
2399
|
-
# Deletes a Lambda
|
|
2401
|
+
# Deletes a Lambda Event Function [alias][1].
|
|
2400
2402
|
#
|
|
2401
2403
|
#
|
|
2402
2404
|
#
|
|
@@ -2673,10 +2675,10 @@ module Aws::Lambda
|
|
|
2673
2675
|
req.send_request(options)
|
|
2674
2676
|
end
|
|
2675
2677
|
|
|
2676
|
-
# Deletes a Lambda
|
|
2677
|
-
# the `Qualifier` parameter. Otherwise, all versions and
|
|
2678
|
-
# deleted. This doesn't require the user to have explicit
|
|
2679
|
-
# for DeleteAlias.
|
|
2678
|
+
# Deletes a Lambda Event Function. To delete a specific function
|
|
2679
|
+
# version, use the `Qualifier` parameter. Otherwise, all versions and
|
|
2680
|
+
# aliases are deleted. This doesn't require the user to have explicit
|
|
2681
|
+
# permissions for DeleteAlias.
|
|
2680
2682
|
#
|
|
2681
2683
|
# <note markdown="1"> A deleted Lambda function cannot be recovered. Ensure that you specify
|
|
2682
2684
|
# the correct function name and version before deleting.
|
|
@@ -3096,7 +3098,7 @@ module Aws::Lambda
|
|
|
3096
3098
|
req.send_request(options)
|
|
3097
3099
|
end
|
|
3098
3100
|
|
|
3099
|
-
# Returns details about a Lambda
|
|
3101
|
+
# Returns details about a Lambda Event Function [alias][1].
|
|
3100
3102
|
#
|
|
3101
3103
|
#
|
|
3102
3104
|
#
|
|
@@ -4059,9 +4061,10 @@ module Aws::Lambda
|
|
|
4059
4061
|
req.send_request(options)
|
|
4060
4062
|
end
|
|
4061
4063
|
|
|
4062
|
-
# Returns the version-specific settings of a Lambda
|
|
4063
|
-
# The output includes only options that can vary between
|
|
4064
|
-
# function. To modify these settings, use
|
|
4064
|
+
# Returns the version-specific settings of a Lambda Event Function or
|
|
4065
|
+
# version. The output includes only options that can vary between
|
|
4066
|
+
# versions of a function. To modify these settings, use
|
|
4067
|
+
# UpdateFunctionConfiguration.
|
|
4065
4068
|
#
|
|
4066
4069
|
# To get all of a function's details, including function-level
|
|
4067
4070
|
# settings, use GetFunction.
|
|
@@ -4807,9 +4810,9 @@ module Aws::Lambda
|
|
|
4807
4810
|
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
|
|
4808
4811
|
#
|
|
4809
4812
|
#
|
|
4810
|
-
# @example Example: To
|
|
4813
|
+
# @example Example: To get a provisioned concurrency configuration
|
|
4811
4814
|
#
|
|
4812
|
-
# # The following example
|
|
4815
|
+
# # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4813
4816
|
# # function.
|
|
4814
4817
|
#
|
|
4815
4818
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -4826,9 +4829,9 @@ module Aws::Lambda
|
|
|
4826
4829
|
# status: "READY",
|
|
4827
4830
|
# }
|
|
4828
4831
|
#
|
|
4829
|
-
# @example Example: To
|
|
4832
|
+
# @example Example: To view a provisioned concurrency configuration
|
|
4830
4833
|
#
|
|
4831
|
-
# # The following example
|
|
4834
|
+
# # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4832
4835
|
# # function.
|
|
4833
4836
|
#
|
|
4834
4837
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -4967,12 +4970,13 @@ module Aws::Lambda
|
|
|
4967
4970
|
req.send_request(options)
|
|
4968
4971
|
end
|
|
4969
4972
|
|
|
4970
|
-
# Invokes a Lambda
|
|
4971
|
-
# (and wait for the response), or asynchronously. By
|
|
4972
|
-
# invokes your function synchronously (i.e.
|
|
4973
|
-
# `RequestResponse`). To invoke a function
|
|
4974
|
-
# `InvocationType` to `Event`. Lambda passes the
|
|
4975
|
-
# to your function for synchronous invocations
|
|
4973
|
+
# Invokes a Lambda Event Function. You can invoke a function
|
|
4974
|
+
# synchronously (and wait for the response), or asynchronously. By
|
|
4975
|
+
# default, Lambda invokes your function synchronously (i.e.
|
|
4976
|
+
# the`InvocationType` is `RequestResponse`). To invoke a function
|
|
4977
|
+
# asynchronously, set `InvocationType` to `Event`. Lambda passes the
|
|
4978
|
+
# `ClientContext` object to your function for synchronous invocations
|
|
4979
|
+
# only.
|
|
4976
4980
|
#
|
|
4977
4981
|
# For synchronous invocations, the maximum payload size is 6 MB. For
|
|
4978
4982
|
# asynchronous invocations, the maximum payload size is 1 MB.
|
|
@@ -5250,9 +5254,9 @@ module Aws::Lambda
|
|
|
5250
5254
|
req.send_request(options)
|
|
5251
5255
|
end
|
|
5252
5256
|
|
|
5253
|
-
# Configure your Lambda
|
|
5254
|
-
# clients. For more information, see [Configuring a Lambda function
|
|
5255
|
-
# stream responses][1].
|
|
5257
|
+
# Configure your Lambda Event Functions to stream response payloads back
|
|
5258
|
+
# to clients. For more information, see [Configuring a Lambda function
|
|
5259
|
+
# to stream responses][1].
|
|
5256
5260
|
#
|
|
5257
5261
|
# This operation requires permission for the [lambda:InvokeFunction][2]
|
|
5258
5262
|
# action. For details on how to set up permissions for cross-account
|
|
@@ -5473,7 +5477,7 @@ module Aws::Lambda
|
|
|
5473
5477
|
req.send_request(options, &block)
|
|
5474
5478
|
end
|
|
5475
5479
|
|
|
5476
|
-
# Returns a list of [aliases][1] for a Lambda
|
|
5480
|
+
# Returns a list of [aliases][1] for a Lambda Event Function.
|
|
5477
5481
|
#
|
|
5478
5482
|
#
|
|
5479
5483
|
#
|
|
@@ -6151,7 +6155,7 @@ module Aws::Lambda
|
|
|
6151
6155
|
req.send_request(options)
|
|
6152
6156
|
end
|
|
6153
6157
|
|
|
6154
|
-
# Returns a list of Lambda
|
|
6158
|
+
# Returns a list of Lambda Event Functions, with the version-specific
|
|
6155
6159
|
# configuration of each. Lambda returns up to 50 functions per call.
|
|
6156
6160
|
#
|
|
6157
6161
|
# Set `FunctionVersion` to `ALL` to include all published versions of
|
|
@@ -8320,7 +8324,7 @@ module Aws::Lambda
|
|
|
8320
8324
|
req.send_request(options)
|
|
8321
8325
|
end
|
|
8322
8326
|
|
|
8323
|
-
# Updates the configuration of a Lambda
|
|
8327
|
+
# Updates the configuration of a Lambda Event Function [alias][1].
|
|
8324
8328
|
#
|
|
8325
8329
|
#
|
|
8326
8330
|
#
|
|
@@ -9047,9 +9051,10 @@ module Aws::Lambda
|
|
|
9047
9051
|
req.send_request(options)
|
|
9048
9052
|
end
|
|
9049
9053
|
|
|
9050
|
-
# Updates a Lambda
|
|
9051
|
-
# function, the code package must be signed by a trusted
|
|
9052
|
-
# more information, see [Configuring code signing for
|
|
9054
|
+
# Updates a Lambda Event Function's code. If code signing is enabled
|
|
9055
|
+
# for the function, the code package must be signed by a trusted
|
|
9056
|
+
# publisher. For more information, see [Configuring code signing for
|
|
9057
|
+
# Lambda][1].
|
|
9053
9058
|
#
|
|
9054
9059
|
# If the function's package type is `Image`, then you must specify the
|
|
9055
9060
|
# code package in `ImageUri` as the URI of a [container image][2] in the
|
|
@@ -9330,7 +9335,7 @@ module Aws::Lambda
|
|
|
9330
9335
|
req.send_request(options)
|
|
9331
9336
|
end
|
|
9332
9337
|
|
|
9333
|
-
#
|
|
9338
|
+
# Modifies the version-specific settings of a Lambda Event Function.
|
|
9334
9339
|
#
|
|
9335
9340
|
# When you update a function, Lambda provisions an instance of the
|
|
9336
9341
|
# function and its supporting resources. If your function connects to a
|
|
@@ -10037,7 +10042,7 @@ module Aws::Lambda
|
|
|
10037
10042
|
tracer: tracer
|
|
10038
10043
|
)
|
|
10039
10044
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
10040
|
-
context[:gem_version] = '1.
|
|
10045
|
+
context[:gem_version] = '1.199.0'
|
|
10041
10046
|
Seahorse::Client::Request.new(handlers, context)
|
|
10042
10047
|
end
|
|
10043
10048
|
|
|
@@ -760,6 +760,7 @@ module Aws::Lambda
|
|
|
760
760
|
|
|
761
761
|
ChainedInvokeOptions.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location_name: "FunctionName"))
|
|
762
762
|
ChainedInvokeOptions.add_member(:tenant_id, Shapes::ShapeRef.new(shape: TenantId, location_name: "TenantId"))
|
|
763
|
+
ChainedInvokeOptions.add_member(:x_amzn_trace_id, Shapes::ShapeRef.new(shape: XAmznTraceId, location_name: "XAmznTraceId"))
|
|
763
764
|
ChainedInvokeOptions.struct_class = Types::ChainedInvokeOptions
|
|
764
765
|
|
|
765
766
|
ChainedInvokeStartedDetails.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -789,11 +789,26 @@ module Aws::Lambda
|
|
|
789
789
|
# The tenant identifier for the chained invocation.
|
|
790
790
|
# @return [String]
|
|
791
791
|
#
|
|
792
|
+
# @!attribute [rw] x_amzn_trace_id
|
|
793
|
+
# The optional X-Ray trace header to use when starting the chained
|
|
794
|
+
# invocation. If you omit this value, the child invocation inherits
|
|
795
|
+
# the parent durable execution's trace header.
|
|
796
|
+
#
|
|
797
|
+
# Specify this value on the `START` update for the chained invocation
|
|
798
|
+
# operation. For more information about the header format, see
|
|
799
|
+
# [Tracing header][1] in the *X-Ray Developer Guide*.
|
|
800
|
+
#
|
|
801
|
+
#
|
|
802
|
+
#
|
|
803
|
+
# [1]: https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader
|
|
804
|
+
# @return [String]
|
|
805
|
+
#
|
|
792
806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeOptions AWS API Documentation
|
|
793
807
|
#
|
|
794
808
|
class ChainedInvokeOptions < Struct.new(
|
|
795
809
|
:function_name,
|
|
796
|
-
:tenant_id
|
|
810
|
+
:tenant_id,
|
|
811
|
+
:x_amzn_trace_id)
|
|
797
812
|
SENSITIVE = []
|
|
798
813
|
include Aws::Structure
|
|
799
814
|
end
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/types.rbs
CHANGED