aws-sdk-lambda 1.62.0 → 1.66.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1384,6 +1384,7 @@ module Aws::Lambda
1384
1384
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1385
1385
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1386
1386
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1387
1388
  end)
1388
1389
 
1389
1390
  api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1875,6 +1876,7 @@ module Aws::Lambda
1875
1876
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1876
1877
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1877
1878
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1879
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1878
1880
  end)
1879
1881
 
1880
1882
  api.add_operation(:put_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2026,6 +2028,7 @@ module Aws::Lambda
2026
2028
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2027
2029
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2028
2030
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2029
2032
  end)
2030
2033
  end
2031
2034
 
@@ -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/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -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 AWS Lambda. Use Amazon S3 for larger files.
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 AWS accounts.
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 AWS service or account that invokes the function. If you specify
195
- # a service, use `SourceArn` or `SourceAccount` to limit who can
196
- # invoke the function through that service.
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 AWS services, the ARN of the AWS resource that invokes the
201
- # function. For example, an Amazon S3 bucket or Amazon SNS topic.
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 specifies the validation failure
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 for
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 default
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 two
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 retries. The
740
- # default value is infinite (-1). When set to infinite (-1), failed
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 range
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
@@ -755,7 +769,7 @@ module Aws::Lambda
755
769
  # @return [Array<String>]
756
770
  #
757
771
  # @!attribute [rw] source_access_configurations
758
- # An array of the authentication protocol, or the VPC components to
772
+ # An array of authentication protocols or VPC components required to
759
773
  # secure your event source.
760
774
  # @return [Array<Types::SourceAccessConfiguration>]
761
775
  #
@@ -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 event
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's memory also increases its CPU allocation.
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 AWS resources in a VPC, specify a list
916
- # of security groups and subnets in the VPC. When you connect a
917
- # function to a VPC, it can only access resources and the internet
918
- # through that VPC. For more information, see [VPC Settings][1].
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 AWS Key Management Service (AWS KMS) key that's used
947
- # to encrypt your function's environment variables. If it's not
948
- # provided, AWS Lambda uses a default service key.
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 AWS X-Ray.
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
- # [Container image configuration values][1] that override the values
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-parms.html
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
- # AWS Lambda was throttled by Amazon EC2 during Lambda function
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
- # AWS Lambda received an unexpected EC2 client exception while setting
1398
- # up for the Lambda function.
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
- # AWS Lambda was not able to create an elastic network interface in the
1492
- # VPC, specified as part of Lambda function configuration, because the
1493
- # limit for network interfaces has been reached.
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 AWS resource and an AWS Lambda function. See
1575
- # CreateEventSourceMapping for details.
1610
+ # A mapping between an Amazon Web Services resource and a Lambda
1611
+ # function. For details, see CreateEventSourceMapping.
1576
1612
  #
1577
1613
  # @!attribute [rw] uuid
1578
1614
  # The identifier of the event source mapping.
@@ -1580,8 +1616,8 @@ module Aws::Lambda
1580
1616
  #
1581
1617
  # @!attribute [rw] starting_position
1582
1618
  # The position in a stream from which to start reading. Required for
1583
- # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
1584
- # `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
1619
+ # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
1620
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams.
1585
1621
  # @return [String]
1586
1622
  #
1587
1623
  # @!attribute [rw] starting_position_timestamp
@@ -1594,14 +1630,14 @@ module Aws::Lambda
1594
1630
  # @return [Integer]
1595
1631
  #
1596
1632
  # @!attribute [rw] maximum_batching_window_in_seconds
1597
- # (Streams and SQS standard queues) The maximum amount of time to
1598
- # gather records before invoking the function, in seconds. The default
1599
- # value is zero.
1633
+ # (Streams and Amazon SQS standard queues) The maximum amount of time
1634
+ # to gather records before invoking the function, in seconds. The
1635
+ # default value is zero.
1600
1636
  # @return [Integer]
1601
1637
  #
1602
1638
  # @!attribute [rw] parallelization_factor
1603
- # (Streams) The number of batches to process from each shard
1604
- # concurrently. The default value is 1.
1639
+ # (Streams only) The number of batches to process concurrently from
1640
+ # each shard. The default value is 1.
1605
1641
  # @return [Integer]
