aws-sdk-lambda 1.10.0 → 1.11.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.
@@ -9,7 +9,12 @@ module Aws::Lambda
9
9
  module Types
10
10
 
11
11
  # Provides limits of code size and concurrency associated with the
12
- # current account and region.
12
+ # current account and region. For more information or to request a limit
13
+ # increase for concurrent executions, see [Lambda Limits][1].
14
+ #
15
+ #
16
+ #
17
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/limits.html
13
18
  #
14
19
  # @!attribute [rw] total_code_size
15
20
  # Maximum size, in bytes, of a code package you can upload per region.
@@ -29,20 +34,18 @@ module Aws::Lambda
29
34
  # @return [Integer]
30
35
  #
31
36
  # @!attribute [rw] concurrent_executions
32
- # Number of simultaneous executions of your function per region. For
33
- # more information or to request a limit increase for concurrent
34
- # executions, see [Lambda Function Concurrent Executions][1]. The
37
+ # Number of simultaneous executions of your function per region. The
35
38
  # default limit is 1000.
36
- #
37
- #
38
- #
39
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
40
39
  # @return [Integer]
41
40
  #
42
41
  # @!attribute [rw] unreserved_concurrent_executions
43
42
  # The number of concurrent executions available to functions that do
44
- # not have concurrency limits set. For more information, see
45
- # concurrent-executions.
43
+ # not have concurrency limits set. For more information, see [Managing
44
+ # Concurrency][1].
45
+ #
46
+ #
47
+ #
48
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
46
49
  # @return [Integer]
47
50
  #
48
51
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit AWS API Documentation
@@ -92,16 +95,19 @@ module Aws::Lambda
92
95
  # }
93
96
  #
94
97
  # @!attribute [rw] function_name
95
- # Name of the Lambda function whose resource policy you are updating
96
- # by adding a new permission.
98
+ # The name of the lambda function.
99
+ #
100
+ # **Name formats**
97
101
  #
98
- # You can specify a function name (for example, `Thumbnail`) or you
99
- # can specify Amazon Resource Name (ARN) of the function (for example,
100
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
101
- # Lambda also allows you to specify partial ARN (for example,
102
- # `account-id:Thumbnail`). Note that the length constraint applies
103
- # only to the ARN. If you specify only the function name, it is
104
- # limited to 64 characters in length.
102
+ # * **Function name** - `MyFunction`.
103
+ #
104
+ # * **Function ARN** -
105
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
106
+ #
107
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
108
+ #
109
+ # The length constraint applies only to the full ARN. If you specify
110
+ # only the function name, it is limited to 64 characters in length.
105
111
  # @return [String]
106
112
  #
107
113
  # @!attribute [rw] statement_id
@@ -117,24 +123,19 @@ module Aws::Lambda
117
123
  # @return [String]
118
124
  #
119
125
  # @!attribute [rw] principal
120
- # The principal who is getting this permission. It can be Amazon S3
121
- # service Principal (`s3.amazonaws.com`) if you want Amazon S3 to
122
- # invoke the function, an AWS account ID if you are granting
123
- # cross-account permission, or any valid AWS service principal such as
124
- # `sns.amazonaws.com`. For example, you might want to allow a custom
125
- # application in another AWS account to push events to AWS Lambda by
126
- # invoking your function.
126
+ # The principal who is getting this permission. The principal can be
127
+ # an AWS service (e.g. `s3.amazonaws.com` or `sns.amazonaws.com`) for
128
+ # service triggers, or an account ID for cross-account access. If you
129
+ # specify a service as a principal, use the `SourceArn` parameter to
130
+ # limit who can invoke the function through that service.
127
131
  # @return [String]
128
132
  #
129
133
  # @!attribute [rw] source_arn
130
- # This is optional; however, when granting permission to invoke your
131
- # function, you should specify this field with the Amazon Resource
132
- # Name (ARN) as its value. This ensures that only events generated
133
- # from the specified source can invoke the function.
134
+ # The Amazon Resource Name of the invoker.
134
135
  #
135
- # If you add a permission without providing the source ARN, any AWS
136
- # account that creates a mapping to your function ARN can send events
137
- # to invoke your Lambda function.
136
+ # If you add a permission to a service principal without providing the
137
+ # source ARN, any AWS account that creates a mapping to your function
138
+ # ARN can invoke your Lambda function.
138
139
  # @return [String]
139
140
  #
140
141
  # @!attribute [rw] source_account
@@ -156,23 +157,8 @@ module Aws::Lambda
156
157
  # @return [String]
157
158
  #
158
159
  # @!attribute [rw] qualifier
159
- # You can use this optional query parameter to describe a qualified
160
- # ARN using a function version or an alias name. The permission will
161
- # then apply to the specific qualified ARN. For example, if you
162
- # specify function version 2 as the qualifier, then permission applies
163
- # only when request is made using qualified function ARN:
164
- #
165
- # `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
166
- #
167
- # If you specify an alias name, for example `PROD`, then the
168
- # permission is valid only for requests made using the alias ARN:
169
- #
170
- # `arn:aws:lambda:aws-region:acct-id:function:function-name:PROD`
171
- #
172
- # If the qualifier is not specified, the permission is valid only when
173
- # requests is made using unqualified function ARN.
174
- #
175
- # `arn:aws:lambda:aws-region:acct-id:function:function-name`
160
+ # Specify a version or alias to add permissions to a published version
161
+ # of the function.
176
162
  # @return [String]
177
163
  #
178
164
  # @!attribute [rw] revision_id
@@ -180,7 +166,8 @@ module Aws::Lambda
180
166
  # update of the function version or alias. If the `RevisionID` you
181
167
  # pass doesn't match the latest `RevisionId` of the function or
182
168
  # alias, it will fail with an error message, advising you to retrieve
183
- # the latest function version or alias `RevisionID` using either or .
169
+ # the latest function version or alias `RevisionID` using either
170
+ # GetFunction or GetAlias
184
171
  # @return [String]
185
172
  #
186
173
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
@@ -236,8 +223,7 @@ module Aws::Lambda
236
223
  # @!attribute [rw] routing_config
237
224
  # Specifies an additional function versions the alias points to,
238
225
  # allowing you to dictate what percentage of traffic will invoke each
239
- # version. For more information, see
240
- # lambda-traffic-shifting-using-aliases.
226
+ # version.
241
227
  # @return [Types::AliasRoutingConfiguration]
242
228
  #
243
229
  # @!attribute [rw] revision_id
@@ -256,9 +242,11 @@ module Aws::Lambda
256
242
  include Aws::Structure
257
243
  end
258
244
 
259
- # The parent object that implements what percentage of traffic will
260
- # invoke each function version. For more information, see
261
- # lambda-traffic-shifting-using-aliases.
245
+ # The alias's [traffic shifting][1] configuration.
246
+ #
247
+ #
248
+ #
249
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
262
250
  #
263
251
  # @note When making an API call, you may pass AliasRoutingConfiguration
264
252
  # data as a hash:
@@ -270,10 +258,8 @@ module Aws::Lambda
270
258
  # }
271
259
  #
272
260
  # @!attribute [rw] additional_version_weights
273
- # Set this value to dictate what percentage of traffic will invoke the
274
- # updated function version. If set to an empty string, 100 percent of
275
- # traffic will invoke `function-version`. For more information, see
276
- # lambda-traffic-shifting-using-aliases.
261
+ # The name of the second alias, and the percentage of traffic that is
262
+ # routed to it.
277
263
  # @return [Hash<String,Float>]
278
264
  #
279
265
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasRoutingConfiguration AWS API Documentation
@@ -285,7 +271,11 @@ module Aws::Lambda
285
271
 
286
272
  # @!attribute [rw] reserved_concurrent_executions
287
273
  # The number of concurrent executions reserved for this function. For
288
- # more information, see concurrent-executions.
274
+ # more information, see [Managing Concurrency][1].
275
+ #
276
+ #
277
+ #
278
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
289
279
  # @return [Integer]
290
280
  #
291
281
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
@@ -311,10 +301,19 @@ module Aws::Lambda
311
301
  # }
312
302
  #
313
303
  # @!attribute [rw] function_name
314
- # Name of the Lambda function for which you want to create an alias.
315
- # Note that the length constraint applies only to the ARN. If you
316
- # specify only the function name, it is limited to 64 characters in
317
- # length.
304
+ # The name of the lambda function.
305
+ #
306
+ # **Name formats**
307
+ #
308
+ # * **Function name** - `MyFunction`.
309
+ #
310
+ # * **Function ARN** -
311
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
312
+ #
313
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
314
+ #
315
+ # The length constraint applies only to the full ARN. If you specify
316
+ # only the function name, it is limited to 64 characters in length.
318
317
  # @return [String]
319
318
  #
320
319
  # @!attribute [rw] name
@@ -332,7 +331,11 @@ module Aws::Lambda
332
331
  # @!attribute [rw] routing_config
333
332
  # Specifies an additional version your alias can point to, allowing
334
333
  # you to dictate what percentage of traffic will invoke each version.
