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
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
module Aws::Lambda
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Limits related to concurrency and code storage. All file and
|
12
|
-
# sizes are in bytes.
|
11
|
+
# Limits that are related to concurrency and code storage. All file and
|
12
|
+
# storage sizes are in bytes.
|
13
13
|
#
|
14
14
|
# @!attribute [rw] total_code_size
|
15
15
|
# The amount of storage space that you can use for all deployment
|
@@ -17,12 +17,13 @@ module Aws::Lambda
|
|
17
17
|
# @return [Integer]
|
18
18
|
#
|
19
19
|
# @!attribute [rw] code_size_unzipped
|
20
|
-
# The maximum size of your function's code and layers when
|
20
|
+
# The maximum size of your function's code and layers when they're
|
21
|
+
# extracted.
|
21
22
|
# @return [Integer]
|
22
23
|
#
|
23
24
|
# @!attribute [rw] code_size_zipped
|
24
|
-
# The maximum size of a deployment package when uploaded
|
25
|
-
# AWS Lambda. Use Amazon S3 for larger files.
|
25
|
+
# The maximum size of a deployment package when it's uploaded
|
26
|
+
# directly to AWS Lambda. Use Amazon S3 for larger files.
|
26
27
|
# @return [Integer]
|
27
28
|
#
|
28
29
|
# @!attribute [rw] concurrent_executions
|
@@ -30,8 +31,8 @@ module Aws::Lambda
|
|
30
31
|
# @return [Integer]
|
31
32
|
#
|
32
33
|
# @!attribute [rw] unreserved_concurrent_executions
|
33
|
-
# The maximum number of simultaneous function executions,
|
34
|
-
#
|
34
|
+
# The maximum number of simultaneous function executions, minus the
|
35
|
+
# capacity that's reserved for individual functions with
|
35
36
|
# PutFunctionConcurrency.
|
36
37
|
# @return [Integer]
|
37
38
|
#
|
@@ -49,8 +50,8 @@ module Aws::Lambda
|
|
49
50
|
# The number of functions and amount of storage in use.
|
50
51
|
#
|
51
52
|
# @!attribute [rw] total_code_size
|
52
|
-
# The amount of storage space, in bytes,
|
53
|
-
# and layer archives.
|
53
|
+
# The amount of storage space, in bytes, that's being used by
|
54
|
+
# deployment packages and layer archives.
|
54
55
|
# @return [Integer]
|
55
56
|
#
|
56
57
|
# @!attribute [rw] function_count
|
@@ -196,11 +197,12 @@ module Aws::Lambda
|
|
196
197
|
#
|
197
198
|
# @!attribute [rw] source_account
|
198
199
|
# For AWS services, the ID of the account that owns the resource. Use
|
199
|
-
# instead of `SourceArn` to grant permission to resources
|
200
|
-
# another account (
|
201
|
-
# use together with `SourceArn` to ensure
|
202
|
-
# by the specified account. For example, an
|
203
|
-
# deleted by its owner and recreated by
|
200
|
+
# this instead of `SourceArn` to grant permission to resources that
|
201
|
+
# are owned by another account (for example, all of an account's
|
202
|
+
# Amazon S3 buckets). Or use it together with `SourceArn` to ensure
|
203
|
+
# that the resource is owned by the specified account. For example, an
|
204
|
+
# Amazon S3 bucket could be deleted by its owner and recreated by
|
205
|
+
# another account.
|
204
206
|
# @return [String]
|
205
207
|
#
|
206
208
|
# @!attribute [rw] event_source_token
|
@@ -214,9 +216,9 @@ module Aws::Lambda
|
|
214
216
|
# @return [String]
|
215
217
|
#
|
216
218
|
# @!attribute [rw] revision_id
|
217
|
-
# Only update the policy if the revision ID matches the ID
|
218
|
-
# Use this option to avoid modifying a policy that has
|
219
|
-
# you last read it.
|
219
|
+
# Only update the policy if the revision ID matches the ID that's
|
220
|
+
# specified. Use this option to avoid modifying a policy that has
|
221
|
+
# changed since you last read it.
|
220
222
|
# @return [String]
|
221
223
|
#
|
222
224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
|
@@ -235,7 +237,7 @@ module Aws::Lambda
|
|
235
237
|
end
|
236
238
|
|
237
239
|
# @!attribute [rw] statement
|
238
|
-
# The permission statement added to the function policy.
|
240
|
+
# The permission statement that's added to the function policy.
|
239
241
|
# @return [String]
|
240
242
|
#
|
241
243
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionResponse AWS API Documentation
|
@@ -249,7 +251,7 @@ module Aws::Lambda
|
|
249
251
|
#
|
250
252
|
#
|
251
253
|
#
|
252
|
-
# [1]:
|
254
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
253
255
|
#
|
254
256
|
# @!attribute [rw] alias_arn
|
255
257
|
# The Amazon Resource Name (ARN) of the alias.
|
@@ -272,7 +274,7 @@ module Aws::Lambda
|
|
272
274
|
#
|
273
275
|
#
|
274
276
|
#
|
275
|
-
# [1]:
|
277
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
276
278
|
# @return [Types::AliasRoutingConfiguration]
|
277
279
|
#
|
278
280
|
# @!attribute [rw] revision_id
|
@@ -291,11 +293,11 @@ module Aws::Lambda
|
|
291
293
|
include Aws::Structure
|
292
294
|
end
|
293
295
|
|
294
|
-
#
|
296
|
+
# The [traffic-shifting][1] configuration of a Lambda function alias.
|
295
297
|
#
|
296
298
|
#
|
297
299
|
#
|
298
|
-
# [1]:
|
300
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
299
301
|
#
|
300
302
|
# @note When making an API call, you may pass AliasRoutingConfiguration
|
301
303
|
# data as a hash:
|
@@ -307,7 +309,7 @@ module Aws::Lambda
|
|
307
309
|
# }
|
308
310
|
#
|
309
311
|
# @!attribute [rw] additional_version_weights
|
310
|
-
# The name of the second alias, and the percentage of traffic that
|
312
|
+
# The name of the second alias, and the percentage of traffic that's
|
311
313
|
# routed to it.
|
312
314
|
# @return [Hash<String,Float>]
|
313
315
|
#
|
@@ -319,12 +321,12 @@ module Aws::Lambda
|
|
319
321
|
end
|
320
322
|
|
321
323
|
# @!attribute [rw] reserved_concurrent_executions
|
322
|
-
# The number of concurrent executions reserved for this
|
323
|
-
# more information, see [Managing Concurrency][1].
|
324
|
+
# The number of concurrent executions that are reserved for this
|
325
|
+
# function. For more information, see [Managing Concurrency][1].
|
324
326
|
#
|
325
327
|
#
|
326
328
|
#
|
327
|
-
# [1]:
|
329
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
328
330
|
# @return [Integer]
|
329
331
|
#
|
330
332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
|
@@ -350,7 +352,7 @@ module Aws::Lambda
|
|
350
352
|
# }
|
351
353
|
#
|
352
354
|
# @!attribute [rw] function_name
|
353
|
-
# The name of the
|
355
|
+
# The name of the Lambda function.
|
354
356
|
#
|
355
357
|
# **Name formats**
|
356
358
|
#
|
@@ -382,7 +384,7 @@ module Aws::Lambda
|
|
382
384
|
#
|
383
385
|
#
|
384
386
|
#
|
385
|
-
# [1]:
|
387
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
386
388
|
# @return [Types::AliasRoutingConfiguration]
|
387
389
|
#
|
388
390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest AWS API Documentation
|
@@ -536,7 +538,7 @@ module Aws::Lambda
|
|
536
538
|
#
|
537
539
|
#
|
538
540
|
#
|
539
|
-
# [1]:
|
541
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
540
542
|
# @return [String]
|
541
543
|
#
|
542
544
|
# @!attribute [rw] role
|
@@ -545,13 +547,13 @@ module Aws::Lambda
|
|
545
547
|
#
|
546
548
|
# @!attribute [rw] handler
|
547
549
|
# The name of the method within your code that Lambda calls to execute
|
548
|
-
# your function. The format includes the
|
549
|
-
# namespaces and other qualifiers, depending on the runtime.
|
550
|
-
# information, see [Programming Model][1].
|
550
|
+
# your function. The format includes the file name. It can also
|
551
|
+
# include namespaces and other qualifiers, depending on the runtime.
|
552
|
+
# For more information, see [Programming Model][1].
|
551
553
|
#
|
552
554
|
#
|
553
555
|
#
|
554
|
-
# [1]:
|
556
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
|
555
557
|
# @return [String]
|
556
558
|
#
|
557
559
|
# @!attribute [rw] code
|
@@ -564,13 +566,13 @@ module Aws::Lambda
|
|
564
566
|
#
|
565
567
|
# @!attribute [rw] timeout
|
566
568
|
# The amount of time that Lambda allows a function to run before
|
567
|
-
#
|
568
|
-
#
|
569
|
+
# stopping it. The default is 3 seconds. The maximum allowed value is
|
570
|
+
# 900 seconds.
|
569
571
|
# @return [Integer]
|
570
572
|
#
|
571
573
|
# @!attribute [rw] memory_size
|
572
574
|
# The amount of memory that your function has access to. Increasing
|
573
|
-
# the function's memory also increases
|
575
|
+
# the function's memory also increases its CPU allocation. The
|
574
576
|
# default value is 128 MB. The value must be a multiple of 64 MB.
|
575
577
|
# @return [Integer]
|
576
578
|
#
|
@@ -587,7 +589,7 @@ module Aws::Lambda
|
|
587
589
|
#
|
588
590
|
#
|
589
591
|
#
|
590
|
-
# [1]:
|
592
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/vpc.html
|
591
593
|
# @return [Types::VpcConfig]
|
592
594
|
#
|
593
595
|
# @!attribute [rw] dead_letter_config
|
@@ -597,7 +599,7 @@ module Aws::Lambda
|
|
597
599
|
#
|
598
600
|
#
|
599
601
|
#
|
600
|
-
# [1]:
|
602
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
601
603
|
# @return [Types::DeadLetterConfig]
|
602
604
|
#
|
603
605
|
# @!attribute [rw] environment
|
@@ -606,9 +608,9 @@ module Aws::Lambda
|
|
606
608
|
# @return [Types::Environment]
|
607
609
|
#
|
608
610
|
# @!attribute [rw] kms_key_arn
|
609
|
-
# The ARN of the AWS Key Management Service
|
610
|
-
# function's environment variables. If not
|
611
|
-
# a default service key.
|
611
|
+
# The ARN of the AWS Key Management Service (AWS KMS) key that's used
|
612
|
+
# to encrypt your function's environment variables. If it's not
|
613
|
+
# provided, AWS Lambda uses a default service key.
|
612
614
|
# @return [String]
|
613
615
|
#
|
614
616
|
# @!attribute [rw] tracing_config
|
@@ -621,16 +623,16 @@ module Aws::Lambda
|
|
621
623
|
#
|
622
624
|
#
|
623
625
|
#
|
624
|
-
# [1]:
|
626
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
625
627
|
# @return [Hash<String,String>]
|
626
628
|
#
|
627
629
|
# @!attribute [rw] layers
|
628
630
|
# A list of [function layers][1] to add to the function's execution
|
629
|
-
# environment. Specify each layer by ARN, including the version.
|
631
|
+
# environment. Specify each layer by its ARN, including the version.
|
630
632
|
#
|
631
633
|
#
|
632
634
|
#
|
633
|
-
# [1]:
|
635
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
634
636
|
# @return [Array<String>]
|
635
637
|
#
|
636
638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -659,7 +661,7 @@ module Aws::Lambda
|
|
659
661
|
#
|
660
662
|
#
|
661
663
|
#
|
662
|
-
# [1]:
|
664
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
663
665
|
#
|
664
666
|
# @note When making an API call, you may pass DeadLetterConfig
|
665
667
|
# data as a hash:
|
@@ -689,7 +691,7 @@ module Aws::Lambda
|
|
689
691
|
# }
|
690
692
|
#
|
691
693
|
# @!attribute [rw] function_name
|
692
|
-
# The name of the
|
694
|
+
# The name of the Lambda function.
|
693
695
|
#
|
694
696
|
# **Name formats**
|
695
697
|
#
|
@@ -791,7 +793,7 @@ module Aws::Lambda
|
|
791
793
|
# @return [String]
|
792
794
|
#
|
793
795
|
# @!attribute [rw] qualifier
|
794
|
-
# Specify a version to delete. You
|
796
|
+
# Specify a version to delete. You can't delete a version that's
|
795
797
|
# referenced by an alias.
|
796
798
|
# @return [String]
|
797
799
|
#
|
@@ -849,7 +851,7 @@ module Aws::Lambda
|
|
849
851
|
include Aws::Structure
|
850
852
|
end
|
851
853
|
|
852
|
-
# Error messages for environment variables that
|
854
|
+
# Error messages for environment variables that couldn't be applied.
|
853
855
|
#
|
854
856
|
# @!attribute [rw] error_code
|
855
857
|
# The error code.
|
@@ -875,7 +877,7 @@ module Aws::Lambda
|
|
875
877
|
# @return [Hash<String,String>]
|
876
878
|
#
|
877
879
|
# @!attribute [rw] error
|
878
|
-
# Error messages for environment variables that
|
880
|
+
# Error messages for environment variables that couldn't be applied.
|
879
881
|
# @return [Types::EnvironmentError]
|
880
882
|
#
|
881
883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentResponse AWS API Documentation
|
@@ -958,8 +960,8 @@ module Aws::Lambda
|
|
958
960
|
# @return [String]
|
959
961
|
#
|
960
962
|
# @!attribute [rw] s3_bucket
|
961
|
-
# An Amazon S3 bucket in the same
|
962
|
-
# can be in a different AWS account.
|
963
|
+
# An Amazon S3 bucket in the same AWS Region as your function. The
|
964
|
+
# bucket can be in a different AWS account.
|
963
965
|
# @return [String]
|
964
966
|
#
|
965
967
|
# @!attribute [rw] s3_key
|
@@ -984,12 +986,11 @@ module Aws::Lambda
|
|
984
986
|
# Details about a function's deployment package.
|
985
987
|
#
|
986
988
|
# @!attribute [rw] repository_type
|
987
|
-
# The service hosting the file.
|
989
|
+
# The service that's hosting the file.
|
988
990
|
# @return [String]
|
989
991
|
#
|
990
992
|
# @!attribute [rw] location
|
991
|
-
# A
|
992
|
-
# package.
|
993
|
+
# A presigned URL that you can use to download the deployment package.
|
993
994
|
# @return [String]
|
994
995
|
#
|
995
996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
|
@@ -1019,11 +1020,11 @@ module Aws::Lambda
|
|
1019
1020
|
# @return [String]
|
1020
1021
|
#
|
1021
1022
|
# @!attribute [rw] handler
|
1022
|
-
# The function Lambda calls to begin executing your function.
|
1023
|
+
# The function that Lambda calls to begin executing your function.
|
1023
1024
|
# @return [String]
|
1024
1025
|
#
|
1025
1026
|
# @!attribute [rw] code_size
|
1026
|
-
# The size of the function's deployment package in bytes.
|
1027
|
+
# The size of the function's deployment package, in bytes.
|
1027
1028
|
# @return [Integer]
|
1028
1029
|
#
|
1029
1030
|
# @!attribute [rw] description
|
@@ -1032,11 +1033,11 @@ module Aws::Lambda
|
|
1032
1033
|
#
|
1033
1034
|
# @!attribute [rw] timeout
|
1034
1035
|
# The amount of time that Lambda allows a function to run before
|
1035
|
-
#
|
1036
|
+
# stopping it.
|
1036
1037
|
# @return [Integer]
|
1037
1038
|
#
|
1038
1039
|
# @!attribute [rw] memory_size
|
1039
|
-
# The memory allocated to the function
|
1040
|
+
# The memory that's allocated to the function.
|
1040
1041
|
# @return [Integer]
|
1041
1042
|
#
|
1042
1043
|
# @!attribute [rw] last_modified
|
@@ -1069,8 +1070,9 @@ module Aws::Lambda
|
|
1069
1070
|
# @return [Types::EnvironmentResponse]
|
1070
1071
|
#
|
1071
1072
|
# @!attribute [rw] kms_key_arn
|
1072
|
-
# The KMS key used to encrypt the function's environment
|
1073
|
-
#
|
1073
|
+
# The KMS key that's used to encrypt the function's environment
|
1074
|
+
# variables. This key is only returned if you've configured a
|
1075
|
+
# customer-managed CMK.
|
1074
1076
|
# @return [String]
|
1075
1077
|
#
|
1076
1078
|
# @!attribute [rw] tracing_config
|
@@ -1082,15 +1084,15 @@ module Aws::Lambda
|
|
1082
1084
|
# @return [String]
|
1083
1085
|
#
|
1084
1086
|
# @!attribute [rw] revision_id
|
1085
|
-
#
|
1087
|
+
# The latest updated revision of the function or alias.
|
1086
1088
|
# @return [String]
|
1087
1089
|
#
|
1088
1090
|
# @!attribute [rw] layers
|
1089
|
-
# The function's [ layers][1]
|
1091
|
+
# The function's [ layers][1].
|
1090
1092
|
#
|
1091
1093
|
#
|
1092
1094
|
#
|
1093
|
-
# [1]:
|
1095
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1094
1096
|
# @return [Array<Types::Layer>]
|
1095
1097
|
#
|
1096
1098
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
@@ -1126,7 +1128,7 @@ module Aws::Lambda
|
|
1126
1128
|
class GetAccountSettingsRequest < Aws::EmptyStructure; end
|
1127
1129
|
|
1128
1130
|
# @!attribute [rw] account_limit
|
1129
|
-
# Limits related to concurrency and code storage.
|
1131
|
+
# Limits that are related to concurrency and code storage.
|
1130
1132
|
# @return [Types::AccountLimit]
|
1131
1133
|
#
|
1132
1134
|
# @!attribute [rw] account_usage
|
@@ -1150,7 +1152,7 @@ module Aws::Lambda
|
|
1150
1152
|
# }
|
1151
1153
|
#
|
1152
1154
|
# @!attribute [rw] function_name
|
1153
|
-
# The name of the
|
1155
|
+
# The name of the Lambda function.
|
1154
1156
|
#
|
1155
1157
|
# **Name formats**
|
1156
1158
|
#
|
@@ -1286,7 +1288,7 @@ module Aws::Lambda
|
|
1286
1288
|
#
|
1287
1289
|
#
|
1288
1290
|
#
|
1289
|
-
# [1]:
|
1291
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1290
1292
|
# @return [Hash<String,String>]
|
1291
1293
|
#
|
1292
1294
|
# @!attribute [rw] concurrency
|
@@ -1294,7 +1296,7 @@ module Aws::Lambda
|
|
1294
1296
|
#
|
1295
1297
|
#
|
1296
1298
|
#
|
1297
|
-
# [1]:
|
1299
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
1298
1300
|
# @return [Types::Concurrency]
|
1299
1301
|
#
|
1300
1302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse AWS API Documentation
|
@@ -1515,7 +1517,7 @@ module Aws::Lambda
|
|
1515
1517
|
# additional data.
|
1516
1518
|
#
|
1517
1519
|
# * `Event` - Invoke the function asynchronously. Send events that
|
1518
|
-
# fail multiple times to the function's dead-letter queue (if
|
1520
|
+
# fail multiple times to the function's dead-letter queue (if it's
|
1519
1521
|
# configured). The API response only includes a status code.
|
1520
1522
|
#
|
1521
1523
|
# * `DryRun` - Validate parameter values and verify that the user or
|
@@ -1532,7 +1534,7 @@ module Aws::Lambda
|
|
1532
1534
|
# @return [String]
|
1533
1535
|
#
|
1534
1536
|
# @!attribute [rw] payload
|
1535
|
-
# JSON that you want to provide to your Lambda function as input.
|
1537
|
+
# The JSON that you want to provide to your Lambda function as input.
|
1536
1538
|
# @return [String]
|
1537
1539
|
#
|
1538
1540
|
# @!attribute [rw] qualifier
|
@@ -1553,27 +1555,26 @@ module Aws::Lambda
|
|
1553
1555
|
end
|
1554
1556
|
|
1555
1557
|
# @!attribute [rw] status_code
|
1556
|
-
# The HTTP status code
|
1557
|
-
#
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
# 204.
|
1558
|
+
# The HTTP status code is in the 200 range for a successful request.
|
1559
|
+
# For the `RequestResponse` invocation type, this status code is 200.
|
1560
|
+
# For the `Event` invocation type, this status code is 202. For the
|
1561
|
+
# `DryRun` invocation type, the status code is 204.
|
1561
1562
|
# @return [Integer]
|
1562
1563
|
#
|
1563
1564
|
# @!attribute [rw] function_error
|
1564
|
-
# If present, indicates that an error
|
1565
|
+
# If present, indicates that an error occurred during function
|
1565
1566
|
# execution. Details about the error are included in the response
|
1566
1567
|
# payload.
|
1567
1568
|
#
|
1568
1569
|
# * `Handled` - The runtime caught an error thrown by the function and
|
1569
1570
|
# formatted it into a JSON document.
|
1570
1571
|
#
|
1571
|
-
# * `Unhandled` - The runtime
|
1572
|
+
# * `Unhandled` - The runtime didn't handle the error. For example,
|
1572
1573
|
# the function ran out of memory or timed out.
|
1573
1574
|
# @return [String]
|
1574
1575
|
#
|
1575
1576
|
# @!attribute [rw] log_result
|
1576
|
-
# The last 4 KB of the execution log, base64 encoded.
|
1577
|
+
# The last 4 KB of the execution log, which is base64 encoded.
|
1577
1578
|
# @return [String]
|
1578
1579
|
#
|
1579
1580
|
# @!attribute [rw] payload
|
@@ -1582,8 +1583,8 @@ module Aws::Lambda
|
|
1582
1583
|
#
|
1583
1584
|
# @!attribute [rw] executed_version
|
1584
1585
|
# The version of the function that executed. When you invoke a
|
1585
|
-
# function with an alias, indicates which version the alias
|
1586
|
-
# to.
|
1586
|
+
# function with an alias, this indicates which version the alias
|
1587
|
+
# resolved to.
|
1587
1588
|
# @return [String]
|
1588
1589
|
#
|
1589
1590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
|
@@ -1622,7 +1623,7 @@ module Aws::Lambda
|
|
1622
1623
|
# @return [String]
|
1623
1624
|
#
|
1624
1625
|
# @!attribute [rw] invoke_args
|
1625
|
-
# JSON that you want to provide to your Lambda function as input.
|
1626
|
+
# The JSON that you want to provide to your Lambda function as input.
|
1626
1627
|
# @return [IO]
|
1627
1628
|
#
|
1628
1629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncRequest AWS API Documentation
|
@@ -1633,11 +1634,11 @@ module Aws::Lambda
|
|
1633
1634
|
include Aws::Structure
|
1634
1635
|
end
|
1635
1636
|
|
1636
|
-
#
|
1637
|
-
#
|
1637
|
+
# A success response (`202 Accepted`) indicates that the request is
|
1638
|
+
# queued for invocation.
|
1638
1639
|
#
|
1639
1640
|
# @!attribute [rw] status
|
1640
|
-
#
|
1641
|
+
# The status code.
|
1641
1642
|
# @return [Integer]
|
1642
1643
|
#
|
1643
1644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncResponse AWS API Documentation
|
@@ -1651,7 +1652,7 @@ module Aws::Lambda
|
|
1651
1652
|
#
|
1652
1653
|
#
|
1653
1654
|
#
|
1654
|
-
# [1]:
|
1655
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1655
1656
|
#
|
1656
1657
|
# @!attribute [rw] arn
|
1657
1658
|
# The Amazon Resource Name (ARN) of the function layer.
|
@@ -1675,7 +1676,7 @@ module Aws::Lambda
|
|
1675
1676
|
#
|
1676
1677
|
#
|
1677
1678
|
#
|
1678
|
-
# [1]:
|
1679
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1679
1680
|
#
|
1680
1681
|
# @note When making an API call, you may pass LayerVersionContentInput
|
1681
1682
|
# data as a hash:
|
@@ -1719,7 +1720,7 @@ module Aws::Lambda
|
|
1719
1720
|
#
|
1720
1721
|
#
|
1721
1722
|
#
|
1722
|
-
# [1]:
|
1723
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1723
1724
|
#
|
1724
1725
|
# @!attribute [rw] location
|
1725
1726
|
# A link to the layer archive in Amazon S3 that is valid for 10
|
@@ -1747,7 +1748,7 @@ module Aws::Lambda
|
|
1747
1748
|
#
|
1748
1749
|
#
|
1749
1750
|
#
|
1750
|
-
# [1]:
|
1751
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1751
1752
|
#
|
1752
1753
|
# @!attribute [rw] layer_version_arn
|
1753
1754
|
# The ARN of the layer version.
|
@@ -1790,7 +1791,7 @@ module Aws::Lambda
|
|
1790
1791
|
#
|
1791
1792
|
#
|
1792
1793
|
#
|
1793
|
-
# [1]:
|
1794
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1794
1795
|
#
|
1795
1796
|
# @!attribute [rw] layer_name
|
1796
1797
|
# The name of the layer.
|
@@ -1824,7 +1825,7 @@ module Aws::Lambda
|
|
1824
1825
|
# }
|
1825
1826
|
#
|
1826
1827
|
# @!attribute [rw] function_name
|
1827
|
-
# The name of the
|
1828
|
+
# The name of the Lambda function.
|
1828
1829
|
#
|
1829
1830
|
# **Name formats**
|
1830
1831
|
#
|
@@ -1845,8 +1846,8 @@ module Aws::Lambda
|
|
1845
1846
|
# @return [String]
|
1846
1847
|
#
|
1847
1848
|
# @!attribute [rw] marker
|
1848
|
-
# Specify the pagination token returned by a previous request
|
1849
|
-
# retrieve the next page of results.
|
1849
|
+
# Specify the pagination token that's returned by a previous request
|
1850
|
+
# to retrieve the next page of results.
|
1850
1851
|
# @return [String]
|
1851
1852
|
#
|
1852
1853
|
# @!attribute [rw] max_items
|
@@ -1864,7 +1865,7 @@ module Aws::Lambda
|
|
1864
1865
|
end
|
1865
1866
|
|
1866
1867
|
# @!attribute [rw] next_marker
|
1867
|
-
#
|
1868
|
+
# The pagination token that's included if more results are available.
|
1868
1869
|
# @return [String]
|
1869
1870
|
#
|
1870
1871
|
# @!attribute [rw] aliases
|
@@ -1965,8 +1966,8 @@ module Aws::Lambda
|
|
1965
1966
|
# }
|
1966
1967
|
#
|
1967
1968
|
# @!attribute [rw] master_region
|
1968
|
-
# For Lambda@Edge functions, the
|
1969
|
-
# example, `us-east-2` or `ALL`. If specified, you must set
|
1969
|
+
# For Lambda@Edge functions, the AWS Region of the master function.
|
1970
|
+
# For example, `us-east-2` or `ALL`. If specified, you must set
|
1970
1971
|
# `FunctionVersion` to `ALL`.
|
1971
1972
|
# @return [String]
|
1972
1973
|
#
|
@@ -1976,8 +1977,8 @@ module Aws::Lambda
|
|
1976
1977
|
# @return [String]
|
1977
1978
|
#
|
1978
1979
|
# @!attribute [rw] marker
|
1979
|
-
# Specify the pagination token returned by a previous request
|
1980
|
-
# retrieve the next page of results.
|
1980
|
+
# Specify the pagination token that's returned by a previous request
|
1981
|
+
# to retrieve the next page of results.
|
1981
1982
|
# @return [String]
|
1982
1983
|
#
|
1983
1984
|
# @!attribute [rw] max_items
|
@@ -1998,7 +1999,7 @@ module Aws::Lambda
|
|
1998
1999
|
# A list of Lambda functions.
|
1999
2000
|
#
|
2000
2001
|
# @!attribute [rw] next_marker
|
2001
|
-
#
|
2002
|
+
# The pagination token that's included if more results are available.
|
2002
2003
|
# @return [String]
|
2003
2004
|
#
|
2004
2005
|
# @!attribute [rw] functions
|
@@ -2152,7 +2153,7 @@ module Aws::Lambda
|
|
2152
2153
|
# }
|
2153
2154
|
#
|
2154
2155
|
# @!attribute [rw] function_name
|
2155
|
-
# The name of the
|
2156
|
+
# The name of the Lambda function.
|
2156
2157
|
#
|
2157
2158
|
# **Name formats**
|
2158
2159
|
#
|
@@ -2168,12 +2169,12 @@ module Aws::Lambda
|
|
2168
2169
|
# @return [String]
|
2169
2170
|
#
|
2170
2171
|
# @!attribute [rw] marker
|
2171
|
-
# Specify the pagination token returned by a previous request
|
2172
|
-
# retrieve the next page of results.
|
2172
|
+
# Specify the pagination token that's returned by a previous request
|
2173
|
+
# to retrieve the next page of results.
|
2173
2174
|
# @return [String]
|
2174
2175
|
#
|
2175
2176
|
# @!attribute [rw] max_items
|
2176
|
-
# Limit the number of versions returned.
|
2177
|
+
# Limit the number of versions that are returned.
|
2177
2178
|
# @return [Integer]
|
2178
2179
|
#
|
2179
2180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
|
@@ -2186,7 +2187,7 @@ module Aws::Lambda
|
|
2186
2187
|
end
|
2187
2188
|
|
2188
2189
|
# @!attribute [rw] next_marker
|
2189
|
-
#
|
2190
|
+
# The pagination token that's included if more results are available.
|
2190
2191
|
# @return [String]
|
2191
2192
|
#
|
2192
2193
|
# @!attribute [rw] versions
|
@@ -2235,7 +2236,7 @@ module Aws::Lambda
|
|
2235
2236
|
#
|
2236
2237
|
#
|
2237
2238
|
#
|
2238
|
-
# [1]:
|
2239
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2239
2240
|
# @return [Array<String>]
|
2240
2241
|
#
|
2241
2242
|
# @!attribute [rw] license_info
|
@@ -2326,7 +2327,7 @@ module Aws::Lambda
|
|
2326
2327
|
# }
|
2327
2328
|
#
|
2328
2329
|
# @!attribute [rw] function_name
|
2329
|
-
# The name of the
|
2330
|
+
# The name of the Lambda function.
|
2330
2331
|
#
|
2331
2332
|
# **Name formats**
|
2332
2333
|
#
|
@@ -2342,19 +2343,20 @@ module Aws::Lambda
|
|
2342
2343
|
# @return [String]
|
2343
2344
|
#
|
2344
2345
|
# @!attribute [rw] code_sha_256
|
2345
|
-
# Only publish a version if the hash matches the value
|
2346
|
-
# this option to avoid publishing a version if the
|
2347
|
-
# changed since you last updated it. You can get the
|
2348
|
-
# version you uploaded from the output of
|
2346
|
+
# Only publish a version if the hash value matches the value that's
|
2347
|
+
# specified. Use this option to avoid publishing a version if the
|
2348
|
+
# function code has changed since you last updated it. You can get the
|
2349
|
+
# hash for the version that you uploaded from the output of
|
2350
|
+
# UpdateFunctionCode.
|
2349
2351
|
# @return [String]
|
2350
2352
|
#
|
2351
2353
|
# @!attribute [rw] description
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
+
# A description for the version to override the description in the
|
2355
|
+
# function configuration.
|
2354
2356
|
# @return [String]
|
2355
2357
|
#
|
2356
2358
|
# @!attribute [rw] revision_id
|
2357
|
-
# Only update the function if the revision ID matches the ID
|
2359
|
+
# Only update the function if the revision ID matches the ID that's
|
2358
2360
|
# specified. Use this option to avoid publishing a version if the
|
2359
2361
|
# function configuration has changed since you last updated it.
|
2360
2362
|
# @return [String]
|
@@ -2481,9 +2483,9 @@ module Aws::Lambda
|
|
2481
2483
|
# @return [String]
|
2482
2484
|
#
|
2483
2485
|
# @!attribute [rw] revision_id
|
2484
|
-
# Only update the policy if the revision ID matches the ID
|
2485
|
-
# Use this option to avoid modifying a policy that has
|
2486
|
-
# you last read it.
|
2486
|
+
# Only update the policy if the revision ID matches the ID that's
|
2487
|
+
# specified. Use this option to avoid modifying a policy that has
|
2488
|
+
# changed since you last read it.
|
2487
2489
|
# @return [String]
|
2488
2490
|
#
|
2489
2491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest AWS API Documentation
|
@@ -2596,7 +2598,7 @@ module Aws::Lambda
|
|
2596
2598
|
# }
|
2597
2599
|
#
|
2598
2600
|
# @!attribute [rw] function_name
|
2599
|
-
# The name of the
|
2601
|
+
# The name of the Lambda function.
|
2600
2602
|
#
|
2601
2603
|
# **Name formats**
|
2602
2604
|
#
|
@@ -2628,13 +2630,13 @@ module Aws::Lambda
|
|
2628
2630
|
#
|
2629
2631
|
#
|
2630
2632
|
#
|
2631
|
-
# [1]:
|
2633
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
2632
2634
|
# @return [Types::AliasRoutingConfiguration]
|
2633
2635
|
#
|
2634
2636
|
# @!attribute [rw] revision_id
|
2635
|
-
# Only update the alias if the revision ID matches the ID
|
2636
|
-
# Use this option to avoid modifying an alias that has
|
2637
|
-
# you last read it.
|
2637
|
+
# Only update the alias if the revision ID matches the ID that's
|
2638
|
+
# specified. Use this option to avoid modifying an alias that has
|
2639
|
+
# changed since you last read it.
|
2638
2640
|
# @return [String]
|
2639
2641
|
#
|
2640
2642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest AWS API Documentation
|
@@ -2742,8 +2744,8 @@ module Aws::Lambda
|
|
2742
2744
|
# @return [String]
|
2743
2745
|
#
|
2744
2746
|
# @!attribute [rw] s3_bucket
|
2745
|
-
# An Amazon S3 bucket in the same
|
2746
|
-
# can be in a different AWS account.
|
2747
|
+
# An Amazon S3 bucket in the same AWS Region as your function. The
|
2748
|
+
# bucket can be in a different AWS account.
|
2747
2749
|
# @return [String]
|
2748
2750
|
#
|
2749
2751
|
# @!attribute [rw] s3_key
|
@@ -2767,7 +2769,7 @@ module Aws::Lambda
|
|
2767
2769
|
# @return [Boolean]
|
2768
2770
|
#
|
2769
2771
|
# @!attribute [rw] revision_id
|
2770
|
-
# Only update the function if the revision ID matches the ID
|
2772
|
+
# Only update the function if the revision ID matches the ID that's
|
2771
2773
|
# specified. Use this option to avoid modifying a function that has
|
2772
2774
|
# changed since you last read it.
|
2773
2775
|
# @return [String]
|
@@ -2834,47 +2836,58 @@ module Aws::Lambda
|
|
2834
2836
|
# @return [String]
|
2835
2837
|
#
|
2836
2838
|
# @!attribute [rw] role
|
2837
|
-
# The Amazon Resource Name (ARN) of the
|
2838
|
-
# assume when it executes your function.
|
2839
|
+
# The Amazon Resource Name (ARN) of the function's execution role.
|
2839
2840
|
# @return [String]
|
2840
2841
|
#
|
2841
2842
|
# @!attribute [rw] handler
|
2842
|
-
# The
|
2843
|
-
#
|
2843
|
+
# The name of the method within your code that Lambda calls to execute
|
2844
|
+
# your function. The format includes the file name. It can also
|
2845
|
+
# include namespaces and other qualifiers, depending on the runtime.
|
2846
|
+
# For more information, see [Programming Model][1].
|
2847
|
+
#
|
2848
|
+
#
|
2849
|
+
#
|
2850
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
|
2844
2851
|
# @return [String]
|
2845
2852
|
#
|
2846
2853
|
# @!attribute [rw] description
|
2847
|
-
# A
|
2848
|
-
# this value. Assign a meaningful description as you see fit.
|
2854
|
+
# A description of the function.
|
2849
2855
|
# @return [String]
|
2850
2856
|
#
|
2851
2857
|
# @!attribute [rw] timeout
|
2852
2858
|
# The amount of time that Lambda allows a function to run before
|
2853
|
-
#
|
2854
|
-
#
|
2859
|
+
# stopping it. The default is 3 seconds. The maximum allowed value is
|
2860
|
+
# 900 seconds.
|
2855
2861
|
# @return [Integer]
|
2856
2862
|
#
|
2857
2863
|
# @!attribute [rw] memory_size
|
2858
|
-
# The amount of memory
|
2859
|
-
#
|
2860
|
-
#
|
2861
|
-
# requirements. For example, a database operation might need less
|
2862
|
-
# memory compared to an image processing function. The default value
|
2863
|
-
# is 128 MB. The value must be a multiple of 64 MB.
|
2864
|
+
# The amount of memory that your function has access to. Increasing
|
2865
|
+
# the function's memory also increases its CPU allocation. The
|
2866
|
+
# default value is 128 MB. The value must be a multiple of 64 MB.
|
2864
2867
|
# @return [Integer]
|
2865
2868
|
#
|
2866
2869
|
# @!attribute [rw] vpc_config
|
2867
|
-
#
|
2868
|
-
#
|
2870
|
+
# For network connectivity to AWS resources in a VPC, specify a list
|
2871
|
+
# of security groups and subnets in the VPC. When you connect a
|
2872
|
+
# function to a VPC, it can only access resources and the internet
|
2873
|
+
# through that VPC. For more information, see [VPC Settings][1].
|
2874
|
+
#
|
2875
|
+
#
|
2876
|
+
#
|
2877
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/vpc.html
|
2869
2878
|
# @return [Types::VpcConfig]
|
2870
2879
|
#
|
2871
2880
|
# @!attribute [rw] environment
|
2872
|
-
#
|
2873
|
-
#
|
2881
|
+
# Environment variables that are accessible from function code during
|
2882
|
+
# execution.
|
2874
2883
|
# @return [Types::Environment]
|
2875
2884
|
#
|
2876
2885
|
# @!attribute [rw] runtime
|
2877
|
-
# The
|
2886
|
+
# The identifier of the function's [runtime][1].
|
2887
|
+
#
|
2888
|
+
#
|
2889
|
+
#
|
2890
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2878
2891
|
# @return [String]
|
2879
2892
|
#
|
2880
2893
|
# @!attribute [rw] dead_letter_config
|
@@ -2884,14 +2897,13 @@ module Aws::Lambda
|
|
2884
2897
|
#
|
2885
2898
|
#
|
2886
2899
|
#
|
2887
|
-
# [1]:
|
2900
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
2888
2901
|
# @return [Types::DeadLetterConfig]
|
2889
2902
|
#
|
2890
2903
|
# @!attribute [rw] kms_key_arn
|
2891
|
-
# The
|
2892
|
-
# function's environment variables. If
|
2893
|
-
#
|
2894
|
-
# parameter.
|
2904
|
+
# The ARN of the AWS Key Management Service (AWS KMS) key that's used
|
2905
|
+
# to encrypt your function's environment variables. If it's not
|
2906
|
+
# provided, AWS Lambda uses a default service key.
|
2895
2907
|
# @return [String]
|
2896
2908
|
#
|
2897
2909
|
# @!attribute [rw] tracing_config
|
@@ -2900,18 +2912,18 @@ module Aws::Lambda
|
|
2900
2912
|
# @return [Types::TracingConfig]
|
2901
2913
|
#
|
2902
2914
|
# @!attribute [rw] revision_id
|
2903
|
-
# Only update the function if the revision ID matches the ID
|
2915
|
+
# Only update the function if the revision ID matches the ID that's
|
2904
2916
|
# specified. Use this option to avoid modifying a function that has
|
2905
2917
|
# changed since you last read it.
|
2906
2918
|
# @return [String]
|
2907
2919
|
#
|
2908
2920
|
# @!attribute [rw] layers
|
2909
2921
|
# A list of [function layers][1] to add to the function's execution
|
2910
|
-
# environment.
|
2922
|
+
# environment. Specify each layer by its ARN, including the version.
|
2911
2923
|
#
|
2912
2924
|
#
|
2913
2925
|
#
|
2914
|
-
# [1]:
|
2926
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
2915
2927
|
# @return [Array<String>]
|
2916
2928
|
#
|
2917
2929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
@@ -2934,7 +2946,8 @@ module Aws::Lambda
|
|
2934
2946
|
include Aws::Structure
|
2935
2947
|
end
|
2936
2948
|
|
2937
|
-
# The VPC security groups and subnets attached to a Lambda
|
2949
|
+
# The VPC security groups and subnets that are attached to a Lambda
|
2950
|
+
# function.
|
2938
2951
|
#
|
2939
2952
|
# @note When making an API call, you may pass VpcConfig
|
2940
2953
|
# data as a hash:
|
@@ -2960,7 +2973,8 @@ module Aws::Lambda
|
|
2960
2973
|
include Aws::Structure
|
2961
2974
|
end
|
2962
2975
|
|
2963
|
-
# The VPC security groups and subnets attached to a Lambda
|
2976
|
+
# The VPC security groups and subnets that are attached to a Lambda
|
2977
|
+
# function.
|
2964
2978
|
#
|
2965
2979
|
# @!attribute [rw] subnet_ids
|
2966
2980
|
# A list of VPC subnet IDs.
|