1606
1642
  #
1607
1643
  # @!attribute [rw] event_source_arn
@@ -1613,13 +1649,12 @@ module Aws::Lambda
1613
1649
  # @return [String]
1614
1650
  #
1615
1651
  # @!attribute [rw] last_modified
1616
- # The date that the event source mapping was last updated, or its
1652
+ # The date that the event source mapping was last updated or that its
1617
1653
  # state changed.
1618
1654
  # @return [Time]
1619
1655
  #
1620
1656
  # @!attribute [rw] last_processing_result
1621
- # The result of the last AWS Lambda invocation of your Lambda
1622
- # function.
1657
+ # The result of the last Lambda invocation of your function.
1623
1658
  # @return [String]
1624
1659
  #
1625
1660
  # @!attribute [rw] state
@@ -1629,13 +1664,13 @@ module Aws::Lambda
1629
1664
  # @return [String]
1630
1665
  #
1631
1666
  # @!attribute [rw] state_transition_reason
1632
- # Indicates whether the last change to the event source mapping was
1633
- # made by a user, or by the Lambda service.
1667
+ # Indicates whether a user or Lambda made the last change to the event
1668
+ # source mapping.
1634
1669
  # @return [String]
1635
1670
  #
1636
1671
  # @!attribute [rw] destination_config
1637
- # (Streams) An Amazon SQS queue or Amazon SNS topic destination for
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
@@ -1643,43 +1678,45 @@ module Aws::Lambda
1643
1678
  # @return [Array<String>]
1644
1679
  #
1645
1680
  # @!attribute [rw] queues
1646
- # (MQ) The name of the Amazon MQ broker destination queue to consume.
1681
+ # (Amazon MQ) The name of the Amazon MQ broker destination queue to
1682
+ # consume.
1647
1683
  # @return [Array<String>]
1648
1684
  #
1649
1685
  # @!attribute [rw] source_access_configurations
1650
- # An array of the authentication protocol, or the VPC components to
1651
- # secure your event source.
1686
+ # An array of the authentication protocol, VPC components, or virtual
1687
+ # host to secure and define your event source.
1652
1688
  # @return [Array<Types::SourceAccessConfiguration>]
1653
1689
  #
1654
1690
  # @!attribute [rw] self_managed_event_source
1655
- # The Self-Managed Apache Kafka cluster for your event source.
1691
+ # The self-managed Apache Kafka cluster for your event source.
1656
1692
  # @return [Types::SelfManagedEventSource]
1657
1693
  #
1658
1694
  # @!attribute [rw] maximum_record_age_in_seconds
1659
- # (Streams) Discard records older than the specified age. The default
1660
- # value is infinite (-1). When set to infinite (-1), failed records
1661
- # are retried until the record expires.
1695
+ # (Streams only) Discard records older than the specified age. The
1696
+ # default value is -1, which sets the maximum age to infinite. When
1697
+ # the value is set to infinite, Lambda never discards old records.
1662
1698
  # @return [Integer]
1663
1699
  #
1664
1700
  # @!attribute [rw] bisect_batch_on_function_error
1665
- # (Streams) If the function returns an error, split the batch in two
1666
- # and retry. The default value is false.
1701
+ # (Streams only) If the function returns an error, split the batch in
1702
+ # two and retry. The default value is false.
1667
1703
  # @return [Boolean]
1668
1704
  #
1669
1705
  # @!attribute [rw] maximum_retry_attempts
1670
- # (Streams) Discard records after the specified number of retries. The
1671
- # default value is infinite (-1). When set to infinite (-1), failed
1672
- # records are retried until the record expires.
1706
+ # (Streams only) Discard records after the specified number of
1707
+ # retries. The default value is -1, which sets the maximum number of
1708
+ # retries to infinite. When MaximumRetryAttempts is infinite, Lambda
1709
+ # retries failed records until the record expires in the event source.
1673
1710
  # @return [Integer]
1674
1711
  #
1675
1712
  # @!attribute [rw] tumbling_window_in_seconds