335
- # For more information, see lambda-traffic-shifting-using-aliases.
334
+ # For more information, see [Traffic Shifting Using Aliases][1].
335
+ #
336
+ #
337
+ #
338
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
336
339
  # @return [Types::AliasRoutingConfiguration]
337
340
  #
338
341
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest AWS API Documentation
@@ -359,48 +362,38 @@ module Aws::Lambda
359
362
  # }
360
363
  #
361
364
  # @!attribute [rw] event_source_arn
362
- # The Amazon Resource Name (ARN) of the event source. Any record added
363
- # to this source could cause AWS Lambda to invoke your Lambda
364
- # function, it depends on the `BatchSize`. AWS Lambda POSTs the
365
- # event's records to your Lambda function as JSON.
365
+ # The Amazon Resource Name (ARN) of the event source.
366
366
  # @return [String]
367
367
  #
368
368
  # @!attribute [rw] function_name
369
- # The Lambda function to invoke when AWS Lambda detects an event on
370
- # the stream.
371
- #
372
- # You can specify the function name (for example, `Thumbnail`) or you
373
- # can specify Amazon Resource Name (ARN) of the function (for example,
374
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`).
369
+ # The name of the lambda function.
375
370
  #
376
- # If you are using versioning, you can also provide a qualified
377
- # function ARN (ARN that is qualified with function version or alias
378
- # name as suffix). For more information about versioning, see [AWS
379
- # Lambda Function Versioning and Aliases][1]
371
+ # **Name formats**
380
372
  #
381
- # AWS Lambda also allows you to specify only the function name with
382
- # the account ID qualifier (for example, `account-id:Thumbnail`).
373
+ # * **Function name** - `MyFunction`.
383
374
  #
384
- # Note that the length constraint applies only to the ARN. If you
385
- # specify only the function name, it is limited to 64 characters in
386
- # length.
375
+ # * **Function ARN** -
376
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
387
377
  #
378
+ # * **Version or Alias ARN** -
379
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
388
380
  #
381
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
389
382
  #
390
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
383
+ # The length constraint applies only to the full ARN. If you specify
384
+ # only the function name, it is limited to 64 characters in length.
391
385
  # @return [String]
392
386
  #
393
387
  # @!attribute [rw] enabled
394
- # Indicates whether AWS Lambda should begin polling the event source.
395
- # By default, `Enabled` is true.
388
+ # Set to false to disable the event source upon creation.
396
389
  # @return [Boolean]
397
390
  #
398
391
  # @!attribute [rw] batch_size
399
392
  # The largest number of records that AWS Lambda will retrieve from
400
393
  # your event source at the time of invoking your function. Your
401
394
  # function receives an event with all the retrieved records. The
402
- # default for Amazon Kinesis and Amazon DynamoDB is 100 records. For
403
- # SQS, the default is 1.
395
+ # default for Amazon Kinesis and Amazon DynamoDB is 100 records. Both
396
+ # the default and maximum for Amazon SQS are 10 messages.
404
397
  # @return [Integer]
405
398
  #
406
399
  # @!attribute [rw] starting_position
@@ -483,85 +476,66 @@ module Aws::Lambda
483
476
  # }
484
477
  #
485
478
  # @!attribute [rw] function_name
486
- # The name you want to assign to the function you are uploading. The
487
- # function names appear in the console and are returned in the
488
- # ListFunctions API. Function names are used to specify functions to
489
- # other AWS Lambda API operations, such as Invoke. Note that the
490
- # length constraint applies only to the ARN. If you specify only the
491
- # function name, it is limited to 64 characters in length.
479
+ # The name of the lambda function.
480
+ #
481
+ # **Name formats**
482
+ #
483
+ # * **Function name** - `MyFunction`.
484
+ #
485
+ # * **Function ARN** -
486
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
487
+ #
488
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
489
+ #
490
+ # The length constraint applies only to the full ARN. If you specify
491
+ # only the function name, it is limited to 64 characters in length.
492
492
  # @return [String]
493
493
  #
494
494
  # @!attribute [rw] runtime
495
- # The runtime environment for the Lambda function you are uploading.
496
- #
497
- # To use the Python runtime v3.6, set the value to "python3.6". To
498
- # use the Python runtime v2.7, set the value to "python2.7". To use
499
- # the Node.js runtime v6.10, set the value to "nodejs6.10". To use
500
- # the Node.js runtime v4.3, set the value to "nodejs4.3". To use the
501
- # .NET Core runtime v1.0, set the value to "dotnetcore1.0". To use
502
- # the .NET Core runtime v2.0, set the value to "dotnetcore2.0".
503
- #
504
- # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
505
- # existing functions to the newer Node.js runtime versions available
506
- # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure
507
- # to do so will result in an invalid parameter error being returned.
508
- # Note that you will have to follow this procedure for each region
509
- # that contains functions written in the Node v0.10.42 runtime.
510
- #
511
- # </note>
495
+ # The runtime version for the function.
512
496
  # @return [String]
513
497
  #
514
498
  # @!attribute [rw] role
515
- # The Amazon Resource Name (ARN) of the IAM role that Lambda assumes
516
- # when it executes your function to access any other Amazon Web
517
- # Services (AWS) resources. For more information, see [AWS Lambda: How
518
- # it Works][1].
499
+ # The Amazon Resource Name (ARN) of the function's [execution
500
+ # role][1].
519
501
  #
520
502
  #
521
503
  #
522
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html
504
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role
523
505
  # @return [String]
524
506
  #
525
507
  # @!attribute [rw] handler
526
- # The function within your code that Lambda calls to begin execution.
527
- # For Node.js, it is the *module-name*.*export* value in your
528
- # function. For Java, it can be `package.class-name::handler` or
529
- # `package.class-name`. For more information, see [Lambda Function
530
- # Handler (Java)][1].
508
+ # The name of the method within your code that Lambda calls to execute
509
+ # your function. For more information, see [Programming Model][1].
531
510
  #
532
511
  #
533
512
  #
534
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html
513
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
535
514
  # @return [String]
536
515
  #
537
516
  # @!attribute [rw] code
538
- # The code for the Lambda function.
517
+ # The code for the function.
539
518
  # @return [Types::FunctionCode]
540
519
  #
541
520
  # @!attribute [rw] description
542
- # A short, user-defined function description. Lambda does not use this
543
- # value. Assign a meaningful description as you see fit.
521
+ # A description of the function.
544
522
  # @return [String]
545
523
  #
546
524
  # @!attribute [rw] timeout
547
- # The function execution time at which Lambda should terminate the
548
- # function. Because the execution time has cost implications, we
549
- # recommend you set this value based on your expected execution time.
550
- # The default is 3 seconds.
525
+ # The amount of time that Lambda allows a function to run before
526
+ # terminating it. The default is 3 seconds. The maximum allowed value
527
+ # is 900 seconds.
551
528
  # @return [Integer]
552
529
  #
553
530
  # @!attribute [rw] memory_size
554
- # The amount of memory, in MB, your Lambda function is given. Lambda
555
- # uses this memory size to infer the amount of CPU and memory
556
- # allocated to your function. Your function use-case determines your
557
- # CPU and memory requirements. For example, a database operation might
558
- # need less memory compared to an image processing function. The
531
+ # The amount of memory that your function has access to. Increasing
532
+ # the function's memory also increases it's CPU allocation. The
559
533
  # default value is 128 MB. The value must be a multiple of 64 MB.
560
534
  # @return [Integer]
561
535
  #
562
536
  # @!attribute [rw] publish
563
- # This boolean parameter can be used to request AWS Lambda to create
564
- # the Lambda function and publish a version as an atomic operation.
537
+ # Set to true to publish the first version of the function during
538
+ # creation.
565
539
  # @return [Boolean]
566
540
  #
567
541
  # @!attribute [rw] vpc_config
@@ -572,24 +546,29 @@ module Aws::Lambda
572
546
  # @return [Types::VpcConfig]
573
547
  #
574
548
  # @!attribute [rw] dead_letter_config
575
- # The parent object that contains the target ARN (Amazon Resource
576
- # Name) of an Amazon SQS queue or Amazon SNS topic. For more
577
- # information, see dlq.
549
+ # A dead letter queue configuration that specifies the queue or topic
550
+ # where Lambda sends asynchronous events when they fail processing.
551
+ # For more information, see [Dead Letter Queues][1].
552
+ #
553
+ #
554
+ #
555
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/dlq.html
578
556
  # @return [Types::DeadLetterConfig]
579
557
  #
580
558
  # @!attribute [rw] environment
581
- # The parent object that contains your environment's configuration
582
- # settings.
559
+ # Environment variables that are accessible from function code during
560
+ # execution.
583
561
  # @return [Types::Environment]
584
562
  #
585
563
  # @!attribute [rw] kms_key_arn
586
- # The Amazon Resource Name (ARN) of the KMS key used to encrypt your
587
- # function's environment variables. If not provided, AWS Lambda will
588
- # use a default service key.
564
+ # The ARN of the KMS key used to encrypt your function's environment
565
+ # variables. If not provided, AWS Lambda will use a default service
566
+ # key.
589
567
  # @return [String]
590
568
  #
591
569
  # @!attribute [rw] tracing_config
592
- # The parent object that contains your function's tracing settings.
570
+ # Set `Mode` to `Active` to sample and trace a subset of incoming
571
+ # requests with AWS X-Ray.
593
572
  # @return [Types::TracingConfig]
594
573
  #
595
574
  # @!attribute [rw] tags
@@ -623,9 +602,11 @@ module Aws::Lambda
623
602
  include Aws::Structure
624
603
  end
625
604
 
626
- # The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
627
- # topic you specify as your Dead Letter Queue (DLQ). For more
628
- # information, see dlq.
605
+ # The [dead letter queue][1] for failed asynchronous invocations.
606
+ #
607
+ #
608
+ #
609
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/dlq.html
629
610
  #
630
611
  # @note When making an API call, you may pass DeadLetterConfig
631
612
  # data as a hash:
@@ -636,8 +617,7 @@ module Aws::Lambda
636
617
  #
637
618
  # @!attribute [rw] target_arn
638
619
  # The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
639
- # topic you specify as your Dead Letter Queue (DLQ). dlq. For more
640
- # information, see dlq.
620
+ # topic.
641
621
  # @return [String]
642
622
  #
643
623
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeadLetterConfig AWS API Documentation
@@ -656,11 +636,19 @@ module Aws::Lambda
656
636
  # }
657
637
  #
658
638
  # @!attribute [rw] function_name
659
- # The Lambda function name for which the alias is created. Deleting an
660
- # alias does not delete the function version to which it is pointing.
661
- # Note that the length constraint applies only to the ARN. If you
662
- # specify only the function name, it is limited to 64 characters in
663
- # length.
639
+ # The name of the lambda function.
640
+ #
641
+ # **Name formats**
642
+ #
643
+ # * **Function name** - `MyFunction`.
644
+ #
645
+ # * **Function ARN** -
646
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
647
+ #
648
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
649
+ #
650
+ # The length constraint applies only to the full ARN. If you specify
651
+ # only the function name, it is limited to 64 characters in length.
664
652
  # @return [String]
665
653
  #
666
654
  # @!attribute [rw] name
@@ -701,8 +689,19 @@ module Aws::Lambda
701
689
  # }
702
690
  #
703
691
  # @!attribute [rw] function_name
704
- # The name of the function you are removing concurrent execution
705
- # limits from. For more information, see concurrent-executions.
692
+ # The name of the lambda function.
693
+ #
694
+ # **Name formats**
695
+ #
696
+ # * **Function name** - `MyFunction`.
697
+ #
698
+ # * **Function ARN** -
699
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
700
+ #
701
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
702
+ #
703
+ # The length constraint applies only to the full ARN. If you specify
704
+ # only the function name, it is limited to 64 characters in length.
706
705
  # @return [String]
707
706
  #
708
707
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest AWS API Documentation
@@ -721,36 +720,24 @@ module Aws::Lambda
721
720
  # }
722
721
  #
723
722
  # @!attribute [rw] function_name
724
- # The Lambda function to delete.
723
+ # The name of the lambda function.
725
724
  #
726
- # You can specify the function name (for example, `Thumbnail`) or you
727
- # can specify Amazon Resource Name (ARN) of the function (for example,
728
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you
729
- # are using versioning, you can also provide a qualified function ARN
730
- # (ARN that is qualified with function version or alias name as
731
- # suffix). AWS Lambda also allows you to specify only the function
732
- # name with the account ID qualifier (for example,
733
- # `account-id:Thumbnail`). Note that the length constraint applies
734
- # only to the ARN. If you specify only the function name, it is
735
- # limited to 64 characters in length.
736
- # @return [String]
725
+ # **Name formats**
737
726
  #
738
- # @!attribute [rw] qualifier
739
- # Using this optional parameter you can specify a function version
740
- # (but not the `$LATEST` version) to direct AWS Lambda to delete a
741
- # specific function version. If the function version has one or more
742
- # aliases pointing to it, you will get an error because you cannot
743
- # have aliases pointing to it. You can delete any function version but
744
- # not the `$LATEST`, that is, you cannot specify `$LATEST` as the
745
- # value of this parameter. The `$LATEST` version can be deleted only
746
- # when you want to delete all the function versions and aliases.
727
+ # * **Function name** - `MyFunction`.
728
+ #
729
+ # * **Function ARN** -
730
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
731
+ #
732
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
747
733
  #
748
- # You can only specify a function version, not an alias name, using
749
- # this parameter. You cannot delete a function version using its
750
- # alias.
734
+ # The length constraint applies only to the full ARN. If you specify
735
+ # only the function name, it is limited to 64 characters in length.
736
+ # @return [String]
751
737
  #
752
- # If you don't specify this parameter, AWS Lambda will delete the
753
- # function, including all of its versions and aliases.
738
+ # @!attribute [rw] qualifier
739
+ # Specify a version to delete. You cannot delete a version that is
740
+ # referenced by an alias.
754
741
  # @return [String]
755
742
  #
756
743
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest AWS API Documentation
@@ -761,8 +748,7 @@ module Aws::Lambda
761
748
  include Aws::Structure
762
749
  end
763
750
 
764
- # The parent object that contains your environment's configuration
765
- # settings.
751
+ # A function's environment variable settings.
766
752
  #
767
753
  # @note When making an API call, you may pass Environment
768
754
  # data as a hash:
@@ -774,8 +760,7 @@ module Aws::Lambda
774
760
  # }
775
761
  #
776
762
  # @!attribute [rw] variables
777
- # The key-value pairs that represent your environment's configuration
778
- # settings.
763
+ # Environment variable key-value pairs.
779
764
  # @return [Hash<String,String>]
780
765
  #
781
766
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment AWS API Documentation
@@ -785,15 +770,14 @@ module Aws::Lambda
785
770
  include Aws::Structure
786
771
  end
787
772
 
788
- # The parent object that contains error information associated with your
789
- # configuration settings.
773
+ # Error messages for environment variables that could not be applied.
790
774
  #
791
775
  # @!attribute [rw] error_code
792
- # The error code returned by the environment error object.
776
+ # The error code.
793
777
  # @return [String]
794
778
  #
795
779
  # @!attribute [rw] message
796
- # The message returned by the environment error object.
780
+ # The error message.
797
781
  # @return [String]
798
782
  #
799
783
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentError AWS API Documentation
@@ -804,18 +788,15 @@ module Aws::Lambda
804
788
  include Aws::Structure
805
789
  end
806
790
 
807
- # The parent object returned that contains your environment's
808
- # configuration settings or any error information associated with your
809
- # configuration settings.
791
+ # The results of a configuration update that applied environment
792
+ # variables.
810
793
  #
811
794
  # @!attribute [rw] variables
812
- # The key-value pairs returned that represent your environment's
813
- # configuration settings or error information.
795
+ # Environment variable key-value pairs.
814
796
  # @return [Hash<String,String>]
815
797
  #
816
798
  # @!attribute [rw] error
817
- # The parent object that contains error information associated with
818
- # your configuration settings.
799
+ # Error messages for environment variables that could not be applied.
819
800
  # @return [Types::EnvironmentError]
820
801
  #
821
802
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentResponse AWS API Documentation
@@ -826,8 +807,8 @@ module Aws::Lambda
826
807
  include Aws::Structure
827
808
  end
828
809
 
829
- # Describes mapping between an Amazon Kinesis or DynamoDB stream or an
830
- # Amazon SQS queue and a Lambda function.
810
+ # Describes mapping between an Amazon Kinesis or DynamoDB stream and a
811
+ # Lambda function.
831
812
  #
832
813
  # @!attribute [rw] uuid
833
814
  # The AWS Lambda assigned opaque identifier for the mapping.
@@ -841,7 +822,7 @@ module Aws::Lambda
841
822
  #
842
823
  # @!attribute [rw] event_source_arn
843
824
  # The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB
844
- # stream or the SQS queue that is the source of events.
825
+ # stream that is the source of events.
845
826
  # @return [String]
846
827
  #
847
828
  # @!attribute [rw] function_arn
@@ -856,7 +837,8 @@ module Aws::Lambda
856
837
  #
857
838
  # @!attribute [rw] last_processing_result
858
839
  # The result of the last AWS Lambda invocation of your Lambda
859
- # function.
840
+ # function. This value will be null if an SQS queue is the event
841
+ # source.
860
842
  # @return [String]
861
843
  #
862
844
  # @!attribute [rw] state
@@ -884,7 +866,8 @@ module Aws::Lambda
884
866
  include Aws::Structure
885
867
  end
886
868
 
887
- # The code for the Lambda function.
869
+ # The code for the Lambda function. You can specify either an S3
870
+ # location, or upload a deployment package directly.
888
871
  #
889
872
  # @note When making an API call, you may pass FunctionCode
890
873
  # data as a hash:
@@ -897,32 +880,22 @@ module Aws::Lambda
897
880
  # }
898
881
  #
899
882
  # @!attribute [rw] zip_file
900
- # The contents of your zip file containing your deployment package. If
901
- # you are using the web API directly, the contents of the zip file
902
- # must be base64-encoded. If you are using the AWS SDKs or the AWS
903
- # CLI, the SDKs or CLI will do the encoding for you. For more
904
- # information about creating a .zip file, see [Execution
905
- # Permissions][1] in the **AWS Lambda Developer Guide**.
906
- #
907
- #
908
- #
909
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role.html
883
+ # The base64-encoded contents of your zip file containing your
884
+ # deployment package. AWS SDK and AWS CLI clients handle the encoding
885
+ # for you.
910
886
  # @return [String]
911
887
  #
912
888
  # @!attribute [rw] s3_bucket
913
- # Amazon S3 bucket name where the .zip file containing your deployment
914
- # package is stored. This bucket must reside in the same AWS region
915
- # where you are creating the Lambda function.
889
+ # An Amazon S3 bucket in the same region as your function.
916
890
  # @return [String]
917
891
  #
918
892
  # @!attribute [rw] s3_key
919
- # The Amazon S3 object (the deployment package) key name you want to
920
- # upload.
893
+ # The Amazon S3 key of the deployment package.
921
894
  # @return [String]
922
895
  #
923
896
  # @!attribute [rw] s3_object_version
924
- # The Amazon S3 object (the deployment package) version you want to
925
- # upload.
897
+ # For versioned objects, the version of the deployment package object
898
+ # to use.
926
899
  # @return [String]
927
900
  #
928
901
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
@@ -954,16 +927,14 @@ module Aws::Lambda
954
927
  include Aws::Structure
955
928
  end
956
929
 
957
- # A complex type that describes function metadata.
930
+ # A Lambda function's configuration settings.
958
931
  #
959
932
  # @!attribute [rw] function_name
960
- # The name of the function. Note that the length constraint applies
961
- # only to the ARN. If you specify only the function name, it is
962
- # limited to 64 characters in length.
933
+ # The name of the function.
963
934
  # @return [String]
964
935
  #
965
936
  # @!attribute [rw] function_arn
966
- # The Amazon Resource Name (ARN) assigned to the function.
937
+ # The function's Amazon Resource Name.
967
938
  # @return [String]
968
939
  #
969
940
  # @!attribute [rw] runtime
@@ -971,9 +942,7 @@ module Aws::Lambda
971
942
  # @return [String]
972
943
  #
973
944
  # @!attribute [rw] role
974
- # The Amazon Resource Name (ARN) of the IAM role that Lambda assumes
975
- # when it executes your function to access any other Amazon Web
976
- # Services (AWS) resources.
945
+ # The function's execution role.
977
946
  # @return [String]
978
947
  #
979
948
  # @!attribute [rw] handler
@@ -981,30 +950,25 @@ module Aws::Lambda
981
950
  # @return [String]
982
951
  #
983
952
  # @!attribute [rw] code_size
984
- # The size, in bytes, of the function .zip file you uploaded.
953
+ # The size of the function's deployment package in bytes.
985
954
  # @return [Integer]
986
955
  #
987
956
  # @!attribute [rw] description
988
- # The user-provided description.
957
+ # The function's description.
989
958
  # @return [String]
990
959
  #
991
960
  # @!attribute [rw] timeout
992
- # The function execution time at which Lambda should terminate the
993
- # function. Because the execution time has cost implications, we
994
- # recommend you set this value based on your expected execution time.
995
- # The default is 3 seconds.
961
+ # The amount of time that Lambda allows a function to run before
962
+ # terminating it.
996
963
  # @return [Integer]
997
964
  #
998
965
  # @!attribute [rw] memory_size
999
- # The memory size, in MB, you configured for the function. Must be a
1000
- # multiple of 64 MB.
966
+ # The memory allocated to the function
1001
967
  # @return [Integer]
1002
968
  #
1003
969
  # @!attribute [rw] last_modified
1004
- # The time stamp of the last time you updated the function. The time
1005
- # stamp is conveyed as a string complying with ISO-8601 in this way
1006
- # YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more
1007
- # information, see [Date and Time Formats][1].
970
+ # The date and time that the function was last updated, in [ISO-8601
971
+ # format][1] (YYYY-MM-DDThh:mm:ssTZD).
1008
972
  #
1009
973
  #
1010
974
  #
@@ -1012,7 +976,7 @@ module Aws::Lambda
1012
976
  # @return [Time]
1013
977
  #
1014
978
  # @!attribute [rw] code_sha_256
1015
- # It is the SHA256 hash of your function deployment package.
979
+ # The SHA256 hash of the function's deployment package.
1016
980
  # @return [String]
1017
981
  #
1018
982
  # @!attribute [rw] version
@@ -1020,32 +984,28 @@ module Aws::Lambda
1020
984
  # @return [String]
1021
985
  #
1022
986
  # @!attribute [rw] vpc_config
1023
- # VPC configuration associated with your Lambda function.
987
+ # The function's networking configuration.
1024
988
  # @return [Types::VpcConfigResponse]
1025
989
  #
1026
990
  # @!attribute [rw] dead_letter_config
1027
- # The parent object that contains the target ARN (Amazon Resource
1028
- # Name) of an Amazon SQS queue or Amazon SNS topic. For more
1029
- # information, see dlq.
991
+ # The function's dead letter queue.
1030
992
  # @return [Types::DeadLetterConfig]
1031
993
  #
1032
994
  # @!attribute [rw] environment
1033
- # The parent object that contains your environment's configuration
1034
- # settings.
995
+ # The function's environment variables.
1035
996
  # @return [Types::EnvironmentResponse]
1036
997
  #
1037
998
  # @!attribute [rw] kms_key_arn
1038
- # The Amazon Resource Name (ARN) of the KMS key used to encrypt your
1039
- # function's environment variables. If empty, it means you are using
1040
- # the AWS Lambda default service key.
999
+ # The KMS key used to encrypt the function's environment variables.
1000
+ # Only returned if you've configured a customer managed CMK.
1041
1001
  # @return [String]
1042
1002
  #
1043
1003
  # @!attribute [rw] tracing_config
1044
- # The parent object that contains your function's tracing settings.
1004
+ # The function's AWS X-Ray tracing configuration.
1045
1005
  # @return [Types::TracingConfigResponse]
1046
1006
  #
1047
1007
  # @!attribute [rw] master_arn
1048
- # Returns the ARN (Amazon Resource Name) of the master function.
1008
+ # The ARN of the master function.
1049
1009
  # @return [String]
1050
1010
  #
1051
1011
  # @!attribute [rw] revision_id
@@ -1084,13 +1044,11 @@ module Aws::Lambda
1084
1044
  class GetAccountSettingsRequest < Aws::EmptyStructure; end
1085
1045
 
1086
1046
  # @!attribute [rw] account_limit
1087
- # Provides limits of code size and concurrency associated with the
1088
- # current account and region.
1047
+ # Limits related to concurrency and code storage.
1089
1048
  # @return [Types::AccountLimit]
1090
1049
  #
1091
1050
  # @!attribute [rw] account_usage
1092
- # Provides code size usage and function count associated with the
1093
- # current account and region.
1051
+ # The number of functions and amount of storage in use.
1094
1052
  # @return [Types::AccountUsage]
1095
1053
  #
1096
1054
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsResponse AWS API Documentation
@@ -1110,11 +1068,19 @@ module Aws::Lambda
1110
1068
  # }
1111
1069
  #
1112
1070
  # @!attribute [rw] function_name
1113
- # Function name for which the alias is created. An alias is a
1114
- # subresource that exists only in the context of an existing Lambda
1115
- # function so you must specify the function name. Note that the length
1116
- # constraint applies only to the ARN. If you specify only the function
1117
- # name, it is limited to 64 characters in length.
1071
+ # The name of the lambda function.
1072
+ #
1073
+ # **Name formats**
1074
+ #
1075
+ # * **Function name** - `MyFunction`.
1076
+ #
1077
+ # * **Function ARN** -
1078
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1079
+ #
1080
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1081
+ #
1082
+ # The length constraint applies only to the full ARN. If you specify
1083
+ # only the function name, it is limited to 64 characters in length.
1118
1084
  # @return [String]
1119
1085
  #
1120
1086
  # @!attribute [rw] name
@@ -1156,29 +1122,24 @@ module Aws::Lambda
1156
1122
  # }
1157
1123
  #
1158
1124
  # @!attribute [rw] function_name
1159
- # The name of the Lambda function for which you want to retrieve the
1160
- # configuration information.
1125
+ # The name of the lambda function.
1126
+ #
1127
+ # **Name formats**
1128
+ #
1129
+ # * **Function name** - `MyFunction`.
1130
+ #
1131
+ # * **Function ARN** -
1132
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1133
+ #
1134
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1161
1135
  #
1162
- # You can specify a function name (for example, `Thumbnail`) or you
1163
- # can specify Amazon Resource Name (ARN) of the function (for example,
1164
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1165
- # Lambda also allows you to specify a partial ARN (for example,
1166
- # `account-id:Thumbnail`). Note that the length constraint applies
1167
- # only to the ARN. If you specify only the function name, it is
1168
- # limited to 64 characters in length.
1136
+ # The length constraint applies only to the full ARN. If you specify
1137
+ # only the function name, it is limited to 64 characters in length.
1169
1138
  # @return [String]
1170
1139
  #
1171
1140
  # @!attribute [rw] qualifier
1172
- # Using this optional parameter you can specify a function version or
1173
- # an alias name. If you specify function version, the API uses
1174
- # qualified function ARN and returns information about the specific
1175
- # function version. If you specify an alias name, the API uses the
1176
- # alias ARN and returns information about the function version to
1177
- # which the alias points.
1178
- #
1179
- # If you don't specify this parameter, the API uses unqualified
1180
- # function ARN, and returns information about the `$LATEST` function
1181
- # version.
1141
+ # Specify a version or alias to get details about a published version
1142
+ # of the function.
1182
1143
  # @return [String]
1183
1144
  #
1184
1145
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfigurationRequest AWS API Documentation
@@ -1198,26 +1159,24 @@ module Aws::Lambda
1198
1159
  # }
1199
1160
  #
1200
1161
  # @!attribute [rw] function_name
1201
- # The Lambda function name.
1162
+ # The name of the lambda function.
1163
+ #
1164
+ # **Name formats**
1165
+ #
1166
+ # * **Function name** - `MyFunction`.
1167
+ #
1168
+ # * **Function ARN** -
1169
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1170
+ #
1171
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1202
1172
  #
1203
- # You can specify a function name (for example, `Thumbnail`) or you
1204
- # can specify Amazon Resource Name (ARN) of the function (for example,
1205
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1206
- # Lambda also allows you to specify a partial ARN (for example,
1207
- # `account-id:Thumbnail`). Note that the length constraint applies
1208
- # only to the ARN. If you specify only the function name, it is
1209
- # limited to 64 characters in length.
1173
+ # The length constraint applies only to the full ARN. If you specify
1174
+ # only the function name, it is limited to 64 characters in length.
1210
1175
  # @return [String]
1211
1176
  #
1212
1177
  # @!attribute [rw] qualifier
1213
- # Use this optional parameter to specify a function version or an
1214
- # alias name. If you specify function version, the API uses qualified
1215
- # function ARN for the request and returns information about the
1216
- # specific Lambda function version. If you specify an alias name, the
1217
- # API uses the alias ARN and returns information about the function
1218
- # version to which the alias points. If you don't provide this
1219
- # parameter, the API uses unqualified function ARN and returns
1220
- # information about the `$LATEST` version of the Lambda function.
1178
+ # Specify a version or alias to get details about a published version
1179
+ # of the function.
1221
1180
  # @return [String]
1222
1181
  #
1223
1182
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRequest AWS API Documentation
@@ -1232,11 +1191,11 @@ module Aws::Lambda
1232
1191
  # (see FunctionCodeLocation.
1233
1192
  #
1234
1193
  # @!attribute [rw] configuration
1235
- # A complex type that describes function metadata.
1194
+ # The function's configuration.
1236
1195
  # @return [Types::FunctionConfiguration]
1237
1196
  #
1238
1197
  # @!attribute [rw] code
1239
- # The object for the Lambda function location.
1198
+ # The function's code.
1240
1199
  # @return [Types::FunctionCodeLocation]
1241
1200
  #
1242
1201
  # @!attribute [rw] tags
@@ -1251,7 +1210,11 @@ module Aws::Lambda
1251
1210
  #
1252
1211
  # @!attribute [rw] concurrency
1253
1212
  # The concurrent execution limit set for this function. For more
1254
- # information, see concurrent-executions.
1213
+ # information, see [Managing Concurrency][1].
1214
+ #
1215
+ #
1216
+ #
1217
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
1255
1218
  # @return [Types::Concurrency]
1256
1219
  #
1257
1220
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse AWS API Documentation
@@ -1273,18 +1236,19 @@ module Aws::Lambda
1273
1236
  # }
1274
1237
  #
1275
1238
  # @!attribute [rw] function_name
1276
- # Function name whose resource policy you want to retrieve.
1239
+ # The name of the lambda function.
1240
+ #
1241
+ # **Name formats**
1242
+ #
1243
+ # * **Function name** - `MyFunction`.
1277
1244
  #
1278
- # You can specify the function name (for example, `Thumbnail`) or you
1279
- # can specify Amazon Resource Name (ARN) of the function (for example,
1280
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you
1281
- # are using versioning, you can also provide a qualified function ARN
1282
- # (ARN that is qualified with function version or alias name as
1283
- # suffix). AWS Lambda also allows you to specify only the function
1284
- # name with the account ID qualifier (for example,
1285
- # `account-id:Thumbnail`). Note that the length constraint applies
1286
- # only to the ARN. If you specify only the function name, it is
1287
- # limited to 64 characters in length.
1245
+ # * **Function ARN** -
1246
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1247
+ #
1248
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1249
+ #
1250
+ # The length constraint applies only to the full ARN. If you specify
1251
+ # only the function name, it is limited to 64 characters in length.
1288
1252
  # @return [String]
1289
1253
  #
1290
1254
  # @!attribute [rw] qualifier
@@ -1334,27 +1298,34 @@ module Aws::Lambda
1334
1298
  # }
1335
1299
  #
1336
1300
  # @!attribute [rw] function_name
1337
- # The Lambda function name.
1301
+ # The name of the lambda function.
1302
+ #
1303
+ # **Name formats**
1304
+ #
1305
+ # * **Function name** - `MyFunction`.
1306
+ #
1307
+ # * **Function ARN** -
1308
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1309
+ #
1310
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1338
1311
  #
1339
- # You can specify a function name (for example, `Thumbnail`) or you
1340
- # can specify Amazon Resource Name (ARN) of the function (for example,
1341
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1342
- # Lambda also allows you to specify a partial ARN (for example,
1343
- # `account-id:Thumbnail`). Note that the length constraint applies
1344
- # only to the ARN. If you specify only the function name, it is
1345
- # limited to 64 characters in length.
1312
+ # The length constraint applies only to the full ARN. If you specify
1313
+ # only the function name, it is limited to 64 characters in length.
1346
1314
  # @return [String]
1347
1315
  #
1348
1316
  # @!attribute [rw] invocation_type
1349
- # By default, the `Invoke` API assumes `RequestResponse` invocation
1350
- # type. You can optionally request asynchronous execution by
1351
- # specifying `Event` as the `InvocationType`. You can also use this
1352
- # parameter to request AWS Lambda to not execute the function but do
1353
- # some verification, such as if the caller is authorized to invoke the
1354
- # function and if the inputs are valid. You request this by specifying
1355
- # `DryRun` as the `InvocationType`. This is useful in a cross-account
1356
- # scenario when you want to verify access to a function without
1357
- # running it.
1317
+ # Choose from the following options.
1318
+ #
1319
+ # * `RequestResponse` (default) - Invoke the function synchronously.
1320
+ # Keep the connection open until the function returns a response or
1321
+ # times out.
1322
+ #
1323
+ # * `Event` - Invoke the function asynchronously. Send events that
1324
+ # fail multiple times to the function's dead-letter queue (if
1325
+ # configured).
1326
+ #
1327
+ # * `DryRun` - Validate parameter values and verify that the user or
1328
+ # role has permission to invoke the function.
1358
1329
  # @return [String]
1359
1330
  #
1360
1331
  # @!attribute [rw] log_type
@@ -1376,6 +1347,11 @@ module Aws::Lambda
1376
1347
  # The ClientContext JSON must be base64-encoded and has a maximum size
1377
1348
  # of 3583 bytes.
1378
1349
  #
1350
+ # <note markdown="1"> `ClientContext` information is returned only if you use the
1351
+ # synchronous (`RequestResponse`) invocation type.
1352
+ #
1353
+ # </note>
1354
+ #
1379
1355
  #
1380
1356
  #
1381
1357
  # [1]: http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html
@@ -1386,14 +1362,8 @@ module Aws::Lambda
1386
1362
  # @return [String]
1387
1363
  #
1388
1364
  # @!attribute [rw] qualifier
1389
- # You can use this optional parameter to specify a Lambda function
1390
- # version or alias name. If you specify a function version, the API
1391
- # uses the qualified function ARN to invoke a specific Lambda
1392
- # function. If you specify an alias name, the API uses the alias ARN
1393
- # to invoke the Lambda function version to which the alias points.
1394
- #
1395
- # If you don't provide this parameter, then the API uses unqualified
1396
- # function ARN which results in invocation of the `$LATEST` version.
1365
+ # Specify a version or alias to invoke a published version of the
1366
+ # function.
1397
1367
  # @return [String]
1398
1368
  #
1399
1369
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationRequest AWS API Documentation
@@ -1453,7 +1423,11 @@ module Aws::Lambda
1453
1423
  # @!attribute [rw] executed_version
1454
1424
  # The function version that has been executed. This value is returned
1455
1425
  # only if the invocation type is `RequestResponse`. For more
1456
- # information, see lambda-traffic-shifting-using-aliases.
1426
+ # information, see [Traffic Shifting Using Aliases][1].
1427
+ #
1428
+ #
1429
+ #
1430
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
1457
1431
  # @return [String]
1458
1432
  #
1459
1433
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
@@ -1476,9 +1450,19 @@ module Aws::Lambda
1476
1450
  # }
1477
1451
  #
1478
1452
  # @!attribute [rw] function_name
1479
- # The Lambda function name. Note that the length constraint applies
1480
- # only to the ARN. If you specify only the function name, it is
1481
- # limited to 64 characters in length.
1453
+ # The name of the lambda function.
1454
+ #
1455
+ # **Name formats**
1456
+ #
1457
+ # * **Function name** - `MyFunction`.
1458
+ #
1459
+ # * **Function ARN** -
1460
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1461
+ #
1462
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1463
+ #
1464
+ # The length constraint applies only to the full ARN. If you specify
1465
+ # only the function name, it is limited to 64 characters in length.
1482
1466
  # @return [String]
1483
1467
  #
1484
1468
  # @!attribute [rw] invoke_args
@@ -1518,9 +1502,19 @@ module Aws::Lambda
1518
1502
  # }
1519
1503
  #
1520
1504
  # @!attribute [rw] function_name
1521
- # Lambda function name for which the alias is created. Note that the
1522
- # length constraint applies only to the ARN. If you specify only the
1523
- # function name, it is limited to 64 characters in length.
1505
+ # The name of the lambda function.
1506
+ #
1507
+ # **Name formats**
1508
+ #
1509
+ # * **Function name** - `MyFunction`.
1510
+ #
1511
+ # * **Function ARN** -
1512
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1513
+ #
1514
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1515
+ #
1516
+ # The length constraint applies only to the full ARN. If you specify
1517
+ # only the function name, it is limited to 64 characters in length.
1524
1518
  # @return [String]
1525
1519
  #
1526
1520
  # @!attribute [rw] function_version
@@ -1579,22 +1573,26 @@ module Aws::Lambda
1579
1573
  #
1580
1574
  # @!attribute [rw] event_source_arn
1581
1575
  # The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB
1582
- # stream, or an SQS queue. (This parameter is optional.)
1576
+ # stream. (This parameter is optional.)
1583
1577
  # @return [String]
1584
1578
  #
1585
1579
  # @!attribute [rw] function_name
1586
- # The name of the Lambda function.
1580
+ # The name of the lambda function.
1581
+ #
1582
+ # **Name formats**
1583
+ #
1584
+ # * **Function name** - `MyFunction`.
1585
+ #
1586
+ # * **Function ARN** -
1587
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1588
+ #
1589
+ # * **Version or Alias ARN** -
1590
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
1587
1591
  #
1588
- # You can specify the function name (for example, `Thumbnail`) or you
1589
- # can specify Amazon Resource Name (ARN) of the function (for example,
1590
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you
1591
- # are using versioning, you can also provide a qualified function ARN
1592
- # (ARN that is qualified with function version or alias name as
1593
- # suffix). AWS Lambda also allows you to specify only the function
1594
- # name with the account ID qualifier (for example,
1595
- # `account-id:Thumbnail`). Note that the length constraint applies
1596
- # only to the ARN. If you specify only the function name, it is
1597
- # limited to 64 characters in length.
1592
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1593
+ #
1594
+ # The length constraint applies only to the full ARN. If you specify
1595
+ # only the function name, it is limited to 64 characters in length.
1598
1596
  # @return [String]
1599
1597
  #
1600
1598
  # @!attribute [rw] marker
@@ -1647,27 +1645,15 @@ module Aws::Lambda
1647
1645
  # }
1648
1646
  #
1649
1647
  # @!attribute [rw] master_region
1650
- # Optional string. If not specified, will return only regular function
1651
- # versions (i.e., non-replicated versions).
1652
- #
1653
- # Valid values are:
1654
- #
1655
- # The region from which the functions are replicated. For example, if
1656
- # you specify `us-east-1`, only functions replicated from that region
1657
- # will be returned.
1658
- #
1659
- # `ALL`\: Will return all functions from any region. If specified, you
1660
- # also must specify a valid FunctionVersion parameter.
1648
+ # Specify a region (e.g. `us-east-2`) to only list functions that were
1649
+ # created in that region, or `ALL` to include functions replicated
1650
+ # from any region. If specified, you also must specify the
1651
+ # `FunctionVersion`.
1661
1652
  # @return [String]
1662
1653
  #
1663
1654
  # @!attribute [rw] function_version
1664
- # Optional string. If not specified, only the unqualified functions
1665
- # ARNs (Amazon Resource Names) will be returned.
1666
- #
1667
- # Valid value:
1668
- #
1669
- # `ALL`\: Will return all versions, including `$LATEST` which will
1670
- # have fully qualified ARNs (Amazon Resource Names).
1655
+ # Set to `ALL` to list all published versions. If not specified, only
1656
+ # the latest unpublished version ARN is returned.
1671
1657
  # @return [String]
1672
1658
  #
1673
1659
  # @!attribute [rw] marker
@@ -1679,7 +1665,8 @@ module Aws::Lambda
1679
1665
  # @!attribute [rw] max_items
1680
1666
  # Optional integer. Specifies the maximum number of AWS Lambda
1681
1667
  # functions to return in response. This parameter value must be
1682
- # greater than 0.
1668
+ # greater than 0. The absolute maximum of AWS Lambda functions that
1669
+ # can be returned is 50.
1683
1670
  # @return [Integer]
1684
1671
  #
1685
1672
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
@@ -1692,8 +1679,7 @@ module Aws::Lambda
1692
1679
  include Aws::Structure
1693
1680
  end
1694
1681
 
1695
- # Contains a list of AWS Lambda function configurations (see
1696
- # FunctionConfiguration.
1682
+ # A list of Lambda functions.
1697
1683
  #
1698
1684
  # @!attribute [rw] next_marker
1699
1685
  # A string, present if there are more functions.
@@ -1761,14 +1747,19 @@ module Aws::Lambda
1761
1747
  # }
1762
1748
  #
1763
1749
  # @!attribute [rw] function_name
1764
- # Function name whose versions to list. You can specify a function
1765
- # name (for example, `Thumbnail`) or you can specify Amazon Resource
1766
- # Name (ARN) of the function (for example,
1767
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1768
- # Lambda also allows you to specify a partial ARN (for example,
1769
- # `account-id:Thumbnail`). Note that the length constraint applies
1770
- # only to the ARN. If you specify only the function name, it is
1771
- # limited to 64 characters in length.
1750
+ # The name of the lambda function.
1751
+ #
1752
+ # **Name formats**
1753
+ #
1754
+ # * **Function name** - `MyFunction`.
1755
+ #
1756
+ # * **Function ARN** -
1757
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1758
+ #
1759
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1760
+ #
1761
+ # The length constraint applies only to the full ARN. If you specify
1762
+ # only the function name, it is limited to 64 characters in length.
1772
1763
  # @return [String]
1773
1764
  #
1774
1765
  # @!attribute [rw] marker
@@ -1819,14 +1810,19 @@ module Aws::Lambda
1819
1810
  # }
1820
1811
  #
1821
1812
  # @!attribute [rw] function_name
1822
- # The Lambda function name. You can specify a function name (for
1823
- # example, `Thumbnail`) or you can specify Amazon Resource Name (ARN)
1824
- # of the function (for example,
1825
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1826
- # Lambda also allows you to specify a partial ARN (for example,
1827
- # `account-id:Thumbnail`). Note that the length constraint applies
1828
- # only to the ARN. If you specify only the function name, it is
1829
- # limited to 64 characters in length.
1813
+ # The name of the lambda function.
1814
+ #
1815
+ # **Name formats**
1816
+ #
1817
+ # * **Function name** - `MyFunction`.
1818
+ #
1819
+ # * **Function ARN** -
1820
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1821
+ #
1822
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1823
+ #
1824
+ # The length constraint applies only to the full ARN. If you specify
1825
+ # only the function name, it is limited to 64 characters in length.
1830
1826
  # @return [String]
1831
1827
  #
1832
1828
  # @!attribute [rw] code_sha_256
@@ -1847,8 +1843,9 @@ module Aws::Lambda
1847
1843
  # An optional value you can use to ensure you are updating the latest
1848
1844
  # update of the function version or alias. If the `RevisionID` you
1849
1845
  # pass doesn't match the latest `RevisionId` of the function or
1850
- # alias, it will fail with an error message, advising you to retrieve
1851
- # the latest function version or alias `RevisionID` using either or .
1846
+ # alias, it will fail with an error message, advising you retrieve the
1847
+ # latest function version or alias `RevisionID` using either
1848
+ # GetFunction or GetAlias.
1852
1849
  # @return [String]
1853
1850
  #
1854
1851
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest AWS API Documentation
@@ -1870,13 +1867,23 @@ module Aws::Lambda
1870
1867
  # }
1871
1868
  #
1872
1869
  # @!attribute [rw] function_name
1873
- # The name of the function you are setting concurrent execution limits
1874
- # on. For more information, see concurrent-executions.
1870
+ # The name of the lambda function.
1871
+ #
1872
+ # **Name formats**
1873
+ #
1874
+ # * **Function name** - `MyFunction`.
1875
+ #
1876
+ # * **Function ARN** -
1877
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1878
+ #
1879
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1880
+ #
1881
+ # The length constraint applies only to the full ARN. If you specify
1882
+ # only the function name, it is limited to 64 characters in length.
1875
1883
  # @return [String]
1876
1884
  #
1877
1885
  # @!attribute [rw] reserved_concurrent_executions
1878
- # The concurrent execution limit reserved for this function. For more
1879
- # information, see concurrent-executions.
1886
+ # The concurrent execution limit reserved for this function.
1880
1887
  # @return [Integer]
1881
1888
  #
1882
1889
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest AWS API Documentation
@@ -1898,16 +1905,19 @@ module Aws::Lambda
1898
1905
  # }
1899
1906
  #
1900
1907
  # @!attribute [rw] function_name
1901
- # Lambda function whose resource policy you want to remove a
1902
- # permission from.
1908
+ # The name of the lambda function.
1909
+ #
1910
+ # **Name formats**
1911
+ #
1912
+ # * **Function name** - `MyFunction`.
1913
+ #
1914
+ # * **Function ARN** -
1915
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
1903
1916
  #
1904
- # You can specify a function name (for example, `Thumbnail`) or you
1905
- # can specify Amazon Resource Name (ARN) of the function (for example,
1906
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
1907
- # Lambda also allows you to specify a partial ARN (for example,
1908
- # `account-id:Thumbnail`). Note that the length constraint applies
1909
- # only to the ARN. If you specify only the function name, it is
1910
- # limited to 64 characters in length.
1917
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
1918
+ #
1919
+ # The length constraint applies only to the full ARN. If you specify
1920
+ # only the function name, it is limited to 64 characters in length.
1911
1921
  # @return [String]
1912
1922
  #
1913
1923
  # @!attribute [rw] statement_id
@@ -1915,10 +1925,8 @@ module Aws::Lambda
1915
1925
  # @return [String]
1916
1926
  #
1917
1927
  # @!attribute [rw] qualifier
1918
- # You can specify this optional parameter to remove permission
1919
- # associated with a specific function version or function alias. If
1920
- # you don't specify this parameter, the API removes permission
1921
- # associated with the unqualified function ARN.
1928
+ # Specify a version or alias to remove permissions from a published
1929
+ # version of the function.
1922
1930
  # @return [String]
1923
1931
  #
1924
1932
  # @!attribute [rw] revision_id
@@ -1926,7 +1934,8 @@ module Aws::Lambda
1926
1934
  # update of the function version or alias. If the `RevisionID` you
1927
1935
  # pass doesn't match the latest `RevisionId` of the function or
1928
1936
  # alias, it will fail with an error message, advising you to retrieve
1929
- # the latest function version or alias `RevisionID` using either or .
1937
+ # the latest function version or alias `RevisionID` using either
1938
+ # GetFunction or GetAlias.
1930
1939
  # @return [String]
1931
1940
  #
1932
1941
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest AWS API Documentation
@@ -1977,7 +1986,7 @@ module Aws::Lambda
1977
1986
  include Aws::Structure
1978
1987
  end
1979
1988
 
1980
- # The parent object that contains your function's tracing settings.
1989
+ # The function's AWS X-Ray tracing configuration.
1981
1990
  #
1982
1991
  # @note When making an API call, you may pass TracingConfig
1983
1992
  # data as a hash:
@@ -1987,12 +1996,7 @@ module Aws::Lambda
1987
1996
  # }
1988
1997
  #
1989
1998
  # @!attribute [rw] mode
1990
- # Can be either PassThrough or Active. If PassThrough, Lambda will
1991
- # only trace the request from an upstream service if it contains a
1992
- # tracing header with "sampled=1". If Active, Lambda will respect
1993
- # any tracing header it receives from an upstream service. If no
1994
- # tracing header is received, Lambda will call X-Ray for a tracing
1995
- # decision.
1999
+ # The tracing mode.
1996
2000
  # @return [String]
1997
2001
  #
1998
2002
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfig AWS API Documentation
@@ -2002,11 +2006,10 @@ module Aws::Lambda
2002
2006
  include Aws::Structure
2003
2007
  end
2004
2008
 
2005
- # Parent object of the tracing information associated with your Lambda
2006
- # function.
2009
+ # The function's AWS X-Ray tracing configuration.
2007
2010
  #
2008
2011
  # @!attribute [rw] mode
2009
- # The tracing mode associated with your Lambda function.
2012
+ # The tracing mode.
2010
2013
  # @return [String]
2011
2014
  #
2012
2015
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfigResponse AWS API Documentation
@@ -2069,9 +2072,19 @@ module Aws::Lambda
2069
2072
  # }
2070
2073
  #
2071
2074
  # @!attribute [rw] function_name
2072
- # The function name for which the alias is created. Note that the
2073
- # length constraint applies only to the ARN. If you specify only the
2074
- # function name, it is limited to 64 characters in length.
2075
+ # The name of the lambda function.
2076
+ #
2077
+ # **Name formats**
2078
+ #
2079
+ # * **Function name** - `MyFunction`.
2080
+ #
2081
+ # * **Function ARN** -
2082
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
2083
+ #
2084
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
2085
+ #
2086
+ # The length constraint applies only to the full ARN. If you specify
2087
+ # only the function name, it is limited to 64 characters in length.
2075
2088
  # @return [String]
2076
2089
  #
2077
2090
  # @!attribute [rw] name
@@ -2090,15 +2103,20 @@ module Aws::Lambda
2090
2103
  # @!attribute [rw] routing_config
2091
2104
  # Specifies an additional version your alias can point to, allowing
2092
2105
  # you to dictate what percentage of traffic will invoke each version.
2093
- # For more information, see lambda-traffic-shifting-using-aliases.
2106
+ # For more information, see [Traffic Shifting Using Aliases][1].
2107
+ #
2108
+ #
2109
+ #
2110
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
2094
2111
  # @return [Types::AliasRoutingConfiguration]
2095
2112
  #
2096
2113
  # @!attribute [rw] revision_id
2097
2114
  # An optional value you can use to ensure you are updating the latest
2098
2115
  # update of the function version or alias. If the `RevisionID` you
2099
2116
  # pass doesn't match the latest `RevisionId` of the function or
2100
- # alias, it will fail with an error message, advising you to retrieve
2101
- # the latest function version or alias `RevisionID` using either or .
2117
+ # alias, it will fail with an error message, advising you retrieve the
2118
+ # latest function version or alias `RevisionID` using either
2119
+ # GetFunction or GetAlias.
2102
2120
  # @return [String]
2103
2121
  #
2104
2122
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest AWS API Documentation
@@ -2128,28 +2146,22 @@ module Aws::Lambda
2128
2146
  # @return [String]
2129
2147
  #
2130
2148
  # @!attribute [rw] function_name
2131
- # The Lambda function to which you want the stream records sent.
2149
+ # The name of the lambda function.
2132
2150
  #
2133
- # You can specify a function name (for example, `Thumbnail`) or you
2134
- # can specify Amazon Resource Name (ARN) of the function (for example,
2135
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
2136
- # Lambda also allows you to specify a partial ARN (for example,
2137
- # `account-id:Thumbnail`). Note that the length constraint applies
2138
- # only to the ARN. If you specify only the function name, it is
2139
- # limited to 64 characters in length.
2151
+ # **Name formats**
2140
2152
  #
2141
- # If you are using versioning, you can also provide a qualified
2142
- # function ARN (ARN that is qualified with function version or alias
2143
- # name as suffix). For more information about versioning, see [AWS
2144
- # Lambda Function Versioning and Aliases][1]
2153
+ # * **Function name** - `MyFunction`.
2145
2154
  #
2146
- # Note that the length constraint applies only to the ARN. If you
2147
- # specify only the function name, it is limited to 64 character in
2148
- # length.
2155
+ # * **Function ARN** -
2156
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
2149
2157
  #
2158
+ # * **Version or Alias ARN** -
2159
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
2150
2160
  #
2161
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
2151
2162
  #
2152
- # [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
2163
+ # The length constraint applies only to the full ARN. If you specify
2164
+ # only the function name, it is limited to 64 characters in length.
2153
2165
  # @return [String]
2154
2166
  #
2155
2167
  # @!attribute [rw] enabled
@@ -2158,8 +2170,9 @@ module Aws::Lambda
2158
2170
  # @return [Boolean]
2159
2171
  #
2160
2172
  # @!attribute [rw] batch_size
2161
- # The maximum number of stream records that can be sent to your Lambda
2162
- # function for a single invocation.
2173
+ # The largest number of records that AWS Lambda will retrieve from
2174
+ # your event source at the time of invoking your function. Your
2175
+ # function receives an event with all the retrieved records.
2163
2176
  # @return [Integer]
2164
2177
  #
2165
2178
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
@@ -2187,15 +2200,19 @@ module Aws::Lambda
2187
2200
  # }
2188
2201
  #
2189
2202
  # @!attribute [rw] function_name
2190
- # The existing Lambda function name whose code you want to replace.
2203
+ # The name of the lambda function.
2191
2204
  #
2192
- # You can specify a function name (for example, `Thumbnail`) or you
2193
- # can specify Amazon Resource Name (ARN) of the function (for example,
2194
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
2195
- # Lambda also allows you to specify a partial ARN (for example,
2196
- # `account-id:Thumbnail`). Note that the length constraint applies
2197
- # only to the ARN. If you specify only the function name, it is
2198
- # limited to 64 characters in length.
2205
+ # **Name formats**
2206
+ #
2207
+ # * **Function name** - `MyFunction`.
2208
+ #
2209
+ # * **Function ARN** -
2210
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
2211
+ #
2212
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
2213
+ #
2214
+ # The length constraint applies only to the full ARN. If you specify
2215
+ # only the function name, it is limited to 64 characters in length.
2199
2216
  # @return [String]
2200
2217
  #
2201
2218
  # @!attribute [rw] zip_file
@@ -2247,7 +2264,8 @@ module Aws::Lambda
2247
2264
  # update of the function version or alias. If the `RevisionID` you
2248
2265
  # pass doesn't match the latest `RevisionId` of the function or
2249
2266
  # alias, it will fail with an error message, advising you to retrieve
2250
- # the latest function version or alias `RevisionID` using either or .
2267
+ # the latest function version or alias `RevisionID` using either using
2268
+ # using either GetFunction or GetAlias.
2251
2269
  # @return [String]
2252
2270
  #
2253
2271
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
@@ -2295,15 +2313,19 @@ module Aws::Lambda
2295
2313
  # }
2296
2314
  #
2297
2315
  # @!attribute [rw] function_name
2298
- # The name of the Lambda function.
2316
+ # The name of the lambda function.
2317
+ #
2318
+ # **Name formats**
2319
+ #
2320
+ # * **Function name** - `MyFunction`.
2299
2321
  #
2300
- # You can specify a function name (for example, `Thumbnail`) or you
2301
- # can specify Amazon Resource Name (ARN) of the function (for example,
2302
- # `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS
2303
- # Lambda also allows you to specify a partial ARN (for example,
2304
- # `account-id:Thumbnail`). Note that the length constraint applies
2305
- # only to the ARN. If you specify only the function name, it is
2306
- # limited to 64 character in length.
2322
+ # * **Function ARN** -
2323
+ # `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
2324
+ #
2325
+ # * **Partial ARN** - `123456789012:function:MyFunction`.
2326
+ #
2327
+ # The length constraint applies only to the full ARN. If you specify
2328
+ # only the function name, it is limited to 64 characters in length.
2307
2329
  # @return [String]
