aws-sdk-lambda 1.113.0 → 1.115.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1105eeff80f82fd58932902ad879b44c3f5f589d7bf7f181919637260d09955
4
- data.tar.gz: dae45dd72437a0ee75b844aa50efaa590e28d562ddab361b1aca7e8878cef8f7
3
+ metadata.gz: 59237f0577c5fecdc93cc7d76be96f68bdad180006599022fae71f545fcde88c
4
+ data.tar.gz: 2b7e73a8698dc76c84dfcc5bd34f38cb177d7f172cf290b61ee10b9568018cd2
5
5
  SHA512:
6
- metadata.gz: f7adec3257ea292ae69a4bb9940dc38027af9043e4cedb60d5161fcabaabc78e230c808edd1f9ddac9e53ee05f7b1218e89f29f38e7b1fa1b1fe66e3c7522384
7
- data.tar.gz: 95cfd814bcda4e336e2af864d4a05ac290f542ca4f35fa41a8571ef04219dbe1532330853a2fd679f3f1270e6a1bc53e56bff698bb77040934afb373ec874a05
6
+ metadata.gz: b0d003cc4488e44a07eba293cdc7a8ac6c2506c1daf08ff2d23b5c6d20d12a36fafddaaa726f7372ccdf8e05ea2451d59397592a13f8db0eb1b88013680831dc
7
+ data.tar.gz: 441a4476fab602e524b0398f4e4352c1fde4ff8dc8a385ebc3cf53b24b68c9119e389f537ac4b00bd9fc854202fc763f5d0ac277789dc0706de110babf6e5468
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2024-02-16)
5
+ ------------------
6
+
7
+ * Feature - Documentation-only updates for Lambda to clarify a number of existing actions and properties.
8
+
9
+ 1.114.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.113.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.113.0
1
+ 1.115.0
@@ -828,12 +828,17 @@ module Aws::Lambda
828
828
  # * **Amazon Simple Queue Service** – The ARN of the queue.
829
829
  #
830
830
  # * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
831
- # cluster.
831
+ # cluster or the ARN of the VPC connection (for [cross-account event
832
+ # source mappings][1]).
832
833
  #
833
834
  # * **Amazon MQ** – The ARN of the broker.
834
835
  #
835
836
  # * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
836
837
  #
838
+ #
839
+ #
840
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc
841
+ #
837
842
  # @option params [required, String] :function_name
838
843
  # The name of the Lambda function.
839
844
  #
@@ -922,8 +927,9 @@ module Aws::Lambda
922
927
  # start reading. `StartingPositionTimestamp` cannot be in the future.
923
928
  #
924
929
  # @option params [Types::DestinationConfig] :destination_config
925
- # (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
926
- # standard Amazon SNS topic destination for discarded records.
930
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
931
+ # configuration object that specifies the destination of an event after
932
+ # Lambda processes it.
927
933
  #
928
934
  # @option params [Integer] :maximum_record_age_in_seconds
929
935
  # (Kinesis and DynamoDB Streams only) Discard records older than the
@@ -1354,7 +1360,12 @@ module Aws::Lambda
1354
1360
  #
1355
1361
  # @option params [Types::EphemeralStorage] :ephemeral_storage
1356
1362
  # The size of the function's `/tmp` directory in MB. The default value
1357
- # is 512, but can be any whole number between 512 and 10,240 MB.
1363
+ # is 512, but can be any whole number between 512 and 10,240 MB. For
1364
+ # more information, see [Configuring ephemeral storage (console)][1].
1365
+ #
1366
+ #
1367
+ #
1368
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1358
1369
  #
1359
1370
  # @option params [Types::SnapStart] :snap_start
1360
1371
  # The function's [SnapStart][1] setting.
@@ -3217,7 +3228,9 @@ module Aws::Lambda
3217
3228
  #
3218
3229
  # @option params [String] :client_context
3219
3230
  # Up to 3,583 bytes of base64-encoded data about the invoking client to
3220
- # pass to the function in the context object.
3231
+ # pass to the function in the context object. Lambda passes the
3232
+ # `ClientContext` object to your function for synchronous invocations
3233
+ # only.
3221
3234
  #
3222
3235
  # @option params [String, StringIO, File] :payload