1676
- # (Streams) The duration in seconds of a processing window. The range
1677
- # is between 1 second up to 900 seconds.
1713
+ # (Streams only) The duration in seconds of a processing window. The
1714
+ # range is 1900 seconds.
1678
1715
  # @return [Integer]
1679
1716
  #
1680
1717
  # @!attribute [rw] function_response_types
1681
- # (Streams) A list of current response type enums applied to the event
1682
- # source mapping.
1718
+ # (Streams only) A list of current response type enums applied to the
1719
+ # event source mapping.
1683
1720
  # @return [Array<String>]
1684
1721
  #
1685
1722
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
@@ -1711,8 +1748,12 @@ module Aws::Lambda
1711
1748
  include Aws::Structure
1712
1749
  end
1713
1750
 
1714
- # Details about the connection between a Lambda function and an Amazon
1715
- # EFS file system.
1751
+ # Details about the connection between a Lambda function and an [Amazon
1752
+ # EFS file system][1].
1753
+ #
1754
+ #
1755
+ #
1756
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
1716
1757
  #
1717
1758
  # @note When making an API call, you may pass FileSystemConfig
1718
1759
  # data as a hash:
@@ -1757,13 +1798,15 @@ module Aws::Lambda
1757
1798
  # }
1758
1799
  #
1759
1800
  # @!attribute [rw] zip_file
1760
- # The base64-encoded contents of the deployment package. AWS SDK and
1761
- # AWS CLI clients handle the encoding for you.
1801
+ # The base64-encoded contents of the deployment package. Amazon Web
1802
+ # Services SDK and Amazon Web Services CLI clients handle the encoding
1803
+ # for you.
1762
1804
  # @return [String]
1763
1805
  #
1764
1806
  # @!attribute [rw] s3_bucket
1765
- # An Amazon S3 bucket in the same AWS Region as your function. The
1766
- # bucket can be in a different AWS account.
1807
+ # An Amazon S3 bucket in the same Amazon Web Services Region as your
1808
+ # function. The bucket can be in a different Amazon Web Services
1809
+ # account.
1767
1810
  # @return [String]
1768
1811
  #
1769
1812
  # @!attribute [rw] s3_key
@@ -1776,7 +1819,11 @@ module Aws::Lambda
1776
1819
  # @return [String]
1777
1820
  #
1778
1821
  # @!attribute [rw] image_uri
1779
- # URI of a container image in the Amazon ECR registry.
1822
+ # URI of a [container image][1] in the Amazon ECR registry.
1823
+ #
1824
+ #
1825
+ #
1826
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
1780
1827
  # @return [String]
1781
1828
  #
1782
1829
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
@@ -1885,7 +1932,11 @@ module Aws::Lambda
1885
1932
  # @return [Types::DeadLetterConfig]
1886
1933
  #
1887
1934
  # @!attribute [rw] environment
1888
- # The function's environment variables.
1935
+ # The function's [environment variables][1].
1936
+ #
1937
+ #
1938
+ #
1939
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
1889
1940
  # @return [Types::EnvironmentResponse]
1890
1941
  #
1891
1942
  # @!attribute [rw] kms_key_arn
@@ -1895,7 +1946,7 @@ module Aws::Lambda
1895
1946
  # @return [String]
1896
1947
  #
1897
1948
  # @!attribute [rw] tracing_config
1898
- # The function's AWS X-Ray tracing configuration.
1949
+ # The function's X-Ray tracing configuration.
1899
1950
  # @return [Types::TracingConfigResponse]
1900
1951
  #
1901
1952
  # @!attribute [rw] master_arn
@@ -1943,7 +1994,11 @@ module Aws::Lambda
1943
1994
  # @return [String]
1944
1995
  #
1945
1996
  # @!attribute [rw] file_system_configs
1946
- # Connection settings for an Amazon EFS file system.
1997
+ # Connection settings for an [Amazon EFS file system][1].
1998
+ #
1999
+ #
2000
+ #
2001
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
1947
2002
  # @return [Array<Types::FileSystemConfig>]
1948
2003
  #
1949
2004
  # @!attribute [rw] package_type
@@ -2878,7 +2933,7 @@ module Aws::Lambda
2878
2933
  include Aws::Structure
2879
2934
  end
2880
2935
 