2308
2330
  #
2309
2331
  # @!attribute [rw] role
@@ -2322,10 +2344,9 @@ module Aws::Lambda
2322
2344
  # @return [String]
2323
2345
  #
2324
2346
  # @!attribute [rw] timeout
2325
- # The function execution time at which AWS Lambda should terminate the
2326
- # function. Because the execution time has cost implications, we
2327
- # recommend you set this value based on your expected execution time.
2328
- # The default is 3 seconds.
2347
+ # The amount of time that Lambda allows a function to run before
2348
+ # terminating it. The default is 3 seconds. The maximum allowed value
2349
+ # is 900 seconds.
2329
2350
  # @return [Integer]
2330
2351
  #
2331
2352
  # @!attribute [rw] memory_size
@@ -2338,10 +2359,8 @@ module Aws::Lambda
2338
2359
  # @return [Integer]
2339
2360
  #
2340
2361
  # @!attribute [rw] vpc_config
2341
- # If your Lambda function accesses resources in a VPC, you provide
2342
- # this parameter identifying the list of security group IDs and subnet
2343
- # IDs. These must belong to the same VPC. You must provide at least
2344
- # one security group and one subnet ID.
2362
+ # Specify security groups and subnets in a VPC to which your Lambda
2363
+ # function needs access.
2345
2364
  # @return [Types::VpcConfig]