3223
3236
  # The JSON that you want to provide to your Lambda function as input.
@@ -3270,6 +3283,12 @@ module Aws::Lambda
3270
3283
  #
3271
3284
  # Invokes a function asynchronously.
3272
3285
  #
3286
+ # <note markdown="1"> If you do use the InvokeAsync action, note that it doesn't support
3287
+ # the use of X-Ray active tracing. Trace ID is not propagated to the
3288
+ # function, even if X-Ray active tracing is turned on.
3289
+ #
3290
+ # </note>
3291
+ #
3273
3292
  # @option params [required, String] :function_name
3274
3293
  # The name of the Lambda function.
3275
3294
  #
@@ -3659,12 +3678,17 @@ module Aws::Lambda
3659
3678
  # * **Amazon Simple Queue Service** – The ARN of the queue.
3660
3679
  #
3661
3680
  # * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
3662
- # cluster.
3681
+ # cluster or the ARN of the VPC connection (for [cross-account event
3682
+ # source mappings][1]).
3663
3683
  #
3664
3684
  # * **Amazon MQ** – The ARN of the broker.
3665
3685
  #
3666
3686
  # * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
3667
3687
  #
3688
+ #
3689
+ #
3690
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc
3691
+ #
3668
3692
  # @option params [String] :function_name
3669
3693
  # The name of the Lambda function.
3670
3694
  #
@@ -4076,7 +4100,7 @@ module Aws::Lambda
4076
4100
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
4077
4101
  #
4078
4102
  # @option params [String] :compatible_runtime
4079
- # A runtime identifier. For example, `go1.x`.
4103
+ # A runtime identifier. For example, `java21`.
4080
4104
  #
4081
4105
  # The following list includes deprecated runtimes. For more information,
4082
4106
  # see [Runtime deprecation policy][1].
@@ -4154,7 +4178,7 @@ module Aws::Lambda
4154
4178
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4155
4179
  #
4156
4180
  # @option params [String] :compatible_runtime
4157
- # A runtime identifier. For example, `go1.x`.
4181
+ # A runtime identifier. For example, `java21`.
4158
4182
  #
4159
4183
  # The following list includes deprecated runtimes. For more information,
4160
4184
  # see [Runtime deprecation policy][1].
@@ -5532,8 +5556,9 @@ module Aws::Lambda
5532
5556
  # `MaximumBatchingWindowInSeconds` to at least 1.
5533
5557
  #
5534
5558
  # @option params [Types::DestinationConfig] :destination_config
5535
- # (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
5536
- # standard Amazon SNS topic destination for discarded records.
5559
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
5560
+ # configuration object that specifies the destination of an event after
5561
+ # Lambda processes it.
5537
5562
  #
5538
5563
  # @option params [Integer] :maximum_record_age_in_seconds
5539
5564
  # (Kinesis and DynamoDB Streams only) Discard records older than the
@@ -6081,7 +6106,12 @@ module Aws::Lambda
6081
6106
  #
6082
6107
  # @option params [Types::EphemeralStorage] :ephemeral_storage
6083
6108
  # The size of the function's `/tmp` directory in MB. The default value
6084
- # is 512, but can be any whole number between 512 and 10,240 MB.
6109
+ # is 512, but can be any whole number between 512 and 10,240 MB. For
6110
+ # more information, see [Configuring ephemeral storage (console)][1].
6111
+ #
6112
+ #
6113
+ #
6114
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
6085
6115
  #
6086
6116
  # @option params [Types::SnapStart] :snap_start
6087
6117
  # The function's [SnapStart][1] setting.
@@ -6477,7 +6507,7 @@ module Aws::Lambda
6477
6507
  params: params,
6478
6508
  config: config)
6479
6509
  context[:gem_name] = 'aws-sdk-lambda'
6480
- context[:gem_version] = '1.113.0'
6510
+ context[:gem_version] = '1.115.0'
6481
6511
  Seahorse::Client::Request.new(handlers, context)
6482
6512
  end
6483
6513
 
@@ -14,6 +14,7 @@ module Aws::Lambda
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Lambda::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -658,11 +658,16 @@ module Aws::Lambda
658
658
  # * **Amazon Simple Queue Service** – The ARN of the queue.