2881
- # AWS Lambda could not unzip the deployment package.
2936
+ # Lambda could not unzip the deployment package.
2882
2937
  #
2883
2938
  # @!attribute [rw] type
2884
2939
  # @return [String]
@@ -3136,7 +3191,7 @@ module Aws::Lambda
3136
3191
  include Aws::Structure
3137
3192
  end
3138
3193
 
3139
- # An [AWS Lambda layer][1].
3194
+ # An [Lambda layer][1].
3140
3195
  #
3141
3196
  #
3142
3197
  #
@@ -3169,9 +3224,9 @@ module Aws::Lambda
3169
3224
  include Aws::Structure
3170
3225
  end
3171
3226
 
3172
- # A ZIP archive that contains the contents of an [AWS Lambda layer][1].
3173
- # You can specify either an Amazon S3 location, or upload a layer
3174
- # archive directly.
3227
+ # A ZIP archive that contains the contents of an [Lambda layer][1]. You
3228
+ # can specify either an Amazon S3 location, or upload a layer archive
3229
+ # directly.
3175
3230
  #
3176
3231
  #
3177
3232
  #
@@ -3201,8 +3256,9 @@ module Aws::Lambda
3201
3256
  # @return [String]
3202
3257
  #
3203
3258
  # @!attribute [rw] zip_file
3204
- # The base64-encoded contents of the layer archive. AWS SDK and AWS
3205
- # CLI clients handle the encoding for you.
3259
+ # The base64-encoded contents of the layer archive. Amazon Web
3260
+ # Services SDK and Amazon Web Services CLI clients handle the encoding
3261
+ # for you.
3206
3262
  # @return [String]
3207
3263
  #
3208
3264
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentInput AWS API Documentation
@@ -3216,7 +3272,7 @@ module Aws::Lambda
3216
3272
  include Aws::Structure
3217
3273
  end
3218
3274
 
3219
- # Details about a version of an [AWS Lambda layer][1].
3275
+ # Details about a version of an [Lambda layer][1].
3220
3276
  #
3221
3277
  #
3222
3278
  #
@@ -3255,7 +3311,7 @@ module Aws::Lambda
3255
3311
  include Aws::Structure
3256
3312
  end
3257
3313
 
3258
- # Details about a version of an [AWS Lambda layer][1].
3314
+ # Details about a version of an [Lambda layer][1].
3259
3315
  #
3260
3316
  #
3261
3317
  #
@@ -3299,7 +3355,7 @@ module Aws::Lambda
3299
3355
  include Aws::Structure
3300
3356
  end
3301
3357
 
3302
- # Details about an [AWS Lambda layer][1].
3358
+ # Details about an [Lambda layer][1].
3303
3359
  #
3304
3360
  #
3305
3361
  #
@@ -3486,7 +3542,9 @@ module Aws::Lambda
3486
3542
  # @return [String]
3487
3543
  #
3488
3544
  # @!attribute [rw] max_items
3489
- # The maximum number of event source mappings to return.
3545
+ # The maximum number of event source mappings to return. Note that
3546
+ # ListEventSourceMappings returns a maximum of 100 items in each
3547
+ # response, even if you set the number higher.
3490
3548
  # @return [Integer]
3491
3549
  #
3492
3550
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsRequest AWS API Documentation
@@ -3640,11 +3698,11 @@ module Aws::Lambda
3640
3698
  # }
3641
3699
  #
3642
3700
  # @!attribute [rw] master_region
3643
- # For Lambda@Edge functions, the AWS Region of the master function.
3644
- # For example, `us-east-1` filters the list of functions to only
3645
- # include Lambda@Edge functions replicated from a master function in
3646
- # US East (N. Virginia). If specified, you must set `FunctionVersion`
3647
- # to `ALL`.
3701
+ # For Lambda@Edge functions, the Region of the master function. For
3702
+ # example, `us-east-1` filters the list of functions to only include
3703
+ # Lambda@Edge functions replicated from a master function in US East
3704
+ # (N. Virginia). If specified, you must set `FunctionVersion` to
3705
+ # `ALL`.
3648
3706
  # @return [String]
3649
3707
  #
3650
3708
  # @!attribute [rw] function_version