2346
2365
  #
2347
2366
  # @!attribute [rw] environment
@@ -2350,29 +2369,17 @@ module Aws::Lambda
2350
2369
  # @return [Types::Environment]
2351
2370
  #
2352
2371
  # @!attribute [rw] runtime
2353
- # The runtime environment for the Lambda function.
2372
+ # The runtime version for the function.
2373
+ # @return [String]
2354
2374
  #
2355
- # To use the Python runtime v3.6, set the value to "python3.6". To
2356
- # use the Python runtime v2.7, set the value to "python2.7". To use
2357
- # the Node.js runtime v6.10, set the value to "nodejs6.10". To use
2358
- # the Node.js runtime v4.3, set the value to "nodejs4.3". To use the
2359
- # .NET Core runtime v1.0, set the value to "dotnetcore1.0". To use
2360
- # the .NET Core runtime v2.0, set the value to "dotnetcore2.0".
2375
+ # @!attribute [rw] dead_letter_config
2376
+ # A dead letter queue configuration that specifies the queue or topic
2377
+ # where Lambda sends asynchronous events when they fail processing.
2378
+ # For more information, see [Dead Letter Queues][1].
2361
2379
  #
2362
- # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
2363
- # existing functions to the newer Node.js runtime versions available
2364
- # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure
2365
- # to do so will result in an invalid parameter error being returned.
2366
- # Note that you will have to follow this procedure for each region
2367
- # that contains functions written in the Node v0.10.42 runtime.
2368
2380
  #
