aws-sdk-lambda 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +167 -157
- data/lib/aws-sdk-lambda/types.rb +165 -151
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c566dd7fcd8b460e48d510344d7666d9847501f
|
4
|
+
data.tar.gz: f59963d4ad42c9f1fcd7ba8b12c63c6c16c2cbd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99650765f786966779b9c489365366250da4de2d54245cee7812f79d339ed97b65c222f3cd175e1ac8bca18c7c313497d58bb1dba503693952fe5bf56ff8b801
|
7
|
+
data.tar.gz: 9ca32b7dc6b76e7cf57eaaeac7935f2939b929d59b9674b1f8149ccc7950ac5e204225d9a25fea7ecc9677a92b52727db556462c24f3354ac059fae0f4c1bb7d
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -215,7 +215,7 @@ module Aws::Lambda
|
|
215
215
|
#
|
216
216
|
#
|
217
217
|
#
|
218
|
-
# [1]:
|
218
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
219
219
|
#
|
220
220
|
# @option params [required, String] :layer_name
|
221
221
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -295,7 +295,7 @@ module Aws::Lambda
|
|
295
295
|
#
|
296
296
|
#
|
297
297
|
#
|
298
|
-
# [1]:
|
298
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
299
299
|
#
|
300
300
|
# @option params [required, String] :function_name
|
301
301
|
# The name of the Lambda function, version, or alias.
|
@@ -333,11 +333,11 @@ module Aws::Lambda
|
|
333
333
|
#
|
334
334
|
# @option params [String] :source_account
|
335
335
|
# For AWS services, the ID of the account that owns the resource. Use
|
336
|
-
# instead of `SourceArn` to grant permission to resources
|
337
|
-
# another account (
|
338
|
-
# together with `SourceArn` to ensure that the
|
339
|
-
# specified account. For example, an Amazon S3
|
340
|
-
# by its owner and recreated by another account.
|
336
|
+
# this instead of `SourceArn` to grant permission to resources that are
|
337
|
+
# owned by another account (for example, all of an account's Amazon S3
|
338
|
+
# buckets). Or use it together with `SourceArn` to ensure that the
|
339
|
+
# resource is owned by the specified account. For example, an Amazon S3
|
340
|
+
# bucket could be deleted by its owner and recreated by another account.
|
341
341
|
#
|
342
342
|
# @option params [String] :event_source_token
|
343
343
|
# For Alexa Smart Home functions, a token that must be supplied by the
|
@@ -348,9 +348,9 @@ module Aws::Lambda
|
|
348
348
|
# of the function.
|
349
349
|
#
|
350
350
|
# @option params [String] :revision_id
|
351
|
-
# Only update the policy if the revision ID matches the ID
|
352
|
-
# Use this option to avoid modifying a policy that has
|
353
|
-
# last read it.
|
351
|
+
# Only update the policy if the revision ID matches the ID that's
|
352
|
+
# specified. Use this option to avoid modifying a policy that has
|
353
|
+
# changed since you last read it.
|
354
354
|
#
|
355
355
|
# @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
356
356
|
#
|
@@ -412,10 +412,10 @@ module Aws::Lambda
|
|
412
412
|
#
|
413
413
|
#
|
414
414
|
#
|
415
|
-
# [1]:
|
415
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
416
416
|
#
|
417
417
|
# @option params [required, String] :function_name
|
418
|
-
# The name of the
|
418
|
+
# The name of the Lambda function.
|
419
419
|
#
|
420
420
|
# **Name formats**
|
421
421
|
#
|
@@ -443,7 +443,7 @@ module Aws::Lambda
|
|
443
443
|
#
|
444
444
|
#
|
445
445
|
#
|
446
|
-
# [1]:
|
446
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
447
447
|
#
|
448
448
|
# @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
449
449
|
#
|
@@ -500,9 +500,9 @@ module Aws::Lambda
|
|
500
500
|
#
|
501
501
|
#
|
502
502
|
#
|
503
|
-
# [1]:
|
504
|
-
# [2]:
|
505
|
-
# [3]:
|
503
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
|
504
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
|
505
|
+
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
|
506
506
|
#
|
507
507
|
# @option params [required, String] :event_source_arn
|
508
508
|
# The Amazon Resource Name (ARN) of the event source.
|
@@ -598,24 +598,25 @@ module Aws::Lambda
|
|
598
598
|
# Creates a Lambda function. To create a function, you need a
|
599
599
|
# [deployment package][1] and an [execution role][2]. The deployment
|
600
600
|
# package contains your function code. The execution role grants the
|
601
|
-
# function permission to use AWS services such as Amazon CloudWatch
|
602
|
-
# for log streaming and AWS X-Ray for request tracing.
|
601
|
+
# function permission to use AWS services, such as Amazon CloudWatch
|
602
|
+
# Logs for log streaming and AWS X-Ray for request tracing.
|
603
603
|
#
|
604
604
|
# A function has an unpublished version, and can have published versions
|
605
|
-
# and aliases.
|
606
|
-
# and configuration
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
605
|
+
# and aliases. The unpublished version changes when you update your
|
606
|
+
# function's code and configuration. A published version is a snapshot
|
607
|
+
# of your function code and configuration that can't be changed. An
|
608
|
+
# alias is a named resource that maps to a version, and can be changed
|
609
|
+
# to map to a different version. Use the `Publish` parameter to create
|
610
|
+
# version `1` of your function from its initial configuration.
|
610
611
|
#
|
611
612
|
# The other parameters let you configure version-specific and
|
612
613
|
# function-level settings. You can modify version-specific settings
|
613
614
|
# later with UpdateFunctionConfiguration. Function-level settings apply
|
614
|
-
# to both the unpublished and published versions of the function and
|
615
|
+
# to both the unpublished and published versions of the function, and
|
615
616
|
# include tags (TagResource) and per-function concurrency limits
|
616
617
|
# (PutFunctionConcurrency).
|
617
618
|
#
|
618
|
-
# If another account or
|
619
|
+
# If another account or an AWS service invokes your function, use
|
619
620
|
# AddPermission to grant permission by creating a resource-based IAM
|
620
621
|
# policy. You can grant permissions at the function level, on a version,
|
621
622
|
# or on an alias.
|
@@ -627,9 +628,9 @@ module Aws::Lambda
|
|
627
628
|
#
|
628
629
|
#
|
629
630
|
#
|
630
|
-
# [1]:
|
631
|
-
# [2]:
|
632
|
-
# [3]:
|
631
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html
|
632
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role
|
633
|
+
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-functions.html
|
633
634
|
#
|
634
635
|
# @option params [required, String] :function_name
|
635
636
|
# The name of the Lambda function.
|
@@ -651,20 +652,20 @@ module Aws::Lambda
|
|
651
652
|
#
|
652
653
|
#
|
653
654
|
#
|
654
|
-
# [1]:
|
655
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
655
656
|
#
|
656
657
|
# @option params [required, String] :role
|
657
658
|
# The Amazon Resource Name (ARN) of the function's execution role.
|
658
659
|
#
|
659
660
|
# @option params [required, String] :handler
|
660
661
|
# The name of the method within your code that Lambda calls to execute
|
661
|
-
# your function. The format includes the
|
662
|
+
# your function. The format includes the file name. It can also include
|
662
663
|
# namespaces and other qualifiers, depending on the runtime. For more
|
663
664
|
# information, see [Programming Model][1].
|
664
665
|
#
|
665
666
|
#
|
666
667
|
#
|
667
|
-
# [1]:
|
668
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
|
668
669
|
#
|
669
670
|
# @option params [required, Types::FunctionCode] :code
|
670
671
|
# The code for the function.
|
@@ -674,12 +675,12 @@ module Aws::Lambda
|
|
674
675
|
#
|
675
676
|
# @option params [Integer] :timeout
|
676
677
|
# The amount of time that Lambda allows a function to run before
|
677
|
-
#
|
678
|
+
# stopping it. The default is 3 seconds. The maximum allowed value is
|
678
679
|
# 900 seconds.
|
679
680
|
#
|
680
681
|
# @option params [Integer] :memory_size
|
681
682
|
# The amount of memory that your function has access to. Increasing the
|
682
|
-
# function's memory also increases
|
683
|
+
# function's memory also increases its CPU allocation. The default
|
683
684
|
# value is 128 MB. The value must be a multiple of 64 MB.
|
684
685
|
#
|
685
686
|
# @option params [Boolean] :publish
|
@@ -694,7 +695,7 @@ module Aws::Lambda
|
|
694
695
|
#
|
695
696
|
#
|
696
697
|
#
|
697
|
-
# [1]:
|
698
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/vpc.html
|
698
699
|
#
|
699
700
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
700
701
|
# A dead letter queue configuration that specifies the queue or topic
|
@@ -703,16 +704,16 @@ module Aws::Lambda
|
|
703
704
|
#
|
704
705
|
#
|
705
706
|
#
|
706
|
-
# [1]:
|
707
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
707
708
|
#
|
708
709
|
# @option params [Types::Environment] :environment
|
709
710
|
# Environment variables that are accessible from function code during
|
710
711
|
# execution.
|
711
712
|
#
|
712
713
|
# @option params [String] :kms_key_arn
|
713
|
-
# The ARN of the AWS Key Management Service
|
714
|
-
# function's environment variables. If not
|
715
|
-
# default service key.
|
714
|
+
# The ARN of the AWS Key Management Service (AWS KMS) key that's used
|
715
|
+
# to encrypt your function's environment variables. If it's not
|
716
|
+
# provided, AWS Lambda uses a default service key.
|
716
717
|
#
|
717
718
|
# @option params [Types::TracingConfig] :tracing_config
|
718
719
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
@@ -723,15 +724,15 @@ module Aws::Lambda
|
|
723
724
|
#
|
724
725
|
#
|
725
726
|
#
|
726
|
-
# [1]:
|
727
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
727
728
|
#
|
728
729
|
# @option params [Array<String>] :layers
|
729
730
|
# A list of [function layers][1] to add to the function's execution
|
730
|
-
# environment. Specify each layer by ARN, including the version.
|
731
|
+
# environment. Specify each layer by its ARN, including the version.
|
731
732
|
#
|
732
733
|
#
|
733
734
|
#
|
734
|
-
# [1]:
|
735
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
735
736
|
#
|
736
737
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
737
738
|
#
|
@@ -878,10 +879,10 @@ module Aws::Lambda
|
|
878
879
|
#
|
879
880
|
#
|
880
881
|
#
|
881
|
-
# [1]:
|
882
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
882
883
|
#
|
883
884
|
# @option params [required, String] :function_name
|
884
|
-
# The name of the
|
885
|
+
# The name of the Lambda function.
|
885
886
|
#
|
886
887
|
# **Name formats**
|
887
888
|
#
|
@@ -931,7 +932,7 @@ module Aws::Lambda
|
|
931
932
|
#
|
932
933
|
#
|
933
934
|
#
|
934
|
-
# [1]:
|
935
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html
|
935
936
|
#
|
936
937
|
# @option params [required, String] :uuid
|
937
938
|
# The identifier of the event source mapping.
|
@@ -1021,7 +1022,7 @@ module Aws::Lambda
|
|
1021
1022
|
# the function name, it is limited to 64 characters in length.
|
1022
1023
|
#
|
1023
1024
|
# @option params [String] :qualifier
|
1024
|
-
# Specify a version to delete. You
|
1025
|
+
# Specify a version to delete. You can't delete a version that's
|
1025
1026
|
# referenced by an alias.
|
1026
1027
|
#
|
1027
1028
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -1092,7 +1093,7 @@ module Aws::Lambda
|
|
1092
1093
|
#
|
1093
1094
|
#
|
1094
1095
|
#
|
1095
|
-
# [1]:
|
1096
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1096
1097
|
#
|
1097
1098
|
# @option params [required, String] :layer_name
|
1098
1099
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -1118,12 +1119,12 @@ module Aws::Lambda
|
|
1118
1119
|
req.send_request(options)
|
1119
1120
|
end
|
1120
1121
|
|
1121
|
-
# Retrieves details about your account's [limits][1] and usage in
|
1122
|
-
#
|
1122
|
+
# Retrieves details about your account's [limits][1] and usage in an
|
1123
|
+
# AWS Region.
|
1123
1124
|
#
|
1124
1125
|
#
|
1125
1126
|
#
|
1126
|
-
# [1]:
|
1127
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
1127
1128
|
#
|
1128
1129
|
# @return [Types::GetAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1129
1130
|
#
|
@@ -1169,10 +1170,10 @@ module Aws::Lambda
|
|
1169
1170
|
#
|
1170
1171
|
#
|
1171
1172
|
#
|
1172
|
-
# [1]:
|
1173
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1173
1174
|
#
|
1174
1175
|
# @option params [required, String] :function_name
|
1175
|
-
# The name of the
|
1176
|
+
# The name of the Lambda function.
|
1176
1177
|
#
|
1177
1178
|
# **Name formats**
|
1178
1179
|
#
|
@@ -1306,10 +1307,10 @@ module Aws::Lambda
|
|
1306
1307
|
req.send_request(options)
|
1307
1308
|
end
|
1308
1309
|
|
1309
|
-
# Returns information about function or function version, with a
|
1310
|
-
# download the deployment package that's valid for 10 minutes.
|
1311
|
-
# specify a function version, only details specific to
|
1312
|
-
# returned.
|
1310
|
+
# Returns information about the function or function version, with a
|
1311
|
+
# link to download the deployment package that's valid for 10 minutes.
|
1312
|
+
# If you specify a function version, only details that are specific to
|
1313
|
+
# that version are returned.
|
1313
1314
|
#
|
1314
1315
|
# @option params [required, String] :function_name
|
1315
1316
|
# The name of the Lambda function, version, or alias.
|
@@ -1435,10 +1436,9 @@ module Aws::Lambda
|
|
1435
1436
|
req.send_request(options)
|
1436
1437
|
end
|
1437
1438
|
|
1438
|
-
# Returns
|
1439
|
-
#
|
1440
|
-
#
|
1441
|
-
# UpdateFunctionConfiguration.
|
1439
|
+
# Returns the version-specific settings of a Lambda function or version.
|
1440
|
+
# The output includes only options that can vary between versions of a
|
1441
|
+
# function. To modify these settings, use UpdateFunctionConfiguration.
|
1442
1442
|
#
|
1443
1443
|
# To get all of a function's details, including function-level
|
1444
1444
|
# settings, use GetFunction.
|
@@ -1573,7 +1573,7 @@ module Aws::Lambda
|
|
1573
1573
|
#
|
1574
1574
|
#
|
1575
1575
|
#
|
1576
|
-
# [1]:
|
1576
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1577
1577
|
#
|
1578
1578
|
# @option params [required, String] :layer_name
|
1579
1579
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -1627,7 +1627,7 @@ module Aws::Lambda
|
|
1627
1627
|
#
|
1628
1628
|
#
|
1629
1629
|
#
|
1630
|
-
# [1]:
|
1630
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1631
1631
|
#
|
1632
1632
|
# @option params [required, String] :layer_name
|
1633
1633
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -1666,7 +1666,7 @@ module Aws::Lambda
|
|
1666
1666
|
#
|
1667
1667
|
#
|
1668
1668
|
#
|
1669
|
-
# [1]:
|
1669
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
1670
1670
|
#
|
1671
1671
|
# @option params [required, String] :function_name
|
1672
1672
|
# The name of the Lambda function, version, or alias.
|
@@ -1729,8 +1729,8 @@ module Aws::Lambda
|
|
1729
1729
|
req.send_request(options)
|
1730
1730
|
end
|
1731
1731
|
|
1732
|
-
# Invokes a Lambda function. You can invoke a function synchronously
|
1733
|
-
# wait for the response, or asynchronously. To invoke a function
|
1732
|
+
# Invokes a Lambda function. You can invoke a function synchronously
|
1733
|
+
# (and wait for the response), or asynchronously. To invoke a function
|
1734
1734
|
# asynchronously, set `InvocationType` to `Event`.
|
1735
1735
|
#
|
1736
1736
|
# For synchronous invocation, details about the function response,
|
@@ -1740,7 +1740,7 @@ module Aws::Lambda
|
|
1740
1740
|
# asynchronous invocations, configure your function with a [dead letter
|
1741
1741
|
# queue][2].
|
1742
1742
|
#
|
1743
|
-
# The status code in the API response
|
1743
|
+
# The status code in the API response doesn't reflect function errors.
|
1744
1744
|
# Error codes are reserved for errors that prevent your function from
|
1745
1745
|
# executing, such as permissions errors, [limit errors][3], or issues
|
1746
1746
|
# with your function's code and configuration. For example, Lambda
|
@@ -1749,7 +1749,7 @@ module Aws::Lambda
|
|
1749
1749
|
# (`ConcurrentInvocationLimitExceeded`) or function level
|
1750
1750
|
# (`ReservedFunctionConcurrentInvocationLimitExceeded`).
|
1751
1751
|
#
|
1752
|
-
# For functions with a long timeout, your client
|
1752
|
+
# For functions with a long timeout, your client might be disconnected
|
1753
1753
|
# during synchronous invocation while it waits for a response. Configure
|
1754
1754
|
# your HTTP client, SDK, firewall, proxy, or operating system to allow
|
1755
1755
|
# for long connections with timeout or keep-alive settings.
|
@@ -1759,9 +1759,9 @@ module Aws::Lambda
|
|
1759
1759
|
#
|
1760
1760
|
#
|
1761
1761
|
#
|
1762
|
-
# [1]:
|
1763
|
-
# [2]:
|
1764
|
-
# [3]:
|
1762
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html
|
1763
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
1764
|
+
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
1765
1765
|
#
|
1766
1766
|
# @option params [required, String] :function_name
|
1767
1767
|
# The name of the Lambda function, version, or alias.
|
@@ -1789,8 +1789,8 @@ module Aws::Lambda
|
|
1789
1789
|
# additional data.
|
1790
1790
|
#
|
1791
1791
|
# * `Event` - Invoke the function asynchronously. Send events that fail
|
1792
|
-
# multiple times to the function's dead-letter queue (if
|
1793
|
-
# The API response only includes a status code.
|
1792
|
+
# multiple times to the function's dead-letter queue (if it's
|
1793
|
+
# configured). The API response only includes a status code.
|
1794
1794
|
#
|
1795
1795
|
# * `DryRun` - Validate parameter values and verify that the user or
|
1796
1796
|
# role has permission to invoke the function.
|
@@ -1803,7 +1803,7 @@ module Aws::Lambda
|
|
1803
1803
|
# pass to the function in the context object.
|
1804
1804
|
#
|
1805
1805
|
# @option params [String, IO] :payload
|
1806
|
-
# JSON that you want to provide to your Lambda function as input.
|
1806
|
+
# The JSON that you want to provide to your Lambda function as input.
|
1807
1807
|
#
|
1808
1808
|
# @option params [String] :qualifier
|
1809
1809
|
# Specify a version or alias to invoke a published version of the
|
@@ -1887,7 +1887,7 @@ module Aws::Lambda
|
|
1887
1887
|
# only the function name, it is limited to 64 characters in length.
|
1888
1888
|
#
|
1889
1889
|
# @option params [required, String, IO] :invoke_args
|
1890
|
-
# JSON that you want to provide to your Lambda function as input.
|
1890
|
+
# The JSON that you want to provide to your Lambda function as input.
|
1891
1891
|
#
|
1892
1892
|
# @return [Types::InvokeAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1893
1893
|
#
|
@@ -1932,10 +1932,10 @@ module Aws::Lambda
|
|
1932
1932
|
#
|
1933
1933
|
#
|
1934
1934
|
#
|
1935
|
-
# [1]:
|
1935
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1936
1936
|
#
|
1937
1937
|
# @option params [required, String] :function_name
|
1938
|
-
# The name of the
|
1938
|
+
# The name of the Lambda function.
|
1939
1939
|
#
|
1940
1940
|
# **Name formats**
|
1941
1941
|
#
|
@@ -1954,7 +1954,7 @@ module Aws::Lambda
|
|
1954
1954
|
# version.
|
1955
1955
|
#
|
1956
1956
|
# @option params [String] :marker
|
1957
|
-
# Specify the pagination token returned by a previous request to
|
1957
|
+
# Specify the pagination token that's returned by a previous request to
|
1958
1958
|
# retrieve the next page of results.
|
1959
1959
|
#
|
1960
1960
|
# @option params [Integer] :max_items
|
@@ -2095,7 +2095,7 @@ module Aws::Lambda
|
|
2095
2095
|
# information about a function or version, use GetFunction.
|
2096
2096
|
#
|
2097
2097
|
# @option params [String] :master_region
|
2098
|
-
# For Lambda@Edge functions, the
|
2098
|
+
# For Lambda@Edge functions, the AWS Region of the master function. For
|
2099
2099
|
# example, `us-east-2` or `ALL`. If specified, you must set
|
2100
2100
|
# `FunctionVersion` to `ALL`.
|
2101
2101
|
#
|
@@ -2104,7 +2104,7 @@ module Aws::Lambda
|
|
2104
2104
|
# function.
|
2105
2105
|
#
|
2106
2106
|
# @option params [String] :marker
|
2107
|
-
# Specify the pagination token returned by a previous request to
|
2107
|
+
# Specify the pagination token that's returned by a previous request to
|
2108
2108
|
# retrieve the next page of results.
|
2109
2109
|
#
|
2110
2110
|
# @option params [Integer] :max_items
|
@@ -2192,8 +2192,8 @@ module Aws::Lambda
|
|
2192
2192
|
#
|
2193
2193
|
#
|
2194
2194
|
#
|
2195
|
-
# [1]:
|
2196
|
-
# [2]:
|
2195
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
2196
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2197
2197
|
#
|
2198
2198
|
# @option params [String] :compatible_runtime
|
2199
2199
|
# A runtime identifier. For example, `go1.x`.
|
@@ -2248,8 +2248,8 @@ module Aws::Lambda
|
|
2248
2248
|
#
|
2249
2249
|
#
|
2250
2250
|
#
|
2251
|
-
# [1]:
|
2252
|
-
# [2]:
|
2251
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
2252
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2253
2253
|
#
|
2254
2254
|
# @option params [String] :compatible_runtime
|
2255
2255
|
# A runtime identifier. For example, `go1.x`.
|
@@ -2301,7 +2301,7 @@ module Aws::Lambda
|
|
2301
2301
|
#
|
2302
2302
|
#
|
2303
2303
|
#
|
2304
|
-
# [1]:
|
2304
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2305
2305
|
#
|
2306
2306
|
# @option params [required, String] :resource
|
2307
2307
|
# The function's Amazon Resource Name (ARN).
|
@@ -2335,10 +2335,10 @@ module Aws::Lambda
|
|
2335
2335
|
#
|
2336
2336
|
#
|
2337
2337
|
#
|
2338
|
-
# [1]:
|
2338
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2339
2339
|
#
|
2340
2340
|
# @option params [required, String] :function_name
|
2341
|
-
# The name of the
|
2341
|
+
# The name of the Lambda function.
|
2342
2342
|
#
|
2343
2343
|
# **Name formats**
|
2344
2344
|
#
|
@@ -2353,11 +2353,11 @@ module Aws::Lambda
|
|
2353
2353
|
# only the function name, it is limited to 64 characters in length.
|
2354
2354
|
#
|
2355
2355
|
# @option params [String] :marker
|
2356
|
-
# Specify the pagination token returned by a previous request to
|
2356
|
+
# Specify the pagination token that's returned by a previous request to
|
2357
2357
|
# retrieve the next page of results.
|
2358
2358
|
#
|
2359
2359
|
# @option params [Integer] :max_items
|
2360
|
-
# Limit the number of versions returned.
|
2360
|
+
# Limit the number of versions that are returned.
|
2361
2361
|
#
|
2362
2362
|
# @return [Types::ListVersionsByFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2363
2363
|
#
|
@@ -2442,7 +2442,7 @@ module Aws::Lambda
|
|
2442
2442
|
#
|
2443
2443
|
#
|
2444
2444
|
#
|
2445
|
-
# [1]:
|
2445
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
2446
2446
|
#
|
2447
2447
|
# @option params [required, String] :layer_name
|
2448
2448
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -2459,7 +2459,7 @@ module Aws::Lambda
|
|
2459
2459
|
#
|
2460
2460
|
#
|
2461
2461
|
#
|
2462
|
-
# [1]:
|
2462
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2463
2463
|
#
|
2464
2464
|
# @option params [String] :license_info
|
2465
2465
|
# The layer's software license. It can be any of the following:
|
@@ -2528,20 +2528,20 @@ module Aws::Lambda
|
|
2528
2528
|
# function. Use versions to create a snapshot of your function code and
|
2529
2529
|
# configuration that doesn't change.
|
2530
2530
|
#
|
2531
|
-
# AWS Lambda
|
2532
|
-
# and code
|
2531
|
+
# AWS Lambda doesn't publish a version if the function's configuration
|
2532
|
+
# and code haven't changed since the last version. Use
|
2533
2533
|
# UpdateFunctionCode or UpdateFunctionConfiguration to update the
|
2534
|
-
# function
|
2534
|
+
# function before publishing a version.
|
2535
2535
|
#
|
2536
2536
|
# Clients can invoke versions directly or with an alias. To create an
|
2537
2537
|
# alias, use CreateAlias.
|
2538
2538
|
#
|
2539
2539
|
#
|
2540
2540
|
#
|
2541
|
-
# [1]:
|
2541
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2542
2542
|
#
|
2543
2543
|
# @option params [required, String] :function_name
|
2544
|
-
# The name of the
|
2544
|
+
# The name of the Lambda function.
|
2545
2545
|
#
|
2546
2546
|
# **Name formats**
|
2547
2547
|
#
|
@@ -2556,19 +2556,20 @@ module Aws::Lambda
|
|
2556
2556
|
# only the function name, it is limited to 64 characters in length.
|
2557
2557
|
#
|
2558
2558
|
# @option params [String] :code_sha_256
|
2559
|
-
# Only publish a version if the hash matches the value
|
2560
|
-
# this option to avoid publishing a version if the
|
2561
|
-
# changed since you last updated it. You can get the
|
2562
|
-
# version you uploaded from the output of
|
2559
|
+
# Only publish a version if the hash value matches the value that's
|
2560
|
+
# specified. Use this option to avoid publishing a version if the
|
2561
|
+
# function code has changed since you last updated it. You can get the
|
2562
|
+
# hash for the version that you uploaded from the output of
|
2563
|
+
# UpdateFunctionCode.
|
2563
2564
|
#
|
2564
2565
|
# @option params [String] :description
|
2565
|
-
#
|
2566
|
-
#
|
2566
|
+
# A description for the version to override the description in the
|
2567
|
+
# function configuration.
|
2567
2568
|
#
|
2568
2569
|
# @option params [String] :revision_id
|
2569
|
-
# Only update the function if the revision ID matches the ID
|
2570
|
-
# Use this option to avoid publishing a version if the
|
2571
|
-
# configuration has changed since you last updated it.
|
2570
|
+
# Only update the function if the revision ID matches the ID that's
|
2571
|
+
# specified. Use this option to avoid publishing a version if the
|
2572
|
+
# function configuration has changed since you last updated it.
|
2572
2573
|
#
|
2573
2574
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2574
2575
|
#
|
@@ -2677,10 +2678,9 @@ module Aws::Lambda
|
|
2677
2678
|
#
|
2678
2679
|
# Concurrency settings apply to the function as a whole, including all
|
2679
2680
|
# published versions and the unpublished version. Reserving concurrency
|
2680
|
-
# both
|
2681
|
-
#
|
2682
|
-
#
|
2683
|
-
# for a function.
|
2681
|
+
# both ensures that your function has capacity to process the specified
|
2682
|
+
# number of events simultaneously, and prevents it from scaling beyond
|
2683
|
+
# that level. Use GetFunction to see the current setting for a function.
|
2684
2684
|
#
|
2685
2685
|
# Use GetAccountSettings to see your regional concurrency limit. You can
|
2686
2686
|
# reserve concurrency for as many functions as you like, as long as you
|
@@ -2690,7 +2690,7 @@ module Aws::Lambda
|
|
2690
2690
|
#
|
2691
2691
|
#
|
2692
2692
|
#
|
2693
|
-
# [1]:
|
2693
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
2694
2694
|
#
|
2695
2695
|
# @option params [required, String] :function_name
|
2696
2696
|
# The name of the Lambda function.
|
@@ -2740,7 +2740,7 @@ module Aws::Lambda
|
|
2740
2740
|
#
|
2741
2741
|
#
|
2742
2742
|
#
|
2743
|
-
# [1]:
|
2743
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
2744
2744
|
#
|
2745
2745
|
# @option params [required, String] :layer_name
|
2746
2746
|
# The name or Amazon Resource Name (ARN) of the layer.
|
@@ -2776,7 +2776,7 @@ module Aws::Lambda
|
|
2776
2776
|
req.send_request(options)
|
2777
2777
|
end
|
2778
2778
|
|
2779
|
-
# Revokes function
|
2779
|
+
# Revokes function-use permission from an AWS service or another
|
2780
2780
|
# account. You can get the ID of the statement from the output of
|
2781
2781
|
# GetPolicy.
|
2782
2782
|
#
|
@@ -2805,9 +2805,9 @@ module Aws::Lambda
|
|
2805
2805
|
# version of the function.
|
2806
2806
|
#
|
2807
2807
|
# @option params [String] :revision_id
|
2808
|
-
# Only update the policy if the revision ID matches the ID
|
2809
|
-
# Use this option to avoid modifying a policy that has
|
2810
|
-
# last read it.
|
2808
|
+
# Only update the policy if the revision ID matches the ID that's
|
2809
|
+
# specified. Use this option to avoid modifying a policy that has
|
2810
|
+
# changed since you last read it.
|
2811
2811
|
#
|
2812
2812
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2813
2813
|
#
|
@@ -2844,7 +2844,7 @@ module Aws::Lambda
|
|
2844
2844
|
#
|
2845
2845
|
#
|
2846
2846
|
#
|
2847
|
-
# [1]:
|
2847
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2848
2848
|
#
|
2849
2849
|
# @option params [required, String] :resource
|
2850
2850
|
# The function's Amazon Resource Name (ARN).
|
@@ -2876,7 +2876,7 @@ module Aws::Lambda
|
|
2876
2876
|
#
|
2877
2877
|
#
|
2878
2878
|
#
|
2879
|
-
# [1]:
|
2879
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2880
2880
|
#
|
2881
2881
|
# @option params [required, String] :resource
|
2882
2882
|
# The function's Amazon Resource Name (ARN).
|
@@ -2906,10 +2906,10 @@ module Aws::Lambda
|
|
2906
2906
|
#
|
2907
2907
|
#
|
2908
2908
|
#
|
2909
|
-
# [1]:
|
2909
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2910
2910
|
#
|
2911
2911
|
# @option params [required, String] :function_name
|
2912
|
-
# The name of the
|
2912
|
+
# The name of the Lambda function.
|
2913
2913
|
#
|
2914
2914
|
# **Name formats**
|
2915
2915
|
#
|
@@ -2937,12 +2937,12 @@ module Aws::Lambda
|
|
2937
2937
|
#
|
2938
2938
|
#
|
2939
2939
|
#
|
2940
|
-
# [1]:
|
2940
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
2941
2941
|
#
|
2942
2942
|
# @option params [String] :revision_id
|
2943
|
-
# Only update the alias if the revision ID matches the ID
|
2944
|
-
# this option to avoid modifying an alias that has
|
2945
|
-
# last read it.
|
2943
|
+
# Only update the alias if the revision ID matches the ID that's
|
2944
|
+
# specified. Use this option to avoid modifying an alias that has
|
2945
|
+
# changed since you last read it.
|
2946
2946
|
#
|
2947
2947
|
# @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2948
2948
|
#
|
@@ -3110,7 +3110,7 @@ module Aws::Lambda
|
|
3110
3110
|
|
3111
3111
|
# Updates a Lambda function's code.
|
3112
3112
|
#
|
3113
|
-
# The function's code is locked when you publish a version. You
|
3113
|
+
# The function's code is locked when you publish a version. You can't
|
3114
3114
|
# modify the code of a published version, only the unpublished version.
|
3115
3115
|
#
|
3116
3116
|
# @option params [required, String] :function_name
|
@@ -3133,8 +3133,8 @@ module Aws::Lambda
|
|
3133
3133
|
# CLI clients handle the encoding for you.
|
3134
3134
|
#
|
3135
3135
|
# @option params [String] :s3_bucket
|
3136
|
-
# An Amazon S3 bucket in the same
|
3137
|
-
# can be in a different AWS account.
|
3136
|
+
# An Amazon S3 bucket in the same AWS Region as your function. The
|
3137
|
+
# bucket can be in a different AWS account.
|
3138
3138
|
#
|
3139
3139
|
# @option params [String] :s3_key
|
3140
3140
|
# The Amazon S3 key of the deployment package.
|
@@ -3153,9 +3153,9 @@ module Aws::Lambda
|
|
3153
3153
|
# without modifying the function code.
|
3154
3154
|
#
|
3155
3155
|
# @option params [String] :revision_id
|
3156
|
-
# Only update the function if the revision ID matches the ID
|
3157
|
-
# Use this option to avoid modifying a function that has
|
3158
|
-
# you last read it.
|
3156
|
+
# Only update the function if the revision ID matches the ID that's
|
3157
|
+
# specified. Use this option to avoid modifying a function that has
|
3158
|
+
# changed since you last read it.
|
3159
3159
|
#
|
3160
3160
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3161
3161
|
#
|
@@ -3269,7 +3269,7 @@ module Aws::Lambda
|
|
3269
3269
|
# Modify the version-specifc settings of a Lambda function.
|
3270
3270
|
#
|
3271
3271
|
# These settings can vary between versions of a function and are locked
|
3272
|
-
# when you publish a version. You
|
3272
|
+
# when you publish a version. You can't modify the configuration of a
|
3273
3273
|
# published version, only the unpublished version.
|
3274
3274
|
#
|
3275
3275
|
# To configure function concurrency, use PutFunctionConcurrency. To
|
@@ -3292,40 +3292,51 @@ module Aws::Lambda
|
|
3292
3292
|
# only the function name, it is limited to 64 characters in length.
|
3293
3293
|
#
|
3294
3294
|
# @option params [String] :role
|
3295
|
-
# The Amazon Resource Name (ARN) of the
|
3296
|
-
# when it executes your function.
|
3295
|
+
# The Amazon Resource Name (ARN) of the function's execution role.
|
3297
3296
|
#
|
3298
3297
|
# @option params [String] :handler
|
3299
|
-
# The
|
3300
|
-
#
|
3298
|
+
# The name of the method within your code that Lambda calls to execute
|
3299
|
+
# your function. The format includes the file name. It can also include
|
3300
|
+
# namespaces and other qualifiers, depending on the runtime. For more
|
3301
|
+
# information, see [Programming Model][1].
|
3302
|
+
#
|
3303
|
+
#
|
3304
|
+
#
|
3305
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
|
3301
3306
|
#
|
3302
3307
|
# @option params [String] :description
|
3303
|
-
# A
|
3304
|
-
# this value. Assign a meaningful description as you see fit.
|
3308
|
+
# A description of the function.
|
3305
3309
|
#
|
3306
3310
|
# @option params [Integer] :timeout
|
3307
3311
|
# The amount of time that Lambda allows a function to run before
|
3308
|
-
#
|
3312
|
+
# stopping it. The default is 3 seconds. The maximum allowed value is
|
3309
3313
|
# 900 seconds.
|
3310
3314
|
#
|
3311
3315
|
# @option params [Integer] :memory_size
|
3312
|
-
# The amount of memory
|
3313
|
-
#
|
3314
|
-
#
|
3315
|
-
# requirements. For example, a database operation might need less memory
|
3316
|
-
# compared to an image processing function. The default value is 128 MB.
|
3317
|
-
# The value must be a multiple of 64 MB.
|
3316
|
+
# The amount of memory that your function has access to. Increasing the
|
3317
|
+
# function's memory also increases its CPU allocation. The default
|
3318
|
+
# value is 128 MB. The value must be a multiple of 64 MB.
|
3318
3319
|
#
|
3319
3320
|
# @option params [Types::VpcConfig] :vpc_config
|
3320
|
-
#
|
3321
|
-
#
|
3321
|
+
# For network connectivity to AWS resources in a VPC, specify a list of
|
3322
|
+
# security groups and subnets in the VPC. When you connect a function to
|
3323
|
+
# a VPC, it can only access resources and the internet through that VPC.
|
3324
|
+
# For more information, see [VPC Settings][1].
|
3325
|
+
#
|
3326
|
+
#
|
3327
|
+
#
|
3328
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/vpc.html
|
3322
3329
|
#
|
3323
3330
|
# @option params [Types::Environment] :environment
|
3324
|
-
#
|
3325
|
-
#
|
3331
|
+
# Environment variables that are accessible from function code during
|
3332
|
+
# execution.
|
3326
3333
|
#
|
3327
3334
|
# @option params [String] :runtime
|
3328
|
-
# The
|
3335
|
+
# The identifier of the function's [runtime][1].
|
3336
|
+
#
|
3337
|
+
#
|
3338
|
+
#
|
3339
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
3329
3340
|
#
|
3330
3341
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
3331
3342
|
# A dead letter queue configuration that specifies the queue or topic
|
@@ -3334,30 +3345,29 @@ module Aws::Lambda
|
|
3334
3345
|
#
|
3335
3346
|
#
|
3336
3347
|
#
|
3337
|
-
# [1]:
|
3348
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
3338
3349
|
#
|
3339
3350
|
# @option params [String] :kms_key_arn
|
3340
|
-
# The
|
3341
|
-
# function's environment variables. If
|
3342
|
-
#
|
3343
|
-
# parameter.
|
3351
|
+
# The ARN of the AWS Key Management Service (AWS KMS) key that's used
|
3352
|
+
# to encrypt your function's environment variables. If it's not
|
3353
|
+
# provided, AWS Lambda uses a default service key.
|
3344
3354
|
#
|
3345
3355
|
# @option params [Types::TracingConfig] :tracing_config
|
3346
3356
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
3347
3357
|
# requests with AWS X-Ray.
|
3348
3358
|
#
|
3349
3359
|
# @option params [String] :revision_id
|
3350
|
-
# Only update the function if the revision ID matches the ID
|
3351
|
-
# Use this option to avoid modifying a function that has
|
3352
|
-
# you last read it.
|
3360
|
+
# Only update the function if the revision ID matches the ID that's
|
3361
|
+
# specified. Use this option to avoid modifying a function that has
|
3362
|
+
# changed since you last read it.
|
3353
3363
|
#
|
3354
3364
|
# @option params [Array<String>] :layers
|
3355
3365
|
# A list of [function layers][1] to add to the function's execution
|
3356
|
-
# environment.
|
3366
|
+
# environment. Specify each layer by its ARN, including the version.
|
3357
3367
|
#
|
3358
3368
|
#
|
3359
3369
|
#
|
3360
|
-
# [1]:
|
3370
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
3361
3371
|
#
|
3362
3372
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3363
3373
|
#
|
@@ -3501,7 +3511,7 @@ module Aws::Lambda
|
|
3501
3511
|
params: params,
|
3502
3512
|
config: config)
|
3503
3513
|
context[:gem_name] = 'aws-sdk-lambda'
|
3504
|
-
context[:gem_version] = '1.
|
3514
|
+
context[:gem_version] = '1.18.0'
|
3505
3515
|
Seahorse::Client::Request.new(handlers, context)
|
3506
3516
|
end
|
3507
3517
|
|