659
659
  #
660
660
  # * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
661
- # cluster.
661
+ # cluster or the ARN of the VPC connection (for [cross-account event
662
+ # source mappings][1]).
662
663
  #
663
664
  # * **Amazon MQ** – The ARN of the broker.
664
665
  #
665
666
  # * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
667
+ #
668
+ #
669
+ #
670
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc
666
671
  # @return [String]
667
672
  #
668
673
  # @!attribute [rw] function_name
@@ -763,8 +768,9 @@ module Aws::Lambda
763
768
  # @return [Time]
764
769
  #
765
770
  # @!attribute [rw] destination_config
766
- # (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
767
- # standard Amazon SNS topic destination for discarded records.
771
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
772
+ # A configuration object that specifies the destination of an event
773
+ # after Lambda processes it.
768
774
  # @return [Types::DestinationConfig]
769
775
  #
770
776
  # @!attribute [rw] maximum_record_age_in_seconds
@@ -1049,6 +1055,12 @@ module Aws::Lambda
1049
1055
  # @!attribute [rw] ephemeral_storage
1050
1056
  # The size of the function's `/tmp` directory in MB. The default
1051
1057
  # value is 512, but can be any whole number between 512 and 10,240 MB.
1058
+ # For more information, see [Configuring ephemeral storage
1059
+ # (console)][1].
1060
+ #
1061
+ #
1062
+ #
1063
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1052
1064
  # @return [Types::EphemeralStorage]
1053
1065
  #
1054
1066
  # @!attribute [rw] snap_start
@@ -1764,7 +1776,12 @@ module Aws::Lambda
1764
1776
  end
1765
1777
 
1766
1778
  # The size of the function's `/tmp` directory in MB. The default value
1767
- # is 512, but it can be any whole number between 512 and 10,240 MB.
1779
+ # is 512, but can be any whole number between 512 and 10,240 MB. For
1780
+ # more information, see [Configuring ephemeral storage (console)][1].
1781
+ #
1782
+ #
1783
+ #
1784
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1768
1785
  #
1769
1786
  # @!attribute [rw] size
1770
1787
  # The size of the function's `/tmp` directory.
@@ -2299,8 +2316,14 @@ module Aws::Lambda
2299
2316
  # @return [Array<String>]
2300
2317
  #
2301
2318
  # @!attribute [rw] ephemeral_storage
2302
- # The size of the functions `/tmp` directory in MB. The default value
2303
- # is 512, but it can be any whole number between 512 and 10,240 MB.
2319
+ # The size of the function's `/tmp` directory in MB. The default
2320
+ # value is 512, but can be any whole number between 512 and 10,240 MB.
2321
+ # For more information, see [Configuring ephemeral storage
2322
+ # (console)][1].
2323
+ #
2324
+ #
2325
+ #
2326
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
2304
2327
  # @return [Types::EphemeralStorage]
2305
2328
  #
2306
2329
  # @!attribute [rw] snap_start
@@ -3457,7 +3480,9 @@ module Aws::Lambda
3457
3480
  #
3458
3481
  # @!attribute [rw] client_context
3459
3482
  # Up to 3,583 bytes of base64-encoded data about the invoking client
3460
- # to pass to the function in the context object.
3483
+ # to pass to the function in the context object. Lambda passes the
3484
+ # `ClientContext` object to your function for synchronous invocations
3485
+ # only.
3461
3486
  # @return [String]
3462
3487
  #
3463
3488
  # @!attribute [rw] payload
@@ -4078,11 +4103,16 @@ module Aws::Lambda
4078
4103
  # * **Amazon Simple Queue Service** – The ARN of the queue.
4079
4104
  #
4080
4105
  # * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
4081
- # cluster.
4106
+ # cluster or the ARN of the VPC connection (for [cross-account event
4107
+ # source mappings][1]).
4082
4108
  #
4083
4109
  # * **Amazon MQ** – The ARN of the broker.
4084
4110
  #
4085
4111
  # * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
4112
+ #
4113
+ #
4114
+ #
4115
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc
4086
4116
  # @return [String]
4087
4117
  #
4088
4118
  # @!attribute [rw] function_name
@@ -4345,7 +4375,7 @@ module Aws::Lambda
4345
4375
  end
