aws-sdk-lambda 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +420 -525
- data/lib/aws-sdk-lambda/types.rb +295 -418
- metadata +2 -2
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -8,44 +8,31 @@
|
|
8
8
|
module Aws::Lambda
|
9
9
|
module Types
|
10
10
|
|
11
|
-
#
|
12
|
-
#
|
13
|
-
# increase for concurrent executions, see [Lambda Limits][1].
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
11
|
+
# Limits related to concurrency and code storage. All file and storage
|
12
|
+
# sizes are in bytes.
|
18
13
|
#
|
19
14
|
# @!attribute [rw] total_code_size
|
20
|
-
#
|
21
|
-
#
|
15
|
+
# The amount of storage space that you can use for all deployment
|
16
|
+
# packages and layer archives.
|
22
17
|
# @return [Integer]
|
23
18
|
#
|
24
19
|
# @!attribute [rw] code_size_unzipped
|
25
|
-
#
|
26
|
-
# deployment package (uncompressed zip/jar size) for uploading. The
|
27
|
-
# default limit is 250 MB.
|
20
|
+
# The maximum size of your function's code and layers when extracted.
|
28
21
|
# @return [Integer]
|
29
22
|
#
|
30
23
|
# @!attribute [rw] code_size_zipped
|
31
|
-
#
|
32
|
-
#
|
33
|
-
# for uploading larger files. Default limit is 50 MB.
|
24
|
+
# The maximum size of a deployment package when uploaded direcly to
|
25
|
+
# AWS Lambda. Use Amazon S3 for larger files.
|
34
26
|
# @return [Integer]
|
35
27
|
#
|
36
28
|
# @!attribute [rw] concurrent_executions
|
37
|
-
#
|
38
|
-
# default limit is 1000.
|
29
|
+
# The maximum number of simultaneous function executions.
|
39
30
|
# @return [Integer]
|
40
31
|
#
|
41
32
|
# @!attribute [rw] unreserved_concurrent_executions
|
42
|
-
# The number of
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
33
|
+
# The maximum number of simultaneous function executions, less the
|
34
|
+
# concurrency reserved for individual functions with
|
35
|
+
# PutFunctionConcurrency.
|
49
36
|
# @return [Integer]
|
50
37
|
#
|
51
38
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit AWS API Documentation
|
@@ -59,16 +46,15 @@ module Aws::Lambda
|
|
59
46
|
include Aws::Structure
|
60
47
|
end
|
61
48
|
|
62
|
-
#
|
63
|
-
# current account and region.
|
49
|
+
# The number of functions and amount of storage in use.
|
64
50
|
#
|
65
51
|
# @!attribute [rw] total_code_size
|
66
|
-
#
|
67
|
-
#
|
52
|
+
# The amount of storage space, in bytes, in use by deployment packages
|
53
|
+
# and layer archives.
|
68
54
|
# @return [Integer]
|
69
55
|
#
|
70
56
|
# @!attribute [rw] function_count
|
71
|
-
# The number of
|
57
|
+
# The number of Lambda functions.
|
72
58
|
# @return [Integer]
|
73
59
|
#
|
74
60
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountUsage AWS API Documentation
|
@@ -93,7 +79,7 @@ module Aws::Lambda
|
|
93
79
|
# }
|
94
80
|
#
|
95
81
|
# @!attribute [rw] layer_name
|
96
|
-
# The name of the layer.
|
82
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
97
83
|
# @return [String]
|
98
84
|
#
|
99
85
|
# @!attribute [rw] version_number
|
@@ -170,65 +156,56 @@ module Aws::Lambda
|
|
170
156
|
# }
|
171
157
|
#
|
172
158
|
# @!attribute [rw] function_name
|
173
|
-
# The name of the Lambda function.
|
159
|
+
# The name of the Lambda function, version, or alias.
|
174
160
|
#
|
175
161
|
# **Name formats**
|
176
162
|
#
|
177
|
-
# * **Function name** - `
|
163
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
164
|
+
# (with alias).
|
178
165
|
#
|
179
166
|
# * **Function ARN** -
|
180
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
167
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
181
168
|
#
|
182
|
-
# * **Partial ARN** - `123456789012:function:
|
169
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
183
170
|
#
|
184
|
-
#
|
185
|
-
#
|
171
|
+
# You can append a version number or alias to any of the formats. The
|
172
|
+
# length constraint applies only to the full ARN. If you specify only
|
173
|
+
# the function name, it is limited to 64 characters in length.
|
186
174
|
# @return [String]
|
187
175
|
#
|
188
176
|
# @!attribute [rw] statement_id
|
189
|
-
# A
|
177
|
+
# A statement identifier that differentiates the statement from others
|
178
|
+
# in the same policy.
|
190
179
|
# @return [String]
|
191
180
|
#
|
192
181
|
# @!attribute [rw] action
|
193
|
-
# The
|
194
|
-
#
|
195
|
-
# API name . For example, `lambda:CreateFunction`. You can use
|
196
|
-
# wildcard (`lambda:*`) to grant permission for all AWS Lambda
|
197
|
-
# actions.
|
182
|
+
# The action that the principal can use on the function. For example,
|
183
|
+
# `lambda:InvokeFunction` or `lambda:GetFunction`.
|
198
184
|
# @return [String]
|
199
185
|
#
|
200
186
|
# @!attribute [rw] principal
|
201
|
-
# The
|
202
|
-
#
|
203
|
-
#
|
204
|
-
# specify a service as a principal, use the `SourceArn` parameter to
|
205
|
-
# limit who can invoke the function through that service.
|
187
|
+
# The AWS service or account that invokes the function. If you specify
|
188
|
+
# a service, use `SourceArn` or `SourceAccount` to limit who can
|
189
|
+
# invoke the function through that service.
|
206
190
|
# @return [String]
|
207
191
|
#
|
208
192
|
# @!attribute [rw] source_arn
|
209
|
-
#
|
210
|
-
#
|
211
|
-
# If you add a permission to a service principal without providing the
|
212
|
-
# source ARN, any AWS account that creates a mapping to your function
|
213
|
-
# ARN can invoke your Lambda function.
|
193
|
+
# For AWS services, the ARN of the AWS resource that invokes the
|
194
|
+
# function. For example, an Amazon S3 bucket or Amazon SNS topic.
|
214
195
|
# @return [String]
|
215
196
|
#
|
216
197
|
# @!attribute [rw] source_account
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
# bucket). You can also use this condition to specify all sources
|
224
|
-
# (that is, you don't specify the `SourceArn`) owned by a specific
|
225
|
-
# account.
|
198
|
+
# For AWS services, the ID of the account that owns the resource. Use
|
199
|
+
# instead of `SourceArn` to grant permission to resources owned by
|
200
|
+
# another account (e.g. all of an account's Amazon S3 buckets). Or
|
201
|
+
# use together with `SourceArn` to ensure that the resource is owned
|
202
|
+
# by the specified account. For example, an Amazon S3 bucket could be
|
203
|
+
# deleted by its owner and recreated by another account.
|
226
204
|
# @return [String]
|
227
205
|
#
|
228
206
|
# @!attribute [rw] event_source_token
|
229
|
-
#
|
230
|
-
#
|
231
|
-
# functions.
|
207
|
+
# For Alexa Smart Home functions, a token that must be supplied by the
|
208
|
+
# invoker.
|
232
209
|
# @return [String]
|
233
210
|
#
|
234
211
|
# @!attribute [rw] qualifier
|
@@ -237,12 +214,9 @@ module Aws::Lambda
|
|
237
214
|
# @return [String]
|
238
215
|
#
|
239
216
|
# @!attribute [rw] revision_id
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
# alias, it will fail with an error message, advising you to retrieve
|
244
|
-
# the latest function version or alias `RevisionID` using either
|
245
|
-
# GetFunction or GetAlias
|
217
|
+
# Only update the policy if the revision ID matches the ID specified.
|
218
|
+
# Use this option to avoid modifying a policy that has changed since
|
219
|
+
# you last read it.
|
246
220
|
# @return [String]
|
247
221
|
#
|
248
222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
|
@@ -261,9 +235,7 @@ module Aws::Lambda
|
|
261
235
|
end
|
262
236
|
|
263
237
|
# @!attribute [rw] statement
|
264
|
-
# The permission statement
|
265
|
-
# returns the same as a string using a backslash ("\\") as an escape
|
266
|
-
# character in the JSON.
|
238
|
+
# The permission statement added to the function policy.
|
267
239
|
# @return [String]
|
268
240
|
#
|
269
241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionResponse AWS API Documentation
|
@@ -273,36 +245,38 @@ module Aws::Lambda
|
|
273
245
|
include Aws::Structure
|
274
246
|
end
|
275
247
|
|
276
|
-
# Provides configuration information about a Lambda function
|
277
|
-
#
|
248
|
+
# Provides configuration information about a Lambda function [alias][1].
|
249
|
+
#
|
250
|
+
#
|
251
|
+
#
|
252
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
278
253
|
#
|
279
254
|
# @!attribute [rw] alias_arn
|
280
|
-
#
|
281
|
-
# suffix. For example, if you create an alias called `BETA` that
|
282
|
-
# points to a helloworld function version, the ARN is
|
283
|
-
# `arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA`.
|
255
|
+
# The Amazon Resource Name (ARN) of the alias.
|
284
256
|
# @return [String]
|
285
257
|
#
|
286
258
|
# @!attribute [rw] name
|
287
|
-
#
|
259
|
+
# The name of the alias.
|
288
260
|
# @return [String]
|
289
261
|
#
|
290
262
|
# @!attribute [rw] function_version
|
291
|
-
#
|
263
|
+
# The function version that the alias invokes.
|
292
264
|
# @return [String]
|
293
265
|
#
|
294
266
|
# @!attribute [rw] description
|
295
|
-
#
|
267
|
+
# A description of the alias.
|
296
268
|
# @return [String]
|
297
269
|
#
|
298
270
|
# @!attribute [rw] routing_config
|
299
|
-
#
|
300
|
-
#
|
301
|
-
#
|
271
|
+
# The [routing configuration][1] of the alias.
|
272
|
+
#
|
273
|
+
#
|
274
|
+
#
|
275
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
302
276
|
# @return [Types::AliasRoutingConfiguration]
|
303
277
|
#
|
304
278
|
# @!attribute [rw] revision_id
|
305
|
-
#
|
279
|
+
# A unique identifier that changes when you update the alias.
|
306
280
|
# @return [String]
|
307
281
|
#
|
308
282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasConfiguration AWS API Documentation
|
@@ -317,7 +291,7 @@ module Aws::Lambda
|
|
317
291
|
include Aws::Structure
|
318
292
|
end
|
319
293
|
|
320
|
-
#
|
294
|
+
# A Lambda function alias's [traffic shifting][1] configuration.
|
321
295
|
#
|
322
296
|
#
|
323
297
|
#
|
@@ -392,21 +366,19 @@ module Aws::Lambda
|
|
392
366
|
# @return [String]
|
393
367
|
#
|
394
368
|
# @!attribute [rw] name
|
395
|
-
#
|
369
|
+
# The name of the alias.
|
396
370
|
# @return [String]
|
397
371
|
#
|
398
372
|
# @!attribute [rw] function_version
|
399
|
-
#
|
373
|
+
# The function version that the alias invokes.
|
400
374
|
# @return [String]
|
401
375
|
#
|
402
376
|
# @!attribute [rw] description
|
403
|
-
#
|
377
|
+
# A description of the alias.
|
404
378
|
# @return [String]
|
405
379
|
#
|
406
380
|
# @!attribute [rw] routing_config
|
407
|
-
#
|
408
|
-
# you to dictate what percentage of traffic will invoke each version.
|
409
|
-
# For more information, see [Traffic Shifting Using Aliases][1].
|
381
|
+
# The [routing configuration][1] of the alias.
|
410
382
|
#
|
411
383
|
#
|
412
384
|
#
|
@@ -487,8 +459,8 @@ module Aws::Lambda
|
|
487
459
|
# @return [String]
|
488
460
|
#
|
489
461
|
# @!attribute [rw] starting_position_timestamp
|
490
|
-
# With `StartingPosition` set to `AT_TIMESTAMP`, the
|
491
|
-
#
|
462
|
+
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
463
|
+
# to start reading.
|
492
464
|
# @return [Time]
|
493
465
|
#
|
494
466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
@@ -548,33 +520,34 @@ module Aws::Lambda
|
|
548
520
|
#
|
549
521
|
# **Name formats**
|
550
522
|
#
|
551
|
-
# * **Function name** - `
|
523
|
+
# * **Function name** - `my-function`.
|
552
524
|
#
|
553
525
|
# * **Function ARN** -
|
554
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
526
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
555
527
|
#
|
556
|
-
# * **Partial ARN** - `123456789012:function:
|
528
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
557
529
|
#
|
558
530
|
# The length constraint applies only to the full ARN. If you specify
|
559
531
|
# only the function name, it is limited to 64 characters in length.
|
560
532
|
# @return [String]
|
561
533
|
#
|
562
534
|
# @!attribute [rw] runtime
|
563
|
-
# The
|
564
|
-
# @return [String]
|
535
|
+
# The identifier of the function's [runtime][1].
|
565
536
|
#
|
566
|
-
# @!attribute [rw] role
|
567
|
-
# The Amazon Resource Name (ARN) of the function's [execution
|
568
|
-
# role][1].
|
569
537
|
#
|
570
538
|
#
|
539
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
540
|
+
# @return [String]
|
571
541
|
#
|
572
|
-
#
|
542
|
+
# @!attribute [rw] role
|
543
|
+
# The Amazon Resource Name (ARN) of the function's execution role.
|
573
544
|
# @return [String]
|
574
545
|
#
|
575
546
|
# @!attribute [rw] handler
|
576
547
|
# The name of the method within your code that Lambda calls to execute
|
577
|
-
# your function.
|
548
|
+
# your function. The format includes the filename and can also include
|
549
|
+
# namespaces and other qualifiers, depending on the runtime. For more
|
550
|
+
# information, see [Programming Model][1].
|
578
551
|
#
|
579
552
|
#
|
580
553
|
#
|
@@ -607,10 +580,14 @@ module Aws::Lambda
|
|
607
580
|
# @return [Boolean]
|
608
581
|
#
|
609
582
|
# @!attribute [rw] vpc_config
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
613
|
-
#
|
583
|
+
# For network connectivity to AWS resources in a VPC, specify a list
|
584
|
+
# of security groups and subnets in the VPC. When you connect a
|
585
|
+
# function to a VPC, it can only access resources and the internet
|
586
|
+
# through that VPC. For more information, see [VPC Settings][1].
|
587
|
+
#
|
588
|
+
#
|
589
|
+
#
|
590
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/vpc.html
|
614
591
|
# @return [Types::VpcConfig]
|
615
592
|
#
|
616
593
|
# @!attribute [rw] dead_letter_config
|
@@ -629,9 +606,9 @@ module Aws::Lambda
|
|
629
606
|
# @return [Types::Environment]
|
630
607
|
#
|
631
608
|
# @!attribute [rw] kms_key_arn
|
632
|
-
# The ARN of the
|
633
|
-
# variables. If not provided, AWS Lambda
|
634
|
-
# key.
|
609
|
+
# The ARN of the AWS Key Management Service key used to encrypt your
|
610
|
+
# function's environment variables. If not provided, AWS Lambda uses
|
611
|
+
# a default service key.
|
635
612
|
# @return [String]
|
636
613
|
#
|
637
614
|
# @!attribute [rw] tracing_config
|
@@ -640,9 +617,7 @@ module Aws::Lambda
|
|
640
617
|
# @return [Types::TracingConfig]
|
641
618
|
#
|
642
619
|
# @!attribute [rw] tags
|
643
|
-
#
|
644
|
-
# more information, see [Tagging Lambda Functions][1] in the **AWS
|
645
|
-
# Lambda Developer Guide**.
|
620
|
+
# A list of [tags][1] to apply to the function.
|
646
621
|
#
|
647
622
|
#
|
648
623
|
#
|
@@ -651,7 +626,7 @@ module Aws::Lambda
|
|
651
626
|
#
|
652
627
|
# @!attribute [rw] layers
|
653
628
|
# A list of [function layers][1] to add to the function's execution
|
654
|
-
# environment.
|
629
|
+
# environment. Specify each layer by ARN, including the version.
|
655
630
|
#
|
656
631
|
#
|
657
632
|
#
|
@@ -730,7 +705,7 @@ module Aws::Lambda
|
|
730
705
|
# @return [String]
|
731
706
|
#
|
732
707
|
# @!attribute [rw] name
|
733
|
-
#
|
708
|
+
# The name of the alias.
|
734
709
|
# @return [String]
|
735
710
|
#
|
736
711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasRequest AWS API Documentation
|
@@ -771,12 +746,12 @@ module Aws::Lambda
|
|
771
746
|
#
|
772
747
|
# **Name formats**
|
773
748
|
#
|
774
|
-
# * **Function name** - `
|
749
|
+
# * **Function name** - `my-function`.
|
775
750
|
#
|
776
751
|
# * **Function ARN** -
|
777
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
752
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
778
753
|
#
|
779
|
-
# * **Partial ARN** - `123456789012:function:
|
754
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
780
755
|
#
|
781
756
|
# The length constraint applies only to the full ARN. If you specify
|
782
757
|
# only the function name, it is limited to 64 characters in length.
|
@@ -798,19 +773,21 @@ module Aws::Lambda
|
|
798
773
|
# }
|
799
774
|
#
|
800
775
|
# @!attribute [rw] function_name
|
801
|
-
# The name of the Lambda function.
|
776
|
+
# The name of the Lambda function or version.
|
802
777
|
#
|
803
778
|
# **Name formats**
|
804
779
|
#
|
805
|
-
# * **Function name** - `
|
780
|
+
# * **Function name** - `my-function` (name-only), `my-function:1`
|
781
|
+
# (with version).
|
806
782
|
#
|
807
783
|
# * **Function ARN** -
|
808
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
784
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
809
785
|
#
|
810
|
-
# * **Partial ARN** - `123456789012:function:
|
786
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
811
787
|
#
|
812
|
-
#
|
813
|
-
#
|
788
|
+
# You can append a version number or alias to any of the formats. The
|
789
|
+
# length constraint applies only to the full ARN. If you specify only
|
790
|
+
# the function name, it is limited to 64 characters in length.
|
814
791
|
# @return [String]
|
815
792
|
#
|
816
793
|
# @!attribute [rw] qualifier
|
@@ -835,7 +812,7 @@ module Aws::Lambda
|
|
835
812
|
# }
|
836
813
|
#
|
837
814
|
# @!attribute [rw] layer_name
|
838
|
-
# The name of the layer.
|
815
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
839
816
|
# @return [String]
|
840
817
|
#
|
841
818
|
# @!attribute [rw] version_number
|
@@ -929,8 +906,7 @@ module Aws::Lambda
|
|
929
906
|
# @return [String]
|
930
907
|
#
|
931
908
|
# @!attribute [rw] last_modified
|
932
|
-
# The date that the event source mapping was last updated
|
933
|
-
# time seconds.
|
909
|
+
# The date that the event source mapping was last updated.
|
934
910
|
# @return [Time]
|
935
911
|
#
|
936
912
|
# @!attribute [rw] last_processing_result
|
@@ -963,8 +939,8 @@ module Aws::Lambda
|
|
963
939
|
include Aws::Structure
|
964
940
|
end
|
965
941
|
|
966
|
-
# The code for the Lambda function. You can specify either an
|
967
|
-
#
|
942
|
+
# The code for the Lambda function. You can specify either an object in
|
943
|
+
# Amazon S3, or upload a deployment package directly.
|
968
944
|
#
|
969
945
|
# @note When making an API call, you may pass FunctionCode
|
970
946
|
# data as a hash:
|
@@ -977,13 +953,13 @@ module Aws::Lambda
|
|
977
953
|
# }
|
978
954
|
#
|
979
955
|
# @!attribute [rw] zip_file
|
980
|
-
# The base64-encoded contents of
|
981
|
-
#
|
982
|
-
# for you.
|
956
|
+
# The base64-encoded contents of the deployment package. AWS SDK and
|
957
|
+
# AWS CLI clients handle the encoding for you.
|
983
958
|
# @return [String]
|
984
959
|
#
|
985
960
|
# @!attribute [rw] s3_bucket
|
986
|
-
# An Amazon S3 bucket in the same region as your function.
|
961
|
+
# An Amazon S3 bucket in the same region as your function. The bucket
|
962
|
+
# can be in a different AWS account.
|
987
963
|
# @return [String]
|
988
964
|
#
|
989
965
|
# @!attribute [rw] s3_key
|
@@ -1005,15 +981,15 @@ module Aws::Lambda
|
|
1005
981
|
include Aws::Structure
|
1006
982
|
end
|
1007
983
|
|
1008
|
-
#
|
984
|
+
# Details about a function's deployment package.
|
1009
985
|
#
|
1010
986
|
# @!attribute [rw] repository_type
|
1011
|
-
# The
|
987
|
+
# The service hosting the file.
|
1012
988
|
# @return [String]
|
1013
989
|
#
|
1014
990
|
# @!attribute [rw] location
|
1015
|
-
#
|
1016
|
-
#
|
991
|
+
# A pre-signed URL that you can use to download the deployment
|
992
|
+
# package.
|
1017
993
|
# @return [String]
|
1018
994
|
#
|
1019
995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
|
@@ -1024,14 +1000,14 @@ module Aws::Lambda
|
|
1024
1000
|
include Aws::Structure
|
1025
1001
|
end
|
1026
1002
|
|
1027
|
-
#
|
1003
|
+
# Details about a function's configuration.
|
1028
1004
|
#
|
1029
1005
|
# @!attribute [rw] function_name
|
1030
1006
|
# The name of the function.
|
1031
1007
|
# @return [String]
|
1032
1008
|
#
|
1033
1009
|
# @!attribute [rw] function_arn
|
1034
|
-
# The function's Amazon Resource Name.
|
1010
|
+
# The function's Amazon Resource Name (ARN).
|
1035
1011
|
# @return [String]
|
1036
1012
|
#
|
1037
1013
|
# @!attribute [rw] runtime
|
@@ -1102,7 +1078,7 @@ module Aws::Lambda
|
|
1102
1078
|
# @return [Types::TracingConfigResponse]
|
1103
1079
|
#
|
1104
1080
|
# @!attribute [rw] master_arn
|
1105
|
-
#
|
1081
|
+
# For Lambda@Edge functions, the ARN of the master function.
|
1106
1082
|
# @return [String]
|
1107
1083
|
#
|
1108
1084
|
# @!attribute [rw] revision_id
|
@@ -1110,7 +1086,7 @@ module Aws::Lambda
|
|
1110
1086
|
# @return [String]
|
1111
1087
|
#
|
1112
1088
|
# @!attribute [rw] layers
|
1113
|
-
#
|
1089
|
+
# The function's [ layers][1]
|
1114
1090
|
#
|
1115
1091
|
#
|
1116
1092
|
#
|
@@ -1190,7 +1166,7 @@ module Aws::Lambda
|
|
1190
1166
|
# @return [String]
|
1191
1167
|
#
|
1192
1168
|
# @!attribute [rw] name
|
1193
|
-
#
|
1169
|
+
# The name of the alias.
|
1194
1170
|
# @return [String]
|
1195
1171
|
#
|
1196
1172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAliasRequest AWS API Documentation
|
@@ -1228,19 +1204,21 @@ module Aws::Lambda
|
|
1228
1204
|
# }
|
1229
1205
|
#
|
1230
1206
|
# @!attribute [rw] function_name
|
1231
|
-
# The name of the Lambda function.
|
1207
|
+
# The name of the Lambda function, version, or alias.
|
1232
1208
|
#
|
1233
1209
|
# **Name formats**
|
1234
1210
|
#
|
1235
|
-
# * **Function name** - `
|
1211
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
1212
|
+
# (with alias).
|
1236
1213
|
#
|
1237
1214
|
# * **Function ARN** -
|
1238
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
1215
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1239
1216
|
#
|
1240
|
-
# * **Partial ARN** - `123456789012:function:
|
1217
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1241
1218
|
#
|
1242
|
-
#
|
1243
|
-
#
|
1219
|
+
# You can append a version number or alias to any of the formats. The
|
1220
|
+
# length constraint applies only to the full ARN. If you specify only
|
1221
|
+
# the function name, it is limited to 64 characters in length.
|
1244
1222
|
# @return [String]
|
1245
1223
|
#
|
1246
1224
|
# @!attribute [rw] qualifier
|
@@ -1265,19 +1243,21 @@ module Aws::Lambda
|
|
1265
1243
|
# }
|
1266
1244
|
#
|
1267
1245
|
# @!attribute [rw] function_name
|
1268
|
-
# The name of the Lambda function.
|
1246
|
+
# The name of the Lambda function, version, or alias.
|
1269
1247
|
#
|
1270
1248
|
# **Name formats**
|
1271
1249
|
#
|
1272
|
-
# * **Function name** - `
|
1250
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
1251
|
+
# (with alias).
|
1273
1252
|
#
|
1274
1253
|
# * **Function ARN** -
|
1275
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
1254
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1276
1255
|
#
|
1277
|
-
# * **Partial ARN** - `123456789012:function:
|
1256
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1278
1257
|
#
|
1279
|
-
#
|
1280
|
-
#
|
1258
|
+
# You can append a version number or alias to any of the formats. The
|
1259
|
+
# length constraint applies only to the full ARN. If you specify only
|
1260
|
+
# the function name, it is limited to 64 characters in length.
|
1281
1261
|
# @return [String]
|
1282
1262
|
#
|
1283
1263
|
# @!attribute [rw] qualifier
|
@@ -1293,21 +1273,16 @@ module Aws::Lambda
|
|
1293
1273
|
include Aws::Structure
|
1294
1274
|
end
|
1295
1275
|
|
1296
|
-
# This response contains the object for the Lambda function location
|
1297
|
-
# (see FunctionCodeLocation.
|
1298
|
-
#
|
1299
1276
|
# @!attribute [rw] configuration
|
1300
|
-
# The function
|
1277
|
+
# The configuration of the function or version.
|
1301
1278
|
# @return [Types::FunctionConfiguration]
|
1302
1279
|
#
|
1303
1280
|
# @!attribute [rw] code
|
1304
|
-
# The function
|
1281
|
+
# The deployment package of the function or version.
|
1305
1282
|
# @return [Types::FunctionCodeLocation]
|
1306
1283
|
#
|
1307
1284
|
# @!attribute [rw] tags
|
1308
|
-
#
|
1309
|
-
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
1310
|
-
# Developer Guide**.
|
1285
|
+
# The function's [tags][1].
|
1311
1286
|
#
|
1312
1287
|
#
|
1313
1288
|
#
|
@@ -1315,8 +1290,7 @@ module Aws::Lambda
|
|
1315
1290
|
# @return [Hash<String,String>]
|
1316
1291
|
#
|
1317
1292
|
# @!attribute [rw] concurrency
|
1318
|
-
# The
|
1319
|
-
# information, see [Managing Concurrency][1].
|
1293
|
+
# The function's [reserved concurrency][1].
|
1320
1294
|
#
|
1321
1295
|
#
|
1322
1296
|
#
|
@@ -1342,7 +1316,7 @@ module Aws::Lambda
|
|
1342
1316
|
# }
|
1343
1317
|
#
|
1344
1318
|
# @!attribute [rw] layer_name
|
1345
|
-
# The name of the layer.
|
1319
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
1346
1320
|
# @return [String]
|
1347
1321
|
#
|
1348
1322
|
# @!attribute [rw] version_number
|
@@ -1382,7 +1356,7 @@ module Aws::Lambda
|
|
1382
1356
|
# }
|
1383
1357
|
#
|
1384
1358
|
# @!attribute [rw] layer_name
|
1385
|
-
# The name of the layer.
|
1359
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
1386
1360
|
# @return [String]
|
1387
1361
|
#
|
1388
1362
|
# @!attribute [rw] version_number
|
@@ -1402,7 +1376,7 @@ module Aws::Lambda
|
|
1402
1376
|
# @return [Types::LayerVersionContentOutput]
|
1403
1377
|
#
|
1404
1378
|
# @!attribute [rw] layer_arn
|
1405
|
-
# The
|
1379
|
+
# The ARN of the layer.
|
1406
1380
|
# @return [String]
|
1407
1381
|
#
|
1408
1382
|
# @!attribute [rw] layer_version_arn
|
@@ -1457,27 +1431,25 @@ module Aws::Lambda
|
|
1457
1431
|
# }
|
1458
1432
|
#
|
1459
1433
|
# @!attribute [rw] function_name
|
1460
|
-
# The name of the
|
1434
|
+
# The name of the Lambda function, version, or alias.
|
1461
1435
|
#
|
1462
1436
|
# **Name formats**
|
1463
1437
|
#
|
1464
|
-
# * **Function name** - `
|
1438
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
1439
|
+
# (with alias).
|
1465
1440
|
#
|
1466
1441
|
# * **Function ARN** -
|
1467
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
1442
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1468
1443
|
#
|
1469
|
-
# * **Partial ARN** - `123456789012:function:
|
1444
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1470
1445
|
#
|
1471
|
-
#
|
1472
|
-
#
|
1446
|
+
# You can append a version number or alias to any of the formats. The
|
1447
|
+
# length constraint applies only to the full ARN. If you specify only
|
1448
|
+
# the function name, it is limited to 64 characters in length.
|
1473
1449
|
# @return [String]
|
1474
1450
|
#
|
1475
1451
|
# @!attribute [rw] qualifier
|
1476
|
-
#
|
1477
|
-
# version or an alias name in which case this API will return all
|
1478
|
-
# permissions associated with the specific qualified ARN. If you
|
1479
|
-
# don't provide this parameter, the API will return permissions that
|
1480
|
-
# apply to the unqualified function ARN.
|
1452
|
+
# Specify a version or alias to get the policy for that resource.
|
1481
1453
|
# @return [String]
|
1482
1454
|
#
|
1483
1455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyRequest AWS API Documentation
|
@@ -1489,13 +1461,11 @@ module Aws::Lambda
|
|
1489
1461
|
end
|
1490
1462
|
|
1491
1463
|
# @!attribute [rw] policy
|
1492
|
-
# The resource policy
|
1493
|
-
# response returns the same as a string using a backslash ("\\") as
|
1494
|
-
# an escape character in the JSON.
|
1464
|
+
# The resource-based policy.
|
1495
1465
|
# @return [String]
|
1496
1466
|
#
|
1497
1467
|
# @!attribute [rw] revision_id
|
1498
|
-
#
|
1468
|
+
# A unique identifier for the current revision of the policy.
|
1499
1469
|
# @return [String]
|
1500
1470
|
#
|
1501
1471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyResponse AWS API Documentation
|
@@ -1519,19 +1489,21 @@ module Aws::Lambda
|
|
1519
1489
|
# }
|
1520
1490
|
#
|
1521
1491
|
# @!attribute [rw] function_name
|
1522
|
-
# The name of the Lambda function.
|
1492
|
+
# The name of the Lambda function, version, or alias.
|
1523
1493
|
#
|
1524
1494
|
# **Name formats**
|
1525
1495
|
#
|
1526
|
-
# * **Function name** - `
|
1496
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
1497
|
+
# (with alias).
|
1527
1498
|
#
|
1528
1499
|
# * **Function ARN** -
|
1529
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
1500
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1530
1501
|
#
|
1531
|
-
# * **Partial ARN** - `123456789012:function:
|
1502
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1532
1503
|
#
|
1533
|
-
#
|
1534
|
-
#
|
1504
|
+
# You can append a version number or alias to any of the formats. The
|
1505
|
+
# length constraint applies only to the full ARN. If you specify only
|
1506
|
+
# the function name, it is limited to 64 characters in length.
|
1535
1507
|
# @return [String]
|
1536
1508
|
#
|
1537
1509
|
# @!attribute [rw] invocation_type
|
@@ -1539,43 +1511,24 @@ module Aws::Lambda
|
|
1539
1511
|
#
|
1540
1512
|
# * `RequestResponse` (default) - Invoke the function synchronously.
|
1541
1513
|
# Keep the connection open until the function returns a response or
|
1542
|
-
# times out.
|
1514
|
+
# times out. The API response includes the function response and
|
1515
|
+
# additional data.
|
1543
1516
|
#
|
1544
1517
|
# * `Event` - Invoke the function asynchronously. Send events that
|
1545
1518
|
# fail multiple times to the function's dead-letter queue (if
|
1546
|
-
# configured).
|
1519
|
+
# configured). The API response only includes a status code.
|
1547
1520
|
#
|
1548
1521
|
# * `DryRun` - Validate parameter values and verify that the user or
|
1549
1522
|
# role has permission to invoke the function.
|
1550
1523
|
# @return [String]
|
1551
1524
|
#
|
1552
1525
|
# @!attribute [rw] log_type
|
1553
|
-
#
|
1554
|
-
# you specify the `InvocationType` parameter with value
|
1555
|
-
# `RequestResponse`. In this case, AWS Lambda returns the
|
1556
|
-
# base64-encoded last 4 KB of log data produced by your Lambda
|
1557
|
-
# function in the `x-amz-log-result` header.
|
1526
|
+
# Set to `Tail` to include the execution log in the response.
|
1558
1527
|
# @return [String]
|
1559
1528
|
#
|
1560
1529
|
# @!attribute [rw] client_context
|
1561
|
-
#
|
1562
|
-
# to the
|
1563
|
-
# client information in your Lambda function as you choose through the
|
1564
|
-
# context variable. For an example of a `ClientContext` JSON, see
|
1565
|
-
# [PutEvents][1] in the *Amazon Mobile Analytics API Reference and
|
1566
|
-
# User Guide*.
|
1567
|
-
#
|
1568
|
-
# The ClientContext JSON must be base64-encoded and has a maximum size
|
1569
|
-
# of 3583 bytes.
|
1570
|
-
#
|
1571
|
-
# <note markdown="1"> `ClientContext` information is returned only if you use the
|
1572
|
-
# synchronous (`RequestResponse`) invocation type.
|
1573
|
-
#
|
1574
|
-
# </note>
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
# [1]: http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html
|
1530
|
+
# Up to 3583 bytes of base64-encoded data about the invoking client to
|
1531
|
+
# pass to the function in the context object.
|
1579
1532
|
# @return [String]
|
1580
1533
|
#
|
1581
1534
|
# @!attribute [rw] payload
|
@@ -1599,9 +1552,6 @@ module Aws::Lambda
|
|
1599
1552
|
include Aws::Structure
|
1600
1553
|
end
|
1601
1554
|
|
1602
|
-
# Upon success, returns an empty response. Otherwise, throws an
|
1603
|
-
# exception.
|
1604
|
-
#
|
1605
1555
|
# @!attribute [rw] status_code
|
1606
1556
|
# The HTTP status code will be in the 200 range for successful
|
1607
1557
|
# request. For the `RequestResponse` invocation type this status code
|
@@ -1611,44 +1561,29 @@ module Aws::Lambda
|
|
1611
1561
|
# @return [Integer]
|
1612
1562
|
#
|
1613
1563
|
# @!attribute [rw] function_error
|
1614
|
-
#
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
# are reported by the function while the `Unhandled` errors are those
|
1618
|
-
# detected and reported by AWS Lambda. Unhandled errors include out of
|
1619
|
-
# memory errors and function timeouts. For information about how to
|
1620
|
-
# report an `Handled` error, see [Programming Model][1].
|
1621
|
-
#
|
1564
|
+
# If present, indicates that an error occured during function
|
1565
|
+
# execution. Details about the error are included in the response
|
1566
|
+
# payload.
|
1622
1567
|
#
|
1568
|
+
# * `Handled` - The runtime caught an error thrown by the function and
|
1569
|
+
# formatted it into a JSON document.
|
1623
1570
|
#
|
1624
|
-
#
|
1571
|
+
# * `Unhandled` - The runtime did not handle the error. For example,
|
1572
|
+
# the function ran out of memory or timed out.
|
1625
1573
|
# @return [String]
|
1626
1574
|
#
|
1627
1575
|
# @!attribute [rw] log_result
|
1628
|
-
#
|
1629
|
-
# This is present only if the invocation type is `RequestResponse` and
|
1630
|
-
# the logs were requested.
|
1576
|
+
# The last 4 KB of the execution log, base64 encoded.
|
1631
1577
|
# @return [String]
|
1632
1578
|
#
|
1633
1579
|
# @!attribute [rw] payload
|
1634
|
-
#
|
1635
|
-
# function. This is present only if the invocation type is
|
1636
|
-
# `RequestResponse`.
|
1637
|
-
#
|
1638
|
-
# In the event of a function error this field contains a message
|
1639
|
-
# describing the error. For the `Handled` errors the Lambda function
|
1640
|
-
# will report this message. For `Unhandled` errors AWS Lambda reports
|
1641
|
-
# the message.
|
1580
|
+
# The response from the function, or an error object.
|
1642
1581
|
# @return [String]
|
1643
1582
|
#
|
1644
1583
|
# @!attribute [rw] executed_version
|
1645
|
-
# The
|
1646
|
-
#
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
#
|
1650
|
-
#
|
1651
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
1584
|
+
# The version of the function that executed. When you invoke a
|
1585
|
+
# function with an alias, indicates which version the alias resolved
|
1586
|
+
# to.
|
1652
1587
|
# @return [String]
|
1653
1588
|
#
|
1654
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
|
@@ -1675,12 +1610,12 @@ module Aws::Lambda
|
|
1675
1610
|
#
|
1676
1611
|
# **Name formats**
|
1677
1612
|
#
|
1678
|
-
# * **Function name** - `
|
1613
|
+
# * **Function name** - `my-function`.
|
1679
1614
|
#
|
1680
1615
|
# * **Function ARN** -
|
1681
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
1616
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1682
1617
|
#
|
1683
|
-
# * **Partial ARN** - `123456789012:function:
|
1618
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1684
1619
|
#
|
1685
1620
|
# The length constraint applies only to the full ARN. If you specify
|
1686
1621
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1712,7 +1647,11 @@ module Aws::Lambda
|
|
1712
1647
|
include Aws::Structure
|
1713
1648
|
end
|
1714
1649
|
|
1715
|
-
#
|
1650
|
+
# An [AWS Lambda layer][1].
|
1651
|
+
#
|
1652
|
+
#
|
1653
|
+
#
|
1654
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1716
1655
|
#
|
1717
1656
|
# @!attribute [rw] arn
|
1718
1657
|
# The Amazon Resource Name (ARN) of the function layer.
|
@@ -1730,9 +1669,13 @@ module Aws::Lambda
|
|
1730
1669
|
include Aws::Structure
|
1731
1670
|
end
|
1732
1671
|
|
1733
|
-
# A ZIP archive that contains the contents of
|
1734
|
-
# can specify either an Amazon S3 location, or upload a layer
|
1735
|
-
# directly.
|
1672
|
+
# A ZIP archive that contains the contents of an [AWS Lambda layer][1].
|
1673
|
+
# You can specify either an Amazon S3 location, or upload a layer
|
1674
|
+
# archive directly.
|
1675
|
+
#
|
1676
|
+
#
|
1677
|
+
#
|
1678
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1736
1679
|
#
|
1737
1680
|
# @note When making an API call, you may pass LayerVersionContentInput
|
1738
1681
|
# data as a hash:
|
@@ -1772,7 +1715,11 @@ module Aws::Lambda
|
|
1772
1715
|
include Aws::Structure
|
1773
1716
|
end
|
1774
1717
|
|
1775
|
-
# Details about a layer
|
1718
|
+
# Details about a version of an [AWS Lambda layer][1].
|
1719
|
+
#
|
1720
|
+
#
|
1721
|
+
#
|
1722
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1776
1723
|
#
|
1777
1724
|
# @!attribute [rw] location
|
1778
1725
|
# A link to the layer archive in Amazon S3 that is valid for 10
|
@@ -1796,7 +1743,11 @@ module Aws::Lambda
|
|
1796
1743
|
include Aws::Structure
|
1797
1744
|
end
|
1798
1745
|
|
1799
|
-
# Details about a layer
|
1746
|
+
# Details about a version of an [AWS Lambda layer][1].
|
1747
|
+
#
|
1748
|
+
#
|
1749
|
+
#
|
1750
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1800
1751
|
#
|
1801
1752
|
# @!attribute [rw] layer_version_arn
|
1802
1753
|
# The ARN of the layer version.
|
@@ -1835,7 +1786,11 @@ module Aws::Lambda
|
|
1835
1786
|
include Aws::Structure
|
1836
1787
|
end
|
1837
1788
|
|
1838
|
-
# Details about
|
1789
|
+
# Details about an [AWS Lambda layer][1].
|
1790
|
+
#
|
1791
|
+
#
|
1792
|
+
#
|
1793
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1839
1794
|
#
|
1840
1795
|
# @!attribute [rw] layer_name
|
1841
1796
|
# The name of the layer.
|
@@ -1885,21 +1840,17 @@ module Aws::Lambda
|
|
1885
1840
|
# @return [String]
|
1886
1841
|
#
|
1887
1842
|
# @!attribute [rw] function_version
|
1888
|
-
#
|
1889
|
-
#
|
1890
|
-
# otherwise the API returns all of the aliases created for the Lambda
|
1891
|
-
# function.
|
1843
|
+
# Specify a function version to only list aliases that invoke that
|
1844
|
+
# version.
|
1892
1845
|
# @return [String]
|
1893
1846
|
#
|
1894
1847
|
# @!attribute [rw] marker
|
1895
|
-
#
|
1896
|
-
#
|
1897
|
-
# listing.
|
1848
|
+
# Specify the pagination token returned by a previous request to
|
1849
|
+
# retrieve the next page of results.
|
1898
1850
|
# @return [String]
|
1899
1851
|
#
|
1900
1852
|
# @!attribute [rw] max_items
|
1901
|
-
#
|
1902
|
-
# in response. This parameter value must be greater than 0.
|
1853
|
+
# Limit the number of aliases returned.
|
1903
1854
|
# @return [Integer]
|
1904
1855
|
#
|
1905
1856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesRequest AWS API Documentation
|
@@ -1913,7 +1864,7 @@ module Aws::Lambda
|
|
1913
1864
|
end
|
1914
1865
|
|
1915
1866
|
# @!attribute [rw] next_marker
|
1916
|
-
#
|
1867
|
+
# Pagination token included if more results are available.
|
1917
1868
|
# @return [String]
|
1918
1869
|
#
|
1919
1870
|
# @!attribute [rw] aliases
|
@@ -2014,28 +1965,24 @@ module Aws::Lambda
|
|
2014
1965
|
# }
|
2015
1966
|
#
|
2016
1967
|
# @!attribute [rw] master_region
|
2017
|
-
#
|
2018
|
-
#
|
2019
|
-
#
|
2020
|
-
# `FunctionVersion`.
|
1968
|
+
# For Lambda@Edge functions, the region of the master function. For
|
1969
|
+
# example, `us-east-2` or `ALL`. If specified, you must set
|
1970
|
+
# `FunctionVersion` to `ALL`.
|
2021
1971
|
# @return [String]
|
2022
1972
|
#
|
2023
1973
|
# @!attribute [rw] function_version
|
2024
|
-
# Set to `ALL` to
|
2025
|
-
#
|
1974
|
+
# Set to `ALL` to include entries for all published versions of each
|
1975
|
+
# function.
|
2026
1976
|
# @return [String]
|
2027
1977
|
#
|
2028
1978
|
# @!attribute [rw] marker
|
2029
|
-
#
|
2030
|
-
#
|
2031
|
-
# the listing.
|
1979
|
+
# Specify the pagination token returned by a previous request to
|
1980
|
+
# retrieve the next page of results.
|
2032
1981
|
# @return [String]
|
2033
1982
|
#
|
2034
1983
|
# @!attribute [rw] max_items
|
2035
|
-
#
|
2036
|
-
#
|
2037
|
-
# greater than 0. The absolute maximum of AWS Lambda functions that
|
2038
|
-
# can be returned is 50.
|
1984
|
+
# Specify a value between 1 and 50 to limit the number of functions in
|
1985
|
+
# the response.
|
2039
1986
|
# @return [Integer]
|
2040
1987
|
#
|
2041
1988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
|
@@ -2051,7 +1998,7 @@ module Aws::Lambda
|
|
2051
1998
|
# A list of Lambda functions.
|
2052
1999
|
#
|
2053
2000
|
# @!attribute [rw] next_marker
|
2054
|
-
#
|
2001
|
+
# Pagination token included if more results are available.
|
2055
2002
|
# @return [String]
|
2056
2003
|
#
|
2057
2004
|
# @!attribute [rw] functions
|
@@ -2081,7 +2028,7 @@ module Aws::Lambda
|
|
2081
2028
|
# @return [String]
|
2082
2029
|
#
|
2083
2030
|
# @!attribute [rw] layer_name
|
2084
|
-
# The name of the layer.
|
2031
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
2085
2032
|
# @return [String]
|
2086
2033
|
#
|
2087
2034
|
# @!attribute [rw] marker
|
@@ -2174,13 +2121,7 @@ module Aws::Lambda
|
|
2174
2121
|
# }
|
2175
2122
|
#
|
2176
2123
|
# @!attribute [rw] resource
|
2177
|
-
# The
|
2178
|
-
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2179
|
-
# Developer Guide**.
|
2180
|
-
#
|
2181
|
-
#
|
2182
|
-
#
|
2183
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2124
|
+
# The function's Amazon Resource Name (ARN).
|
2184
2125
|
# @return [String]
|
2185
2126
|
#
|
2186
2127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
|
@@ -2191,12 +2132,7 @@ module Aws::Lambda
|
|
2191
2132
|
end
|
2192
2133
|
|
2193
2134
|
# @!attribute [rw] tags
|
2194
|
-
# The
|
2195
|
-
# [Tagging Lambda Functions][1] in the **AWS Lambda Developer Guide**.
|
2196
|
-
#
|
2197
|
-
#
|
2198
|
-
#
|
2199
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2135
|
+
# The function's tags.
|
2200
2136
|
# @return [Hash<String,String>]
|
2201
2137
|
#
|
2202
2138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsResponse AWS API Documentation
|
@@ -2232,15 +2168,12 @@ module Aws::Lambda
|
|
2232
2168
|
# @return [String]
|
2233
2169
|
#
|
2234
2170
|
# @!attribute [rw] marker
|
2235
|
-
#
|
2236
|
-
#
|
2237
|
-
# continue the listing.
|
2171
|
+
# Specify the pagination token returned by a previous request to
|
2172
|
+
# retrieve the next page of results.
|
2238
2173
|
# @return [String]
|
2239
2174
|
#
|
2240
2175
|
# @!attribute [rw] max_items
|
2241
|
-
#
|
2242
|
-
# function versions to return in response. This parameter value must
|
2243
|
-
# be greater than 0.
|
2176
|
+
# Limit the number of versions returned.
|
2244
2177
|
# @return [Integer]
|
2245
2178
|
#
|
2246
2179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
|
@@ -2253,7 +2186,7 @@ module Aws::Lambda
|
|
2253
2186
|
end
|
2254
2187
|
|
2255
2188
|
# @!attribute [rw] next_marker
|
2256
|
-
#
|
2189
|
+
# Pagination token included if more results are available.
|
2257
2190
|
# @return [String]
|
2258
2191
|
#
|
2259
2192
|
# @!attribute [rw] versions
|
@@ -2285,7 +2218,7 @@ module Aws::Lambda
|
|
2285
2218
|
# }
|
2286
2219
|
#
|
2287
2220
|
# @!attribute [rw] layer_name
|
2288
|
-
# The name of the layer.
|
2221
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
2289
2222
|
# @return [String]
|
2290
2223
|
#
|
2291
2224
|
# @!attribute [rw] description
|
@@ -2336,7 +2269,7 @@ module Aws::Lambda
|
|
2336
2269
|
# @return [Types::LayerVersionContentOutput]
|
2337
2270
|
#
|
2338
2271
|
# @!attribute [rw] layer_arn
|
2339
|
-
# The
|
2272
|
+
# The ARN of the layer.
|
2340
2273
|
# @return [String]
|
2341
2274
|
#
|
2342
2275
|
# @!attribute [rw] layer_version_arn
|
@@ -2409,26 +2342,21 @@ module Aws::Lambda
|
|
2409
2342
|
# @return [String]
|
2410
2343
|
#
|
2411
2344
|
# @!attribute [rw] code_sha_256
|
2412
|
-
#
|
2413
|
-
#
|
2414
|
-
#
|
2415
|
-
# version
|
2416
|
-
# parameter of UpdateFunctionCode to verify the hash value that will
|
2417
|
-
# be returned before publishing your new version.
|
2345
|
+
# Only publish a version if the hash matches the value specified. Use
|
2346
|
+
# this option to avoid publishing a version if the function code has
|
2347
|
+
# changed since you last updated it. You can get the hash for the
|
2348
|
+
# version you uploaded from the output of UpdateFunctionCode.
|
2418
2349
|
# @return [String]
|
2419
2350
|
#
|
2420
2351
|
# @!attribute [rw] description
|
2421
|
-
#
|
2422
|
-
#
|
2352
|
+
# Specify a description for the version to override the description in
|
2353
|
+
# the function configuration.
|
2423
2354
|
# @return [String]
|
2424
2355
|
#
|
2425
2356
|
# @!attribute [rw] revision_id
|
2426
|
-
#
|
2427
|
-
#
|
2428
|
-
#
|
2429
|
-
# alias, it will fail with an error message, advising you retrieve the
|
2430
|
-
# latest function version or alias `RevisionID` using either
|
2431
|
-
# GetFunction or GetAlias.
|
2357
|
+
# Only update the function if the revision ID matches the ID
|
2358
|
+
# specified. Use this option to avoid publishing a version if the
|
2359
|
+
# function configuration has changed since you last updated it.
|
2432
2360
|
# @return [String]
|
2433
2361
|
#
|
2434
2362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest AWS API Documentation
|
@@ -2454,19 +2382,19 @@ module Aws::Lambda
|
|
2454
2382
|
#
|
2455
2383
|
# **Name formats**
|
2456
2384
|
#
|
2457
|
-
# * **Function name** - `
|
2385
|
+
# * **Function name** - `my-function`.
|
2458
2386
|
#
|
2459
2387
|
# * **Function ARN** -
|
2460
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
2388
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2461
2389
|
#
|
2462
|
-
# * **Partial ARN** - `123456789012:function:
|
2390
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
2463
2391
|
#
|
2464
2392
|
# The length constraint applies only to the full ARN. If you specify
|
2465
2393
|
# only the function name, it is limited to 64 characters in length.
|
2466
2394
|
# @return [String]
|
2467
2395
|
#
|
2468
2396
|
# @!attribute [rw] reserved_concurrent_executions
|
2469
|
-
# The
|
2397
|
+
# The number of simultaneous executions to reserve for the function.
|
2470
2398
|
# @return [Integer]
|
2471
2399
|
#
|
2472
2400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest AWS API Documentation
|
@@ -2488,7 +2416,7 @@ module Aws::Lambda
|
|
2488
2416
|
# }
|
2489
2417
|
#
|
2490
2418
|
# @!attribute [rw] layer_name
|
2491
|
-
# The name of the layer.
|
2419
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
2492
2420
|
# @return [String]
|
2493
2421
|
#
|
2494
2422
|
# @!attribute [rw] version_number
|
@@ -2526,19 +2454,21 @@ module Aws::Lambda
|
|
2526
2454
|
# }
|
2527
2455
|
#
|
2528
2456
|
# @!attribute [rw] function_name
|
2529
|
-
# The name of the Lambda function.
|
2457
|
+
# The name of the Lambda function, version, or alias.
|
2530
2458
|
#
|
2531
2459
|
# **Name formats**
|
2532
2460
|
#
|
2533
|
-
# * **Function name** - `
|
2461
|
+
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
2462
|
+
# (with alias).
|
2534
2463
|
#
|
2535
2464
|
# * **Function ARN** -
|
2536
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
2465
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2537
2466
|
#
|
2538
|
-
# * **Partial ARN** - `123456789012:function:
|
2467
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
2539
2468
|
#
|
2540
|
-
#
|
2541
|
-
#
|
2469
|
+
# You can append a version number or alias to any of the formats. The
|
2470
|
+
# length constraint applies only to the full ARN. If you specify only
|
2471
|
+
# the function name, it is limited to 64 characters in length.
|
2542
2472
|
# @return [String]
|
2543
2473
|
#
|
2544
2474
|
# @!attribute [rw] statement_id
|
@@ -2551,12 +2481,9 @@ module Aws::Lambda
|
|
2551
2481
|
# @return [String]
|
2552
2482
|
#
|
2553
2483
|
# @!attribute [rw] revision_id
|
2554
|
-
#
|
2555
|
-
#
|
2556
|
-
#
|
2557
|
-
# alias, it will fail with an error message, advising you to retrieve
|
2558
|
-
# the latest function version or alias `RevisionID` using either
|
2559
|
-
# GetFunction or GetAlias.
|
2484
|
+
# Only update the policy if the revision ID matches the ID specified.
|
2485
|
+
# Use this option to avoid modifying a policy that has changed since
|
2486
|
+
# you last read it.
|
2560
2487
|
# @return [String]
|
2561
2488
|
#
|
2562
2489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest AWS API Documentation
|
@@ -2580,23 +2507,11 @@ module Aws::Lambda
|
|
2580
2507
|
# }
|
2581
2508
|
#
|
2582
2509
|
# @!attribute [rw] resource
|
2583
|
-
# The
|
2584
|
-
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2585
|
-
# Developer Guide**.
|
2586
|
-
#
|
2587
|
-
#
|
2588
|
-
#
|
2589
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2510
|
+
# The function's Amazon Resource Name (ARN).
|
2590
2511
|
# @return [String]
|
2591
2512
|
#
|
2592
2513
|
# @!attribute [rw] tags
|
2593
|
-
#
|
2594
|
-
# function. For more information, see [Tagging Lambda Functions][1] in
|
2595
|
-
# the **AWS Lambda Developer Guide**.
|
2596
|
-
#
|
2597
|
-
#
|
2598
|
-
#
|
2599
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2514
|
+
# A list of tags to apply to the function.
|
2600
2515
|
# @return [Hash<String,String>]
|
2601
2516
|
#
|
2602
2517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest AWS API Documentation
|
@@ -2649,23 +2564,11 @@ module Aws::Lambda
|
|
2649
2564
|
# }
|
2650
2565
|
#
|
2651
2566
|
# @!attribute [rw] resource
|
2652
|
-
# The
|
2653
|
-
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2654
|
-
# Developer Guide**.
|
2655
|
-
#
|
2656
|
-
#
|
2657
|
-
#
|
2658
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2567
|
+
# The function's Amazon Resource Name (ARN).
|
2659
2568
|
# @return [String]
|
2660
2569
|
#
|
2661
2570
|
# @!attribute [rw] tag_keys
|
2662
|
-
#
|
2663
|
-
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2664
|
-
# Developer Guide**.
|
2665
|
-
#
|
2666
|
-
#
|
2667
|
-
#
|
2668
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2571
|
+
# A list of tag keys to remove from the function.
|
2669
2572
|
# @return [Array<String>]
|
2670
2573
|
#
|
2671
2574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest AWS API Documentation
|
@@ -2709,22 +2612,19 @@ module Aws::Lambda
|
|
2709
2612
|
# @return [String]
|
2710
2613
|
#
|
2711
2614
|
# @!attribute [rw] name
|
2712
|
-
# The alias
|
2615
|
+
# The name of the alias.
|
2713
2616
|
# @return [String]
|
2714
2617
|
#
|
2715
2618
|
# @!attribute [rw] function_version
|
2716
|
-
#
|
2717
|
-
# which the alias points.
|
2619
|
+
# The function version that the alias invokes.
|
2718
2620
|
# @return [String]
|
2719
2621
|
#
|
2720
2622
|
# @!attribute [rw] description
|
2721
|
-
#
|
2623
|
+
# A description of the alias.
|
2722
2624
|
# @return [String]
|
2723
2625
|
#
|
2724
2626
|
# @!attribute [rw] routing_config
|
2725
|
-
#
|
2726
|
-
# you to dictate what percentage of traffic will invoke each version.
|
2727
|
-
# For more information, see [Traffic Shifting Using Aliases][1].
|
2627
|
+
# The [routing configuration][1] of the alias.
|
2728
2628
|
#
|
2729
2629
|
#
|
2730
2630
|
#
|
@@ -2732,12 +2632,9 @@ module Aws::Lambda
|
|
2732
2632
|
# @return [Types::AliasRoutingConfiguration]
|
2733
2633
|
#
|
2734
2634
|
# @!attribute [rw] revision_id
|
2735
|
-
#
|
2736
|
-
#
|
2737
|
-
#
|
2738
|
-
# alias, it will fail with an error message, advising you retrieve the
|
2739
|
-
# latest function version or alias `RevisionID` using either
|
2740
|
-
# GetFunction or GetAlias.
|
2635
|
+
# Only update the alias if the revision ID matches the ID specified.
|
2636
|
+
# Use this option to avoid modifying an alias that has changed since
|
2637
|
+
# you last read it.
|
2741
2638
|
# @return [String]
|
2742
2639
|
#
|
2743
2640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest AWS API Documentation
|
@@ -2828,68 +2725,51 @@ module Aws::Lambda
|
|
2828
2725
|
#
|
2829
2726
|
# **Name formats**
|
2830
2727
|
#
|
2831
|
-
# * **Function name** - `
|
2728
|
+
# * **Function name** - `my-function`.
|
2832
2729
|
#
|
2833
2730
|
# * **Function ARN** -
|
2834
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
2731
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2835
2732
|
#
|
2836
|
-
# * **Partial ARN** - `123456789012:function:
|
2733
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
2837
2734
|
#
|
2838
2735
|
# The length constraint applies only to the full ARN. If you specify
|
2839
2736
|
# only the function name, it is limited to 64 characters in length.
|
2840
2737
|
# @return [String]
|
2841
2738
|
#
|
2842
2739
|
# @!attribute [rw] zip_file
|
2843
|
-
# The contents of
|
2844
|
-
#
|
2845
|
-
# must be base64-encoded. If you are using the AWS SDKs or the AWS
|
2846
|
-
# CLI, the SDKs or CLI will do the encoding for you. For more
|
2847
|
-
# information about creating a .zip file, see [Execution
|
2848
|
-
# Permissions][1].
|
2849
|
-
#
|
2850
|
-
#
|
2851
|
-
#
|
2852
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role.html
|
2740
|
+
# The base64-encoded contents of the deployment package. AWS SDK and
|
2741
|
+
# AWS CLI clients handle the encoding for you.
|
2853
2742
|
# @return [String]
|
2854
2743
|
#
|
2855
2744
|
# @!attribute [rw] s3_bucket
|
2856
|
-
# Amazon S3 bucket
|
2857
|
-
#
|
2858
|
-
# where you are creating the Lambda function.
|
2745
|
+
# An Amazon S3 bucket in the same region as your function. The bucket
|
2746
|
+
# can be in a different AWS account.
|
2859
2747
|
# @return [String]
|
2860
2748
|
#
|
2861
2749
|
# @!attribute [rw] s3_key
|
2862
|
-
# The Amazon S3
|
2863
|
-
# upload.
|
2750
|
+
# The Amazon S3 key of the deployment package.
|
2864
2751
|
# @return [String]
|
2865
2752
|
#
|
2866
2753
|
# @!attribute [rw] s3_object_version
|
2867
|
-
#
|
2868
|
-
#
|
2754
|
+
# For versioned objects, the version of the deployment package object
|
2755
|
+
# to use.
|
2869
2756
|
# @return [String]
|
2870
2757
|
#
|
2871
2758
|
# @!attribute [rw] publish
|
2872
|
-
#
|
2873
|
-
# the
|
2759
|
+
# Set to true to publish a new version of the function after updating
|
2760
|
+
# the code. This has the same effect as calling PublishVersion
|
2761
|
+
# separately.
|
2874
2762
|
# @return [Boolean]
|
2875
2763
|
#
|
2876
2764
|
# @!attribute [rw] dry_run
|
2877
|
-
#
|
2878
|
-
#
|
2879
|
-
# atomic operation. It will do all necessary computation and
|
2880
|
-
# validation of your code but will not upload it or a publish a
|
2881
|
-
# version. Each time this operation is invoked, the `CodeSha256` hash
|
2882
|
-
# value of the provided code will also be computed and returned in the
|
2883
|
-
# response.
|
2765
|
+
# Set to true to validate the request parameters and access
|
2766
|
+
# permissions without modifying the function code.
|
2884
2767
|
# @return [Boolean]
|
2885
2768
|
#
|
2886
2769
|
# @!attribute [rw] revision_id
|
2887
|
-
#
|
2888
|
-
#
|
2889
|
-
#
|
2890
|
-
# alias, it will fail with an error message, advising you to retrieve
|
2891
|
-
# the latest function version or alias `RevisionID` using either using
|
2892
|
-
# using either GetFunction or GetAlias.
|
2770
|
+
# Only update the function if the revision ID matches the ID
|
2771
|
+
# specified. Use this option to avoid modifying a function that has
|
2772
|
+
# changed since you last read it.
|
2893
2773
|
# @return [String]
|
2894
2774
|
#
|
2895
2775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
@@ -2942,12 +2822,12 @@ module Aws::Lambda
|
|
2942
2822
|
#
|
2943
2823
|
# **Name formats**
|
2944
2824
|
#
|
2945
|
-
# * **Function name** - `
|
2825
|
+
# * **Function name** - `my-function`.
|
2946
2826
|
#
|
2947
2827
|
# * **Function ARN** -
|
2948
|
-
# `arn:aws:lambda:us-west-2:123456789012:function:
|
2828
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2949
2829
|
#
|
2950
|
-
# * **Partial ARN** - `123456789012:function:
|
2830
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
2951
2831
|
#
|
2952
2832
|
# The length constraint applies only to the full ARN. If you specify
|
2953
2833
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3020,12 +2900,9 @@ module Aws::Lambda
|
|
3020
2900
|
# @return [Types::TracingConfig]
|
3021
2901
|
#
|
3022
2902
|
# @!attribute [rw] revision_id
|
3023
|
-
#
|
3024
|
-
#
|
3025
|
-
#
|
3026
|
-
# alias, it will fail with an error message, advising you to retrieve
|
3027
|
-
# the latest function version or alias `RevisionID` using either
|
3028
|
-
# GetFunction or GetAlias.
|
2903
|
+
# Only update the function if the revision ID matches the ID
|
2904
|
+
# specified. Use this option to avoid modifying a function that has
|
2905
|
+
# changed since you last read it.
|
3029
2906
|
# @return [String]
|
3030
2907
|
#
|
3031
2908
|
# @!attribute [rw] layers
|