aws-sdk-lambda 1.58.0 → 1.63.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 +408 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lambda.rb +2 -2
- data/lib/aws-sdk-lambda/client.rb +231 -1409
- data/lib/aws-sdk-lambda/client_api.rb +1 -1
- data/lib/aws-sdk-lambda/customizations.rb +1 -1
- data/lib/aws-sdk-lambda/errors.rb +1 -1
- data/lib/aws-sdk-lambda/resource.rb +1 -1
- data/lib/aws-sdk-lambda/types.rb +235 -140
- data/lib/aws-sdk-lambda/waiters.rb +1 -1
- metadata +9 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
|
3
3
|
#
|
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
6
6
|
#
|
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ module Aws::Lambda
|
|
|
25
25
|
#
|
|
26
26
|
# @!attribute [rw] code_size_zipped
|
|
27
27
|
# The maximum size of a deployment package when it's uploaded
|
|
28
|
-
# directly to
|
|
28
|
+
# directly to Lambda. Use Amazon S3 for larger files.
|
|
29
29
|
# @return [Integer]
|
|
30
30
|
#
|
|
31
31
|
# @!attribute [rw] concurrent_executions
|
|
@@ -102,7 +102,11 @@ module Aws::Lambda
|
|
|
102
102
|
# @return [String]
|
|
103
103
|
#
|
|
104
104
|
# @!attribute [rw] principal
|
|
105
|
-
# An account ID, or `*` to grant permission to all
|
|
105
|
+
# An account ID, or `*` to grant layer usage permission to all
|
|
106
|
+
# accounts in an organization, or all Amazon Web Services accounts (if
|
|
107
|
+
# `organizationId` is not specified). For the last case, make sure
|
|
108
|
+
# that you really do want all Amazon Web Services accounts to have
|
|
109
|
+
# usage permission to this layer.
|
|
106
110
|
# @return [String]
|
|
107
111
|
#
|
|
108
112
|
# @!attribute [rw] organization_id
|
|
@@ -191,14 +195,16 @@ module Aws::Lambda
|
|
|
191
195
|
# @return [String]
|
|
192
196
|
#
|
|
193
197
|
# @!attribute [rw] principal
|
|
194
|
-
# The
|
|
195
|
-
# a service, use `SourceArn` or
|
|
196
|
-
# invoke the function through that
|
|
198
|
+
# The Amazon Web Services service or account that invokes the
|
|
199
|
+
# function. If you specify a service, use `SourceArn` or
|
|
200
|
+
# `SourceAccount` to limit who can invoke the function through that
|
|
201
|
+
# service.
|
|
197
202
|
# @return [String]
|
|
198
203
|
#
|
|
199
204
|
# @!attribute [rw] source_arn
|
|
200
|
-
# For
|
|
201
|
-
# function. For example, an Amazon S3 bucket
|
|
205
|
+
# For Amazon Web Services services, the ARN of the Amazon Web Services
|
|
206
|
+
# resource that invokes the function. For example, an Amazon S3 bucket
|
|
207
|
+
# or Amazon SNS topic.
|
|
202
208
|
# @return [String]
|
|
203
209
|
#
|
|
204
210
|
# @!attribute [rw] source_account
|
|
@@ -349,7 +355,11 @@ module Aws::Lambda
|
|
|
349
355
|
include Aws::Structure
|
|
350
356
|
end
|
|
351
357
|
|
|
352
|
-
# Details about a Code signing configuration.
|
|
358
|
+
# Details about a [Code signing configuration][1].
|
|
359
|
+
#
|
|
360
|
+
#
|
|
361
|
+
#
|
|
362
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
|
|
353
363
|
#
|
|
354
364
|
# @!attribute [rw] code_signing_config_id
|
|
355
365
|
# Unique identifer for the Code signing configuration.
|
|
@@ -407,8 +417,12 @@ module Aws::Lambda
|
|
|
407
417
|
include Aws::Structure
|
|
408
418
|
end
|
|
409
419
|
|
|
410
|
-
# Code signing configuration policies
|
|
411
|
-
# action for signature mismatch or expiry.
|
|
420
|
+
# Code signing configuration [policies][1] specify the validation
|
|
421
|
+
# failure action for signature mismatch or expiry.
|
|
422
|
+
#
|
|
423
|
+
#
|
|
424
|
+
#
|
|
425
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies
|
|
412
426
|
#
|
|
413
427
|
# @note When making an API call, you may pass CodeSigningPolicies
|
|
414
428
|
# data as a hash:
|
|
@@ -633,7 +647,7 @@ module Aws::Lambda
|
|
|
633
647
|
# queues: ["Queue"],
|
|
634
648
|
# source_access_configurations: [
|
|
635
649
|
# {
|
|
636
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
|
650
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
|
637
651
|
# uri: "URI",
|
|
638
652
|
# },
|
|
639
653
|
# ],
|
|
@@ -705,7 +719,7 @@ module Aws::Lambda
|
|
|
705
719
|
# @return [Integer]
|
|
706
720
|
#
|
|
707
721
|
# @!attribute [rw] parallelization_factor
|
|
708
|
-
# (Streams) The number of batches to process from each shard
|
|
722
|
+
# (Streams only) The number of batches to process from each shard
|
|
709
723
|
# concurrently.
|
|
710
724
|
# @return [Integer]
|
|
711
725
|
#
|
|
@@ -721,29 +735,29 @@ module Aws::Lambda
|
|
|
721
735
|
# @return [Time]
|
|
722
736
|
#
|
|
723
737
|
# @!attribute [rw] destination_config
|
|
724
|
-
# (Streams) An Amazon SQS queue or Amazon SNS topic destination
|
|
725
|
-
# discarded records.
|
|
738
|
+
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination
|
|
739
|
+
# for discarded records.
|
|
726
740
|
# @return [Types::DestinationConfig]
|
|
727
741
|
#
|
|
728
742
|
# @!attribute [rw] maximum_record_age_in_seconds
|
|
729
|
-
# (Streams) Discard records older than the specified age. The
|
|
730
|
-
# value is infinite (-1).
|
|
743
|
+
# (Streams only) Discard records older than the specified age. The
|
|
744
|
+
# default value is infinite (-1).
|
|
731
745
|
# @return [Integer]
|
|
732
746
|
#
|
|
733
747
|
# @!attribute [rw] bisect_batch_on_function_error
|
|
734
|
-
# (Streams) If the function returns an error, split the batch in
|
|
735
|
-
# and retry.
|
|
748
|
+
# (Streams only) If the function returns an error, split the batch in
|
|
749
|
+
# two and retry.
|
|
736
750
|
# @return [Boolean]
|
|
737
751
|
#
|
|
738
752
|
# @!attribute [rw] maximum_retry_attempts
|
|
739
|
-
# (Streams) Discard records after the specified number of
|
|
740
|
-
# default value is infinite (-1). When set to infinite
|
|
741
|
-
# records will be retried until the record expires.
|
|
753
|
+
# (Streams only) Discard records after the specified number of
|
|
754
|
+
# retries. The default value is infinite (-1). When set to infinite
|
|
755
|
+
# (-1), failed records will be retried until the record expires.
|
|
742
756
|
# @return [Integer]
|
|
743
757
|
#
|
|
744
758
|
# @!attribute [rw] tumbling_window_in_seconds
|
|
745
|
-
# (Streams) The duration of a processing window
|
|
746
|
-
# is between 1 second up to
|
|
759
|
+
# (Streams only) The duration in seconds of a processing window. The
|
|
760
|
+
# range is between 1 second up to 900 seconds.
|
|
747
761
|
# @return [Integer]
|
|
748
762
|
#
|
|
749
763
|
# @!attribute [rw] topics
|
|
@@ -764,8 +778,8 @@ module Aws::Lambda
|
|
|
764
778
|
# @return [Types::SelfManagedEventSource]
|
|
765
779
|
#
|
|
766
780
|
# @!attribute [rw] function_response_types
|
|
767
|
-
# (Streams) A list of current response type enums applied to the
|
|
768
|
-
# source mapping.
|
|
781
|
+
# (Streams only) A list of current response type enums applied to the
|
|
782
|
+
# event source mapping.
|
|
769
783
|
# @return [Array<String>]
|
|
770
784
|
#
|
|
771
785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
|
@@ -798,7 +812,7 @@ module Aws::Lambda
|
|
|
798
812
|
#
|
|
799
813
|
# {
|
|
800
814
|
# function_name: "FunctionName", # required
|
|
801
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
815
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
802
816
|
# role: "RoleArn", # required
|
|
803
817
|
# handler: "Handler",
|
|
804
818
|
# code: { # required
|
|
@@ -897,13 +911,22 @@ module Aws::Lambda
|
|
|
897
911
|
# @!attribute [rw] timeout
|
|
898
912
|
# The amount of time that Lambda allows a function to run before
|
|
899
913
|
# stopping it. The default is 3 seconds. The maximum allowed value is
|
|
900
|
-
# 900 seconds.
|
|
914
|
+
# 900 seconds. For additional information, see [Lambda execution
|
|
915
|
+
# environment][1].
|
|
916
|
+
#
|
|
917
|
+
#
|
|
918
|
+
#
|
|
919
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html
|
|
901
920
|
# @return [Integer]
|
|
902
921
|
#
|
|
903
922
|
# @!attribute [rw] memory_size
|
|
904
|
-
# The amount of memory available to the function at runtime.
|
|
905
|
-
# Increasing the function
|
|
923
|
+
# The amount of [memory available to the function][1] at runtime.
|
|
924
|
+
# Increasing the function memory also increases its CPU allocation.
|
|
906
925
|
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
|
926
|
+
#
|
|
927
|
+
#
|
|
928
|
+
#
|
|
929
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
|
|
907
930
|
# @return [Integer]
|
|
908
931
|
#
|
|
909
932
|
# @!attribute [rw] publish
|
|
@@ -912,10 +935,11 @@ module Aws::Lambda
|
|
|
912
935
|
# @return [Boolean]
|
|
913
936
|
#
|
|
914
937
|
# @!attribute [rw] vpc_config
|
|
915
|
-
# For network connectivity to
|
|
916
|
-
# of security groups and subnets in the VPC. When you
|
|
917
|
-
# function to a VPC, it can only access resources and the
|
|
918
|
-
# through that VPC. For more information, see [VPC
|
|
938
|
+
# For network connectivity to Amazon Web Services resources in a VPC,
|
|
939
|
+
# specify a list of security groups and subnets in the VPC. When you
|
|
940
|
+
# connect a function to a VPC, it can only access resources and the
|
|
941
|
+
# internet through that VPC. For more information, see [VPC
|
|
942
|
+
# Settings][1].
|
|
919
943
|
#
|
|
920
944
|
#
|
|
921
945
|
#
|
|
@@ -943,14 +967,18 @@ module Aws::Lambda
|
|
|
943
967
|
# @return [Types::Environment]
|
|
944
968
|
#
|
|
945
969
|
# @!attribute [rw] kms_key_arn
|
|
946
|
-
# The ARN of the
|
|
947
|
-
# to encrypt your function's environment variables. If
|
|
948
|
-
# provided,
|
|
970
|
+
# The ARN of the Amazon Web Services Key Management Service (KMS) key
|
|
971
|
+
# that's used to encrypt your function's environment variables. If
|
|
972
|
+
# it's not provided, Lambda uses a default service key.
|
|
949
973
|
# @return [String]
|
|
950
974
|
#
|
|
951
975
|
# @!attribute [rw] tracing_config
|
|
952
976
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
|
953
|
-
# requests with
|
|
977
|
+
# requests with [X-Ray][1].
|
|
978
|
+
#
|
|
979
|
+
#
|
|
980
|
+
#
|
|
981
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
|
954
982
|
# @return [Types::TracingConfig]
|
|
955
983
|
#
|
|
956
984
|
# @!attribute [rw] tags
|
|
@@ -975,7 +1003,12 @@ module Aws::Lambda
|
|
|
975
1003
|
# @return [Array<Types::FileSystemConfig>]
|
|
976
1004
|
#
|
|
977
1005
|
# @!attribute [rw] image_config
|
|
978
|
-
#
|
|
1006
|
+
# Container image [configuration values][1] that override the values
|
|
1007
|
+
# in the container image Dockerfile.
|
|
1008
|
+
#
|
|
1009
|
+
#
|
|
1010
|
+
#
|
|
1011
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings
|
|
979
1012
|
# @return [Types::ImageConfig]
|
|
980
1013
|
#
|
|
981
1014
|
# @!attribute [rw] code_signing_config_arn
|
|
@@ -1370,7 +1403,7 @@ module Aws::Lambda
|
|
|
1370
1403
|
include Aws::Structure
|
|
1371
1404
|
end
|
|
1372
1405
|
|
|
1373
|
-
#
|
|
1406
|
+
# Lambda was throttled by Amazon EC2 during Lambda function
|
|
1374
1407
|
# initialization using the execution role provided for the Lambda
|
|
1375
1408
|
# function.
|
|
1376
1409
|
#
|
|
@@ -1389,8 +1422,8 @@ module Aws::Lambda
|
|
|
1389
1422
|
include Aws::Structure
|
|
1390
1423
|
end
|
|
1391
1424
|
|
|
1392
|
-
#
|
|
1393
|
-
#
|
|
1425
|
+
# Lambda received an unexpected EC2 client exception while setting up
|
|
1426
|
+
# for the Lambda function.
|
|
1394
1427
|
#
|
|
1395
1428
|
# @!attribute [rw] type
|
|
1396
1429
|
# @return [String]
|
|
@@ -1483,9 +1516,9 @@ module Aws::Lambda
|
|
|
1483
1516
|
include Aws::Structure
|
|
1484
1517
|
end
|
|
1485
1518
|
|
|
1486
|
-
#
|
|
1487
|
-
#
|
|
1488
|
-
#
|
|
1519
|
+
# Lambda was not able to create an elastic network interface in the VPC,
|
|
1520
|
+
# specified as part of Lambda function configuration, because the limit
|
|
1521
|
+
# for network interfaces has been reached.
|
|
1489
1522
|
#
|
|
1490
1523
|
# @!attribute [rw] type
|
|
1491
1524
|
# @return [String]
|
|
@@ -1502,7 +1535,10 @@ module Aws::Lambda
|
|
|
1502
1535
|
include Aws::Structure
|
|
1503
1536
|
end
|
|
1504
1537
|
|
|
1505
|
-
# A function's environment variable settings.
|
|
1538
|
+
# A function's environment variable settings. You can use environment
|
|
1539
|
+
# variables to adjust your function's behavior without updating code.
|
|
1540
|
+
# An environment variable is a pair of strings that are stored in a
|
|
1541
|
+
# function's version-specific configuration.
|
|
1506
1542
|
#
|
|
1507
1543
|
# @note When making an API call, you may pass Environment
|
|
1508
1544
|
# data as a hash:
|
|
@@ -1514,7 +1550,12 @@ module Aws::Lambda
|
|
|
1514
1550
|
# }
|
|
1515
1551
|
#
|
|
1516
1552
|
# @!attribute [rw] variables
|
|
1517
|
-
# Environment variable key-value pairs.
|
|
1553
|
+
# Environment variable key-value pairs. For more information, see
|
|
1554
|
+
# [Using Lambda environment variables][1].
|
|
1555
|
+
#
|
|
1556
|
+
#
|
|
1557
|
+
#
|
|
1558
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
|
|
1518
1559
|
# @return [Hash<String,String>]
|
|
1519
1560
|
#
|
|
1520
1561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment AWS API Documentation
|
|
@@ -1566,8 +1607,8 @@ module Aws::Lambda
|
|
|
1566
1607
|
include Aws::Structure
|
|
1567
1608
|
end
|
|
1568
1609
|
|
|
1569
|
-
# A mapping between an
|
|
1570
|
-
# CreateEventSourceMapping for details.
|
|
1610
|
+
# A mapping between an Amazon Web Services resource and an Lambda
|
|
1611
|
+
# function. See CreateEventSourceMapping for details.
|
|
1571
1612
|
#
|
|
1572
1613
|
# @!attribute [rw] uuid
|
|
1573
1614
|
# The identifier of the event source mapping.
|
|
@@ -1595,7 +1636,7 @@ module Aws::Lambda
|
|
|
1595
1636
|
# @return [Integer]
|
|
1596
1637
|
#
|
|
1597
1638
|
# @!attribute [rw] parallelization_factor
|
|
1598
|
-
# (Streams) The number of batches to process from each shard
|
|
1639
|
+
# (Streams only) The number of batches to process from each shard
|
|
1599
1640
|
# concurrently. The default value is 1.
|
|
1600
1641
|
# @return [Integer]
|
|
1601
1642
|
#
|
|
@@ -1613,8 +1654,7 @@ module Aws::Lambda
|
|
|
1613
1654
|
# @return [Time]
|
|
1614
1655
|
#
|
|
1615
1656
|
# @!attribute [rw] last_processing_result
|
|
1616
|
-
# The result of the last
|
|
1617
|
-
# function.
|
|
1657
|
+
# The result of the last Lambda invocation of your Lambda function.
|
|
1618
1658
|
# @return [String]
|
|
1619
1659
|
#
|
|
1620
1660
|
# @!attribute [rw] state
|
|
@@ -1629,8 +1669,8 @@ module Aws::Lambda
|
|
|
1629
1669
|
# @return [String]
|
|
1630
1670
|
#
|
|
1631
1671
|
# @!attribute [rw] destination_config
|
|
1632
|
-
# (Streams) An Amazon SQS queue or Amazon SNS topic destination
|
|
1633
|
-
# discarded records.
|
|
1672
|
+
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination
|
|
1673
|
+
# for discarded records.
|
|
1634
1674
|
# @return [Types::DestinationConfig]
|
|
1635
1675
|
#
|
|
1636
1676
|
# @!attribute [rw] topics
|
|
@@ -1651,30 +1691,31 @@ module Aws::Lambda
|
|
|
1651
1691
|
# @return [Types::SelfManagedEventSource]
|
|
1652
1692
|
#
|
|
1653
1693
|
# @!attribute [rw] maximum_record_age_in_seconds
|
|
1654
|
-
# (Streams) Discard records older than the specified age. The
|
|
1655
|
-
# value is
|
|
1656
|
-
#
|
|
1694
|
+
# (Streams only) Discard records older than the specified age. The
|
|
1695
|
+
# default value is -1, which sets the maximum age to infinite. When
|
|
1696
|
+
# the value is set to infinite, Lambda never discards old records.
|
|
1657
1697
|
# @return [Integer]
|
|
1658
1698
|
#
|
|
1659
1699
|
# @!attribute [rw] bisect_batch_on_function_error
|
|
1660
|
-
# (Streams) If the function returns an error, split the batch in
|
|
1661
|
-
# and retry. The default value is false.
|
|
1700
|
+
# (Streams only) If the function returns an error, split the batch in
|
|
1701
|
+
# two and retry. The default value is false.
|
|
1662
1702
|
# @return [Boolean]
|
|
1663
1703
|
#
|
|
1664
1704
|
# @!attribute [rw] maximum_retry_attempts
|
|
1665
|
-
# (Streams) Discard records after the specified number of
|
|
1666
|
-
# default value is
|
|
1667
|
-
#
|
|
1705
|
+
# (Streams only) Discard records after the specified number of
|
|
1706
|
+
# retries. The default value is -1, which sets the maximum number of
|
|
1707
|
+
# retries to infinite. When MaximumRetryAttempts is infinite, Lambda
|
|
1708
|
+
# retries failed records until the record expires in the event source.
|
|
1668
1709
|
# @return [Integer]
|
|
1669
1710
|
#
|
|
1670
1711
|
# @!attribute [rw] tumbling_window_in_seconds
|
|
1671
|
-
# (Streams) The duration of a processing window
|
|
1672
|
-
# is between 1 second up to
|
|
1712
|
+
# (Streams only) The duration in seconds of a processing window. The
|
|
1713
|
+
# range is between 1 second up to 900 seconds.
|
|
1673
1714
|
# @return [Integer]
|
|
1674
1715
|
#
|
|
1675
1716
|
# @!attribute [rw] function_response_types
|
|
1676
|
-
# (Streams) A list of current response type enums applied to the
|
|
1677
|
-
# source mapping.
|
|
1717
|
+
# (Streams only) A list of current response type enums applied to the
|
|
1718
|
+
# event source mapping.
|
|
1678
1719
|
# @return [Array<String>]
|
|
1679
1720
|
#
|
|
1680
1721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
|
@@ -1706,8 +1747,12 @@ module Aws::Lambda
|
|
|
1706
1747
|
include Aws::Structure
|
|
1707
1748
|
end
|
|
1708
1749
|
|
|
1709
|
-
# Details about the connection between a Lambda function and an Amazon
|
|
1710
|
-
# EFS file system.
|
|
1750
|
+
# Details about the connection between a Lambda function and an [Amazon
|
|
1751
|
+
# EFS file system][1].
|
|
1752
|
+
#
|
|
1753
|
+
#
|
|
1754
|
+
#
|
|
1755
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
|
|
1711
1756
|
#
|
|
1712
1757
|
# @note When making an API call, you may pass FileSystemConfig
|
|
1713
1758
|
# data as a hash:
|
|
@@ -1752,13 +1797,15 @@ module Aws::Lambda
|
|
|
1752
1797
|
# }
|
|
1753
1798
|
#
|
|
1754
1799
|
# @!attribute [rw] zip_file
|
|
1755
|
-
# The base64-encoded contents of the deployment package.
|
|
1756
|
-
#
|
|
1800
|
+
# The base64-encoded contents of the deployment package. Amazon Web
|
|
1801
|
+
# Services SDK and Amazon Web Services CLI clients handle the encoding
|
|
1802
|
+
# for you.
|
|
1757
1803
|
# @return [String]
|
|
1758
1804
|
#
|
|
1759
1805
|
# @!attribute [rw] s3_bucket
|
|
1760
|
-
# An Amazon S3 bucket in the same
|
|
1761
|
-
# bucket can be in a different
|
|
1806
|
+
# An Amazon S3 bucket in the same Amazon Web Services Region as your
|
|
1807
|
+
# function. The bucket can be in a different Amazon Web Services
|
|
1808
|
+
# account.
|
|
1762
1809
|
# @return [String]
|
|
1763
1810
|
#
|
|
1764
1811
|
# @!attribute [rw] s3_key
|
|
@@ -1771,7 +1818,11 @@ module Aws::Lambda
|
|
|
1771
1818
|
# @return [String]
|
|
1772
1819
|
#
|
|
1773
1820
|
# @!attribute [rw] image_uri
|
|
1774
|
-
# URI of a container image in the Amazon ECR registry.
|
|
1821
|
+
# URI of a [container image][1] in the Amazon ECR registry.
|
|
1822
|
+
#
|
|
1823
|
+
#
|
|
1824
|
+
#
|
|
1825
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
|
|
1775
1826
|
# @return [String]
|
|
1776
1827
|
#
|
|
1777
1828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
|
|
@@ -1880,7 +1931,11 @@ module Aws::Lambda
|
|
|
1880
1931
|
# @return [Types::DeadLetterConfig]
|
|
1881
1932
|
#
|
|
1882
1933
|
# @!attribute [rw] environment
|
|
1883
|
-
# The function's environment variables.
|
|
1934
|
+
# The function's [environment variables][1].
|
|
1935
|
+
#
|
|
1936
|
+
#
|
|
1937
|
+
#
|
|
1938
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
|
|
1884
1939
|
# @return [Types::EnvironmentResponse]
|
|
1885
1940
|
#
|
|
1886
1941
|
# @!attribute [rw] kms_key_arn
|
|
@@ -1890,7 +1945,7 @@ module Aws::Lambda
|
|
|
1890
1945
|
# @return [String]
|
|
1891
1946
|
#
|
|
1892
1947
|
# @!attribute [rw] tracing_config
|
|
1893
|
-
# The function's
|
|
1948
|
+
# The function's X-Ray tracing configuration.
|
|
1894
1949
|
# @return [Types::TracingConfigResponse]
|
|
1895
1950
|
#
|
|
1896
1951
|
# @!attribute [rw] master_arn
|
|
@@ -1938,7 +1993,11 @@ module Aws::Lambda
|
|
|
1938
1993
|
# @return [String]
|
|
1939
1994
|
#
|
|
1940
1995
|
# @!attribute [rw] file_system_configs
|
|
1941
|
-
# Connection settings for an Amazon EFS file system.
|
|
1996
|
+
# Connection settings for an [Amazon EFS file system][1].
|
|
1997
|
+
#
|
|
1998
|
+
#
|
|
1999
|
+
#
|
|
2000
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
|
|
1942
2001
|
# @return [Array<Types::FileSystemConfig>]
|
|
1943
2002
|
#
|
|
1944
2003
|
# @!attribute [rw] package_type
|
|
@@ -2691,7 +2750,7 @@ module Aws::Lambda
|
|
|
2691
2750
|
#
|
|
2692
2751
|
#
|
|
2693
2752
|
#
|
|
2694
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-
|
|
2753
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
|
2695
2754
|
#
|
|
2696
2755
|
# @note When making an API call, you may pass ImageConfig
|
|
2697
2756
|
# data as a hash:
|
|
@@ -2873,7 +2932,7 @@ module Aws::Lambda
|
|
|
2873
2932
|
include Aws::Structure
|
|
2874
2933
|
end
|
|
2875
2934
|
|
|
2876
|
-
#
|
|
2935
|
+
# Lambda could not unzip the deployment package.
|
|
2877
2936
|
#
|
|
2878
2937
|
# @!attribute [rw] type
|
|
2879
2938
|
# @return [String]
|
|
@@ -3131,7 +3190,7 @@ module Aws::Lambda
|
|
|
3131
3190
|
include Aws::Structure
|
|
3132
3191
|
end
|
|
3133
3192
|
|
|
3134
|
-
# An [
|
|
3193
|
+
# An [Lambda layer][1].
|
|
3135
3194
|
#
|
|
3136
3195
|
#
|
|
3137
3196
|
#
|
|
@@ -3164,9 +3223,9 @@ module Aws::Lambda
|
|
|
3164
3223
|
include Aws::Structure
|
|
3165
3224
|
end
|
|
3166
3225
|
|
|
3167
|
-
# A ZIP archive that contains the contents of an [
|
|
3168
|
-
#
|
|
3169
|
-
#
|
|
3226
|
+
# A ZIP archive that contains the contents of an [Lambda layer][1]. You
|
|
3227
|
+
# can specify either an Amazon S3 location, or upload a layer archive
|
|
3228
|
+
# directly.
|
|
3170
3229
|
#
|
|
3171
3230
|
#
|
|
3172
3231
|
#
|
|
@@ -3196,8 +3255,9 @@ module Aws::Lambda
|
|
|
3196
3255
|
# @return [String]
|
|
3197
3256
|
#
|
|
3198
3257
|
# @!attribute [rw] zip_file
|
|
3199
|
-
# The base64-encoded contents of the layer archive.
|
|
3200
|
-
# CLI clients handle the encoding
|
|
3258
|
+
# The base64-encoded contents of the layer archive. Amazon Web
|
|
3259
|
+
# Services SDK and Amazon Web Services CLI clients handle the encoding
|
|
3260
|
+
# for you.
|
|
3201
3261
|
# @return [String]
|
|
3202
3262
|
#
|
|
3203
3263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentInput AWS API Documentation
|
|
@@ -3211,7 +3271,7 @@ module Aws::Lambda
|
|
|
3211
3271
|
include Aws::Structure
|
|
3212
3272
|
end
|
|
3213
3273
|
|
|
3214
|
-
# Details about a version of an [
|
|
3274
|
+
# Details about a version of an [Lambda layer][1].
|
|
3215
3275
|
#
|
|
3216
3276
|
#
|
|
3217
3277
|
#
|
|
@@ -3250,7 +3310,7 @@ module Aws::Lambda
|
|
|
3250
3310
|
include Aws::Structure
|
|
3251
3311
|
end
|
|
3252
3312
|
|
|
3253
|
-
# Details about a version of an [
|
|
3313
|
+
# Details about a version of an [Lambda layer][1].
|
|
3254
3314
|
#
|
|
3255
3315
|
#
|
|
3256
3316
|
#
|
|
@@ -3294,7 +3354,7 @@ module Aws::Lambda
|
|
|
3294
3354
|
include Aws::Structure
|
|
3295
3355
|
end
|
|
3296
3356
|
|
|
3297
|
-
# Details about an [
|
|
3357
|
+
# Details about an [Lambda layer][1].
|
|
3298
3358
|
#
|
|
3299
3359
|
#
|
|
3300
3360
|
#
|
|
@@ -3635,11 +3695,11 @@ module Aws::Lambda
|
|
|
3635
3695
|
# }
|
|
3636
3696
|
#
|
|
3637
3697
|
# @!attribute [rw] master_region
|
|
3638
|
-
# For Lambda@Edge functions, the
|
|
3639
|
-
#
|
|
3640
|
-
#
|
|
3641
|
-
#
|
|
3642
|
-
#
|
|
3698
|
+
# For Lambda@Edge functions, the Region of the master function. For
|
|
3699
|
+
# example, `us-east-1` filters the list of functions to only include
|
|
3700
|
+
# Lambda@Edge functions replicated from a master function in US East
|
|
3701
|
+
# (N. Virginia). If specified, you must set `FunctionVersion` to
|
|
3702
|
+
# `ALL`.
|
|
3643
3703
|
# @return [String]
|
|
3644
3704
|
#
|
|
3645
3705
|
# @!attribute [rw] function_version
|
|
@@ -3653,7 +3713,9 @@ module Aws::Lambda
|
|
|
3653
3713
|
# @return [String]
|
|
3654
3714
|
#
|
|
3655
3715
|
# @!attribute [rw] max_items
|
|
3656
|
-
# The maximum number of functions to return.
|
|
3716
|
+
# The maximum number of functions to return in the response. Note that
|
|
3717
|
+
# `ListFunctions` returns a maximum of 50 items in each response, even
|
|
3718
|
+
# if you set the number higher.
|
|
3657
3719
|
# @return [Integer]
|
|
3658
3720
|
#
|
|
3659
3721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
|
|
@@ -3690,7 +3752,7 @@ module Aws::Lambda
|
|
|
3690
3752
|
# data as a hash:
|
|
3691
3753
|
#
|
|
3692
3754
|
# {
|
|
3693
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3755
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3694
3756
|
# layer_name: "LayerName", # required
|
|
3695
3757
|
# marker: "String",
|
|
3696
3758
|
# max_items: 1,
|
|
@@ -3745,7 +3807,7 @@ module Aws::Lambda
|
|
|
3745
3807
|
# data as a hash:
|
|
3746
3808
|
#
|
|
3747
3809
|
# {
|
|
3748
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3810
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3749
3811
|
# marker: "String",
|
|
3750
3812
|
# max_items: 1,
|
|
3751
3813
|
# }
|
|
@@ -3913,7 +3975,9 @@ module Aws::Lambda
|
|
|
3913
3975
|
# @return [String]
|
|
3914
3976
|
#
|
|
3915
3977
|
# @!attribute [rw] max_items
|
|
3916
|
-
# The maximum number of versions to return.
|
|
3978
|
+
# The maximum number of versions to return. Note that
|
|
3979
|
+
# `ListVersionsByFunction` returns a maximum of 50 items in each
|
|
3980
|
+
# response, even if you set the number higher.
|
|
3917
3981
|
# @return [Integer]
|
|
3918
3982
|
#
|
|
3919
3983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
|
|
@@ -4107,7 +4171,7 @@ module Aws::Lambda
|
|
|
4107
4171
|
# s3_object_version: "S3ObjectVersion",
|
|
4108
4172
|
# zip_file: "data",
|
|
4109
4173
|
# },
|
|
4110
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
4174
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
4111
4175
|
# license_info: "LicenseInfo",
|
|
4112
4176
|
# }
|
|
4113
4177
|
#
|
|
@@ -4753,7 +4817,7 @@ module Aws::Lambda
|
|
|
4753
4817
|
include Aws::Structure
|
|
4754
4818
|
end
|
|
4755
4819
|
|
|
4756
|
-
# The
|
|
4820
|
+
# The Lambda service encountered an internal error.
|
|
4757
4821
|
#
|
|
4758
4822
|
# @!attribute [rw] type
|
|
4759
4823
|
# @return [String]
|
|
@@ -4777,7 +4841,7 @@ module Aws::Lambda
|
|
|
4777
4841
|
# data as a hash:
|
|
4778
4842
|
#
|
|
4779
4843
|
# {
|
|
4780
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
|
4844
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
|
4781
4845
|
# uri: "URI",
|
|
4782
4846
|
# }
|
|
4783
4847
|
#
|
|
@@ -4789,16 +4853,22 @@ module Aws::Lambda
|
|
|
4789
4853
|
# broker credentials.
|
|
4790
4854
|
#
|
|
4791
4855
|
# * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
|
|
4792
|
-
# connects to these subnets to fetch data from your
|
|
4856
|
+
# connects to these subnets to fetch data from your Self-Managed
|
|
4857
|
+
# Apache Kafka cluster.
|
|
4793
4858
|
#
|
|
4794
4859
|
# * `VPC_SECURITY_GROUP` - The VPC security group used to manage
|
|
4795
|
-
# access to your Kafka brokers.
|
|
4860
|
+
# access to your Self-Managed Apache Kafka brokers.
|
|
4861
|
+
#
|
|
4862
|
+
# * `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key
|
|
4863
|
+
# used for SASL SCRAM-256 authentication of your Self-Managed Apache
|
|
4864
|
+
# Kafka brokers.
|
|
4796
4865
|
#
|
|
4797
|
-
# * `
|
|
4798
|
-
# SCRAM-
|
|
4866
|
+
# * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
|
|
4867
|
+
# used for SASL SCRAM-512 authentication of your Self-Managed Apache
|
|
4868
|
+
# Kafka brokers.
|
|
4799
4869
|
#
|
|
4800
|
-
# * `
|
|
4801
|
-
#
|
|
4870
|
+
# * `VIRTUAL_HOST` - The name of the virtual host in your RabbitMQ
|
|
4871
|
+
# broker. Lambda will use this host as the event source.
|
|
4802
4872
|
# @return [String]
|
|
4803
4873
|
#
|
|
4804
4874
|
# @!attribute [rw] uri
|
|
@@ -4816,7 +4886,7 @@ module Aws::Lambda
|
|
|
4816
4886
|
include Aws::Structure
|
|
4817
4887
|
end
|
|
4818
4888
|
|
|
4819
|
-
#
|
|
4889
|
+
# Lambda was not able to set up VPC access for the Lambda function
|
|
4820
4890
|
# because one or more configured subnets has no available IP addresses.
|
|
4821
4891
|
#
|
|
4822
4892
|
# @!attribute [rw] type
|
|
@@ -4887,9 +4957,13 @@ module Aws::Lambda
|
|
|
4887
4957
|
include Aws::Structure
|
|
4888
4958
|
end
|
|
4889
4959
|
|
|
4890
|
-
# The function's
|
|
4960
|
+
# The function's [X-Ray][1] tracing configuration. To sample and record
|
|
4891
4961
|
# incoming requests, set `Mode` to `Active`.
|
|
4892
4962
|
#
|
|
4963
|
+
#
|
|
4964
|
+
#
|
|
4965
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
|
4966
|
+
#
|
|
4893
4967
|
# @note When making an API call, you may pass TracingConfig
|
|
4894
4968
|
# data as a hash:
|
|
4895
4969
|
#
|
|
@@ -4909,7 +4983,7 @@ module Aws::Lambda
|
|
|
4909
4983
|
include Aws::Structure
|
|
4910
4984
|
end
|
|
4911
4985
|
|
|
4912
|
-
# The function's
|
|
4986
|
+
# The function's X-Ray tracing configuration.
|
|
4913
4987
|
#
|
|
4914
4988
|
# @!attribute [rw] mode
|
|
4915
4989
|
# The tracing mode.
|
|
@@ -5113,7 +5187,7 @@ module Aws::Lambda
|
|
|
5113
5187
|
# parallelization_factor: 1,
|
|
5114
5188
|
# source_access_configurations: [
|
|
5115
5189
|
# {
|
|
5116
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
|
5190
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
|
5117
5191
|
# uri: "URI",
|
|
5118
5192
|
# },
|
|
5119
5193
|
# ],
|
|
@@ -5171,28 +5245,28 @@ module Aws::Lambda
|
|
|
5171
5245
|
# @return [Integer]
|
|
5172
5246
|
#
|
|
5173
5247
|
# @!attribute [rw] destination_config
|
|
5174
|
-
# (Streams) An Amazon SQS queue or Amazon SNS topic destination
|
|
5175
|
-
# discarded records.
|
|
5248
|
+
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination
|
|
5249
|
+
# for discarded records.
|
|
5176
5250
|
# @return [Types::DestinationConfig]
|
|
5177
5251
|
#
|
|
5178
5252
|
# @!attribute [rw] maximum_record_age_in_seconds
|
|
5179
|
-
# (Streams) Discard records older than the specified age. The
|
|
5180
|
-
# value is infinite (-1).
|
|
5253
|
+
# (Streams only) Discard records older than the specified age. The
|
|
5254
|
+
# default value is infinite (-1).
|
|
5181
5255
|
# @return [Integer]
|
|
5182
5256
|
#
|
|
5183
5257
|
# @!attribute [rw] bisect_batch_on_function_error
|
|
5184
|
-
# (Streams) If the function returns an error, split the batch in
|
|
5185
|
-
# and retry.
|
|
5258
|
+
# (Streams only) If the function returns an error, split the batch in
|
|
5259
|
+
# two and retry.
|
|
5186
5260
|
# @return [Boolean]
|
|
5187
5261
|
#
|
|
5188
5262
|
# @!attribute [rw] maximum_retry_attempts
|
|
5189
|
-
# (Streams) Discard records after the specified number of
|
|
5190
|
-
# default value is infinite (-1). When set to infinite
|
|
5191
|
-
# records will be retried until the record expires.
|
|
5263
|
+
# (Streams only) Discard records after the specified number of
|
|
5264
|
+
# retries. The default value is infinite (-1). When set to infinite
|
|
5265
|
+
# (-1), failed records will be retried until the record expires.
|
|
5192
5266
|
# @return [Integer]
|
|
5193
5267
|
#
|
|
5194
5268
|
# @!attribute [rw] parallelization_factor
|
|
5195
|
-
# (Streams) The number of batches to process from each shard
|
|
5269
|
+
# (Streams only) The number of batches to process from each shard
|
|
5196
5270
|
# concurrently.
|
|
5197
5271
|
# @return [Integer]
|
|
5198
5272
|
#
|
|
@@ -5202,13 +5276,13 @@ module Aws::Lambda
|
|
|
5202
5276
|
# @return [Array<Types::SourceAccessConfiguration>]
|
|
5203
5277
|
#
|
|
5204
5278
|
# @!attribute [rw] tumbling_window_in_seconds
|
|
5205
|
-
# (Streams) The duration of a processing window
|
|
5206
|
-
# is between 1 second up to
|
|
5279
|
+
# (Streams only) The duration in seconds of a processing window. The
|
|
5280
|
+
# range is between 1 second up to 900 seconds.
|
|
5207
5281
|
# @return [Integer]
|
|
5208
5282
|
#
|
|
5209
5283
|
# @!attribute [rw] function_response_types
|
|
5210
|
-
# (Streams) A list of current response type enums applied to the
|
|
5211
|
-
# source mapping.
|
|
5284
|
+
# (Streams only) A list of current response type enums applied to the
|
|
5285
|
+
# event source mapping.
|
|
5212
5286
|
# @return [Array<String>]
|
|
5213
5287
|
#
|
|
5214
5288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
|
@@ -5263,13 +5337,15 @@ module Aws::Lambda
|
|
|
5263
5337
|
# @return [String]
|
|
5264
5338
|
#
|
|
5265
5339
|
# @!attribute [rw] zip_file
|
|
5266
|
-
# The base64-encoded contents of the deployment package.
|
|
5267
|
-
#
|
|
5340
|
+
# The base64-encoded contents of the deployment package. Amazon Web
|
|
5341
|
+
# Services SDK and Amazon Web Services CLI clients handle the encoding
|
|
5342
|
+
# for you.
|
|
5268
5343
|
# @return [String]
|
|
5269
5344
|
#
|
|
5270
5345
|
# @!attribute [rw] s3_bucket
|
|
5271
|
-
# An Amazon S3 bucket in the same
|
|
5272
|
-
# bucket can be in a different
|
|
5346
|
+
# An Amazon S3 bucket in the same Amazon Web Services Region as your
|
|
5347
|
+
# function. The bucket can be in a different Amazon Web Services
|
|
5348
|
+
# account.
|
|
5273
5349
|
# @return [String]
|
|
5274
5350
|
#
|
|
5275
5351
|
# @!attribute [rw] s3_key
|
|
@@ -5337,7 +5413,7 @@ module Aws::Lambda
|
|
|
5337
5413
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
5338
5414
|
# },
|
|
5339
5415
|
# },
|
|
5340
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
5416
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
5341
5417
|
# dead_letter_config: {
|
|
5342
5418
|
# target_arn: "ResourceArn",
|
|
5343
5419
|
# },
|
|
@@ -5398,20 +5474,30 @@ module Aws::Lambda
|
|
|
5398
5474
|
# @!attribute [rw] timeout
|
|
5399
5475
|
# The amount of time that Lambda allows a function to run before
|
|
5400
5476
|
# stopping it. The default is 3 seconds. The maximum allowed value is
|
|
5401
|
-
# 900 seconds.
|
|
5477
|
+
# 900 seconds. For additional information, see [Lambda execution
|
|
5478
|
+
# environment][1].
|
|
5479
|
+
#
|
|
5480
|
+
#
|
|
5481
|
+
#
|
|
5482
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html
|
|
5402
5483
|
# @return [Integer]
|
|
5403
5484
|
#
|
|
5404
5485
|
# @!attribute [rw] memory_size
|
|
5405
|
-
# The amount of memory available to the function at runtime.
|
|
5406
|
-
# Increasing the function
|
|
5486
|
+
# The amount of [memory available to the function][1] at runtime.
|
|
5487
|
+
# Increasing the function memory also increases its CPU allocation.
|
|
5407
5488
|
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
|
5489
|
+
#
|
|
5490
|
+
#
|
|
5491
|
+
#
|
|
5492
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
|
|
5408
5493
|
# @return [Integer]
|
|
5409
5494
|
#
|
|
5410
5495
|
# @!attribute [rw] vpc_config
|
|
5411
|
-
# For network connectivity to
|
|
5412
|
-
# of security groups and subnets in the VPC. When you
|
|
5413
|
-
# function to a VPC, it can only access resources and the
|
|
5414
|
-
# through that VPC. For more information, see [VPC
|
|
5496
|
+
# For network connectivity to Amazon Web Services resources in a VPC,
|
|
5497
|
+
# specify a list of security groups and subnets in the VPC. When you
|
|
5498
|
+
# connect a function to a VPC, it can only access resources and the
|
|
5499
|
+
# internet through that VPC. For more information, see [VPC
|
|
5500
|
+
# Settings][1].
|
|
5415
5501
|
#
|
|
5416
5502
|
#
|
|
5417
5503
|
#
|
|
@@ -5442,14 +5528,18 @@ module Aws::Lambda
|
|
|
5442
5528
|
# @return [Types::DeadLetterConfig]
|
|
5443
5529
|
#
|
|
5444
5530
|
# @!attribute [rw] kms_key_arn
|
|
5445
|
-
# The ARN of the
|
|
5446
|
-
# to encrypt your function's environment variables. If
|
|
5447
|
-
# provided,
|
|
5531
|
+
# The ARN of the Amazon Web Services Key Management Service (KMS) key
|
|
5532
|
+
# that's used to encrypt your function's environment variables. If
|
|
5533
|
+
# it's not provided, Lambda uses a default service key.
|
|
5448
5534
|
# @return [String]
|
|
5449
5535
|
#
|
|
5450
5536
|
# @!attribute [rw] tracing_config
|
|
5451
5537
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
|
5452
|
-
# requests with
|
|
5538
|
+
# requests with [X-Ray][1].
|
|
5539
|
+
#
|
|
5540
|
+
#
|
|
5541
|
+
#
|
|
5542
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
|
5453
5543
|
# @return [Types::TracingConfig]
|
|
5454
5544
|
#
|
|
5455
5545
|
# @!attribute [rw] revision_id
|
|
@@ -5472,7 +5562,12 @@ module Aws::Lambda
|
|
|
5472
5562
|
# @return [Array<Types::FileSystemConfig>]
|
|
5473
5563
|
#
|
|
5474
5564
|
# @!attribute [rw] image_config
|
|
5475
|
-
#
|
|
5565
|
+
# [Container image configuration values][1] that override the values
|
|
5566
|
+
# in the container image Dockerfile.
|
|
5567
|
+
#
|
|
5568
|
+
#
|
|
5569
|
+
#
|
|
5570
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
|
5476
5571
|
# @return [Types::ImageConfig]
|
|
5477
5572
|
#
|
|
5478
5573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|