@@ -3920,7 +3978,9 @@ module Aws::Lambda
3920
3978
  # @return [String]
3921
3979
  #
3922
3980
  # @!attribute [rw] max_items
3923
- # The maximum number of versions to return.
3981
+ # The maximum number of versions to return. Note that
3982
+ # `ListVersionsByFunction` returns a maximum of 50 items in each
3983
+ # response, even if you set the number higher.
3924
3984
  # @return [Integer]
3925
3985
  #
3926
3986
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
@@ -4735,7 +4795,7 @@ module Aws::Lambda
4735
4795
  include Aws::Structure
4736
4796
  end
4737
4797
 
4738
- # The Self-Managed Apache Kafka cluster for your event source.
4798
+ # The self-managed Apache Kafka cluster for your event source.
4739
4799
  #
4740
4800
  # @note When making an API call, you may pass SelfManagedEventSource
4741
4801
  # data as a hash:
@@ -4760,7 +4820,7 @@ module Aws::Lambda
4760
4820
  include Aws::Structure
4761
4821
  end
4762
4822
 
4763
- # The AWS Lambda service encountered an internal error.
4823
+ # The Lambda service encountered an internal error.
4764
4824
  #
4765
4825
  # @!attribute [rw] type
4766
4826
  # @return [String]
@@ -4777,38 +4837,46 @@ module Aws::Lambda
4777
4837
  include Aws::Structure
4778
4838
  end
4779
4839
 
4780
- # You can specify the authentication protocol, or the VPC components to
4781
- # secure access to your event source.
4840
+ # To secure and define access to your event source, you can specify the
4841
+ # authentication protocol, VPC components, or virtual host.
4782
4842
  #
4783
4843
  # @note When making an API call, you may pass SourceAccessConfiguration
4784
4844
  # data as a hash:
4785
4845
  #
4786
4846
  # {
4787
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
4847
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
4788
4848
  # uri: "URI",
4789
4849
  # }
4790
4850
  #
4791
4851
  # @!attribute [rw] type
4792
- # The type of authentication protocol or the VPC components for your
4793
- # event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
4852
+ # The type of authentication protocol, VPC components, or virtual host
4853
+ # for your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
4854
+ #
4855
+ # * `BASIC_AUTH` - (Amazon MQ) The Secrets Manager secret that stores
4856
+ # your broker credentials.
4794
4857
  #
4795
- # * `BASIC_AUTH` - (MQ) The Secrets Manager secret that stores your
4796
- # broker credentials.
4858
+ # * `BASIC_AUTH` - (Self-managed Apache Kafka) The Secrets Manager ARN
4859
+ # of your secret key used for SASL/PLAIN authentication of your
4860
+ # Apache Kafka brokers.
4797
4861
  #
4798
4862
  # * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
4799
- # connects to these subnets to fetch data from your Self-Managed
4863
+ # connects to these subnets to fetch data from your self-managed
4800
4864
  # Apache Kafka cluster.
4801
4865
  #
4802
4866
  # * `VPC_SECURITY_GROUP` - The VPC security group used to manage
4803
- # access to your Self-Managed Apache Kafka brokers.
4867
+ # access to your self-managed Apache Kafka brokers.
4804
4868
  #
4805
4869
  # * `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key
4806
- # used for SASL SCRAM-256 authentication of your Self-Managed Apache
4870
+ # used for SASL SCRAM-256 authentication of your self-managed Apache
4807
4871
  # Kafka brokers.
4808
4872
  #
4809
4873
  # * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
4810
- # used for SASL SCRAM-512 authentication of your Self-Managed Apache
4874
+ # used for SASL SCRAM-512 authentication of your self-managed Apache
4811
4875
  # Kafka brokers.
4876
+ #
4877
+ # * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
4878
+ # RabbitMQ broker. Lambda uses this RabbitMQ host as the event
4879
+ # source.
4812
4880
  # @return [String]
4813
4881
  #
4814
4882
  # @!attribute [rw] uri
@@ -4826,7 +4894,7 @@ module Aws::Lambda
4826
4894
  include Aws::Structure
4827
4895
  end
4828
4896
 