2369
- # </note>
2370
- # @return [String]
2371
2381
  #
2372
- # @!attribute [rw] dead_letter_config
2373
- # The parent object that contains the target ARN (Amazon Resource
2374
- # Name) of an Amazon SQS queue or Amazon SNS topic. For more
2375
- # information, see dlq.
2382
+ # [1]: http://docs.aws.amazon.com/lambda/latest/dg/dlq.html
2376
2383
  # @return [Types::DeadLetterConfig]
2377
2384
  #
2378
2385
  # @!attribute [rw] kms_key_arn
@@ -2383,7 +2390,8 @@ module Aws::Lambda
2383
2390
  # @return [String]
2384
2391
  #
2385
2392
  # @!attribute [rw] tracing_config
2386
- # The parent object that contains your function's tracing settings.
2393
+ # Set `Mode` to `Active` to sample and trace a subset of incoming
2394
+ # requests with AWS X-Ray.
2387
2395
  # @return [Types::TracingConfig]
2388
2396
  #
2389
2397
  # @!attribute [rw] revision_id
@@ -2391,7 +2399,8 @@ module Aws::Lambda
2391
2399
  # update of the function version or alias. If the `RevisionID` you
2392
2400
  # pass doesn't match the latest `RevisionId` of the function or
2393
2401
  # alias, it will fail with an error message, advising you to retrieve
