aws-sdk-lambda 1.62.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +190 -1387
- data/lib/aws-sdk-lambda/customizations.rb +1 -1
- data/lib/aws-sdk-lambda/types.rb +206 -126
- metadata +5 -6
@@ -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
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -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 in seconds of a processing window. The
|
746
|
-
# is between 1 second up to 900 seconds.
|
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
|
@@ -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,12 +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
|
979
1007
|
# in the container image Dockerfile.
|
980
1008
|
#
|
981
1009
|
#
|
982
1010
|
#
|
983
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images
|
1011
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings
|
984
1012
|
# @return [Types::ImageConfig]
|
985
1013
|
#
|
986
1014
|
# @!attribute [rw] code_signing_config_arn
|
@@ -1375,7 +1403,7 @@ module Aws::Lambda
|
|
1375
1403
|
include Aws::Structure
|
1376
1404
|
end
|
1377
1405
|
|
1378
|
-
#
|
1406
|
+
# Lambda was throttled by Amazon EC2 during Lambda function
|
1379
1407
|
# initialization using the execution role provided for the Lambda
|
1380
1408
|
# function.
|
1381
1409
|
#
|
@@ -1394,8 +1422,8 @@ module Aws::Lambda
|
|
1394
1422
|
include Aws::Structure
|
1395
1423
|
end
|
1396
1424
|
|
1397
|
-
#
|
1398
|
-
#
|
1425
|
+
# Lambda received an unexpected EC2 client exception while setting up
|
1426
|
+
# for the Lambda function.
|
1399
1427
|
#
|
1400
1428
|
# @!attribute [rw] type
|
1401
1429
|
# @return [String]
|
@@ -1488,9 +1516,9 @@ module Aws::Lambda
|
|
1488
1516
|
include Aws::Structure
|
1489
1517
|
end
|
1490
1518
|
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
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.
|
1494
1522
|
#
|
1495
1523
|
# @!attribute [rw] type
|
1496
1524
|
# @return [String]
|
@@ -1507,7 +1535,10 @@ module Aws::Lambda
|
|
1507
1535
|
include Aws::Structure
|
1508
1536
|
end
|
1509
1537
|
|
1510
|
-
# 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.
|
1511
1542
|
#
|
1512
1543
|
# @note When making an API call, you may pass Environment
|
1513
1544
|
# data as a hash:
|
@@ -1519,7 +1550,12 @@ module Aws::Lambda
|
|
1519
1550
|
# }
|
1520
1551
|
#
|
1521
1552
|
# @!attribute [rw] variables
|
1522
|
-
# 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
|
1523
1559
|
# @return [Hash<String,String>]
|
1524
1560
|
#
|
1525
1561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment AWS API Documentation
|
@@ -1571,8 +1607,8 @@ module Aws::Lambda
|
|
1571
1607
|
include Aws::Structure
|
1572
1608
|
end
|
1573
1609
|
|
1574
|
-
# A mapping between an
|
1575
|
-
# CreateEventSourceMapping for details.
|
1610
|
+
# A mapping between an Amazon Web Services resource and an Lambda
|
1611
|
+
# function. See CreateEventSourceMapping for details.
|
1576
1612
|
#
|
1577
1613
|
# @!attribute [rw] uuid
|
1578
1614
|
# The identifier of the event source mapping.
|
@@ -1600,7 +1636,7 @@ module Aws::Lambda
|
|
1600
1636
|
# @return [Integer]
|
1601
1637
|
#
|
1602
1638
|
# @!attribute [rw] parallelization_factor
|
1603
|
-
# (Streams) The number of batches to process from each shard
|
1639
|
+
# (Streams only) The number of batches to process from each shard
|
1604
1640
|
# concurrently. The default value is 1.
|
1605
1641
|
# @return [Integer]
|
1606
1642
|
#
|
@@ -1618,8 +1654,7 @@ module Aws::Lambda
|
|
1618
1654
|
# @return [Time]
|
1619
1655
|
#
|
1620
1656
|
# @!attribute [rw] last_processing_result
|
1621
|
-
# The result of the last
|
1622
|
-
# function.
|
1657
|
+
# The result of the last Lambda invocation of your Lambda function.
|
1623
1658
|
# @return [String]
|
1624
1659
|
#
|
1625
1660
|
# @!attribute [rw] state
|
@@ -1634,8 +1669,8 @@ module Aws::Lambda
|
|
1634
1669
|
# @return [String]
|
1635
1670
|
#
|
1636
1671
|
# @!attribute [rw] destination_config
|
1637
|
-
# (Streams) An Amazon SQS queue or Amazon SNS topic destination
|
1638
|
-
# discarded records.
|
1672
|
+
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination
|
1673
|
+
# for discarded records.
|
1639
1674
|
# @return [Types::DestinationConfig]
|
1640
1675
|
#
|
1641
1676
|
# @!attribute [rw] topics
|
@@ -1656,30 +1691,31 @@ module Aws::Lambda
|
|
1656
1691
|
# @return [Types::SelfManagedEventSource]
|
1657
1692
|
#
|
1658
1693
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1659
|
-
# (Streams) Discard records older than the specified age. The
|
1660
|
-
# value is
|
1661
|
-
#
|
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.
|
1662
1697
|
# @return [Integer]
|
1663
1698
|
#
|
1664
1699
|
# @!attribute [rw] bisect_batch_on_function_error
|
1665
|
-
# (Streams) If the function returns an error, split the batch in
|
1666
|
-
# 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.
|
1667
1702
|
# @return [Boolean]
|
1668
1703
|
#
|
1669
1704
|
# @!attribute [rw] maximum_retry_attempts
|
1670
|
-
# (Streams) Discard records after the specified number of
|
1671
|
-
# default value is
|
1672
|
-
#
|
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.
|
1673
1709
|
# @return [Integer]
|
1674
1710
|
#
|
1675
1711
|
# @!attribute [rw] tumbling_window_in_seconds
|
1676
|
-
# (Streams) The duration in seconds of a processing window. The
|
1677
|
-
# is between 1 second up to 900 seconds.
|
1712
|
+
# (Streams only) The duration in seconds of a processing window. The
|
1713
|
+
# range is between 1 second up to 900 seconds.
|
1678
1714
|
# @return [Integer]
|
1679
1715
|
#
|
1680
1716
|
# @!attribute [rw] function_response_types
|
1681
|
-
# (Streams) A list of current response type enums applied to the
|
1682
|
-
# source mapping.
|
1717
|
+
# (Streams only) A list of current response type enums applied to the
|
1718
|
+
# event source mapping.
|
1683
1719
|
# @return [Array<String>]
|
1684
1720
|
#
|
1685
1721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
@@ -1711,8 +1747,12 @@ module Aws::Lambda
|
|
1711
1747
|
include Aws::Structure
|
1712
1748
|
end
|
1713
1749
|
|
1714
|
-
# Details about the connection between a Lambda function and an Amazon
|
1715
|
-
# 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
|
1716
1756
|
#
|
1717
1757
|
# @note When making an API call, you may pass FileSystemConfig
|
1718
1758
|
# data as a hash:
|
@@ -1757,13 +1797,15 @@ module Aws::Lambda
|
|
1757
1797
|
# }
|
1758
1798
|
#
|
1759
1799
|
# @!attribute [rw] zip_file
|
1760
|
-
# The base64-encoded contents of the deployment package.
|
1761
|
-
#
|
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.
|
1762
1803
|
# @return [String]
|
1763
1804
|
#
|
1764
1805
|
# @!attribute [rw] s3_bucket
|
1765
|
-
# An Amazon S3 bucket in the same
|
1766
|
-
# 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.
|
1767
1809
|
# @return [String]
|
1768
1810
|
#
|
1769
1811
|
# @!attribute [rw] s3_key
|
@@ -1776,7 +1818,11 @@ module Aws::Lambda
|
|
1776
1818
|
# @return [String]
|
1777
1819
|
#
|
1778
1820
|
# @!attribute [rw] image_uri
|
1779
|
-
# 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
|
1780
1826
|
# @return [String]
|
1781
1827
|
#
|
1782
1828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
|
@@ -1885,7 +1931,11 @@ module Aws::Lambda
|
|
1885
1931
|
# @return [Types::DeadLetterConfig]
|
1886
1932
|
#
|
1887
1933
|
# @!attribute [rw] environment
|
1888
|
-
# 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
|
1889
1939
|
# @return [Types::EnvironmentResponse]
|
1890
1940
|
#
|
1891
1941
|
# @!attribute [rw] kms_key_arn
|
@@ -1895,7 +1945,7 @@ module Aws::Lambda
|
|
1895
1945
|
# @return [String]
|
1896
1946
|
#
|
1897
1947
|
# @!attribute [rw] tracing_config
|
1898
|
-
# The function's
|
1948
|
+
# The function's X-Ray tracing configuration.
|
1899
1949
|
# @return [Types::TracingConfigResponse]
|
1900
1950
|
#
|
1901
1951
|
# @!attribute [rw] master_arn
|
@@ -1943,7 +1993,11 @@ module Aws::Lambda
|
|
1943
1993
|
# @return [String]
|
1944
1994
|
#
|
1945
1995
|
# @!attribute [rw] file_system_configs
|
1946
|
-
# 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
|
1947
2001
|
# @return [Array<Types::FileSystemConfig>]
|
1948
2002
|
#
|
1949
2003
|
# @!attribute [rw] package_type
|
@@ -2878,7 +2932,7 @@ module Aws::Lambda
|
|
2878
2932
|
include Aws::Structure
|
2879
2933
|
end
|
2880
2934
|
|
2881
|
-
#
|
2935
|
+
# Lambda could not unzip the deployment package.
|
2882
2936
|
#
|
2883
2937
|
# @!attribute [rw] type
|
2884
2938
|
# @return [String]
|
@@ -3136,7 +3190,7 @@ module Aws::Lambda
|
|
3136
3190
|
include Aws::Structure
|
3137
3191
|
end
|
3138
3192
|
|
3139
|
-
# An [
|
3193
|
+
# An [Lambda layer][1].
|
3140
3194
|
#
|
3141
3195
|
#
|
3142
3196
|
#
|
@@ -3169,9 +3223,9 @@ module Aws::Lambda
|
|
3169
3223
|
include Aws::Structure
|
3170
3224
|
end
|
3171
3225
|
|
3172
|
-
# A ZIP archive that contains the contents of an [
|
3173
|
-
#
|
3174
|
-
#
|
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.
|
3175
3229
|
#
|
3176
3230
|
#
|
3177
3231
|
#
|
@@ -3201,8 +3255,9 @@ module Aws::Lambda
|
|
3201
3255
|
# @return [String]
|
3202
3256
|
#
|
3203
3257
|
# @!attribute [rw] zip_file
|
3204
|
-
# The base64-encoded contents of the layer archive.
|
3205
|
-
# 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.
|
3206
3261
|
# @return [String]
|
3207
3262
|
#
|
3208
3263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentInput AWS API Documentation
|
@@ -3216,7 +3271,7 @@ module Aws::Lambda
|
|
3216
3271
|
include Aws::Structure
|
3217
3272
|
end
|
3218
3273
|
|
3219
|
-
# Details about a version of an [
|
3274
|
+
# Details about a version of an [Lambda layer][1].
|
3220
3275
|
#
|
3221
3276
|
#
|
3222
3277
|
#
|
@@ -3255,7 +3310,7 @@ module Aws::Lambda
|
|
3255
3310
|
include Aws::Structure
|
3256
3311
|
end
|
3257
3312
|
|
3258
|
-
# Details about a version of an [
|
3313
|
+
# Details about a version of an [Lambda layer][1].
|
3259
3314
|
#
|
3260
3315
|
#
|
3261
3316
|
#
|
@@ -3299,7 +3354,7 @@ module Aws::Lambda
|
|
3299
3354
|
include Aws::Structure
|
3300
3355
|
end
|
3301
3356
|
|
3302
|
-
# Details about an [
|
3357
|
+
# Details about an [Lambda layer][1].
|
3303
3358
|
#
|
3304
3359
|
#
|
3305
3360
|
#
|
@@ -3640,11 +3695,11 @@ module Aws::Lambda
|
|
3640
3695
|
# }
|
3641
3696
|
#
|
3642
3697
|
# @!attribute [rw] master_region
|
3643
|
-
# For Lambda@Edge functions, the
|
3644
|
-
#
|
3645
|
-
#
|
3646
|
-
#
|
3647
|
-
#
|
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`.
|
3648
3703
|
# @return [String]
|
3649
3704
|
#
|
3650
3705
|
# @!attribute [rw] function_version
|
@@ -3920,7 +3975,9 @@ module Aws::Lambda
|
|
3920
3975
|
# @return [String]
|
3921
3976
|
#
|
3922
3977
|
# @!attribute [rw] max_items
|
3923
|
-
# 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.
|
3924
3981
|
# @return [Integer]
|
3925
3982
|
#
|
3926
3983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
|
@@ -4760,7 +4817,7 @@ module Aws::Lambda
|
|
4760
4817
|
include Aws::Structure
|
4761
4818
|
end
|
4762
4819
|
|
4763
|
-
# The
|
4820
|
+
# The Lambda service encountered an internal error.
|
4764
4821
|
#
|
4765
4822
|
# @!attribute [rw] type
|
4766
4823
|
# @return [String]
|
@@ -4784,7 +4841,7 @@ module Aws::Lambda
|
|
4784
4841
|
# data as a hash:
|
4785
4842
|
#
|
4786
4843
|
# {
|
4787
|
-
# 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
|
4788
4845
|
# uri: "URI",
|
4789
4846
|
# }
|
4790
4847
|
#
|
@@ -4809,6 +4866,9 @@ module Aws::Lambda
|
|
4809
4866
|
# * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
|
4810
4867
|
# used for SASL SCRAM-512 authentication of your Self-Managed Apache
|
4811
4868
|
# Kafka brokers.
|
4869
|
+
#
|
4870
|
+
# * `VIRTUAL_HOST` - The name of the virtual host in your RabbitMQ
|
4871
|
+
# broker. Lambda will use this host as the event source.
|
4812
4872
|
# @return [String]
|
4813
4873
|
#
|
4814
4874
|
# @!attribute [rw] uri
|
@@ -4826,7 +4886,7 @@ module Aws::Lambda
|
|
4826
4886
|
include Aws::Structure
|
4827
4887
|
end
|
4828
4888
|
|
4829
|
-
#
|
4889
|
+
# Lambda was not able to set up VPC access for the Lambda function
|
4830
4890
|
# because one or more configured subnets has no available IP addresses.
|
4831
4891
|
#
|
4832
4892
|
# @!attribute [rw] type
|
@@ -4897,9 +4957,13 @@ module Aws::Lambda
|
|
4897
4957
|
include Aws::Structure
|
4898
4958
|
end
|
4899
4959
|
|
4900
|
-
# The function's
|
4960
|
+
# The function's [X-Ray][1] tracing configuration. To sample and record
|
4901
4961
|
# incoming requests, set `Mode` to `Active`.
|
4902
4962
|
#
|
4963
|
+
#
|
4964
|
+
#
|
4965
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
4966
|
+
#
|
4903
4967
|
# @note When making an API call, you may pass TracingConfig
|
4904
4968
|
# data as a hash:
|
4905
4969
|
#
|
@@ -4919,7 +4983,7 @@ module Aws::Lambda
|
|
4919
4983
|
include Aws::Structure
|
4920
4984
|
end
|
4921
4985
|
|
4922
|
-
# The function's
|
4986
|
+
# The function's X-Ray tracing configuration.
|
4923
4987
|
#
|
4924
4988
|
# @!attribute [rw] mode
|
4925
4989
|
# The tracing mode.
|
@@ -5123,7 +5187,7 @@ module Aws::Lambda
|
|
5123
5187
|
# parallelization_factor: 1,
|
5124
5188
|
# source_access_configurations: [
|
5125
5189
|
# {
|
5126
|
-
# 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
|
5127
5191
|
# uri: "URI",
|
5128
5192
|
# },
|
5129
5193
|
# ],
|
@@ -5181,28 +5245,28 @@ module Aws::Lambda
|
|
5181
5245
|
# @return [Integer]
|
5182
5246
|
#
|
5183
5247
|
# @!attribute [rw] destination_config
|
5184
|
-
# (Streams) An Amazon SQS queue or Amazon SNS topic destination
|
5185
|
-
# discarded records.
|
5248
|
+
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination
|
5249
|
+
# for discarded records.
|
5186
5250
|
# @return [Types::DestinationConfig]
|
5187
5251
|
#
|
5188
5252
|
# @!attribute [rw] maximum_record_age_in_seconds
|
5189
|
-
# (Streams) Discard records older than the specified age. The
|
5190
|
-
# value is infinite (-1).
|
5253
|
+
# (Streams only) Discard records older than the specified age. The
|
5254
|
+
# default value is infinite (-1).
|
5191
5255
|
# @return [Integer]
|
5192
5256
|
#
|
5193
5257
|
# @!attribute [rw] bisect_batch_on_function_error
|
5194
|
-
# (Streams) If the function returns an error, split the batch in
|
5195
|
-
# and retry.
|
5258
|
+
# (Streams only) If the function returns an error, split the batch in
|
5259
|
+
# two and retry.
|
5196
5260
|
# @return [Boolean]
|
5197
5261
|
#
|
5198
5262
|
# @!attribute [rw] maximum_retry_attempts
|
5199
|
-
# (Streams) Discard records after the specified number of
|
5200
|
-
# default value is infinite (-1). When set to infinite
|
5201
|
-
# 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.
|
5202
5266
|
# @return [Integer]
|
5203
5267
|
#
|
5204
5268
|
# @!attribute [rw] parallelization_factor
|
5205
|
-
# (Streams) The number of batches to process from each shard
|
5269
|
+
# (Streams only) The number of batches to process from each shard
|
5206
5270
|
# concurrently.
|
5207
5271
|
# @return [Integer]
|
5208
5272
|
#
|
@@ -5212,13 +5276,13 @@ module Aws::Lambda
|
|
5212
5276
|
# @return [Array<Types::SourceAccessConfiguration>]
|
5213
5277
|
#
|
5214
5278
|
# @!attribute [rw] tumbling_window_in_seconds
|
5215
|
-
# (Streams) The duration in seconds of a processing window. The
|
5216
|
-
# is between 1 second up to 900 seconds.
|
5279
|
+
# (Streams only) The duration in seconds of a processing window. The
|
5280
|
+
# range is between 1 second up to 900 seconds.
|
5217
5281
|
# @return [Integer]
|
5218
5282
|
#
|
5219
5283
|
# @!attribute [rw] function_response_types
|
5220
|
-
# (Streams) A list of current response type enums applied to the
|
5221
|
-
# source mapping.
|
5284
|
+
# (Streams only) A list of current response type enums applied to the
|
5285
|
+
# event source mapping.
|
5222
5286
|
# @return [Array<String>]
|
5223
5287
|
#
|
5224
5288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
@@ -5273,13 +5337,15 @@ module Aws::Lambda
|
|
5273
5337
|
# @return [String]
|
5274
5338
|
#
|
5275
5339
|
# @!attribute [rw] zip_file
|
5276
|
-
# The base64-encoded contents of the deployment package.
|
5277
|
-
#
|
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.
|
5278
5343
|
# @return [String]
|
5279
5344
|
#
|
5280
5345
|
# @!attribute [rw] s3_bucket
|
5281
|
-
# An Amazon S3 bucket in the same
|
5282
|
-
# 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.
|
5283
5349
|
# @return [String]
|
5284
5350
|
#
|
5285
5351
|
# @!attribute [rw] s3_key
|
@@ -5408,20 +5474,30 @@ module Aws::Lambda
|
|
5408
5474
|
# @!attribute [rw] timeout
|
5409
5475
|
# The amount of time that Lambda allows a function to run before
|
5410
5476
|
# stopping it. The default is 3 seconds. The maximum allowed value is
|
5411
|
-
# 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
|
5412
5483
|
# @return [Integer]
|
5413
5484
|
#
|
5414
5485
|
# @!attribute [rw] memory_size
|
5415
|
-
# The amount of memory available to the function at runtime.
|
5416
|
-
# 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.
|
5417
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
|
5418
5493
|
# @return [Integer]
|
5419
5494
|
#
|
5420
5495
|
# @!attribute [rw] vpc_config
|
5421
|
-
# For network connectivity to
|
5422
|
-
# of security groups and subnets in the VPC. When you
|
5423
|
-
# function to a VPC, it can only access resources and the
|
5424
|
-
# 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].
|
5425
5501
|
#
|
5426
5502
|
#
|
5427
5503
|
#
|
@@ -5452,14 +5528,18 @@ module Aws::Lambda
|
|
5452
5528
|
# @return [Types::DeadLetterConfig]
|
5453
5529
|
#
|
5454
5530
|
# @!attribute [rw] kms_key_arn
|
5455
|
-
# The ARN of the
|
5456
|
-
# to encrypt your function's environment variables. If
|
5457
|
-
# 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.
|
5458
5534
|
# @return [String]
|
5459
5535
|
#
|
5460
5536
|
# @!attribute [rw] tracing_config
|
5461
5537
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
5462
|
-
# requests with
|
5538
|
+
# requests with [X-Ray][1].
|
5539
|
+
#
|
5540
|
+
#
|
5541
|
+
#
|
5542
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5463
5543
|
# @return [Types::TracingConfig]
|
5464
5544
|
#
|
5465
5545
|
# @!attribute [rw] revision_id
|