4829
- # AWS Lambda was not able to set up VPC access for the Lambda function
4897
+ # Lambda was not able to set up VPC access for the Lambda function
4830
4898
  # because one or more configured subnets has no available IP addresses.
4831
4899
  #
4832
4900
  # @!attribute [rw] type
@@ -4897,9 +4965,13 @@ module Aws::Lambda
4897
4965
  include Aws::Structure
4898
4966
  end
4899
4967
 
4900
- # The function's AWS X-Ray tracing configuration. To sample and record
4968
+ # The function's [X-Ray][1] tracing configuration. To sample and record
4901
4969
  # incoming requests, set `Mode` to `Active`.
4902
4970
  #
4971
+ #
4972
+ #
4973
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
4974
+ #
4903
4975
  # @note When making an API call, you may pass TracingConfig
4904
4976
  # data as a hash:
4905
4977
  #
@@ -4919,7 +4991,7 @@ module Aws::Lambda
4919
4991
  include Aws::Structure
4920
4992
  end
4921
4993
 
4922
- # The function's AWS X-Ray tracing configuration.
4994
+ # The function's X-Ray tracing configuration.
4923
4995
  #
4924
4996
  # @!attribute [rw] mode
4925
4997
  # The tracing mode.
@@ -5123,7 +5195,7 @@ module Aws::Lambda
5123
5195
  # parallelization_factor: 1,
5124
5196
  # source_access_configurations: [
5125
5197
  # {
5126
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5198
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
5127
5199
  # uri: "URI",
5128
5200
  # },
5129
5201
  # ],
@@ -5181,44 +5253,44 @@ module Aws::Lambda
5181
5253
  # @return [Integer]
5182
5254
  #
5183
5255
  # @!attribute [rw] destination_config
5184
- # (Streams) An Amazon SQS queue or Amazon SNS topic destination for
5185
- # discarded records.
5256
+ # (Streams only) An Amazon SQS queue or Amazon SNS topic destination
5257
+ # for discarded records.
5186
5258
  # @return [Types::DestinationConfig]
5187
5259
  #
5188
5260
  # @!attribute [rw] maximum_record_age_in_seconds
5189
- # (Streams) Discard records older than the specified age. The default
5190
- # value is infinite (-1).
5261
+ # (Streams only) Discard records older than the specified age. The
5262
+ # default value is infinite (-1).
5191
5263
  # @return [Integer]
5192
5264
  #
5193
5265
  # @!attribute [rw] bisect_batch_on_function_error
5194
- # (Streams) If the function returns an error, split the batch in two
5195
- # and retry.
5266
+ # (Streams only) If the function returns an error, split the batch in
5267
+ # two and retry.
5196
5268
  # @return [Boolean]
5197
5269
  #
5198
5270
  # @!attribute [rw] maximum_retry_attempts
5199
- # (Streams) Discard records after the specified number of retries. The
5200
- # default value is infinite (-1). When set to infinite (-1), failed
5201
- # records will be retried until the record expires.
5271
+ # (Streams only) Discard records after the specified number of
5272
+ # retries. The default value is infinite (-1). When set to infinite
5273
+ # (-1), failed records will be retried until the record expires.
5202
5274
  # @return [Integer]
5203
5275
  #
5204
5276
  # @!attribute [rw] parallelization_factor
5205
- # (Streams) The number of batches to process from each shard
5277
+ # (Streams only) The number of batches to process from each shard
5206
5278
  # concurrently.
5207
5279
  # @return [Integer]
5208
5280
  #
5209
5281
  # @!attribute [rw] source_access_configurations
5210
- # An array of the authentication protocol, or the VPC components to
5282
+ # An array of authentication protocols or VPC components required to
5211
5283
  # secure your event source.
5212
5284
  # @return [Array<Types::SourceAccessConfiguration>]
5213
5285
  #
5214
5286
  # @!attribute [rw] tumbling_window_in_seconds
5215
- # (Streams) The duration in seconds of a processing window. The range
5216
- # is between 1 second up to 900 seconds.
5287
+ # (Streams only) The duration in seconds of a processing window. The
5288
+ # range is between 1 second up to 900 seconds.
5217
5289
  # @return [Integer]
5218
5290
  #