4346
4376
 
4347
4377
  # @!attribute [rw] compatible_runtime
4348
- # A runtime identifier. For example, `go1.x`.
4378
+ # A runtime identifier. For example, `java21`.
4349
4379
  #
4350
4380
  # The following list includes deprecated runtimes. For more
4351
4381
  # information, see [Runtime deprecation policy][1].
@@ -4406,7 +4436,7 @@ module Aws::Lambda
4406
4436
  end
4407
4437
 
4408
4438
  # @!attribute [rw] compatible_runtime
4409
- # A runtime identifier. For example, `go1.x`.
4439
+ # A runtime identifier. For example, `java21`.
4410
4440
  #
4411
4441
  # The following list includes deprecated runtimes. For more
4412
4442
  # information, see [Runtime deprecation policy][1].
@@ -4603,13 +4633,15 @@ module Aws::Lambda
4603
4633
  # @!attribute [rw] application_log_level
4604
4634
  # Set this property to filter the application logs for your function
4605
4635
  # that Lambda sends to CloudWatch. Lambda only sends application logs
4606
- # at the selected level and lower.
4636
+ # at the selected level of detail and lower, where `TRACE` is the
4637
+ # highest level and `FATAL` is the lowest.
4607
4638
  # @return [String]
4608
4639
  #
4609
4640
  # @!attribute [rw] system_log_level
4610
4641
  # Set this property to filter the system logs for your function that
4611
4642
  # Lambda sends to CloudWatch. Lambda only sends system logs at the
4612
- # selected level and lower.
4643
+ # selected level of detail and lower, where `DEBUG` is the highest
4644
+ # level and `WARN` is the lowest.
4613
4645
  # @return [String]
4614
4646
  #
4615
4647
  # @!attribute [rw] log_group
@@ -4634,6 +4666,25 @@ module Aws::Lambda
4634
4666
  #
4635
4667
  # @!attribute [rw] destination
4636
4668
  # The Amazon Resource Name (ARN) of the destination resource.
4669
+ #
4670
+ # To retain records of [asynchronous invocations][1], you can
4671
+ # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
4672
+ # Amazon EventBridge event bus as the destination.
4673
+ #
4674
+ # To retain records of failed invocations from [Kinesis and DynamoDB
4675
+ # event sources][2], you can configure an Amazon SNS topic or Amazon
4676
+ # SQS queue as the destination.
4677
+ #
4678
+ # To retain records of failed invocations from [self-managed Kafka][3]
4679
+ # or [Amazon MSK][4], you can configure an Amazon SNS topic or Amazon
4680
+ # SQS queue as the destination.
4681
+ #
4682
+ #
4683
+ #
4684
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
4685
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations
4686
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
4687
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
4637
4688
  # @return [String]
4638
4689
  #
4639
4690
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OnFailure AWS API Documentation
@@ -6063,8 +6114,9 @@ module Aws::Lambda
6063
6114
  # @return [Integer]
6064
6115
  #
6065
6116
  # @!attribute [rw] destination_config
6066
- # (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
6067
- # standard Amazon SNS topic destination for discarded records.
6117
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
6118
+ # A configuration object that specifies the destination of an event
6119
+ # after Lambda processes it.
6068
6120
  # @return [Types::DestinationConfig]
6069
6121
  #
6070
6122
  # @!attribute [rw] maximum_record_age_in_seconds
@@ -6380,6 +6432,12 @@ module Aws::Lambda
6380
6432
  # @!attribute [rw] ephemeral_storage
6381
6433
  # The size of the function's `/tmp` directory in MB. The default
6382
6434
  # value is 512, but can be any whole number between 512 and 10,240 MB.
6435
+ # For more information, see [Configuring ephemeral storage
6436
+ # (console)][1].
6437
+ #
6438
+ #
6439
+ #
6440
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
6383
6441
  # @return [Types::EphemeralStorage]
6384
6442
  #
6385
6443
  # @!attribute [rw] snap_start
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lambda/event_streams'
54
54
  # @!group service
55
55
  module Aws::Lambda
56
56
 
57
- GEM_VERSION = '1.113.0'
57
+ GEM_VERSION = '1.115.0'
58
58
 
59
59
  end