2394
- # the latest function version or alias `RevisionID` using either or .
2402
+ # the latest function version or alias `RevisionID` using either
2403
+ # GetFunction or GetAlias.
2395
2404
  # @return [String]
2396
2405
  #
2397
2406
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
@@ -2413,10 +2422,7 @@ module Aws::Lambda
2413
2422
  include Aws::Structure
2414
2423
  end
2415
2424
 
2416
- # If your Lambda function accesses resources in a VPC, you provide this
2417
- # parameter identifying the list of security group IDs and subnet IDs.
2418
- # These must belong to the same VPC. You must provide at least one
2419
- # security group and one subnet ID.
2425
+ # The VPC security groups and subnets attached to a Lambda function.
2420
2426
  #
2421
2427
  # @note When making an API call, you may pass VpcConfig
2422
2428
  # data as a hash:
@@ -2427,11 +2433,11 @@ module Aws::Lambda
2427
2433
  # }
2428
2434
  #
2429
2435
  # @!attribute [rw] subnet_ids
2430
- # A list of one or more subnet IDs in your VPC.
2436
+ # A list of VPC subnet IDs.
2431
2437
  # @return [Array<String>]
2432
2438
  #
2433
2439
  # @!attribute [rw] security_group_ids
2434
- # A list of one or more security groups IDs in your VPC.
2440
+ # A list of VPC security groups IDs.
2435
2441
  # @return [Array<String>]
2436
2442
  #
2437
2443
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig AWS API Documentation
@@ -2442,18 +2448,18 @@ module Aws::Lambda
2442
2448
  include Aws::Structure
2443
2449
  end
2444
2450
 
2445
- # VPC configuration associated with your Lambda function.
2451
+ # The VPC security groups and subnets attached to a Lambda function.
2446
2452
  #
2447
2453
  # @!attribute [rw] subnet_ids
2448
- # A list of subnet IDs associated with the Lambda function.
2454
+ # A list of VPC subnet IDs.
2449
2455
  # @return [Array<String>]
2450
2456
  #
2451
2457
  # @!attribute [rw] security_group_ids
2452
- # A list of security group IDs associated with the Lambda function.
2458
+ # A list of VPC security groups IDs.
2453
2459
  # @return [Array<String>]
2454
2460
  #
2455
2461
  # @!attribute [rw] vpc_id
2456
- # The VPC ID associated with you Lambda function.
2462
+ # The ID of the VPC.
2457
2463
  # @return [String]
2458
2464
  #
2459
2465
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfigResponse AWS API Documentation