5219
5291
  # @!attribute [rw] function_response_types
5220
- # (Streams) A list of current response type enums applied to the event
5221
- # source mapping.
5292
+ # (Streams only) A list of current response type enums applied to the
5293
+ # event source mapping.
5222
5294
  # @return [Array<String>]
5223
5295
  #
5224
5296
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
@@ -5273,13 +5345,15 @@ module Aws::Lambda
5273
5345
  # @return [String]
5274
5346
  #
5275
5347
  # @!attribute [rw] zip_file
5276
- # The base64-encoded contents of the deployment package. AWS SDK and
5277
- # AWS CLI clients handle the encoding for you.
5348
+ # The base64-encoded contents of the deployment package. Amazon Web
5349
+ # Services SDK and Amazon Web Services CLI clients handle the encoding
5350
+ # for you.
5278
5351
  # @return [String]
5279
5352
  #
5280
5353
  # @!attribute [rw] s3_bucket
5281
- # An Amazon S3 bucket in the same AWS Region as your function. The
5282
- # bucket can be in a different AWS account.
5354
+ # An Amazon S3 bucket in the same Amazon Web Services Region as your
5355
+ # function. The bucket can be in a different Amazon Web Services
5356
+ # account.
5283
5357
  # @return [String]
5284
5358
  #
5285
5359
  # @!attribute [rw] s3_key
@@ -5408,20 +5482,30 @@ module Aws::Lambda
5408
5482
  # @!attribute [rw] timeout
5409
5483
  # The amount of time that Lambda allows a function to run before
5410
5484
  # stopping it. The default is 3 seconds. The maximum allowed value is
5411
- # 900 seconds.
5485
+ # 900 seconds. For additional information, see [Lambda execution
5486
+ # environment][1].
5487
+ #
5488
+ #
5489
+ #
5490
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html
5412
5491
  # @return [Integer]
5413
5492
  #
5414
5493
  # @!attribute [rw] memory_size
5415
- # The amount of memory available to the function at runtime.
5416
- # Increasing the function's memory also increases its CPU allocation.
5494
+ # The amount of [memory available to the function][1] at runtime.
5495
+ # Increasing the function memory also increases its CPU allocation.
5417
5496
  # The default value is 128 MB. The value can be any multiple of 1 MB.
5497
+ #
5498
+ #
5499
+ #
5500
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
5418
5501
  # @return [Integer]
5419
5502
  #
5420
5503
  # @!attribute [rw] vpc_config
5421
- # For network connectivity to AWS resources in a VPC, specify a list
5422
- # of security groups and subnets in the VPC. When you connect a
5423
- # function to a VPC, it can only access resources and the internet
5424
- # through that VPC. For more information, see [VPC Settings][1].
5504
+ # For network connectivity to Amazon Web Services resources in a VPC,
5505
+ # specify a list of security groups and subnets in the VPC. When you
5506
+ # connect a function to a VPC, it can only access resources and the
5507
+ # internet through that VPC. For more information, see [VPC
5508
+ # Settings][1].
5425
5509
  #
5426
5510
  #
5427
5511
  #
@@ -5452,14 +5536,18 @@ module Aws::Lambda
5452
5536
  # @return [Types::DeadLetterConfig]
5453
5537
  #
5454
5538
  # @!attribute [rw] kms_key_arn
5455
- # The ARN of the AWS Key Management Service (AWS KMS) key that's used
5456
- # to encrypt your function's environment variables. If it's not
5457
- # provided, AWS Lambda uses a default service key.
5539
+ # The ARN of the Amazon Web Services Key Management Service (KMS) key
5540
+ # that's used to encrypt your function's environment variables. If
5541
+ # it's not provided, Lambda uses a default service key.
5458
5542
  # @return [String]
5459
5543
  #
5460
5544
  # @!attribute [rw] tracing_config
5461
5545
  # Set `Mode` to `Active` to sample and trace a subset of incoming
5462
- # requests with AWS X-Ray.
5546
+ # requests with [X-Ray][1].
5547
+ #
5548
+ #
5549
+ #
5550
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
5463
5551
  # @return [Types::TracingConfig]
5464
5552
  #
5465
5553
  # @!attribute [rw] revision_id