aws-sdk-lambda 1.10.0 → 1.11.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 +474 -492
- data/lib/aws-sdk-lambda/types.rb +509 -503
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98a128ef0658257883ad767a8e594ad5b45614f7
|
4
|
+
data.tar.gz: 49b7e1b3937a96e6d4401568a3f31992bd8df8d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1703387a6bbe83763c91a1a738523247c253ada36df160fae56bd61403b0f9f428f863e000ca0e91a2c4bc334c2c18cbbd9e5f6713dbaf082b055458b45b5a4f
|
7
|
+
data.tar.gz: 0e83643676aa95767bd825138d1b1ab903389cab1ad31433ee74d829e0c883bf68f83702fe676bcd4ee0da5c8e0be3b23b7ff64bf8a050c5b2d3fd6c2f077761
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -178,38 +178,39 @@ module Aws::Lambda
|
|
178
178
|
|
179
179
|
# Adds a permission to the resource policy associated with the specified
|
180
180
|
# AWS Lambda function. You use resource policies to grant permissions to
|
181
|
-
# event sources that use *push* model. In a *push* model, event
|
182
|
-
# (such as Amazon S3 and custom applications) invoke your Lambda
|
181
|
+
# event sources that use the *push* model. In a *push* model, event
|
182
|
+
# sources (such as Amazon S3 and custom applications) invoke your Lambda
|
183
183
|
# function. Each permission you add to the resource policy allows an
|
184
|
-
# event source
|
184
|
+
# event source permission to invoke the Lambda function.
|
185
185
|
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
# Aliases][2].
|
186
|
+
# Permissions apply to the Amazon Resource Name (ARN) used to invoke the
|
187
|
+
# function, which can be unqualified (the unpublished version of the
|
188
|
+
# function), or include a version or alias. If a client uses a version
|
189
|
+
# or alias to invoke a function, use the `Qualifier` parameter to apply
|
190
|
+
# permissions to that ARN. For more information about versioning, see
|
191
|
+
# [AWS Lambda Function Versioning and Aliases][1].
|
193
192
|
#
|
194
193
|
# This operation requires permission for the `lambda:AddPermission`
|
195
194
|
# action.
|
196
195
|
#
|
197
196
|
#
|
198
197
|
#
|
199
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/
|
200
|
-
# [2]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
198
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
201
199
|
#
|
202
200
|
# @option params [required, String] :function_name
|
203
|
-
#
|
204
|
-
#
|
201
|
+
# The name of the lambda function.
|
202
|
+
#
|
203
|
+
# **Name formats**
|
204
|
+
#
|
205
|
+
# * **Function name** - `MyFunction`.
|
205
206
|
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
# to the ARN. If you specify
|
212
|
-
# characters in length.
|
207
|
+
# * **Function ARN** -
|
208
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
209
|
+
#
|
210
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
211
|
+
#
|
212
|
+
# The length constraint applies only to the full ARN. If you specify
|
213
|
+
# only the function name, it is limited to 64 characters in length.
|
213
214
|
#
|
214
215
|
# @option params [required, String] :statement_id
|
215
216
|
# A unique statement identifier.
|
@@ -221,23 +222,18 @@ module Aws::Lambda
|
|
221
222
|
# (`lambda:*`) to grant permission for all AWS Lambda actions.
|
222
223
|
#
|
223
224
|
# @option params [required, String] :principal
|
224
|
-
# The principal who is getting this permission.
|
225
|
-
# service
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
# application in another AWS account to push events to AWS Lambda by
|
230
|
-
# invoking your function.
|
225
|
+
# The principal who is getting this permission. The principal can be an
|
226
|
+
# AWS service (e.g. `s3.amazonaws.com` or `sns.amazonaws.com`) for
|
227
|
+
# service triggers, or an account ID for cross-account access. If you
|
228
|
+
# specify a service as a principal, use the `SourceArn` parameter to
|
229
|
+
# limit who can invoke the function through that service.
|
231
230
|
#
|
232
231
|
# @option params [String] :source_arn
|
233
|
-
#
|
234
|
-
# function, you should specify this field with the Amazon Resource Name
|
235
|
-
# (ARN) as its value. This ensures that only events generated from the
|
236
|
-
# specified source can invoke the function.
|
232
|
+
# The Amazon Resource Name of the invoker.
|
237
233
|
#
|
238
|
-
# If you add a permission
|
239
|
-
# account that creates a mapping to your function
|
240
|
-
# invoke your Lambda function.
|
234
|
+
# If you add a permission to a service principal without providing the
|
235
|
+
# source ARN, any AWS account that creates a mapping to your function
|
236
|
+
# ARN can invoke your Lambda function.
|
241
237
|
#
|
242
238
|
# @option params [String] :source_account
|
243
239
|
# This parameter is used for S3 and SES. The AWS account ID (without a
|
@@ -254,30 +250,16 @@ module Aws::Lambda
|
|
254
250
|
# function. This is currently only used for Alexa Smart Home functions.
|
255
251
|
#
|
256
252
|
# @option params [String] :qualifier
|
257
|
-
#
|
258
|
-
#
|
259
|
-
# apply to the specific qualified ARN. For example, if you specify
|
260
|
-
# function version 2 as the qualifier, then permission applies only when
|
261
|
-
# request is made using qualified function ARN:
|
262
|
-
#
|
263
|
-
# `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
|
264
|
-
#
|
265
|
-
# If you specify an alias name, for example `PROD`, then the permission
|
266
|
-
# is valid only for requests made using the alias ARN:
|
267
|
-
#
|
268
|
-
# `arn:aws:lambda:aws-region:acct-id:function:function-name:PROD`
|
269
|
-
#
|
270
|
-
# If the qualifier is not specified, the permission is valid only when
|
271
|
-
# requests is made using unqualified function ARN.
|
272
|
-
#
|
273
|
-
# `arn:aws:lambda:aws-region:acct-id:function:function-name`
|
253
|
+
# Specify a version or alias to add permissions to a published version
|
254
|
+
# of the function.
|
274
255
|
#
|
275
256
|
# @option params [String] :revision_id
|
276
257
|
# An optional value you can use to ensure you are updating the latest
|
277
258
|
# update of the function version or alias. If the `RevisionID` you pass
|
278
259
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
279
260
|
# will fail with an error message, advising you to retrieve the latest
|
280
|
-
# function version or alias `RevisionID` using either or
|
261
|
+
# function version or alias `RevisionID` using either GetFunction or
|
262
|
+
# GetAlias
|
281
263
|
#
|
282
264
|
# @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
283
265
|
#
|
@@ -340,10 +322,19 @@ module Aws::Lambda
|
|
340
322
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
341
323
|
#
|
342
324
|
# @option params [required, String] :function_name
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
325
|
+
# The name of the lambda function.
|
326
|
+
#
|
327
|
+
# **Name formats**
|
328
|
+
#
|
329
|
+
# * **Function name** - `MyFunction`.
|
330
|
+
#
|
331
|
+
# * **Function ARN** -
|
332
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
333
|
+
#
|
334
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
335
|
+
#
|
336
|
+
# The length constraint applies only to the full ARN. If you specify
|
337
|
+
# only the function name, it is limited to 64 characters in length.
|
347
338
|
#
|
348
339
|
# @option params [required, String] :name
|
349
340
|
# Name for the alias you are creating.
|
@@ -357,7 +348,11 @@ module Aws::Lambda
|
|
357
348
|
# @option params [Types::AliasRoutingConfiguration] :routing_config
|
358
349
|
# Specifies an additional version your alias can point to, allowing you
|
359
350
|
# to dictate what percentage of traffic will invoke each version. For
|
360
|
-
# more information, see
|
351
|
+
# more information, see [Traffic Shifting Using Aliases][1].
|
352
|
+
#
|
353
|
+
#
|
354
|
+
#
|
355
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
361
356
|
#
|
362
357
|
# @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
363
358
|
#
|
@@ -402,9 +397,8 @@ module Aws::Lambda
|
|
402
397
|
end
|
403
398
|
|
404
399
|
# Identifies a poll-based event source for a Lambda function. It can be
|
405
|
-
# either an Amazon Kinesis or DynamoDB stream
|
406
|
-
#
|
407
|
-
# the event source.
|
400
|
+
# either an Amazon Kinesis or DynamoDB stream. AWS Lambda invokes the
|
401
|
+
# specified function when records are posted to the event source.
|
408
402
|
#
|
409
403
|
# This association between a poll-based source and a Lambda function is
|
410
404
|
# called the event source mapping.
|
@@ -420,6 +414,10 @@ module Aws::Lambda
|
|
420
414
|
# function, but an SQS queue can be mapped only to a single Lambda
|
421
415
|
# function.
|
422
416
|
#
|
417
|
+
# You can configure an SQS queue in an account separate from your Lambda
|
418
|
+
# function's account. Also the queue needs to reside in the same AWS
|
419
|
+
# region as your function.
|
420
|
+
#
|
423
421
|
# If you are using versioning, you can specify a specific function
|
424
422
|
# version or an alias via the function name parameter. For more
|
425
423
|
# information about versioning, see [AWS Lambda Function Versioning and
|
@@ -433,45 +431,35 @@ module Aws::Lambda
|
|
433
431
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
434
432
|
#
|
435
433
|
# @option params [required, String] :event_source_arn
|
436
|
-
# The Amazon Resource Name (ARN) of the event source.
|
437
|
-
# to this source could cause AWS Lambda to invoke your Lambda function,
|
438
|
-
# it depends on the `BatchSize`. AWS Lambda POSTs the event's records
|
439
|
-
# to your Lambda function as JSON.
|
434
|
+
# The Amazon Resource Name (ARN) of the event source.
|
440
435
|
#
|
441
436
|
# @option params [required, String] :function_name
|
442
|
-
# The
|
443
|
-
# stream.
|
444
|
-
#
|
445
|
-
# You can specify the function name (for example, `Thumbnail`) or you
|
446
|
-
# can specify Amazon Resource Name (ARN) of the function (for example,
|
447
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`).
|
437
|
+
# The name of the lambda function.
|
448
438
|
#
|
449
|
-
#
|
450
|
-
# ARN (ARN that is qualified with function version or alias name as
|
451
|
-
# suffix). For more information about versioning, see [AWS Lambda
|
452
|
-
# Function Versioning and Aliases][1]
|
439
|
+
# **Name formats**
|
453
440
|
#
|
454
|
-
#
|
455
|
-
# account ID qualifier (for example, `account-id:Thumbnail`).
|
441
|
+
# * **Function name** - `MyFunction`.
|
456
442
|
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
# length.
|
443
|
+
# * **Function ARN** -
|
444
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
460
445
|
#
|
446
|
+
# * **Version or Alias ARN** -
|
447
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
461
448
|
#
|
449
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
462
450
|
#
|
463
|
-
#
|
451
|
+
# The length constraint applies only to the full ARN. If you specify
|
452
|
+
# only the function name, it is limited to 64 characters in length.
|
464
453
|
#
|
465
454
|
# @option params [Boolean] :enabled
|
466
|
-
#
|
467
|
-
# default, `Enabled` is true.
|
455
|
+
# Set to false to disable the event source upon creation.
|
468
456
|
#
|
469
457
|
# @option params [Integer] :batch_size
|
470
458
|
# The largest number of records that AWS Lambda will retrieve from your
|
471
459
|
# event source at the time of invoking your function. Your function
|
472
460
|
# receives an event with all the retrieved records. The default for
|
473
|
-
# Amazon Kinesis and Amazon DynamoDB is 100 records.
|
474
|
-
#
|
461
|
+
# Amazon Kinesis and Amazon DynamoDB is 100 records. Both the default
|
462
|
+
# and maximum for Amazon SQS are 10 messages.
|
475
463
|
#
|
476
464
|
# @option params [String] :starting_position
|
477
465
|
# The position in the DynamoDB or Kinesis stream where AWS Lambda should
|
@@ -541,96 +529,65 @@ module Aws::Lambda
|
|
541
529
|
req.send_request(options)
|
542
530
|
end
|
543
531
|
|
544
|
-
# Creates a new Lambda function. The function
|
545
|
-
# the request parameters, and the code for the function is provided
|
546
|
-
# .zip file
|
547
|
-
# the operation will fail. Note that the function name is
|
548
|
-
# case-sensitive.
|
549
|
-
#
|
550
|
-
# If you are using versioning, you can also publish a version of the
|
551
|
-
# Lambda function you are creating using the `Publish` parameter. For
|
552
|
-
# more information about versioning, see [AWS Lambda Function Versioning
|
553
|
-
# and Aliases][1].
|
532
|
+
# Creates a new Lambda function. The function configuration is created
|
533
|
+
# from the request parameters, and the code for the function is provided
|
534
|
+
# by a .zip file. The function name is case-sensitive.
|
554
535
|
#
|
555
536
|
# This operation requires permission for the `lambda:CreateFunction`
|
556
537
|
# action.
|
557
538
|
#
|
539
|
+
# @option params [required, String] :function_name
|
540
|
+
# The name of the lambda function.
|
558
541
|
#
|
542
|
+
# **Name formats**
|
559
543
|
#
|
560
|
-
#
|
544
|
+
# * **Function name** - `MyFunction`.
|
561
545
|
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
# function names appear in the console and are returned in the
|
565
|
-
# ListFunctions API. Function names are used to specify functions to
|
566
|
-
# other AWS Lambda API operations, such as Invoke. Note that the length
|
567
|
-
# constraint applies only to the ARN. If you specify only the function
|
568
|
-
# name, it is limited to 64 characters in length.
|
546
|
+
# * **Function ARN** -
|
547
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
569
548
|
#
|
570
|
-
#
|
571
|
-
# The runtime environment for the Lambda function you are uploading.
|
572
|
-
#
|
573
|
-
# To use the Python runtime v3.6, set the value to "python3.6". To use
|
574
|
-
# the Python runtime v2.7, set the value to "python2.7". To use the
|
575
|
-
# Node.js runtime v6.10, set the value to "nodejs6.10". To use the
|
576
|
-
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the .NET
|
577
|
-
# Core runtime v1.0, set the value to "dotnetcore1.0". To use the .NET
|
578
|
-
# Core runtime v2.0, set the value to "dotnetcore2.0".
|
579
|
-
#
|
580
|
-
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
581
|
-
# existing functions to the newer Node.js runtime versions available on
|
582
|
-
# AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure to
|
583
|
-
# do so will result in an invalid parameter error being returned. Note
|
584
|
-
# that you will have to follow this procedure for each region that
|
585
|
-
# contains functions written in the Node v0.10.42 runtime.
|
549
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
586
550
|
#
|
587
|
-
#
|
551
|
+
# The length constraint applies only to the full ARN. If you specify
|
552
|
+
# only the function name, it is limited to 64 characters in length.
|
553
|
+
#
|
554
|
+
# @option params [required, String] :runtime
|
555
|
+
# The runtime version for the function.
|
588
556
|
#
|
589
557
|
# @option params [required, String] :role
|
590
|
-
# The Amazon Resource Name (ARN) of the
|
591
|
-
# when it executes your function to access any other Amazon Web Services
|
592
|
-
# (AWS) resources. For more information, see [AWS Lambda: How it
|
593
|
-
# Works][1].
|
558
|
+
# The Amazon Resource Name (ARN) of the function's [execution role][1].
|
594
559
|
#
|
595
560
|
#
|
596
561
|
#
|
597
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/
|
562
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role
|
598
563
|
#
|
599
564
|
# @option params [required, String] :handler
|
600
|
-
# The
|
601
|
-
#
|
602
|
-
# For Java, it can be `package.class-name::handler` or
|
603
|
-
# `package.class-name`. For more information, see [Lambda Function
|
604
|
-
# Handler (Java)][1].
|
565
|
+
# The name of the method within your code that Lambda calls to execute
|
566
|
+
# your function. For more information, see [Programming Model][1].
|
605
567
|
#
|
606
568
|
#
|
607
569
|
#
|
608
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/
|
570
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
|
609
571
|
#
|
610
572
|
# @option params [required, Types::FunctionCode] :code
|
611
|
-
# The code for the
|
573
|
+
# The code for the function.
|
612
574
|
#
|
613
575
|
# @option params [String] :description
|
614
|
-
# A
|
615
|
-
# value. Assign a meaningful description as you see fit.
|
576
|
+
# A description of the function.
|
616
577
|
#
|
617
578
|
# @option params [Integer] :timeout
|
618
|
-
# The
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# The default is 3 seconds.
|
579
|
+
# The amount of time that Lambda allows a function to run before
|
580
|
+
# terminating it. The default is 3 seconds. The maximum allowed value is
|
581
|
+
# 900 seconds.
|
622
582
|
#
|
623
583
|
# @option params [Integer] :memory_size
|
624
|
-
# The amount of memory
|
625
|
-
#
|
626
|
-
#
|
627
|
-
# memory requirements. For example, a database operation might need less
|
628
|
-
# memory compared to an image processing function. The default value is
|
629
|
-
# 128 MB. The value must be a multiple of 64 MB.
|
584
|
+
# The amount of memory that your function has access to. Increasing the
|
585
|
+
# function's memory also increases it's CPU allocation. The default
|
586
|
+
# value is 128 MB. The value must be a multiple of 64 MB.
|
630
587
|
#
|
631
588
|
# @option params [Boolean] :publish
|
632
|
-
#
|
633
|
-
#
|
589
|
+
# Set to true to publish the first version of the function during
|
590
|
+
# creation.
|
634
591
|
#
|
635
592
|
# @option params [Types::VpcConfig] :vpc_config
|
636
593
|
# If your Lambda function accesses resources in a VPC, you provide this
|
@@ -639,21 +596,25 @@ module Aws::Lambda
|
|
639
596
|
# security group and one subnet ID.
|
640
597
|
#
|
641
598
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
599
|
+
# A dead letter queue configuration that specifies the queue or topic
|
600
|
+
# where Lambda sends asynchronous events when they fail processing. For
|
601
|
+
# more information, see [Dead Letter Queues][1].
|
602
|
+
#
|
603
|
+
#
|
604
|
+
#
|
605
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
645
606
|
#
|
646
607
|
# @option params [Types::Environment] :environment
|
647
|
-
#
|
648
|
-
#
|
608
|
+
# Environment variables that are accessible from function code during
|
609
|
+
# execution.
|
649
610
|
#
|
650
611
|
# @option params [String] :kms_key_arn
|
651
|
-
# The
|
652
|
-
#
|
653
|
-
# use a default service key.
|
612
|
+
# The ARN of the KMS key used to encrypt your function's environment
|
613
|
+
# variables. If not provided, AWS Lambda will use a default service key.
|
654
614
|
#
|
655
615
|
# @option params [Types::TracingConfig] :tracing_config
|
656
|
-
#
|
616
|
+
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
617
|
+
# requests with AWS X-Ray.
|
657
618
|
#
|
658
619
|
# @option params [Hash<String,String>] :tags
|
659
620
|
# The list of tags (key-value pairs) assigned to the new function. For
|
@@ -810,11 +771,19 @@ module Aws::Lambda
|
|
810
771
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
811
772
|
#
|
812
773
|
# @option params [required, String] :function_name
|
813
|
-
# The
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
774
|
+
# The name of the lambda function.
|
775
|
+
#
|
776
|
+
# **Name formats**
|
777
|
+
#
|
778
|
+
# * **Function name** - `MyFunction`.
|
779
|
+
#
|
780
|
+
# * **Function ARN** -
|
781
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
782
|
+
#
|
783
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
784
|
+
#
|
785
|
+
# The length constraint applies only to the full ARN. If you specify
|
786
|
+
# only the function name, it is limited to 64 characters in length.
|
818
787
|
#
|
819
788
|
# @option params [required, String] :name
|
820
789
|
# Name of the alias to delete.
|
@@ -914,54 +883,31 @@ module Aws::Lambda
|
|
914
883
|
req.send_request(options)
|
915
884
|
end
|
916
885
|
|
917
|
-
# Deletes
|
918
|
-
#
|
919
|
-
#
|
920
|
-
# function version in your `DeleteFunction` request, AWS Lambda will
|
921
|
-
# delete the function, including all its versions, and any aliases
|
922
|
-
# pointing to the function versions. To delete a specific function
|
923
|
-
# version, you must provide the function version via the `Qualifier`
|
924
|
-
# parameter. For information about function versioning, see [AWS Lambda
|
925
|
-
# Function Versioning and Aliases][1].
|
926
|
-
#
|
927
|
-
# When you delete a function the associated resource policy is also
|
928
|
-
# deleted. You will need to delete the event source mappings explicitly.
|
886
|
+
# Deletes a Lambda function. To delete a specific function version, use
|
887
|
+
# the `Qualifier` parameter. Otherwise, all versions and aliases are
|
888
|
+
# deleted. Event source mappings are not deleted.
|
929
889
|
#
|
930
890
|
# This operation requires permission for the `lambda:DeleteFunction`
|
931
891
|
# action.
|
932
892
|
#
|
893
|
+
# @option params [required, String] :function_name
|
894
|
+
# The name of the lambda function.
|
933
895
|
#
|
896
|
+
# **Name formats**
|
934
897
|
#
|
935
|
-
#
|
898
|
+
# * **Function name** - `MyFunction`.
|
936
899
|
#
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
# You can specify the function name (for example, `Thumbnail`) or you
|
941
|
-
# can specify Amazon Resource Name (ARN) of the function (for example,
|
942
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you are
|
943
|
-
# using versioning, you can also provide a qualified function ARN (ARN
|
944
|
-
# that is qualified with function version or alias name as suffix). AWS
|
945
|
-
# Lambda also allows you to specify only the function name with the
|
946
|
-
# account ID qualifier (for example, `account-id:Thumbnail`). Note that
|
947
|
-
# the length constraint applies only to the ARN. If you specify only the
|
948
|
-
# function name, it is limited to 64 characters in length.
|
900
|
+
# * **Function ARN** -
|
901
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
949
902
|
#
|
950
|
-
#
|
951
|
-
# Using this optional parameter you can specify a function version (but
|
952
|
-
# not the `$LATEST` version) to direct AWS Lambda to delete a specific
|
953
|
-
# function version. If the function version has one or more aliases
|
954
|
-
# pointing to it, you will get an error because you cannot have aliases
|
955
|
-
# pointing to it. You can delete any function version but not the
|
956
|
-
# `$LATEST`, that is, you cannot specify `$LATEST` as the value of this
|
957
|
-
# parameter. The `$LATEST` version can be deleted only when you want to
|
958
|
-
# delete all the function versions and aliases.
|
903
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
959
904
|
#
|
960
|
-
#
|
961
|
-
#
|
905
|
+
# The length constraint applies only to the full ARN. If you specify
|
906
|
+
# only the function name, it is limited to 64 characters in length.
|
962
907
|
#
|
963
|
-
#
|
964
|
-
#
|
908
|
+
# @option params [String] :qualifier
|
909
|
+
# Specify a version to delete. You cannot delete a version that is
|
910
|
+
# referenced by an alias.
|
965
911
|
#
|
966
912
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
967
913
|
#
|
@@ -992,11 +938,26 @@ module Aws::Lambda
|
|
992
938
|
end
|
993
939
|
|
994
940
|
# Removes concurrent execution limits from this function. For more
|
995
|
-
# information, see
|
941
|
+
# information, see [Managing Concurrency][1].
|
942
|
+
#
|
943
|
+
#
|
944
|
+
#
|
945
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
996
946
|
#
|
997
947
|
# @option params [required, String] :function_name
|
998
|
-
# The name of the function
|
999
|
-
#
|
948
|
+
# The name of the lambda function.
|
949
|
+
#
|
950
|
+
# **Name formats**
|
951
|
+
#
|
952
|
+
# * **Function name** - `MyFunction`.
|
953
|
+
#
|
954
|
+
# * **Function ARN** -
|
955
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
956
|
+
#
|
957
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
958
|
+
#
|
959
|
+
# The length constraint applies only to the full ARN. If you specify
|
960
|
+
# only the function name, it is limited to 64 characters in length.
|
1000
961
|
#
|
1001
962
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1002
963
|
#
|
@@ -1015,12 +976,8 @@ module Aws::Lambda
|
|
1015
976
|
req.send_request(options)
|
1016
977
|
end
|
1017
978
|
|
1018
|
-
#
|
1019
|
-
#
|
1020
|
-
# You can use this operation to retrieve Lambda limits information, such
|
1021
|
-
# as code size and concurrency limits. For more information about
|
1022
|
-
# limits, see [AWS Lambda Limits][1]. You can also retrieve resource
|
1023
|
-
# usage statistics, such as code storage usage and function count.
|
979
|
+
# Retrieves details about your account's [limits][1] and usage in a
|
980
|
+
# region.
|
1024
981
|
#
|
1025
982
|
#
|
1026
983
|
#
|
@@ -1077,11 +1034,19 @@ module Aws::Lambda
|
|
1077
1034
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
1078
1035
|
#
|
1079
1036
|
# @option params [required, String] :function_name
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
#
|
1084
|
-
#
|
1037
|
+
# The name of the lambda function.
|
1038
|
+
#
|
1039
|
+
# **Name formats**
|
1040
|
+
#
|
1041
|
+
# * **Function name** - `MyFunction`.
|
1042
|
+
#
|
1043
|
+
# * **Function ARN** -
|
1044
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1045
|
+
#
|
1046
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1047
|
+
#
|
1048
|
+
# The length constraint applies only to the full ARN. If you specify
|
1049
|
+
# only the function name, it is limited to 64 characters in length.
|
1085
1050
|
#
|
1086
1051
|
# @option params [required, String] :name
|
1087
1052
|
# Name of the alias for which you want to retrieve information.
|
@@ -1212,12 +1177,9 @@ module Aws::Lambda
|
|
1212
1177
|
# to 10 minutes. The configuration information is the same information
|
1213
1178
|
# you provided as parameters when uploading the function.
|
1214
1179
|
#
|
1215
|
-
#
|
1216
|
-
# function
|
1217
|
-
#
|
1218
|
-
# return information about the `$LATEST` version of the Lambda function.
|
1219
|
-
# For more information, see [AWS Lambda Function Versioning and
|
1220
|
-
# Aliases][1].
|
1180
|
+
# Use the `Qualifier` parameter to retrieve a published version of the
|
1181
|
+
# function. Otherwise, returns the unpublished version (`$LATEST`). For
|
1182
|
+
# more information, see [AWS Lambda Function Versioning and Aliases][1].
|
1221
1183
|
#
|
1222
1184
|
# This operation requires permission for the `lambda:GetFunction`
|
1223
1185
|
# action.
|
@@ -1227,25 +1189,23 @@ module Aws::Lambda
|
|
1227
1189
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1228
1190
|
#
|
1229
1191
|
# @option params [required, String] :function_name
|
1230
|
-
# The
|
1192
|
+
# The name of the lambda function.
|
1193
|
+
#
|
1194
|
+
# **Name formats**
|
1195
|
+
#
|
1196
|
+
# * **Function name** - `MyFunction`.
|
1197
|
+
#
|
1198
|
+
# * **Function ARN** -
|
1199
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1200
|
+
#
|
1201
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1231
1202
|
#
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda
|
1235
|
-
# also allows you to specify a partial ARN (for example,
|
1236
|
-
# `account-id:Thumbnail`). Note that the length constraint applies only
|
1237
|
-
# to the ARN. If you specify only the function name, it is limited to 64
|
1238
|
-
# characters in length.
|
1203
|
+
# The length constraint applies only to the full ARN. If you specify
|
1204
|
+
# only the function name, it is limited to 64 characters in length.
|
1239
1205
|
#
|
1240
1206
|
# @option params [String] :qualifier
|
1241
|
-
#
|
1242
|
-
#
|
1243
|
-
# ARN for the request and returns information about the specific Lambda
|
1244
|
-
# function version. If you specify an alias name, the API uses the alias
|
1245
|
-
# ARN and returns information about the function version to which the
|
1246
|
-
# alias points. If you don't provide this parameter, the API uses
|
1247
|
-
# unqualified function ARN and returns information about the `$LATEST`
|
1248
|
-
# version of the Lambda function.
|
1207
|
+
# Specify a version or alias to get details about a published version of
|
1208
|
+
# the function.
|
1249
1209
|
#
|
1250
1210
|
# @return [Types::GetFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1251
1211
|
#
|
@@ -1367,28 +1327,23 @@ module Aws::Lambda
|
|
1367
1327
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1368
1328
|
#
|
1369
1329
|
# @option params [required, String] :function_name
|
1370
|
-
# The name of the
|
1371
|
-
# configuration information.
|
1330
|
+
# The name of the lambda function.
|
1372
1331
|
#
|
1373
|
-
#
|
1374
|
-
# specify Amazon Resource Name (ARN) of the function (for example,
|
1375
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda
|
1376
|
-
# also allows you to specify a partial ARN (for example,
|
1377
|
-
# `account-id:Thumbnail`). Note that the length constraint applies only
|
1378
|
-
# to the ARN. If you specify only the function name, it is limited to 64
|
1379
|
-
# characters in length.
|
1332
|
+
# **Name formats**
|
1380
1333
|
#
|
1381
|
-
#
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
1385
|
-
#
|
1386
|
-
#
|
1387
|
-
# points.
|
1334
|
+
# * **Function name** - `MyFunction`.
|
1335
|
+
#
|
1336
|
+
# * **Function ARN** -
|
1337
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1338
|
+
#
|
1339
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1388
1340
|
#
|
1389
|
-
#
|
1390
|
-
# function
|
1391
|
-
#
|
1341
|
+
# The length constraint applies only to the full ARN. If you specify
|
1342
|
+
# only the function name, it is limited to 64 characters in length.
|
1343
|
+
#
|
1344
|
+
# @option params [String] :qualifier
|
1345
|
+
# Specify a version or alias to get details about a published version of
|
1346
|
+
# the function.
|
1392
1347
|
#
|
1393
1348
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1394
1349
|
#
|
@@ -1493,30 +1448,22 @@ module Aws::Lambda
|
|
1493
1448
|
# Returns the resource policy associated with the specified Lambda
|
1494
1449
|
# function.
|
1495
1450
|
#
|
1496
|
-
#
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
# Function Versioning and Aliases][1].
|
1451
|
+
# This action requires permission for the `lambda:GetPolicy action.`
|
1452
|
+
#
|
1453
|
+
# @option params [required, String] :function_name
|
1454
|
+
# The name of the lambda function.
|
1501
1455
|
#
|
1502
|
-
#
|
1456
|
+
# **Name formats**
|
1503
1457
|
#
|
1458
|
+
# * **Function name** - `MyFunction`.
|
1504
1459
|
#
|
1460
|
+
# * **Function ARN** -
|
1461
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1505
1462
|
#
|
1506
|
-
#
|
1463
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1507
1464
|
#
|
1508
|
-
#
|
1509
|
-
#
|
1510
|
-
#
|
1511
|
-
# You can specify the function name (for example, `Thumbnail`) or you
|
1512
|
-
# can specify Amazon Resource Name (ARN) of the function (for example,
|
1513
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you are
|
1514
|
-
# using versioning, you can also provide a qualified function ARN (ARN
|
1515
|
-
# that is qualified with function version or alias name as suffix). AWS
|
1516
|
-
# Lambda also allows you to specify only the function name with the
|
1517
|
-
# account ID qualifier (for example, `account-id:Thumbnail`). Note that
|
1518
|
-
# the length constraint applies only to the ARN. If you specify only the
|
1519
|
-
# function name, it is limited to 64 characters in length.
|
1465
|
+
# The length constraint applies only to the full ARN. If you specify
|
1466
|
+
# only the function name, it is limited to 64 characters in length.
|
1520
1467
|
#
|
1521
1468
|
# @option params [String] :qualifier
|
1522
1469
|
# You can specify this optional query parameter to specify a function
|
@@ -1566,22 +1513,28 @@ module Aws::Lambda
|
|
1566
1513
|
req.send_request(options)
|
1567
1514
|
end
|
1568
1515
|
|
1569
|
-
# Invokes a
|
1570
|
-
#
|
1571
|
-
#
|
1572
|
-
#
|
1573
|
-
# function
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1516
|
+
# Invokes a Lambda function. For an example, see [Create the Lambda
|
1517
|
+
# Function and Test It Manually][1].
|
1518
|
+
#
|
1519
|
+
# Specify just a function name to invoke the latest version of the
|
1520
|
+
# function. To invoke a published version, use the `Qualifier` parameter
|
1521
|
+
# to specify a [version or alias][2].
|
1522
|
+
#
|
1523
|
+
# If you use the `RequestResponse` (synchronous) invocation option, the
|
1524
|
+
# function will be invoked only once. If you use the `Event`
|
1525
|
+
# (asynchronous) invocation option, the function will be invoked at
|
1526
|
+
# least once in response to an event and the function must be idempotent
|
1527
|
+
# to handle this.
|
1528
|
+
#
|
1529
|
+
# For functions with a long timeout, your client may be disconnected
|
1530
|
+
# during synchronous invocation while it waits for a response. Configure
|
1531
|
+
# your HTTP client, SDK, firewall, proxy, or operating system to allow
|
1532
|
+
# for long connections with timeout or keep-alive settings.
|
1580
1533
|
#
|
1581
1534
|
# This operation requires permission for the `lambda:InvokeFunction`
|
1582
1535
|
# action.
|
1583
1536
|
#
|
1584
|
-
#
|
1537
|
+
# The `TooManyRequestsException` noted below will return the following:
|
1585
1538
|
# `ConcurrentInvocationLimitExceeded` will be returned if you have no
|
1586
1539
|
# functions with reserved concurrency and have exceeded your account
|
1587
1540
|
# concurrent limit or if a function without reserved concurrency exceeds
|
@@ -1590,34 +1543,38 @@ module Aws::Lambda
|
|
1590
1543
|
# when a function with reserved concurrency exceeds its configured
|
1591
1544
|
# concurrency limit.
|
1592
1545
|
#
|
1593
|
-
# </note>
|
1594
|
-
#
|
1595
1546
|
#
|
1596
1547
|
#
|
1597
1548
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/with-dynamodb-create-function.html#with-dbb-invoke-manually
|
1598
1549
|
# [2]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1599
1550
|
#
|
1600
1551
|
# @option params [required, String] :function_name
|
1601
|
-
# The
|
1552
|
+
# The name of the lambda function.
|
1553
|
+
#
|
1554
|
+
# **Name formats**
|
1555
|
+
#
|
1556
|
+
# * **Function name** - `MyFunction`.
|
1602
1557
|
#
|
1603
|
-
#
|
1604
|
-
#
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
#
|
1608
|
-
# to the ARN. If you specify
|
1609
|
-
# characters in length.
|
1558
|
+
# * **Function ARN** -
|
1559
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1560
|
+
#
|
1561
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1562
|
+
#
|
1563
|
+
# The length constraint applies only to the full ARN. If you specify
|
1564
|
+
# only the function name, it is limited to 64 characters in length.
|
1610
1565
|
#
|
1611
1566
|
# @option params [String] :invocation_type
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
# `
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
# `
|
1619
|
-
#
|
1620
|
-
#
|
1567
|
+
# Choose from the following options.
|
1568
|
+
#
|
1569
|
+
# * `RequestResponse` (default) - Invoke the function synchronously.
|
1570
|
+
# Keep the connection open until the function returns a response or
|
1571
|
+
# times out.
|
1572
|
+
#
|
1573
|
+
# * `Event` - Invoke the function asynchronously. Send events that fail
|
1574
|
+
# multiple times to the function's dead-letter queue (if configured).
|
1575
|
+
#
|
1576
|
+
# * `DryRun` - Validate parameter values and verify that the user or
|
1577
|
+
# role has permission to invoke the function.
|
1621
1578
|
#
|
1622
1579
|
# @option params [String] :log_type
|
1623
1580
|
# You can set this optional parameter to `Tail` in the request only if
|
@@ -1636,6 +1593,11 @@ module Aws::Lambda
|
|
1636
1593
|
# The ClientContext JSON must be base64-encoded and has a maximum size
|
1637
1594
|
# of 3583 bytes.
|
1638
1595
|
#
|
1596
|
+
# <note markdown="1"> `ClientContext` information is returned only if you use the
|
1597
|
+
# synchronous (`RequestResponse`) invocation type.
|
1598
|
+
#
|
1599
|
+
# </note>
|
1600
|
+
#
|
1639
1601
|
#
|
1640
1602
|
#
|
1641
1603
|
# [1]: http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html
|
@@ -1644,14 +1606,8 @@ module Aws::Lambda
|
|
1644
1606
|
# JSON that you want to provide to your Lambda function as input.
|
1645
1607
|
#
|
1646
1608
|
# @option params [String] :qualifier
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
# the qualified function ARN to invoke a specific Lambda function. If
|
1650
|
-
# you specify an alias name, the API uses the alias ARN to invoke the
|
1651
|
-
# Lambda function version to which the alias points.
|
1652
|
-
#
|
1653
|
-
# If you don't provide this parameter, then the API uses unqualified
|
1654
|
-
# function ARN which results in invocation of the `$LATEST` version.
|
1609
|
+
# Specify a version or alias to invoke a published version of the
|
1610
|
+
# function.
|
1655
1611
|
#
|
1656
1612
|
# @return [Types::InvocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1657
1613
|
#
|
@@ -1711,8 +1667,7 @@ module Aws::Lambda
|
|
1711
1667
|
req.send_request(options)
|
1712
1668
|
end
|
1713
1669
|
|
1714
|
-
#
|
1715
|
-
# Invoke).
|
1670
|
+
# For asynchronous function invocation, use Invoke.
|
1716
1671
|
#
|
1717
1672
|
# Submits an invocation request to AWS Lambda. Upon receiving the
|
1718
1673
|
# request, Lambda executes the specified function asynchronously. To see
|
@@ -1723,9 +1678,19 @@ module Aws::Lambda
|
|
1723
1678
|
# action.
|
1724
1679
|
#
|
1725
1680
|
# @option params [required, String] :function_name
|
1726
|
-
# The
|
1727
|
-
#
|
1728
|
-
#
|
1681
|
+
# The name of the lambda function.
|
1682
|
+
#
|
1683
|
+
# **Name formats**
|
1684
|
+
#
|
1685
|
+
# * **Function name** - `MyFunction`.
|
1686
|
+
#
|
1687
|
+
# * **Function ARN** -
|
1688
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1689
|
+
#
|
1690
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1691
|
+
#
|
1692
|
+
# The length constraint applies only to the full ARN. If you specify
|
1693
|
+
# only the function name, it is limited to 64 characters in length.
|
1729
1694
|
#
|
1730
1695
|
# @option params [required, String, IO] :invoke_args
|
1731
1696
|
# JSON that you want to provide to your Lambda function as input.
|
@@ -1781,9 +1746,19 @@ module Aws::Lambda
|
|
1781
1746
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
1782
1747
|
#
|
1783
1748
|
# @option params [required, String] :function_name
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1749
|
+
# The name of the lambda function.
|
1750
|
+
#
|
1751
|
+
# **Name formats**
|
1752
|
+
#
|
1753
|
+
# * **Function name** - `MyFunction`.
|
1754
|
+
#
|
1755
|
+
# * **Function ARN** -
|
1756
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1757
|
+
#
|
1758
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1759
|
+
#
|
1760
|
+
# The length constraint applies only to the full ARN. If you specify
|
1761
|
+
# only the function name, it is limited to 64 characters in length.
|
1787
1762
|
#
|
1788
1763
|
# @option params [String] :function_version
|
1789
1764
|
# If you specify this optional parameter, the API returns only the
|
@@ -1860,35 +1835,30 @@ module Aws::Lambda
|
|
1860
1835
|
# For each mapping, the API returns configuration information. You can
|
1861
1836
|
# optionally specify filters to retrieve specific event source mappings.
|
1862
1837
|
#
|
1863
|
-
# If you are using the versioning feature, you can get list of event
|
1864
|
-
# source mappings for a specific Lambda function version or an alias as
|
1865
|
-
# described in the `FunctionName` parameter. For information about the
|
1866
|
-
# versioning feature, see [AWS Lambda Function Versioning and
|
1867
|
-
# Aliases][1].
|
1868
|
-
#
|
1869
1838
|
# This operation requires permission for the
|
1870
1839
|
# `lambda:ListEventSourceMappings` action.
|
1871
1840
|
#
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1875
|
-
#
|
1876
1841
|
# @option params [String] :event_source_arn
|
1877
1842
|
# The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB
|
1878
|
-
# stream
|
1843
|
+
# stream. (This parameter is optional.)
|
1879
1844
|
#
|
1880
1845
|
# @option params [String] :function_name
|
1881
|
-
# The name of the
|
1882
|
-
#
|
1883
|
-
#
|
1884
|
-
#
|
1885
|
-
#
|
1886
|
-
#
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
#
|
1890
|
-
#
|
1891
|
-
#
|
1846
|
+
# The name of the lambda function.
|
1847
|
+
#
|
1848
|
+
# **Name formats**
|
1849
|
+
#
|
1850
|
+
# * **Function name** - `MyFunction`.
|
1851
|
+
#
|
1852
|
+
# * **Function ARN** -
|
1853
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1854
|
+
#
|
1855
|
+
# * **Version or Alias ARN** -
|
1856
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
1857
|
+
#
|
1858
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1859
|
+
#
|
1860
|
+
# The length constraint applies only to the full ARN. If you specify
|
1861
|
+
# only the function name, it is limited to 64 characters in length.
|
1892
1862
|
#
|
1893
1863
|
# @option params [String] :marker
|
1894
1864
|
# Optional string. An opaque pagination token returned from a previous
|
@@ -1952,26 +1922,13 @@ module Aws::Lambda
|
|
1952
1922
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1953
1923
|
#
|
1954
1924
|
# @option params [String] :master_region
|
1955
|
-
#
|
1956
|
-
#
|
1957
|
-
#
|
1958
|
-
# Valid values are:
|
1959
|
-
#
|
1960
|
-
# The region from which the functions are replicated. For example, if
|
1961
|
-
# you specify `us-east-1`, only functions replicated from that region
|
1962
|
-
# will be returned.
|
1963
|
-
#
|
1964
|
-
# `ALL`\: Will return all functions from any region. If specified, you
|
1965
|
-
# also must specify a valid FunctionVersion parameter.
|
1925
|
+
# Specify a region (e.g. `us-east-2`) to only list functions that were
|
1926
|
+
# created in that region, or `ALL` to include functions replicated from
|
1927
|
+
# any region. If specified, you also must specify the `FunctionVersion`.
|
1966
1928
|
#
|
1967
1929
|
# @option params [String] :function_version
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1971
|
-
# Valid value:
|
1972
|
-
#
|
1973
|
-
# `ALL`\: Will return all versions, including `$LATEST` which will have
|
1974
|
-
# fully qualified ARNs (Amazon Resource Names).
|
1930
|
+
# Set to `ALL` to list all published versions. If not specified, only
|
1931
|
+
# the latest unpublished version ARN is returned.
|
1975
1932
|
#
|
1976
1933
|
# @option params [String] :marker
|
1977
1934
|
# Optional string. An opaque pagination token returned from a previous
|
@@ -1981,6 +1938,8 @@ module Aws::Lambda
|
|
1981
1938
|
# @option params [Integer] :max_items
|
1982
1939
|
# Optional integer. Specifies the maximum number of AWS Lambda functions
|
1983
1940
|
# to return in response. This parameter value must be greater than 0.
|
1941
|
+
# The absolute maximum of AWS Lambda functions that can be returned is
|
1942
|
+
# 50.
|
1984
1943
|
#
|
1985
1944
|
# @return [Types::ListFunctionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1986
1945
|
#
|
@@ -2095,22 +2054,27 @@ module Aws::Lambda
|
|
2095
2054
|
req.send_request(options)
|
2096
2055
|
end
|
2097
2056
|
|
2098
|
-
#
|
2099
|
-
#
|
2057
|
+
# Lists all versions of a function. For information about versioning,
|
2058
|
+
# see [AWS Lambda Function Versioning and Aliases][1].
|
2100
2059
|
#
|
2101
2060
|
#
|
2102
2061
|
#
|
2103
2062
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2104
2063
|
#
|
2105
2064
|
# @option params [required, String] :function_name
|
2106
|
-
#
|
2107
|
-
#
|
2108
|
-
#
|
2109
|
-
#
|
2110
|
-
#
|
2111
|
-
#
|
2112
|
-
#
|
2113
|
-
#
|
2065
|
+
# The name of the lambda function.
|
2066
|
+
#
|
2067
|
+
# **Name formats**
|
2068
|
+
#
|
2069
|
+
# * **Function name** - `MyFunction`.
|
2070
|
+
#
|
2071
|
+
# * **Function ARN** -
|
2072
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2073
|
+
#
|
2074
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2075
|
+
#
|
2076
|
+
# The length constraint applies only to the full ARN. If you specify
|
2077
|
+
# only the function name, it is limited to 64 characters in length.
|
2114
2078
|
#
|
2115
2079
|
# @option params [String] :marker
|
2116
2080
|
# Optional string. An opaque pagination token returned from a previous
|
@@ -2205,14 +2169,19 @@ module Aws::Lambda
|
|
2205
2169
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2206
2170
|
#
|
2207
2171
|
# @option params [required, String] :function_name
|
2208
|
-
# The
|
2209
|
-
#
|
2210
|
-
#
|
2211
|
-
#
|
2212
|
-
#
|
2213
|
-
#
|
2214
|
-
#
|
2215
|
-
#
|
2172
|
+
# The name of the lambda function.
|
2173
|
+
#
|
2174
|
+
# **Name formats**
|
2175
|
+
#
|
2176
|
+
# * **Function name** - `MyFunction`.
|
2177
|
+
#
|
2178
|
+
# * **Function ARN** -
|
2179
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2180
|
+
#
|
2181
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2182
|
+
#
|
2183
|
+
# The length constraint applies only to the full ARN. If you specify
|
2184
|
+
# only the function name, it is limited to 64 characters in length.
|
2216
2185
|
#
|
2217
2186
|
# @option params [String] :code_sha_256
|
2218
2187
|
# The SHA256 hash of the deployment package you want to publish. This
|
@@ -2230,8 +2199,9 @@ module Aws::Lambda
|
|
2230
2199
|
# An optional value you can use to ensure you are updating the latest
|
2231
2200
|
# update of the function version or alias. If the `RevisionID` you pass
|
2232
2201
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
2233
|
-
# will fail with an error message, advising you
|
2234
|
-
# function version or alias `RevisionID` using either or
|
2202
|
+
# will fail with an error message, advising you retrieve the latest
|
2203
|
+
# function version or alias `RevisionID` using either GetFunction or
|
2204
|
+
# GetAlias.
|
2235
2205
|
#
|
2236
2206
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2237
2207
|
#
|
@@ -2337,15 +2307,29 @@ module Aws::Lambda
|
|
2337
2307
|
# 100 concurrent executions for functions without any reserved
|
2338
2308
|
# concurrency limit. This means if your account limit is 1000, you have
|
2339
2309
|
# a total of 900 available to allocate to individual functions. For more
|
2340
|
-
# information, see
|
2310
|
+
# information, see [Managing Concurrency][1].
|
2311
|
+
#
|
2312
|
+
#
|
2313
|
+
#
|
2314
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
2341
2315
|
#
|
2342
2316
|
# @option params [required, String] :function_name
|
2343
|
-
# The name of the function
|
2344
|
-
#
|
2317
|
+
# The name of the lambda function.
|
2318
|
+
#
|
2319
|
+
# **Name formats**
|
2320
|
+
#
|
2321
|
+
# * **Function name** - `MyFunction`.
|
2322
|
+
#
|
2323
|
+
# * **Function ARN** -
|
2324
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2325
|
+
#
|
2326
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2327
|
+
#
|
2328
|
+
# The length constraint applies only to the full ARN. If you specify
|
2329
|
+
# only the function name, it is limited to 64 characters in length.
|
2345
2330
|
#
|
2346
2331
|
# @option params [required, Integer] :reserved_concurrent_executions
|
2347
|
-
# The concurrent execution limit reserved for this function.
|
2348
|
-
# information, see concurrent-executions.
|
2332
|
+
# The concurrent execution limit reserved for this function.
|
2349
2333
|
#
|
2350
2334
|
# @return [Types::Concurrency] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2351
2335
|
#
|
@@ -2371,18 +2355,18 @@ module Aws::Lambda
|
|
2371
2355
|
req.send_request(options)
|
2372
2356
|
end
|
2373
2357
|
|
2374
|
-
#
|
2375
|
-
#
|
2376
|
-
# provided when you added the
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
#
|
2380
|
-
#
|
2381
|
-
#
|
2382
|
-
#
|
2383
|
-
#
|
2384
|
-
#
|
2385
|
-
#
|
2358
|
+
# Removes permissions from a function. You can remove individual
|
2359
|
+
# permissions from an resource policy associated with a Lambda function
|
2360
|
+
# by providing a statement ID that you provided when you added the
|
2361
|
+
# permission. When you remove permissions, disable the event source
|
2362
|
+
# mapping or trigger configuration first to avoid errors.
|
2363
|
+
#
|
2364
|
+
# Permissions apply to the Amazon Resource Name (ARN) used to invoke the
|
2365
|
+
# function, which can be unqualified (the unpublished version of the
|
2366
|
+
# function), or include a version or alias. If a client uses a version
|
2367
|
+
# or alias to invoke a function, use the `Qualifier` parameter to apply
|
2368
|
+
# permissions to that ARN. For more information about versioning, see
|
2369
|
+
# [AWS Lambda Function Versioning and Aliases][1].
|
2386
2370
|
#
|
2387
2371
|
# You need permission for the `lambda:RemovePermission` action.
|
2388
2372
|
#
|
@@ -2391,32 +2375,34 @@ module Aws::Lambda
|
|
2391
2375
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2392
2376
|
#
|
2393
2377
|
# @option params [required, String] :function_name
|
2394
|
-
#
|
2395
|
-
#
|
2378
|
+
# The name of the lambda function.
|
2379
|
+
#
|
2380
|
+
# **Name formats**
|
2381
|
+
#
|
2382
|
+
# * **Function name** - `MyFunction`.
|
2396
2383
|
#
|
2397
|
-
#
|
2398
|
-
#
|
2399
|
-
#
|
2400
|
-
#
|
2401
|
-
#
|
2402
|
-
# to the ARN. If you specify
|
2403
|
-
# characters in length.
|
2384
|
+
# * **Function ARN** -
|
2385
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2386
|
+
#
|
2387
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2388
|
+
#
|
2389
|
+
# The length constraint applies only to the full ARN. If you specify
|
2390
|
+
# only the function name, it is limited to 64 characters in length.
|
2404
2391
|
#
|
2405
2392
|
# @option params [required, String] :statement_id
|
2406
2393
|
# Statement ID of the permission to remove.
|
2407
2394
|
#
|
2408
2395
|
# @option params [String] :qualifier
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
# don't specify this parameter, the API removes permission associated
|
2412
|
-
# with the unqualified function ARN.
|
2396
|
+
# Specify a version or alias to remove permissions from a published
|
2397
|
+
# version of the function.
|
2413
2398
|
#
|
2414
2399
|
# @option params [String] :revision_id
|
2415
2400
|
# An optional value you can use to ensure you are updating the latest
|
2416
2401
|
# update of the function version or alias. If the `RevisionID` you pass
|
2417
2402
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
2418
2403
|
# will fail with an error message, advising you to retrieve the latest
|
2419
|
-
# function version or alias `RevisionID` using either or
|
2404
|
+
# function version or alias `RevisionID` using either GetFunction or
|
2405
|
+
# GetAlias.
|
2420
2406
|
#
|
2421
2407
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2422
2408
|
#
|
@@ -2552,9 +2538,19 @@ module Aws::Lambda
|
|
2552
2538
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
2553
2539
|
#
|
2554
2540
|
# @option params [required, String] :function_name
|
2555
|
-
# The
|
2556
|
-
#
|
2557
|
-
#
|
2541
|
+
# The name of the lambda function.
|
2542
|
+
#
|
2543
|
+
# **Name formats**
|
2544
|
+
#
|
2545
|
+
# * **Function name** - `MyFunction`.
|
2546
|
+
#
|
2547
|
+
# * **Function ARN** -
|
2548
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2549
|
+
#
|
2550
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2551
|
+
#
|
2552
|
+
# The length constraint applies only to the full ARN. If you specify
|
2553
|
+
# only the function name, it is limited to 64 characters in length.
|
2558
2554
|
#
|
2559
2555
|
# @option params [required, String] :name
|
2560
2556
|
# The alias name.
|
@@ -2569,14 +2565,19 @@ module Aws::Lambda
|
|
2569
2565
|
# @option params [Types::AliasRoutingConfiguration] :routing_config
|
2570
2566
|
# Specifies an additional version your alias can point to, allowing you
|
2571
2567
|
# to dictate what percentage of traffic will invoke each version. For
|
2572
|
-
# more information, see
|
2568
|
+
# more information, see [Traffic Shifting Using Aliases][1].
|
2569
|
+
#
|
2570
|
+
#
|
2571
|
+
#
|
2572
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
2573
2573
|
#
|
2574
2574
|
# @option params [String] :revision_id
|
2575
2575
|
# An optional value you can use to ensure you are updating the latest
|
2576
2576
|
# update of the function version or alias. If the `RevisionID` you pass
|
2577
2577
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
2578
|
-
# will fail with an error message, advising you
|
2579
|
-
# function version or alias `RevisionID` using either or
|
2578
|
+
# will fail with an error message, advising you retrieve the latest
|
2579
|
+
# function version or alias `RevisionID` using either GetFunction or
|
2580
|
+
# GetAlias.
|
2580
2581
|
#
|
2581
2582
|
# @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2582
2583
|
#
|
@@ -2647,12 +2648,6 @@ module Aws::Lambda
|
|
2647
2648
|
# stream records, but to change the stream itself, you must create a new
|
2648
2649
|
# mapping.
|
2649
2650
|
#
|
2650
|
-
# If you are using the versioning feature, you can update the event
|
2651
|
-
# source mapping to map to a specific Lambda function version or alias
|
2652
|
-
# as described in the `FunctionName` parameter. For information about
|
2653
|
-
# the versioning feature, see [AWS Lambda Function Versioning and
|
2654
|
-
# Aliases][1].
|
2655
|
-
#
|
2656
2651
|
# If you disable the event source mapping, AWS Lambda stops polling. If
|
2657
2652
|
# you enable again, it will resume polling from the time it had stopped
|
2658
2653
|
# polling, so you don't lose processing of any records. However, if you
|
@@ -2661,44 +2656,35 @@ module Aws::Lambda
|
|
2661
2656
|
# This operation requires permission for the
|
2662
2657
|
# `lambda:UpdateEventSourceMapping` action.
|
2663
2658
|
#
|
2664
|
-
#
|
2665
|
-
#
|
2666
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2667
|
-
#
|
2668
2659
|
# @option params [required, String] :uuid
|
2669
2660
|
# The event source mapping identifier.
|
2670
2661
|
#
|
2671
2662
|
# @option params [String] :function_name
|
2672
|
-
# The
|
2663
|
+
# The name of the lambda function.
|
2673
2664
|
#
|
2674
|
-
#
|
2675
|
-
# specify Amazon Resource Name (ARN) of the function (for example,
|
2676
|
-
# `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda
|
2677
|
-
# also allows you to specify a partial ARN (for example,
|
2678
|
-
# `account-id:Thumbnail`). Note that the length constraint applies only
|
2679
|
-
# to the ARN. If you specify only the function name, it is limited to 64
|
2680
|
-
# characters in length.
|
2665
|
+
# **Name formats**
|
2681
2666
|
#
|
2682
|
-
#
|
2683
|
-
# ARN (ARN that is qualified with function version or alias name as
|
2684
|
-
# suffix). For more information about versioning, see [AWS Lambda
|
2685
|
-
# Function Versioning and Aliases][1]
|
2667
|
+
# * **Function name** - `MyFunction`.
|
2686
2668
|
#
|
2687
|
-
#
|
2688
|
-
#
|
2689
|
-
# length.
|
2669
|
+
# * **Function ARN** -
|
2670
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2690
2671
|
#
|
2672
|
+
# * **Version or Alias ARN** -
|
2673
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
2691
2674
|
#
|
2675
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2692
2676
|
#
|
2693
|
-
#
|
2677
|
+
# The length constraint applies only to the full ARN. If you specify
|
2678
|
+
# only the function name, it is limited to 64 characters in length.
|
2694
2679
|
#
|
2695
2680
|
# @option params [Boolean] :enabled
|
2696
2681
|
# Specifies whether AWS Lambda should actively poll the stream or not.
|
2697
2682
|
# If disabled, AWS Lambda will not poll the stream.
|
2698
2683
|
#
|
2699
2684
|
# @option params [Integer] :batch_size
|
2700
|
-
# The
|
2701
|
-
#
|
2685
|
+
# The largest number of records that AWS Lambda will retrieve from your
|
2686
|
+
# event source at the time of invoking your function. Your function
|
2687
|
+
# receives an event with all the retrieved records.
|
2702
2688
|
#
|
2703
2689
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2704
2690
|
#
|
@@ -2781,15 +2767,19 @@ module Aws::Lambda
|
|
2781
2767
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2782
2768
|
#
|
2783
2769
|
# @option params [required, String] :function_name
|
2784
|
-
# The
|
2770
|
+
# The name of the lambda function.
|
2771
|
+
#
|
2772
|
+
# **Name formats**
|
2785
2773
|
#
|
2786
|
-
#
|
2787
|
-
#
|
2788
|
-
#
|
2789
|
-
#
|
2790
|
-
#
|
2791
|
-
#
|
2792
|
-
#
|
2774
|
+
# * **Function name** - `MyFunction`.
|
2775
|
+
#
|
2776
|
+
# * **Function ARN** -
|
2777
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2778
|
+
#
|
2779
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2780
|
+
#
|
2781
|
+
# The length constraint applies only to the full ARN. If you specify
|
2782
|
+
# only the function name, it is limited to 64 characters in length.
|
2793
2783
|
#
|
2794
2784
|
# @option params [String, IO] :zip_file
|
2795
2785
|
# The contents of your zip file containing your deployment package. If
|
@@ -2832,7 +2822,8 @@ module Aws::Lambda
|
|
2832
2822
|
# update of the function version or alias. If the `RevisionID` you pass
|
2833
2823
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
2834
2824
|
# will fail with an error message, advising you to retrieve the latest
|
2835
|
-
# function version or alias `RevisionID` using either
|
2825
|
+
# function version or alias `RevisionID` using either using using either
|
2826
|
+
# GetFunction or GetAlias.
|
2836
2827
|
#
|
2837
2828
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2838
2829
|
#
|
@@ -2958,15 +2949,19 @@ module Aws::Lambda
|
|
2958
2949
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
2959
2950
|
#
|
2960
2951
|
# @option params [required, String] :function_name
|
2961
|
-
# The name of the
|
2952
|
+
# The name of the lambda function.
|
2953
|
+
#
|
2954
|
+
# **Name formats**
|
2955
|
+
#
|
2956
|
+
# * **Function name** - `MyFunction`.
|
2962
2957
|
#
|
2963
|
-
#
|
2964
|
-
#
|
2965
|
-
#
|
2966
|
-
#
|
2967
|
-
#
|
2968
|
-
# to the ARN. If you specify
|
2969
|
-
#
|
2958
|
+
# * **Function ARN** -
|
2959
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2960
|
+
#
|
2961
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2962
|
+
#
|
2963
|
+
# The length constraint applies only to the full ARN. If you specify
|
2964
|
+
# only the function name, it is limited to 64 characters in length.
|
2970
2965
|
#
|
2971
2966
|
# @option params [String] :role
|
2972
2967
|
# The Amazon Resource Name (ARN) of the IAM role that Lambda will assume
|
@@ -2981,10 +2976,9 @@ module Aws::Lambda
|
|
2981
2976
|
# this value. Assign a meaningful description as you see fit.
|
2982
2977
|
#
|
2983
2978
|
# @option params [Integer] :timeout
|
2984
|
-
# The
|
2985
|
-
#
|
2986
|
-
#
|
2987
|
-
# The default is 3 seconds.
|
2979
|
+
# The amount of time that Lambda allows a function to run before
|
2980
|
+
# terminating it. The default is 3 seconds. The maximum allowed value is
|
2981
|
+
# 900 seconds.
|
2988
2982
|
#
|
2989
2983
|
# @option params [Integer] :memory_size
|
2990
2984
|
# The amount of memory, in MB, your Lambda function is given. AWS Lambda
|
@@ -2995,38 +2989,24 @@ module Aws::Lambda
|
|
2995
2989
|
# The value must be a multiple of 64 MB.
|
2996
2990
|
#
|
2997
2991
|
# @option params [Types::VpcConfig] :vpc_config
|
2998
|
-
#
|
2999
|
-
#
|
3000
|
-
# These must belong to the same VPC. You must provide at least one
|
3001
|
-
# security group and one subnet ID.
|
2992
|
+
# Specify security groups and subnets in a VPC to which your Lambda
|
2993
|
+
# function needs access.
|
3002
2994
|
#
|
3003
2995
|
# @option params [Types::Environment] :environment
|
3004
2996
|
# The parent object that contains your environment's configuration
|
3005
2997
|
# settings.
|
3006
2998
|
#
|
3007
2999
|
# @option params [String] :runtime
|
3008
|
-
# The runtime
|
3009
|
-
#
|
3010
|
-
# To use the Python runtime v3.6, set the value to "python3.6". To use
|
3011
|
-
# the Python runtime v2.7, set the value to "python2.7". To use the
|
3012
|
-
# Node.js runtime v6.10, set the value to "nodejs6.10". To use the
|
3013
|
-
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the .NET
|
3014
|
-
# Core runtime v1.0, set the value to "dotnetcore1.0". To use the .NET
|
3015
|
-
# Core runtime v2.0, set the value to "dotnetcore2.0".
|
3016
|
-
#
|
3017
|
-
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
3018
|
-
# existing functions to the newer Node.js runtime versions available on
|
3019
|
-
# AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure to
|
3020
|
-
# do so will result in an invalid parameter error being returned. Note
|
3021
|
-
# that you will have to follow this procedure for each region that
|
3022
|
-
# contains functions written in the Node v0.10.42 runtime.
|
3023
|
-
#
|
3024
|
-
# </note>
|
3000
|
+
# The runtime version for the function.
|
3025
3001
|
#
|
3026
3002
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
3027
|
-
#
|
3028
|
-
#
|
3029
|
-
#
|
3003
|
+
# A dead letter queue configuration that specifies the queue or topic
|
3004
|
+
# where Lambda sends asynchronous events when they fail processing. For
|
3005
|
+
# more information, see [Dead Letter Queues][1].
|
3006
|
+
#
|
3007
|
+
#
|
3008
|
+
#
|
3009
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/dlq.html
|
3030
3010
|
#
|
3031
3011
|
# @option params [String] :kms_key_arn
|
3032
3012
|
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
@@ -3035,14 +3015,16 @@ module Aws::Lambda
|
|
3035
3015
|
# parameter.
|
3036
3016
|
#
|
3037
3017
|
# @option params [Types::TracingConfig] :tracing_config
|
3038
|
-
#
|
3018
|
+
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
3019
|
+
# requests with AWS X-Ray.
|
3039
3020
|
#
|
3040
3021
|
# @option params [String] :revision_id
|
3041
3022
|
# An optional value you can use to ensure you are updating the latest
|
3042
3023
|
# update of the function version or alias. If the `RevisionID` you pass
|
3043
3024
|
# doesn't match the latest `RevisionId` of the function or alias, it
|
3044
3025
|
# will fail with an error message, advising you to retrieve the latest
|
3045
|
-
# function version or alias `RevisionID` using either or
|
3026
|
+
# function version or alias `RevisionID` using either GetFunction or
|
3027
|
+
# GetAlias.
|
3046
3028
|
#
|
3047
3029
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3048
3030
|
#
|
@@ -3181,7 +3163,7 @@ module Aws::Lambda
|
|
3181
3163
|
params: params,
|
3182
3164
|
config: config)
|
3183
3165
|
context[:gem_name] = 'aws-sdk-lambda'
|
3184
|
-
context[:gem_version] = '1.
|
3166
|
+
context[:gem_version] = '1.11.0'
|
3185
3167
|
Seahorse::Client::Request.new(handlers, context)
|
3186
3168
|
end
|
3187
3169
|
|