aws-sdk-lambda 1.76.0 → 1.107.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +158 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +1576 -379
- data/lib/aws-sdk-lambda/client_api.rb +396 -0
- data/lib/aws-sdk-lambda/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-lambda/endpoints.rb +940 -0
- data/lib/aws-sdk-lambda/errors.rb +84 -0
- data/lib/aws-sdk-lambda/event_streams.rb +54 -0
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +200 -0
- data/lib/aws-sdk-lambda/types.rb +1933 -1230
- data/lib/aws-sdk-lambda/waiters.rb +163 -7
- data/lib/aws-sdk-lambda.rb +6 -1
- metadata +9 -4
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -70,19 +70,6 @@ module Aws::Lambda
|
|
70
70
|
include Aws::Structure
|
71
71
|
end
|
72
72
|
|
73
|
-
# @note When making an API call, you may pass AddLayerVersionPermissionRequest
|
74
|
-
# data as a hash:
|
75
|
-
#
|
76
|
-
# {
|
77
|
-
# layer_name: "LayerName", # required
|
78
|
-
# version_number: 1, # required
|
79
|
-
# statement_id: "StatementId", # required
|
80
|
-
# action: "LayerPermissionAllowedAction", # required
|
81
|
-
# principal: "LayerPermissionAllowedPrincipal", # required
|
82
|
-
# organization_id: "OrganizationId",
|
83
|
-
# revision_id: "String",
|
84
|
-
# }
|
85
|
-
#
|
86
73
|
# @!attribute [rw] layer_name
|
87
74
|
# The name or Amazon Resource Name (ARN) of the layer.
|
88
75
|
# @return [String]
|
@@ -151,33 +138,18 @@ module Aws::Lambda
|
|
151
138
|
include Aws::Structure
|
152
139
|
end
|
153
140
|
|
154
|
-
# @note When making an API call, you may pass AddPermissionRequest
|
155
|
-
# data as a hash:
|
156
|
-
#
|
157
|
-
# {
|
158
|
-
# function_name: "FunctionName", # required
|
159
|
-
# statement_id: "StatementId", # required
|
160
|
-
# action: "Action", # required
|
161
|
-
# principal: "Principal", # required
|
162
|
-
# source_arn: "Arn",
|
163
|
-
# source_account: "SourceOwner",
|
164
|
-
# event_source_token: "EventSourceToken",
|
165
|
-
# qualifier: "Qualifier",
|
166
|
-
# revision_id: "String",
|
167
|
-
# }
|
168
|
-
#
|
169
141
|
# @!attribute [rw] function_name
|
170
142
|
# The name of the Lambda function, version, or alias.
|
171
143
|
#
|
172
144
|
# **Name formats**
|
173
145
|
#
|
174
|
-
# * **Function name**
|
146
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
175
147
|
# (with alias).
|
176
148
|
#
|
177
|
-
# * **Function ARN**
|
149
|
+
# * **Function ARN** –
|
178
150
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
179
151
|
#
|
180
|
-
# * **Partial ARN**
|
152
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
181
153
|
#
|
182
154
|
# You can append a version number or alias to any of the formats. The
|
183
155
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -195,31 +167,32 @@ module Aws::Lambda
|
|
195
167
|
# @return [String]
|
196
168
|
#
|
197
169
|
# @!attribute [rw] principal
|
198
|
-
# The Amazon Web
|
199
|
-
# function. If you specify a service, use `SourceArn` or
|
170
|
+
# The Amazon Web Service or Amazon Web Services account that invokes
|
171
|
+
# the function. If you specify a service, use `SourceArn` or
|
200
172
|
# `SourceAccount` to limit who can invoke the function through that
|
201
173
|
# service.
|
202
174
|
# @return [String]
|
203
175
|
#
|
204
176
|
# @!attribute [rw] source_arn
|
205
|
-
# For Amazon Web Services
|
206
|
-
#
|
207
|
-
#
|
177
|
+
# For Amazon Web Services, the ARN of the Amazon Web Services resource
|
178
|
+
# that invokes the function. For example, an Amazon S3 bucket or
|
179
|
+
# Amazon SNS topic.
|
208
180
|
#
|
209
181
|
# Note that Lambda configures the comparison using the `StringLike`
|
210
182
|
# operator.
|
211
183
|
# @return [String]
|
212
184
|
#
|
213
185
|
# @!attribute [rw] source_account
|
214
|
-
# For Amazon
|
215
|
-
# this together with `SourceArn` to ensure
|
216
|
-
#
|
217
|
-
# be deleted by its owner and recreated by another
|
186
|
+
# For Amazon Web Service, the ID of the Amazon Web Services account
|
187
|
+
# that owns the resource. Use this together with `SourceArn` to ensure
|
188
|
+
# that the specified account owns the resource. It is possible for an
|
189
|
+
# Amazon S3 bucket to be deleted by its owner and recreated by another
|
190
|
+
# account.
|
218
191
|
# @return [String]
|
219
192
|
#
|
220
193
|
# @!attribute [rw] event_source_token
|
221
|
-
# For Alexa Smart Home functions, a token that
|
222
|
-
#
|
194
|
+
# For Alexa Smart Home functions, a token that the invoker must
|
195
|
+
# supply.
|
223
196
|
# @return [String]
|
224
197
|
#
|
225
198
|
# @!attribute [rw] qualifier
|
@@ -228,11 +201,29 @@ module Aws::Lambda
|
|
228
201
|
# @return [String]
|
229
202
|
#
|
230
203
|
# @!attribute [rw] revision_id
|
231
|
-
#
|
204
|
+
# Update the policy only if the revision ID matches the ID that's
|
232
205
|
# specified. Use this option to avoid modifying a policy that has
|
233
206
|
# changed since you last read it.
|
234
207
|
# @return [String]
|
235
208
|
#
|
209
|
+
# @!attribute [rw] principal_org_id
|
210
|
+
# The identifier for your organization in Organizations. Use this to
|
211
|
+
# grant permissions to all the Amazon Web Services accounts under this
|
212
|
+
# organization.
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] function_url_auth_type
|
216
|
+
# The type of authentication that your function URL uses. Set to
|
217
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
218
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
219
|
+
# create a public endpoint. For more information, see [Security and
|
220
|
+
# auth model for Lambda function URLs][1].
|
221
|
+
#
|
222
|
+
#
|
223
|
+
#
|
224
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
225
|
+
# @return [String]
|
226
|
+
#
|
236
227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
|
237
228
|
#
|
238
229
|
class AddPermissionRequest < Struct.new(
|
@@ -244,7 +235,9 @@ module Aws::Lambda
|
|
244
235
|
:source_account,
|
245
236
|
:event_source_token,
|
246
237
|
:qualifier,
|
247
|
-
:revision_id
|
238
|
+
:revision_id,
|
239
|
+
:principal_org_id,
|
240
|
+
:function_url_auth_type)
|
248
241
|
SENSITIVE = []
|
249
242
|
include Aws::Structure
|
250
243
|
end
|
@@ -265,7 +258,7 @@ module Aws::Lambda
|
|
265
258
|
#
|
266
259
|
#
|
267
260
|
#
|
268
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
261
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
|
269
262
|
#
|
270
263
|
# @!attribute [rw] alias_arn
|
271
264
|
# The Amazon Resource Name (ARN) of the alias.
|
@@ -314,15 +307,6 @@ module Aws::Lambda
|
|
314
307
|
#
|
315
308
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
316
309
|
#
|
317
|
-
# @note When making an API call, you may pass AliasRoutingConfiguration
|
318
|
-
# data as a hash:
|
319
|
-
#
|
320
|
-
# {
|
321
|
-
# additional_version_weights: {
|
322
|
-
# "AdditionalVersion" => 1.0,
|
323
|
-
# },
|
324
|
-
# }
|
325
|
-
#
|
326
310
|
# @!attribute [rw] additional_version_weights
|
327
311
|
# The second version, and the percentage of traffic that's routed to
|
328
312
|
# it.
|
@@ -338,13 +322,6 @@ module Aws::Lambda
|
|
338
322
|
|
339
323
|
# List of signing profiles that can sign a code package.
|
340
324
|
#
|
341
|
-
# @note When making an API call, you may pass AllowedPublishers
|
342
|
-
# data as a hash:
|
343
|
-
#
|
344
|
-
# {
|
345
|
-
# signing_profile_version_arns: ["Arn"], # required
|
346
|
-
# }
|
347
|
-
#
|
348
325
|
# @!attribute [rw] signing_profile_version_arns
|
349
326
|
# The Amazon Resource Name (ARN) for each of the signing profiles. A
|
350
327
|
# signing profile defines a trusted user who can sign a code package.
|
@@ -358,6 +335,29 @@ module Aws::Lambda
|
|
358
335
|
include Aws::Structure
|
359
336
|
end
|
360
337
|
|
338
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
339
|
+
# Apache Kafka (Amazon MSK) event source.
|
340
|
+
#
|
341
|
+
# @!attribute [rw] consumer_group_id
|
342
|
+
# The identifier for the Kafka consumer group to join. The consumer
|
343
|
+
# group ID must be unique among all your Kafka event sources. After
|
344
|
+
# creating a Kafka event source mapping with the consumer group ID
|
345
|
+
# specified, you cannot update this value. For more information, see
|
346
|
+
# [Customizable consumer group ID][1].
|
347
|
+
#
|
348
|
+
#
|
349
|
+
#
|
350
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
351
|
+
# @return [String]
|
352
|
+
#
|
353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
|
354
|
+
#
|
355
|
+
class AmazonManagedKafkaEventSourceConfig < Struct.new(
|
356
|
+
:consumer_group_id)
|
357
|
+
SENSITIVE = []
|
358
|
+
include Aws::Structure
|
359
|
+
end
|
360
|
+
|
361
361
|
# Details about a [Code signing configuration][1].
|
362
362
|
#
|
363
363
|
#
|
@@ -427,13 +427,6 @@ module Aws::Lambda
|
|
427
427
|
#
|
428
428
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies
|
429
429
|
#
|
430
|
-
# @note When making an API call, you may pass CodeSigningPolicies
|
431
|
-
# data as a hash:
|
432
|
-
#
|
433
|
-
# {
|
434
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
435
|
-
# }
|
436
|
-
#
|
437
430
|
# @!attribute [rw] untrusted_artifact_on_deployment
|
438
431
|
# Code signing configuration policy for deployment validation failure.
|
439
432
|
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
@@ -452,12 +445,12 @@ module Aws::Lambda
|
|
452
445
|
include Aws::Structure
|
453
446
|
end
|
454
447
|
|
455
|
-
#
|
456
|
-
# more][1]
|
448
|
+
# Your Amazon Web Services account has exceeded its maximum total code
|
449
|
+
# size. For more information, see [Lambda quotas][1].
|
457
450
|
#
|
458
451
|
#
|
459
452
|
#
|
460
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
453
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
461
454
|
#
|
462
455
|
# @!attribute [rw] type
|
463
456
|
# The exception type.
|
@@ -496,7 +489,8 @@ module Aws::Lambda
|
|
496
489
|
|
497
490
|
# @!attribute [rw] reserved_concurrent_executions
|
498
491
|
# The number of concurrent executions that are reserved for this
|
499
|
-
# function. For more information, see [Managing
|
492
|
+
# function. For more information, see [Managing Lambda reserved
|
493
|
+
# concurrency][1].
|
500
494
|
#
|
501
495
|
#
|
502
496
|
#
|
@@ -511,21 +505,65 @@ module Aws::Lambda
|
|
511
505
|
include Aws::Structure
|
512
506
|
end
|
513
507
|
|
514
|
-
#
|
515
|
-
#
|
508
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your Lambda
|
509
|
+
# function URL. Use CORS to grant access to your function URL from any
|
510
|
+
# origin. You can also use CORS to control access for specific HTTP
|
511
|
+
# headers and methods in requests to your function URL.
|
512
|
+
#
|
513
|
+
#
|
514
|
+
#
|
515
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
516
|
+
#
|
517
|
+
# @!attribute [rw] allow_credentials
|
518
|
+
# Whether to allow cookies or other credentials in requests to your
|
519
|
+
# function URL. The default is `false`.
|
520
|
+
# @return [Boolean]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] allow_headers
|
523
|
+
# The HTTP headers that origins can include in requests to your
|
524
|
+
# function URL. For example: `Date`, `Keep-Alive`, `X-Custom-Header`.
|
525
|
+
# @return [Array<String>]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] allow_methods
|
528
|
+
# The HTTP methods that are allowed when calling your function URL.
|
529
|
+
# For example: `GET`, `POST`, `DELETE`, or the wildcard character
|
530
|
+
# (`*`).
|
531
|
+
# @return [Array<String>]
|
532
|
+
#
|
533
|
+
# @!attribute [rw] allow_origins
|
534
|
+
# The origins that can access your function URL. You can list any
|
535
|
+
# number of specific origins, separated by a comma. For example:
|
536
|
+
# `https://www.example.com`, `http://localhost:60905`.
|
537
|
+
#
|
538
|
+
# Alternatively, you can grant access to all origins using the
|
539
|
+
# wildcard character (`*`).
|
540
|
+
# @return [Array<String>]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] expose_headers
|
543
|
+
# The HTTP headers in your function response that you want to expose
|
544
|
+
# to origins that call your function URL. For example: `Date`,
|
545
|
+
# `Keep-Alive`, `X-Custom-Header`.
|
546
|
+
# @return [Array<String>]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] max_age
|
549
|
+
# The maximum amount of time, in seconds, that web browsers can cache
|
550
|
+
# results of a preflight request. By default, this is set to `0`,
|
551
|
+
# which means that the browser doesn't cache results.
|
552
|
+
# @return [Integer]
|
516
553
|
#
|
517
|
-
#
|
518
|
-
# function_name: "FunctionName", # required
|
519
|
-
# name: "Alias", # required
|
520
|
-
# function_version: "Version", # required
|
521
|
-
# description: "Description",
|
522
|
-
# routing_config: {
|
523
|
-
# additional_version_weights: {
|
524
|
-
# "AdditionalVersion" => 1.0,
|
525
|
-
# },
|
526
|
-
# },
|
527
|
-
# }
|
554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Cors AWS API Documentation
|
528
555
|
#
|
556
|
+
class Cors < Struct.new(
|
557
|
+
:allow_credentials,
|
558
|
+
:allow_headers,
|
559
|
+
:allow_methods,
|
560
|
+
:allow_origins,
|
561
|
+
:expose_headers,
|
562
|
+
:max_age)
|
563
|
+
SENSITIVE = []
|
564
|
+
include Aws::Structure
|
565
|
+
end
|
566
|
+
|
529
567
|
# @!attribute [rw] function_name
|
530
568
|
# The name of the Lambda function.
|
531
569
|
#
|
@@ -574,19 +612,6 @@ module Aws::Lambda
|
|
574
612
|
include Aws::Structure
|
575
613
|
end
|
576
614
|
|
577
|
-
# @note When making an API call, you may pass CreateCodeSigningConfigRequest
|
578
|
-
# data as a hash:
|
579
|
-
#
|
580
|
-
# {
|
581
|
-
# description: "Description",
|
582
|
-
# allowed_publishers: { # required
|
583
|
-
# signing_profile_version_arns: ["Arn"], # required
|
584
|
-
# },
|
585
|
-
# code_signing_policies: {
|
586
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
587
|
-
# },
|
588
|
-
# }
|
589
|
-
#
|
590
615
|
# @!attribute [rw] description
|
591
616
|
# Descriptive name for this code signing configuration.
|
592
617
|
# @return [String]
|
@@ -622,65 +647,22 @@ module Aws::Lambda
|
|
622
647
|
include Aws::Structure
|
623
648
|
end
|
624
649
|
|
625
|
-
# @note When making an API call, you may pass CreateEventSourceMappingRequest
|
626
|
-
# data as a hash:
|
627
|
-
#
|
628
|
-
# {
|
629
|
-
# event_source_arn: "Arn",
|
630
|
-
# function_name: "FunctionName", # required
|
631
|
-
# enabled: false,
|
632
|
-
# batch_size: 1,
|
633
|
-
# filter_criteria: {
|
634
|
-
# filters: [
|
635
|
-
# {
|
636
|
-
# pattern: "Pattern",
|
637
|
-
# },
|
638
|
-
# ],
|
639
|
-
# },
|
640
|
-
# maximum_batching_window_in_seconds: 1,
|
641
|
-
# parallelization_factor: 1,
|
642
|
-
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
643
|
-
# starting_position_timestamp: Time.now,
|
644
|
-
# destination_config: {
|
645
|
-
# on_success: {
|
646
|
-
# destination: "DestinationArn",
|
647
|
-
# },
|
648
|
-
# on_failure: {
|
649
|
-
# destination: "DestinationArn",
|
650
|
-
# },
|
651
|
-
# },
|
652
|
-
# maximum_record_age_in_seconds: 1,
|
653
|
-
# bisect_batch_on_function_error: false,
|
654
|
-
# maximum_retry_attempts: 1,
|
655
|
-
# tumbling_window_in_seconds: 1,
|
656
|
-
# topics: ["Topic"],
|
657
|
-
# queues: ["Queue"],
|
658
|
-
# source_access_configurations: [
|
659
|
-
# {
|
660
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
661
|
-
# uri: "URI",
|
662
|
-
# },
|
663
|
-
# ],
|
664
|
-
# self_managed_event_source: {
|
665
|
-
# endpoints: {
|
666
|
-
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
667
|
-
# },
|
668
|
-
# },
|
669
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
670
|
-
# }
|
671
|
-
#
|
672
650
|
# @!attribute [rw] event_source_arn
|
673
651
|
# The Amazon Resource Name (ARN) of the event source.
|
674
652
|
#
|
675
|
-
# * **Amazon Kinesis**
|
653
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
676
654
|
# consumer.
|
677
655
|
#
|
678
|
-
# * **Amazon DynamoDB Streams**
|
656
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
679
657
|
#
|
680
|
-
# * **Amazon Simple Queue Service**
|
658
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
681
659
|
#
|
682
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
660
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
683
661
|
# cluster.
|
662
|
+
#
|
663
|
+
# * **Amazon MQ** – The ARN of the broker.
|
664
|
+
#
|
665
|
+
# * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
|
684
666
|
# @return [String]
|
685
667
|
#
|
686
668
|
# @!attribute [rw] function_name
|
@@ -688,15 +670,15 @@ module Aws::Lambda
|
|
688
670
|
#
|
689
671
|
# **Name formats**
|
690
672
|
#
|
691
|
-
# * **Function name**
|
673
|
+
# * **Function name** – `MyFunction`.
|
692
674
|
#
|
693
|
-
# * **Function ARN**
|
675
|
+
# * **Function ARN** –
|
694
676
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
695
677
|
#
|
696
|
-
# * **Version or Alias ARN**
|
678
|
+
# * **Version or Alias ARN** –
|
697
679
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
698
680
|
#
|
699
|
-
# * **Partial ARN**
|
681
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
700
682
|
#
|
701
683
|
# The length constraint applies only to the full ARN. If you specify
|
702
684
|
# only the function name, it's limited to 64 characters in length.
|
@@ -715,25 +697,27 @@ module Aws::Lambda
|
|
715
697
|
# of the records in the batch to the function in a single call, up to
|
716
698
|
# the payload limit for synchronous invocation (6 MB).
|
717
699
|
#
|
718
|
-
# * **Amazon Kinesis**
|
700
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
719
701
|
#
|
720
|
-
# * **Amazon DynamoDB Streams**
|
702
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
721
703
|
#
|
722
|
-
# * **Amazon Simple Queue Service**
|
704
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
723
705
|
# the max is 10,000. For FIFO queues the max is 10.
|
724
706
|
#
|
725
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
707
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
726
708
|
# 10,000.
|
727
709
|
#
|
728
|
-
# * **Self-
|
710
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
711
|
+
#
|
712
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
729
713
|
#
|
730
|
-
# * **
|
714
|
+
# * **DocumentDB** – Default 100. Max 10,000.
|
731
715
|
# @return [Integer]
|
732
716
|
#
|
733
717
|
# @!attribute [rw] filter_criteria
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
718
|
+
# An object that defines the filter criteria that determine whether
|
719
|
+
# Lambda should process an event. For more information, see [Lambda
|
720
|
+
# event filtering][1].
|
737
721
|
#
|
738
722
|
#
|
739
723
|
#
|
@@ -741,56 +725,69 @@ module Aws::Lambda
|
|
741
725
|
# @return [Types::FilterCriteria]
|
742
726
|
#
|
743
727
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
728
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
729
|
+
# records before invoking the function. You can configure
|
730
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
731
|
+
# seconds in increments of seconds.
|
732
|
+
#
|
733
|
+
# For streams and Amazon SQS event sources, the default batching
|
734
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
735
|
+
# Amazon MQ, and DocumentDB event sources, the default batching window
|
736
|
+
# is 500 ms. Note that because you can only change
|
737
|
+
# `MaximumBatchingWindowInSeconds` in increments of seconds, you
|
738
|
+
# cannot revert back to the 500 ms default batching window after you
|
739
|
+
# have changed it. To restore the default batching window, you must
|
740
|
+
# create a new event source mapping.
|
741
|
+
#
|
742
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
743
|
+
# set `BatchSize` to a value greater than 10, you must set
|
744
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
752
745
|
# @return [Integer]
|
753
746
|
#
|
754
747
|
# @!attribute [rw] parallelization_factor
|
755
|
-
# (Streams only) The number of batches to process
|
756
|
-
# concurrently.
|
748
|
+
# (Kinesis and DynamoDB Streams only) The number of batches to process
|
749
|
+
# from each shard concurrently.
|
757
750
|
# @return [Integer]
|
758
751
|
#
|
759
752
|
# @!attribute [rw] starting_position
|
760
753
|
# The position in a stream from which to start reading. Required for
|
761
|
-
# Amazon Kinesis
|
762
|
-
# `AT_TIMESTAMP` is only
|
754
|
+
# Amazon Kinesis and Amazon DynamoDB Stream event sources.
|
755
|
+
# `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
|
756
|
+
# DocumentDB, Amazon MSK, and self-managed Apache Kafka.
|
763
757
|
# @return [String]
|
764
758
|
#
|
765
759
|
# @!attribute [rw] starting_position_timestamp
|
766
760
|
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
767
|
-
# to start reading.
|
761
|
+
# to start reading. `StartingPositionTimestamp` cannot be in the
|
762
|
+
# future.
|
768
763
|
# @return [Time]
|
769
764
|
#
|
770
765
|
# @!attribute [rw] destination_config
|
771
|
-
# (Streams only)
|
772
|
-
# for discarded records.
|
766
|
+
# (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
|
767
|
+
# standard Amazon SNS topic destination for discarded records.
|
773
768
|
# @return [Types::DestinationConfig]
|
774
769
|
#
|
775
770
|
# @!attribute [rw] maximum_record_age_in_seconds
|
776
|
-
# (Streams only) Discard records older than the
|
777
|
-
# default value is infinite (-1).
|
771
|
+
# (Kinesis and DynamoDB Streams only) Discard records older than the
|
772
|
+
# specified age. The default value is infinite (-1).
|
778
773
|
# @return [Integer]
|
779
774
|
#
|
780
775
|
# @!attribute [rw] bisect_batch_on_function_error
|
781
|
-
# (Streams only) If the function returns an
|
782
|
-
# two and retry.
|
776
|
+
# (Kinesis and DynamoDB Streams only) If the function returns an
|
777
|
+
# error, split the batch in two and retry.
|
783
778
|
# @return [Boolean]
|
784
779
|
#
|
785
780
|
# @!attribute [rw] maximum_retry_attempts
|
786
|
-
# (Streams only) Discard records after the
|
787
|
-
# retries. The default value is infinite (-1).
|
788
|
-
# (-1), failed records
|
781
|
+
# (Kinesis and DynamoDB Streams only) Discard records after the
|
782
|
+
# specified number of retries. The default value is infinite (-1).
|
783
|
+
# When set to infinite (-1), failed records are retried until the
|
784
|
+
# record expires.
|
789
785
|
# @return [Integer]
|
790
786
|
#
|
791
787
|
# @!attribute [rw] tumbling_window_in_seconds
|
792
|
-
# (Streams only) The duration in seconds of a
|
793
|
-
#
|
788
|
+
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
|
789
|
+
# processing window for DynamoDB and Kinesis Streams event sources. A
|
790
|
+
# value of 0 seconds indicates no tumbling window.
|
794
791
|
# @return [Integer]
|
795
792
|
#
|
796
793
|
# @!attribute [rw] topics
|
@@ -807,14 +804,38 @@ module Aws::Lambda
|
|
807
804
|
# @return [Array<Types::SourceAccessConfiguration>]
|
808
805
|
#
|
809
806
|
# @!attribute [rw] self_managed_event_source
|
810
|
-
# The
|
807
|
+
# The self-managed Apache Kafka cluster to receive records from.
|
811
808
|
# @return [Types::SelfManagedEventSource]
|
812
809
|
#
|
813
810
|
# @!attribute [rw] function_response_types
|
814
|
-
# (Streams and Amazon SQS) A list of current
|
815
|
-
# applied to the event source mapping.
|
811
|
+
# (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
|
812
|
+
# response type enums applied to the event source mapping.
|
816
813
|
# @return [Array<String>]
|
817
814
|
#
|
815
|
+
# @!attribute [rw] amazon_managed_kafka_event_source_config
|
816
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
817
|
+
# Apache Kafka (Amazon MSK) event source.
|
818
|
+
# @return [Types::AmazonManagedKafkaEventSourceConfig]
|
819
|
+
#
|
820
|
+
# @!attribute [rw] self_managed_kafka_event_source_config
|
821
|
+
# Specific configuration settings for a self-managed Apache Kafka
|
822
|
+
# event source.
|
823
|
+
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
824
|
+
#
|
825
|
+
# @!attribute [rw] scaling_config
|
826
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
827
|
+
# For more information, see [Configuring maximum concurrency for
|
828
|
+
# Amazon SQS event sources][1].
|
829
|
+
#
|
830
|
+
#
|
831
|
+
#
|
832
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
833
|
+
# @return [Types::ScalingConfig]
|
834
|
+
#
|
835
|
+
# @!attribute [rw] document_db_event_source_config
|
836
|
+
# Specific configuration settings for a DocumentDB event source.
|
837
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
838
|
+
#
|
818
839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
819
840
|
#
|
820
841
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -836,77 +857,26 @@ module Aws::Lambda
|
|
836
857
|
:queues,
|
837
858
|
:source_access_configurations,
|
838
859
|
:self_managed_event_source,
|
839
|
-
:function_response_types
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
# function_name: "FunctionName", # required
|
849
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
850
|
-
# role: "RoleArn", # required
|
851
|
-
# handler: "Handler",
|
852
|
-
# code: { # required
|
853
|
-
# zip_file: "data",
|
854
|
-
# s3_bucket: "S3Bucket",
|
855
|
-
# s3_key: "S3Key",
|
856
|
-
# s3_object_version: "S3ObjectVersion",
|
857
|
-
# image_uri: "String",
|
858
|
-
# },
|
859
|
-
# description: "Description",
|
860
|
-
# timeout: 1,
|
861
|
-
# memory_size: 1,
|
862
|
-
# publish: false,
|
863
|
-
# vpc_config: {
|
864
|
-
# subnet_ids: ["SubnetId"],
|
865
|
-
# security_group_ids: ["SecurityGroupId"],
|
866
|
-
# },
|
867
|
-
# package_type: "Zip", # accepts Zip, Image
|
868
|
-
# dead_letter_config: {
|
869
|
-
# target_arn: "ResourceArn",
|
870
|
-
# },
|
871
|
-
# environment: {
|
872
|
-
# variables: {
|
873
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
874
|
-
# },
|
875
|
-
# },
|
876
|
-
# kms_key_arn: "KMSKeyArn",
|
877
|
-
# tracing_config: {
|
878
|
-
# mode: "Active", # accepts Active, PassThrough
|
879
|
-
# },
|
880
|
-
# tags: {
|
881
|
-
# "TagKey" => "TagValue",
|
882
|
-
# },
|
883
|
-
# layers: ["LayerVersionArn"],
|
884
|
-
# file_system_configs: [
|
885
|
-
# {
|
886
|
-
# arn: "FileSystemArn", # required
|
887
|
-
# local_mount_path: "LocalMountPath", # required
|
888
|
-
# },
|
889
|
-
# ],
|
890
|
-
# image_config: {
|
891
|
-
# entry_point: ["String"],
|
892
|
-
# command: ["String"],
|
893
|
-
# working_directory: "WorkingDirectory",
|
894
|
-
# },
|
895
|
-
# code_signing_config_arn: "CodeSigningConfigArn",
|
896
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
897
|
-
# }
|
898
|
-
#
|
860
|
+
:function_response_types,
|
861
|
+
:amazon_managed_kafka_event_source_config,
|
862
|
+
:self_managed_kafka_event_source_config,
|
863
|
+
:scaling_config,
|
864
|
+
:document_db_event_source_config)
|
865
|
+
SENSITIVE = []
|
866
|
+
include Aws::Structure
|
867
|
+
end
|
868
|
+
|
899
869
|
# @!attribute [rw] function_name
|
900
870
|
# The name of the Lambda function.
|
901
871
|
#
|
902
872
|
# **Name formats**
|
903
873
|
#
|
904
|
-
# * **Function name**
|
874
|
+
# * **Function name** – `my-function`.
|
905
875
|
#
|
906
|
-
# * **Function ARN**
|
876
|
+
# * **Function ARN** –
|
907
877
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
908
878
|
#
|
909
|
-
# * **Partial ARN**
|
879
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
910
880
|
#
|
911
881
|
# The length constraint applies only to the full ARN. If you specify
|
912
882
|
# only the function name, it is limited to 64 characters in length.
|
@@ -916,9 +886,13 @@ module Aws::Lambda
|
|
916
886
|
# The identifier of the function's [runtime][1]. Runtime is required
|
917
887
|
# if the deployment package is a .zip file archive.
|
918
888
|
#
|
889
|
+
# The following list includes deprecated runtimes. For more
|
890
|
+
# information, see [Runtime deprecation policy][2].
|
891
|
+
#
|
919
892
|
#
|
920
893
|
#
|
921
894
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
895
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
922
896
|
# @return [String]
|
923
897
|
#
|
924
898
|
# @!attribute [rw] role
|
@@ -926,15 +900,15 @@ module Aws::Lambda
|
|
926
900
|
# @return [String]
|
927
901
|
#
|
928
902
|
# @!attribute [rw] handler
|
929
|
-
# The name of the method within your code that Lambda calls to
|
903
|
+
# The name of the method within your code that Lambda calls to run
|
930
904
|
# your function. Handler is required if the deployment package is a
|
931
905
|
# .zip file archive. The format includes the file name. It can also
|
932
906
|
# include namespaces and other qualifiers, depending on the runtime.
|
933
|
-
# For more information, see [
|
907
|
+
# For more information, see [Lambda programming model][1].
|
934
908
|
#
|
935
909
|
#
|
936
910
|
#
|
937
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
911
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
938
912
|
# @return [String]
|
939
913
|
#
|
940
914
|
# @!attribute [rw] code
|
@@ -948,8 +922,8 @@ module Aws::Lambda
|
|
948
922
|
# @!attribute [rw] timeout
|
949
923
|
# The amount of time (in seconds) that Lambda allows a function to run
|
950
924
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
951
|
-
# value is 900 seconds. For
|
952
|
-
#
|
925
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
926
|
+
# environment][1].
|
953
927
|
#
|
954
928
|
#
|
955
929
|
#
|
@@ -963,7 +937,7 @@ module Aws::Lambda
|
|
963
937
|
#
|
964
938
|
#
|
965
939
|
#
|
966
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
940
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
967
941
|
# @return [Integer]
|
968
942
|
#
|
969
943
|
# @!attribute [rw] publish
|
@@ -974,9 +948,9 @@ module Aws::Lambda
|
|
974
948
|
# @!attribute [rw] vpc_config
|
975
949
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
976
950
|
# specify a list of security groups and subnets in the VPC. When you
|
977
|
-
# connect a function to a VPC, it can
|
978
|
-
# internet through that VPC. For more information, see
|
979
|
-
#
|
951
|
+
# connect a function to a VPC, it can access resources and the
|
952
|
+
# internet only through that VPC. For more information, see
|
953
|
+
# [Configuring a Lambda function to access resources in a VPC][1].
|
980
954
|
#
|
981
955
|
#
|
982
956
|
#
|
@@ -985,17 +959,17 @@ module Aws::Lambda
|
|
985
959
|
#
|
986
960
|
# @!attribute [rw] package_type
|
987
961
|
# The type of deployment package. Set to `Image` for container image
|
988
|
-
# and set `Zip` for
|
962
|
+
# and set to `Zip` for .zip file archive.
|
989
963
|
# @return [String]
|
990
964
|
#
|
991
965
|
# @!attribute [rw] dead_letter_config
|
992
|
-
# A dead
|
966
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
993
967
|
# where Lambda sends asynchronous events when they fail processing.
|
994
|
-
# For more information, see [Dead
|
968
|
+
# For more information, see [Dead-letter queues][1].
|
995
969
|
#
|
996
970
|
#
|
997
971
|
#
|
998
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
972
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
999
973
|
# @return [Types::DeadLetterConfig]
|
1000
974
|
#
|
1001
975
|
# @!attribute [rw] environment
|
@@ -1004,9 +978,20 @@ module Aws::Lambda
|
|
1004
978
|
# @return [Types::Environment]
|
1005
979
|
#
|
1006
980
|
# @!attribute [rw] kms_key_arn
|
1007
|
-
# The ARN of the
|
1008
|
-
# that's used to encrypt your function's environment variables.
|
1009
|
-
#
|
981
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
982
|
+
# that's used to encrypt your function's [environment variables][1].
|
983
|
+
# When [Lambda SnapStart][2] is activated, Lambda also uses this key
|
984
|
+
# is to encrypt your function's snapshot. If you deploy your function
|
985
|
+
# using a container image, Lambda also uses this key to encrypt your
|
986
|
+
# function when it's deployed. Note that this is not the same key
|
987
|
+
# that's used to protect your container image in the Amazon Elastic
|
988
|
+
# Container Registry (Amazon ECR). If you don't provide a customer
|
989
|
+
# managed key, Lambda uses a default service key.
|
990
|
+
#
|
991
|
+
#
|
992
|
+
#
|
993
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
994
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
1010
995
|
# @return [String]
|
1011
996
|
#
|
1012
997
|
# @!attribute [rw] tracing_config
|
@@ -1061,6 +1046,25 @@ module Aws::Lambda
|
|
1061
1046
|
# default value is `x86_64`.
|
1062
1047
|
# @return [Array<String>]
|
1063
1048
|
#
|
1049
|
+
# @!attribute [rw] ephemeral_storage
|
1050
|
+
# The size of the function's `/tmp` directory in MB. The default
|
1051
|
+
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
1052
|
+
# For more information, see [Configuring ephemeral storage
|
1053
|
+
# (console)][1].
|
1054
|
+
#
|
1055
|
+
#
|
1056
|
+
#
|
1057
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
|
1058
|
+
# @return [Types::EphemeralStorage]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] snap_start
|
1061
|
+
# The function's [SnapStart][1] setting.
|
1062
|
+
#
|
1063
|
+
#
|
1064
|
+
#
|
1065
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
1066
|
+
# @return [Types::SnapStart]
|
1067
|
+
#
|
1064
1068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
1065
1069
|
#
|
1066
1070
|
class CreateFunctionRequest < Struct.new(
|
@@ -1084,23 +1088,160 @@ module Aws::Lambda
|
|
1084
1088
|
:file_system_configs,
|
1085
1089
|
:image_config,
|
1086
1090
|
:code_signing_config_arn,
|
1087
|
-
:architectures
|
1091
|
+
:architectures,
|
1092
|
+
:ephemeral_storage,
|
1093
|
+
:snap_start)
|
1088
1094
|
SENSITIVE = []
|
1089
1095
|
include Aws::Structure
|
1090
1096
|
end
|
1091
1097
|
|
1092
|
-
#
|
1098
|
+
# @!attribute [rw] function_name
|
1099
|
+
# The name of the Lambda function.
|
1093
1100
|
#
|
1101
|
+
# **Name formats**
|
1094
1102
|
#
|
1103
|
+
# * **Function name** – `my-function`.
|
1095
1104
|
#
|
1096
|
-
#
|
1105
|
+
# * **Function ARN** –
|
1106
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1107
|
+
#
|
1108
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1109
|
+
#
|
1110
|
+
# The length constraint applies only to the full ARN. If you specify
|
1111
|
+
# only the function name, it is limited to 64 characters in length.
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1114
|
+
# @!attribute [rw] qualifier
|
1115
|
+
# The alias name.
|
1116
|
+
# @return [String]
|
1117
|
+
#
|
1118
|
+
# @!attribute [rw] auth_type
|
1119
|
+
# The type of authentication that your function URL uses. Set to
|
1120
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
1121
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1122
|
+
# create a public endpoint. For more information, see [Security and
|
1123
|
+
# auth model for Lambda function URLs][1].
|
1124
|
+
#
|
1125
|
+
#
|
1126
|
+
#
|
1127
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
1128
|
+
# @return [String]
|
1129
|
+
#
|
1130
|
+
# @!attribute [rw] cors
|
1131
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
1132
|
+
# function URL.
|
1133
|
+
#
|
1134
|
+
#
|
1135
|
+
#
|
1136
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
1137
|
+
# @return [Types::Cors]
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] invoke_mode
|
1140
|
+
# Use one of the following options:
|
1141
|
+
#
|
1142
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
1143
|
+
# function using the `Invoke` API operation. Invocation results are
|
1144
|
+
# available when the payload is complete. The maximum payload size
|
1145
|
+
# is 6 MB.
|
1146
|
+
#
|
1147
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
1148
|
+
# become available. Lambda invokes your function using the
|
1149
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
1150
|
+
# payload size is 20 MB, however, you can [request a quota
|
1151
|
+
# increase][1].
|
1152
|
+
#
|
1153
|
+
#
|
1154
|
+
#
|
1155
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
1156
|
+
# @return [String]
|
1157
|
+
#
|
1158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
|
1159
|
+
#
|
1160
|
+
class CreateFunctionUrlConfigRequest < Struct.new(
|
1161
|
+
:function_name,
|
1162
|
+
:qualifier,
|
1163
|
+
:auth_type,
|
1164
|
+
:cors,
|
1165
|
+
:invoke_mode)
|
1166
|
+
SENSITIVE = []
|
1167
|
+
include Aws::Structure
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
# @!attribute [rw] function_url
|
1171
|
+
# The HTTP URL endpoint for your function.
|
1172
|
+
# @return [String]
|
1173
|
+
#
|
1174
|
+
# @!attribute [rw] function_arn
|
1175
|
+
# The Amazon Resource Name (ARN) of your function.
|
1176
|
+
# @return [String]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] auth_type
|
1179
|
+
# The type of authentication that your function URL uses. Set to
|
1180
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
1181
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1182
|
+
# create a public endpoint. For more information, see [Security and
|
1183
|
+
# auth model for Lambda function URLs][1].
|
1184
|
+
#
|
1185
|
+
#
|
1186
|
+
#
|
1187
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
1188
|
+
# @return [String]
|
1189
|
+
#
|
1190
|
+
# @!attribute [rw] cors
|
1191
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
1192
|
+
# function URL.
|
1193
|
+
#
|
1194
|
+
#
|
1195
|
+
#
|
1196
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
1197
|
+
# @return [Types::Cors]
|
1198
|
+
#
|
1199
|
+
# @!attribute [rw] creation_time
|
1200
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
1201
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
1202
|
+
#
|
1203
|
+
#
|
1204
|
+
#
|
1205
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
1206
|
+
# @return [Time]
|
1207
|
+
#
|
1208
|
+
# @!attribute [rw] invoke_mode
|
1209
|
+
# Use one of the following options:
|
1210
|
+
#
|
1211
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
1212
|
+
# function using the `Invoke` API operation. Invocation results are
|
1213
|
+
# available when the payload is complete. The maximum payload size
|
1214
|
+
# is 6 MB.
|
1215
|
+
#
|
1216
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
1217
|
+
# become available. Lambda invokes your function using the
|
1218
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
1219
|
+
# payload size is 20 MB, however, you can [request a quota
|
1220
|
+
# increase][1].
|
1221
|
+
#
|
1222
|
+
#
|
1223
|
+
#
|
1224
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
1225
|
+
# @return [String]
|
1226
|
+
#
|
1227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
|
1228
|
+
#
|
1229
|
+
class CreateFunctionUrlConfigResponse < Struct.new(
|
1230
|
+
:function_url,
|
1231
|
+
:function_arn,
|
1232
|
+
:auth_type,
|
1233
|
+
:cors,
|
1234
|
+
:creation_time,
|
1235
|
+
:invoke_mode)
|
1236
|
+
SENSITIVE = []
|
1237
|
+
include Aws::Structure
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# The [dead-letter queue][1] for failed asynchronous invocations.
|
1097
1241
|
#
|
1098
|
-
# @note When making an API call, you may pass DeadLetterConfig
|
1099
|
-
# data as a hash:
|
1100
1242
|
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
# }
|
1243
|
+
#
|
1244
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1104
1245
|
#
|
1105
1246
|
# @!attribute [rw] target_arn
|
1106
1247
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
@@ -1115,14 +1256,6 @@ module Aws::Lambda
|
|
1115
1256
|
include Aws::Structure
|
1116
1257
|
end
|
1117
1258
|
|
1118
|
-
# @note When making an API call, you may pass DeleteAliasRequest
|
1119
|
-
# data as a hash:
|
1120
|
-
#
|
1121
|
-
# {
|
1122
|
-
# function_name: "FunctionName", # required
|
1123
|
-
# name: "Alias", # required
|
1124
|
-
# }
|
1125
|
-
#
|
1126
1259
|
# @!attribute [rw] function_name
|
1127
1260
|
# The name of the Lambda function.
|
1128
1261
|
#
|
@@ -1152,13 +1285,6 @@ module Aws::Lambda
|
|
1152
1285
|
include Aws::Structure
|
1153
1286
|
end
|
1154
1287
|
|
1155
|
-
# @note When making an API call, you may pass DeleteCodeSigningConfigRequest
|
1156
|
-
# data as a hash:
|
1157
|
-
#
|
1158
|
-
# {
|
1159
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
1160
|
-
# }
|
1161
|
-
#
|
1162
1288
|
# @!attribute [rw] code_signing_config_arn
|
1163
1289
|
# The The Amazon Resource Name (ARN) of the code signing
|
1164
1290
|
# configuration.
|
@@ -1176,13 +1302,6 @@ module Aws::Lambda
|
|
1176
1302
|
#
|
1177
1303
|
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
1178
1304
|
|
1179
|
-
# @note When making an API call, you may pass DeleteEventSourceMappingRequest
|
1180
|
-
# data as a hash:
|
1181
|
-
#
|
1182
|
-
# {
|
1183
|
-
# uuid: "String", # required
|
1184
|
-
# }
|
1185
|
-
#
|
1186
1305
|
# @!attribute [rw] uuid
|
1187
1306
|
# The identifier of the event source mapping.
|
1188
1307
|
# @return [String]
|
@@ -1195,13 +1314,6 @@ module Aws::Lambda
|
|
1195
1314
|
include Aws::Structure
|
1196
1315
|
end
|
1197
1316
|
|
1198
|
-
# @note When making an API call, you may pass DeleteFunctionCodeSigningConfigRequest
|
1199
|
-
# data as a hash:
|
1200
|
-
#
|
1201
|
-
# {
|
1202
|
-
# function_name: "FunctionName", # required
|
1203
|
-
# }
|
1204
|
-
#
|
1205
1317
|
# @!attribute [rw] function_name
|
1206
1318
|
# The name of the Lambda function.
|
1207
1319
|
#
|
@@ -1226,24 +1338,17 @@ module Aws::Lambda
|
|
1226
1338
|
include Aws::Structure
|
1227
1339
|
end
|
1228
1340
|
|
1229
|
-
# @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
|
1230
|
-
# data as a hash:
|
1231
|
-
#
|
1232
|
-
# {
|
1233
|
-
# function_name: "FunctionName", # required
|
1234
|
-
# }
|
1235
|
-
#
|
1236
1341
|
# @!attribute [rw] function_name
|
1237
1342
|
# The name of the Lambda function.
|
1238
1343
|
#
|
1239
1344
|
# **Name formats**
|
1240
1345
|
#
|
1241
|
-
# * **Function name**
|
1346
|
+
# * **Function name** – `my-function`.
|
1242
1347
|
#
|
1243
|
-
# * **Function ARN**
|
1348
|
+
# * **Function ARN** –
|
1244
1349
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1245
1350
|
#
|
1246
|
-
# * **Partial ARN**
|
1351
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1247
1352
|
#
|
1248
1353
|
# The length constraint applies only to the full ARN. If you specify
|
1249
1354
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1257,14 +1362,6 @@ module Aws::Lambda
|
|
1257
1362
|
include Aws::Structure
|
1258
1363
|
end
|
1259
1364
|
|
1260
|
-
# @note When making an API call, you may pass DeleteFunctionEventInvokeConfigRequest
|
1261
|
-
# data as a hash:
|
1262
|
-
#
|
1263
|
-
# {
|
1264
|
-
# function_name: "FunctionName", # required
|
1265
|
-
# qualifier: "Qualifier",
|
1266
|
-
# }
|
1267
|
-
#
|
1268
1365
|
# @!attribute [rw] function_name
|
1269
1366
|
# The name of the Lambda function, version, or alias.
|
1270
1367
|
#
|
@@ -1296,26 +1393,18 @@ module Aws::Lambda
|
|
1296
1393
|
include Aws::Structure
|
1297
1394
|
end
|
1298
1395
|
|
1299
|
-
# @note When making an API call, you may pass DeleteFunctionRequest
|
1300
|
-
# data as a hash:
|
1301
|
-
#
|
1302
|
-
# {
|
1303
|
-
# function_name: "FunctionName", # required
|
1304
|
-
# qualifier: "Qualifier",
|
1305
|
-
# }
|
1306
|
-
#
|
1307
1396
|
# @!attribute [rw] function_name
|
1308
1397
|
# The name of the Lambda function or version.
|
1309
1398
|
#
|
1310
1399
|
# **Name formats**
|
1311
1400
|
#
|
1312
|
-
# * **Function name**
|
1401
|
+
# * **Function name** – `my-function` (name-only), `my-function:1`
|
1313
1402
|
# (with version).
|
1314
1403
|
#
|
1315
|
-
# * **Function ARN**
|
1404
|
+
# * **Function ARN** –
|
1316
1405
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1317
1406
|
#
|
1318
|
-
# * **Partial ARN**
|
1407
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1319
1408
|
#
|
1320
1409
|
# You can append a version number or alias to any of the formats. The
|
1321
1410
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -1323,8 +1412,8 @@ module Aws::Lambda
|
|
1323
1412
|
# @return [String]
|
1324
1413
|
#
|
1325
1414
|
# @!attribute [rw] qualifier
|
1326
|
-
# Specify a version to delete. You can't delete a version that
|
1327
|
-
#
|
1415
|
+
# Specify a version to delete. You can't delete a version that an
|
1416
|
+
# alias references.
|
1328
1417
|
# @return [String]
|
1329
1418
|
#
|
1330
1419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest AWS API Documentation
|
@@ -1336,14 +1425,35 @@ module Aws::Lambda
|
|
1336
1425
|
include Aws::Structure
|
1337
1426
|
end
|
1338
1427
|
|
1339
|
-
#
|
1340
|
-
#
|
1428
|
+
# @!attribute [rw] function_name
|
1429
|
+
# The name of the Lambda function.
|
1430
|
+
#
|
1431
|
+
# **Name formats**
|
1432
|
+
#
|
1433
|
+
# * **Function name** – `my-function`.
|
1434
|
+
#
|
1435
|
+
# * **Function ARN** –
|
1436
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1437
|
+
#
|
1438
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1439
|
+
#
|
1440
|
+
# The length constraint applies only to the full ARN. If you specify
|
1441
|
+
# only the function name, it is limited to 64 characters in length.
|
1442
|
+
# @return [String]
|
1443
|
+
#
|
1444
|
+
# @!attribute [rw] qualifier
|
1445
|
+
# The alias name.
|
1446
|
+
# @return [String]
|
1341
1447
|
#
|
1342
|
-
#
|
1343
|
-
# layer_name: "LayerName", # required
|
1344
|
-
# version_number: 1, # required
|
1345
|
-
# }
|
1448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfigRequest AWS API Documentation
|
1346
1449
|
#
|
1450
|
+
class DeleteFunctionUrlConfigRequest < Struct.new(
|
1451
|
+
:function_name,
|
1452
|
+
:qualifier)
|
1453
|
+
SENSITIVE = []
|
1454
|
+
include Aws::Structure
|
1455
|
+
end
|
1456
|
+
|
1347
1457
|
# @!attribute [rw] layer_name
|
1348
1458
|
# The name or Amazon Resource Name (ARN) of the layer.
|
1349
1459
|
# @return [String]
|
@@ -1361,25 +1471,17 @@ module Aws::Lambda
|
|
1361
1471
|
include Aws::Structure
|
1362
1472
|
end
|
1363
1473
|
|
1364
|
-
# @note When making an API call, you may pass DeleteProvisionedConcurrencyConfigRequest
|
1365
|
-
# data as a hash:
|
1366
|
-
#
|
1367
|
-
# {
|
1368
|
-
# function_name: "FunctionName", # required
|
1369
|
-
# qualifier: "Qualifier", # required
|
1370
|
-
# }
|
1371
|
-
#
|
1372
1474
|
# @!attribute [rw] function_name
|
1373
1475
|
# The name of the Lambda function.
|
1374
1476
|
#
|
1375
1477
|
# **Name formats**
|
1376
1478
|
#
|
1377
|
-
# * **Function name**
|
1479
|
+
# * **Function name** – `my-function`.
|
1378
1480
|
#
|
1379
|
-
# * **Function ARN**
|
1481
|
+
# * **Function ARN** –
|
1380
1482
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1381
1483
|
#
|
1382
|
-
# * **Partial ARN**
|
1484
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1383
1485
|
#
|
1384
1486
|
# The length constraint applies only to the full ARN. If you specify
|
1385
1487
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1401,18 +1503,6 @@ module Aws::Lambda
|
|
1401
1503
|
# A configuration object that specifies the destination of an event
|
1402
1504
|
# after Lambda processes it.
|
1403
1505
|
#
|
1404
|
-
# @note When making an API call, you may pass DestinationConfig
|
1405
|
-
# data as a hash:
|
1406
|
-
#
|
1407
|
-
# {
|
1408
|
-
# on_success: {
|
1409
|
-
# destination: "DestinationArn",
|
1410
|
-
# },
|
1411
|
-
# on_failure: {
|
1412
|
-
# destination: "DestinationArn",
|
1413
|
-
# },
|
1414
|
-
# }
|
1415
|
-
#
|
1416
1506
|
# @!attribute [rw] on_success
|
1417
1507
|
# The destination configuration for successful invocations.
|
1418
1508
|
# @return [Types::OnSuccess]
|
@@ -1430,6 +1520,35 @@ module Aws::Lambda
|
|
1430
1520
|
include Aws::Structure
|
1431
1521
|
end
|
1432
1522
|
|
1523
|
+
# Specific configuration settings for a DocumentDB event source.
|
1524
|
+
#
|
1525
|
+
# @!attribute [rw] database_name
|
1526
|
+
# The name of the database to consume within the DocumentDB cluster.
|
1527
|
+
# @return [String]
|
1528
|
+
#
|
1529
|
+
# @!attribute [rw] collection_name
|
1530
|
+
# The name of the collection to consume within the database. If you do
|
1531
|
+
# not specify a collection, Lambda consumes all collections.
|
1532
|
+
# @return [String]
|
1533
|
+
#
|
1534
|
+
# @!attribute [rw] full_document
|
1535
|
+
# Determines what DocumentDB sends to your event stream during
|
1536
|
+
# document update operations. If set to UpdateLookup, DocumentDB sends
|
1537
|
+
# a delta describing the changes, along with a copy of the entire
|
1538
|
+
# document. Otherwise, DocumentDB sends only a partial document that
|
1539
|
+
# contains the changes.
|
1540
|
+
# @return [String]
|
1541
|
+
#
|
1542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DocumentDBEventSourceConfig AWS API Documentation
|
1543
|
+
#
|
1544
|
+
class DocumentDBEventSourceConfig < Struct.new(
|
1545
|
+
:database_name,
|
1546
|
+
:collection_name,
|
1547
|
+
:full_document)
|
1548
|
+
SENSITIVE = []
|
1549
|
+
include Aws::Structure
|
1550
|
+
end
|
1551
|
+
|
1433
1552
|
# Need additional permissions to configure VPC settings.
|
1434
1553
|
#
|
1435
1554
|
# @!attribute [rw] type
|
@@ -1447,9 +1566,8 @@ module Aws::Lambda
|
|
1447
1566
|
include Aws::Structure
|
1448
1567
|
end
|
1449
1568
|
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
# function.
|
1569
|
+
# Amazon EC2 throttled Lambda during Lambda function initialization
|
1570
|
+
# using the execution role provided for the function.
|
1453
1571
|
#
|
1454
1572
|
# @!attribute [rw] type
|
1455
1573
|
# @return [String]
|
@@ -1466,8 +1584,8 @@ module Aws::Lambda
|
|
1466
1584
|
include Aws::Structure
|
1467
1585
|
end
|
1468
1586
|
|
1469
|
-
# Lambda received an unexpected EC2 client exception while
|
1470
|
-
# for the Lambda function.
|
1587
|
+
# Lambda received an unexpected Amazon EC2 client exception while
|
1588
|
+
# setting up for the Lambda function.
|
1471
1589
|
#
|
1472
1590
|
# @!attribute [rw] type
|
1473
1591
|
# @return [String]
|
@@ -1506,8 +1624,8 @@ module Aws::Lambda
|
|
1506
1624
|
include Aws::Structure
|
1507
1625
|
end
|
1508
1626
|
|
1509
|
-
# The function couldn't make a network connection to the
|
1510
|
-
# file system.
|
1627
|
+
# The Lambda function couldn't make a network connection to the
|
1628
|
+
# configured file system.
|
1511
1629
|
#
|
1512
1630
|
# @!attribute [rw] type
|
1513
1631
|
# @return [String]
|
@@ -1524,8 +1642,8 @@ module Aws::Lambda
|
|
1524
1642
|
include Aws::Structure
|
1525
1643
|
end
|
1526
1644
|
|
1527
|
-
# The function couldn't mount the configured file system due to
|
1528
|
-
# permission or configuration issue.
|
1645
|
+
# The Lambda function couldn't mount the configured file system due to
|
1646
|
+
# a permission or configuration issue.
|
1529
1647
|
#
|
1530
1648
|
# @!attribute [rw] type
|
1531
1649
|
# @return [String]
|
@@ -1542,8 +1660,8 @@ module Aws::Lambda
|
|
1542
1660
|
include Aws::Structure
|
1543
1661
|
end
|
1544
1662
|
|
1545
|
-
# The function
|
1546
|
-
#
|
1663
|
+
# The Lambda function made a network connection to the configured file
|
1664
|
+
# system, but the mount operation timed out.
|
1547
1665
|
#
|
1548
1666
|
# @!attribute [rw] type
|
1549
1667
|
# @return [String]
|
@@ -1560,9 +1678,14 @@ module Aws::Lambda
|
|
1560
1678
|
include Aws::Structure
|
1561
1679
|
end
|
1562
1680
|
|
1563
|
-
# Lambda
|
1681
|
+
# Lambda couldn't create an elastic network interface in the VPC,
|
1564
1682
|
# specified as part of Lambda function configuration, because the limit
|
1565
|
-
# for network interfaces has been reached.
|
1683
|
+
# for network interfaces has been reached. For more information, see
|
1684
|
+
# [Lambda quotas][1].
|
1685
|
+
#
|
1686
|
+
#
|
1687
|
+
#
|
1688
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
1566
1689
|
#
|
1567
1690
|
# @!attribute [rw] type
|
1568
1691
|
# @return [String]
|
@@ -1584,15 +1707,6 @@ module Aws::Lambda
|
|
1584
1707
|
# An environment variable is a pair of strings that are stored in a
|
1585
1708
|
# function's version-specific configuration.
|
1586
1709
|
#
|
1587
|
-
# @note When making an API call, you may pass Environment
|
1588
|
-
# data as a hash:
|
1589
|
-
#
|
1590
|
-
# {
|
1591
|
-
# variables: {
|
1592
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1593
|
-
# },
|
1594
|
-
# }
|
1595
|
-
#
|
1596
1710
|
# @!attribute [rw] variables
|
1597
1711
|
# Environment variable key-value pairs. For more information, see
|
1598
1712
|
# [Using Lambda environment variables][1].
|
@@ -1630,12 +1744,11 @@ module Aws::Lambda
|
|
1630
1744
|
end
|
1631
1745
|
|
1632
1746
|
# The results of an operation to update or read environment variables.
|
1633
|
-
# If the operation
|
1634
|
-
# variables. If it
|
1635
|
-
# error.
|
1747
|
+
# If the operation succeeds, the response contains the environment
|
1748
|
+
# variables. If it fails, the response contains details about the error.
|
1636
1749
|
#
|
1637
1750
|
# @!attribute [rw] variables
|
1638
|
-
# Environment variable key-value pairs.
|
1751
|
+
# Environment variable key-value pairs. Omitted from CloudTrail logs.
|
1639
1752
|
# @return [Hash<String,String>]
|
1640
1753
|
#
|
1641
1754
|
# @!attribute [rw] error
|
@@ -1651,6 +1764,26 @@ module Aws::Lambda
|
|
1651
1764
|
include Aws::Structure
|
1652
1765
|
end
|
1653
1766
|
|
1767
|
+
# The size of the function's `/tmp` directory in MB. The default value
|
1768
|
+
# is 512, but can be any whole number between 512 and 10,240 MB. For
|
1769
|
+
# more information, see [Configuring ephemeral storage (console)][1].
|
1770
|
+
#
|
1771
|
+
#
|
1772
|
+
#
|
1773
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
|
1774
|
+
#
|
1775
|
+
# @!attribute [rw] size
|
1776
|
+
# The size of the function's `/tmp` directory.
|
1777
|
+
# @return [Integer]
|
1778
|
+
#
|
1779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
|
1780
|
+
#
|
1781
|
+
class EphemeralStorage < Struct.new(
|
1782
|
+
:size)
|
1783
|
+
SENSITIVE = []
|
1784
|
+
include Aws::Structure
|
1785
|
+
end
|
1786
|
+
|
1654
1787
|
# A mapping between an Amazon Web Services resource and a Lambda
|
1655
1788
|
# function. For details, see CreateEventSourceMapping.
|
1656
1789
|
#
|
@@ -1660,13 +1793,15 @@ module Aws::Lambda
|
|
1660
1793
|
#
|
1661
1794
|
# @!attribute [rw] starting_position
|
1662
1795
|
# The position in a stream from which to start reading. Required for
|
1663
|
-
# Amazon Kinesis
|
1664
|
-
# `AT_TIMESTAMP` is supported only for Amazon Kinesis streams
|
1796
|
+
# Amazon Kinesis and Amazon DynamoDB Stream event sources.
|
1797
|
+
# `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
|
1798
|
+
# DocumentDB, Amazon MSK, and self-managed Apache Kafka.
|
1665
1799
|
# @return [String]
|
1666
1800
|
#
|
1667
1801
|
# @!attribute [rw] starting_position_timestamp
|
1668
1802
|
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
1669
|
-
# to start reading.
|
1803
|
+
# to start reading. `StartingPositionTimestamp` cannot be in the
|
1804
|
+
# future.
|
1670
1805
|
# @return [Time]
|
1671
1806
|
#
|
1672
1807
|
# @!attribute [rw] batch_size
|
@@ -1683,19 +1818,28 @@ module Aws::Lambda
|
|
1683
1818
|
# @return [Integer]
|
1684
1819
|
#
|
1685
1820
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
#
|
1821
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
1822
|
+
# records before invoking the function. You can configure
|
1823
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
1824
|
+
# seconds in increments of seconds.
|
1825
|
+
#
|
1826
|
+
# For streams and Amazon SQS event sources, the default batching
|
1827
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
1828
|
+
# Amazon MQ, and DocumentDB event sources, the default batching window
|
1829
|
+
# is 500 ms. Note that because you can only change
|
1830
|
+
# `MaximumBatchingWindowInSeconds` in increments of seconds, you
|
1831
|
+
# cannot revert back to the 500 ms default batching window after you
|
1832
|
+
# have changed it. To restore the default batching window, you must
|
1833
|
+
# create a new event source mapping.
|
1834
|
+
#
|
1835
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
1836
|
+
# set `BatchSize` to a value greater than 10, you must set
|
1837
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
1694
1838
|
# @return [Integer]
|
1695
1839
|
#
|
1696
1840
|
# @!attribute [rw] parallelization_factor
|
1697
|
-
# (Streams only) The number of batches to process
|
1698
|
-
# each shard. The default value is 1.
|
1841
|
+
# (Kinesis and DynamoDB Streams only) The number of batches to process
|
1842
|
+
# concurrently from each shard. The default value is 1.
|
1699
1843
|
# @return [Integer]
|
1700
1844
|
#
|
1701
1845
|
# @!attribute [rw] event_source_arn
|
@@ -1703,9 +1847,9 @@ module Aws::Lambda
|
|
1703
1847
|
# @return [String]
|
1704
1848
|
#
|
1705
1849
|
# @!attribute [rw] filter_criteria
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1850
|
+
# An object that defines the filter criteria that determine whether
|
1851
|
+
# Lambda should process an event. For more information, see [Lambda
|
1852
|
+
# event filtering][1].
|
1709
1853
|
#
|
1710
1854
|
#
|
1711
1855
|
#
|
@@ -1737,8 +1881,8 @@ module Aws::Lambda
|
|
1737
1881
|
# @return [String]
|
1738
1882
|
#
|
1739
1883
|
# @!attribute [rw] destination_config
|
1740
|
-
# (Streams only) An Amazon SQS queue or Amazon
|
1741
|
-
# for discarded records.
|
1884
|
+
# (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon
|
1885
|
+
# SNS topic destination for discarded records.
|
1742
1886
|
# @return [Types::DestinationConfig]
|
1743
1887
|
#
|
1744
1888
|
# @!attribute [rw] topics
|
@@ -1760,37 +1904,70 @@ module Aws::Lambda
|
|
1760
1904
|
# @return [Types::SelfManagedEventSource]
|
1761
1905
|
#
|
1762
1906
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1763
|
-
# (Streams only) Discard records older than the
|
1764
|
-
# default value is -1, which sets the maximum age
|
1765
|
-
# the value is set to infinite, Lambda never
|
1907
|
+
# (Kinesis and DynamoDB Streams only) Discard records older than the
|
1908
|
+
# specified age. The default value is -1, which sets the maximum age
|
1909
|
+
# to infinite. When the value is set to infinite, Lambda never
|
1910
|
+
# discards old records.
|
1911
|
+
#
|
1912
|
+
# <note markdown="1"> The minimum valid value for maximum record age is 60s. Although
|
1913
|
+
# values less than 60 and greater than -1 fall within the parameter's
|
1914
|
+
# absolute range, they are not allowed
|
1915
|
+
#
|
1916
|
+
# </note>
|
1766
1917
|
# @return [Integer]
|
1767
1918
|
#
|
1768
1919
|
# @!attribute [rw] bisect_batch_on_function_error
|
1769
|
-
# (Streams only) If the function returns an
|
1770
|
-
# two and retry. The default value is false.
|
1920
|
+
# (Kinesis and DynamoDB Streams only) If the function returns an
|
1921
|
+
# error, split the batch in two and retry. The default value is false.
|
1771
1922
|
# @return [Boolean]
|
1772
1923
|
#
|
1773
1924
|
# @!attribute [rw] maximum_retry_attempts
|
1774
|
-
# (Streams only) Discard records after the
|
1775
|
-
# retries. The default value is -1, which sets the
|
1776
|
-
# retries to infinite. When MaximumRetryAttempts is
|
1777
|
-
# retries failed records until the record expires in
|
1925
|
+
# (Kinesis and DynamoDB Streams only) Discard records after the
|
1926
|
+
# specified number of retries. The default value is -1, which sets the
|
1927
|
+
# maximum number of retries to infinite. When MaximumRetryAttempts is
|
1928
|
+
# infinite, Lambda retries failed records until the record expires in
|
1929
|
+
# the event source.
|
1778
1930
|
# @return [Integer]
|
1779
1931
|
#
|
1780
1932
|
# @!attribute [rw] tumbling_window_in_seconds
|
1781
|
-
# (Streams only) The duration in seconds of a
|
1782
|
-
#
|
1933
|
+
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
|
1934
|
+
# processing window for DynamoDB and Kinesis Streams event sources. A
|
1935
|
+
# value of 0 seconds indicates no tumbling window.
|
1783
1936
|
# @return [Integer]
|
1784
1937
|
#
|
1785
1938
|
# @!attribute [rw] function_response_types
|
1786
|
-
# (Streams
|
1787
|
-
# event source mapping.
|
1939
|
+
# (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
|
1940
|
+
# response type enums applied to the event source mapping.
|
1788
1941
|
# @return [Array<String>]
|
1789
1942
|
#
|
1790
|
-
#
|
1943
|
+
# @!attribute [rw] amazon_managed_kafka_event_source_config
|
1944
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
1945
|
+
# Apache Kafka (Amazon MSK) event source.
|
1946
|
+
# @return [Types::AmazonManagedKafkaEventSourceConfig]
|
1791
1947
|
#
|
1792
|
-
|
1793
|
-
|
1948
|
+
# @!attribute [rw] self_managed_kafka_event_source_config
|
1949
|
+
# Specific configuration settings for a self-managed Apache Kafka
|
1950
|
+
# event source.
|
1951
|
+
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
1952
|
+
#
|
1953
|
+
# @!attribute [rw] scaling_config
|
1954
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
1955
|
+
# For more information, see [Configuring maximum concurrency for
|
1956
|
+
# Amazon SQS event sources][1].
|
1957
|
+
#
|
1958
|
+
#
|
1959
|
+
#
|
1960
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
1961
|
+
# @return [Types::ScalingConfig]
|
1962
|
+
#
|
1963
|
+
# @!attribute [rw] document_db_event_source_config
|
1964
|
+
# Specific configuration settings for a DocumentDB event source.
|
1965
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
1966
|
+
#
|
1967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1968
|
+
#
|
1969
|
+
class EventSourceMappingConfiguration < Struct.new(
|
1970
|
+
:uuid,
|
1794
1971
|
:starting_position,
|
1795
1972
|
:starting_position_timestamp,
|
1796
1973
|
:batch_size,
|
@@ -1812,7 +1989,11 @@ module Aws::Lambda
|
|
1812
1989
|
:bisect_batch_on_function_error,
|
1813
1990
|
:maximum_retry_attempts,
|
1814
1991
|
:tumbling_window_in_seconds,
|
1815
|
-
:function_response_types
|
1992
|
+
:function_response_types,
|
1993
|
+
:amazon_managed_kafka_event_source_config,
|
1994
|
+
:self_managed_kafka_event_source_config,
|
1995
|
+
:scaling_config,
|
1996
|
+
:document_db_event_source_config)
|
1816
1997
|
SENSITIVE = []
|
1817
1998
|
include Aws::Structure
|
1818
1999
|
end
|
@@ -1824,14 +2005,6 @@ module Aws::Lambda
|
|
1824
2005
|
#
|
1825
2006
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
|
1826
2007
|
#
|
1827
|
-
# @note When making an API call, you may pass FileSystemConfig
|
1828
|
-
# data as a hash:
|
1829
|
-
#
|
1830
|
-
# {
|
1831
|
-
# arn: "FileSystemArn", # required
|
1832
|
-
# local_mount_path: "LocalMountPath", # required
|
1833
|
-
# }
|
1834
|
-
#
|
1835
2008
|
# @!attribute [rw] arn
|
1836
2009
|
# The Amazon Resource Name (ARN) of the Amazon EFS access point that
|
1837
2010
|
# provides access to the file system.
|
@@ -1854,13 +2027,6 @@ module Aws::Lambda
|
|
1854
2027
|
# A structure within a `FilterCriteria` object that defines an event
|
1855
2028
|
# filtering pattern.
|
1856
2029
|
#
|
1857
|
-
# @note When making an API call, you may pass Filter
|
1858
|
-
# data as a hash:
|
1859
|
-
#
|
1860
|
-
# {
|
1861
|
-
# pattern: "Pattern",
|
1862
|
-
# }
|
1863
|
-
#
|
1864
2030
|
# @!attribute [rw] pattern
|
1865
2031
|
# A filter pattern. For more information on the syntax of a filter
|
1866
2032
|
# pattern, see [ Filter rule syntax][1].
|
@@ -1880,17 +2046,6 @@ module Aws::Lambda
|
|
1880
2046
|
|
1881
2047
|
# An object that contains the filters for an event source.
|
1882
2048
|
#
|
1883
|
-
# @note When making an API call, you may pass FilterCriteria
|
1884
|
-
# data as a hash:
|
1885
|
-
#
|
1886
|
-
# {
|
1887
|
-
# filters: [
|
1888
|
-
# {
|
1889
|
-
# pattern: "Pattern",
|
1890
|
-
# },
|
1891
|
-
# ],
|
1892
|
-
# }
|
1893
|
-
#
|
1894
2049
|
# @!attribute [rw] filters
|
1895
2050
|
# A list of filters.
|
1896
2051
|
# @return [Array<Types::Filter>]
|
@@ -1903,25 +2058,13 @@ module Aws::Lambda
|
|
1903
2058
|
include Aws::Structure
|
1904
2059
|
end
|
1905
2060
|
|
1906
|
-
# The code for the Lambda function. You can specify
|
2061
|
+
# The code for the Lambda function. You can either specify an object in
|
1907
2062
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1908
2063
|
# specify the URI of a container image.
|
1909
2064
|
#
|
1910
|
-
# @note When making an API call, you may pass FunctionCode
|
1911
|
-
# data as a hash:
|
1912
|
-
#
|
1913
|
-
# {
|
1914
|
-
# zip_file: "data",
|
1915
|
-
# s3_bucket: "S3Bucket",
|
1916
|
-
# s3_key: "S3Key",
|
1917
|
-
# s3_object_version: "S3ObjectVersion",
|
1918
|
-
# image_uri: "String",
|
1919
|
-
# }
|
1920
|
-
#
|
1921
2065
|
# @!attribute [rw] zip_file
|
1922
2066
|
# The base64-encoded contents of the deployment package. Amazon Web
|
1923
|
-
# Services SDK and
|
1924
|
-
# for you.
|
2067
|
+
# Services SDK and CLI clients handle the encoding for you.
|
1925
2068
|
# @return [String]
|
1926
2069
|
#
|
1927
2070
|
# @!attribute [rw] s3_bucket
|
@@ -1999,7 +2142,16 @@ module Aws::Lambda
|
|
1999
2142
|
# @return [String]
|
2000
2143
|
#
|
2001
2144
|
# @!attribute [rw] runtime
|
2002
|
-
# The
|
2145
|
+
# The identifier of the function's [runtime][1]. Runtime is required
|
2146
|
+
# if the deployment package is a .zip file archive.
|
2147
|
+
#
|
2148
|
+
# The following list includes deprecated runtimes. For more
|
2149
|
+
# information, see [Runtime deprecation policy][2].
|
2150
|
+
#
|
2151
|
+
#
|
2152
|
+
#
|
2153
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
2154
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
2003
2155
|
# @return [String]
|
2004
2156
|
#
|
2005
2157
|
# @!attribute [rw] role
|
@@ -2007,7 +2159,7 @@ module Aws::Lambda
|
|
2007
2159
|
# @return [String]
|
2008
2160
|
#
|
2009
2161
|
# @!attribute [rw] handler
|
2010
|
-
# The function that Lambda calls to begin
|
2162
|
+
# The function that Lambda calls to begin running your function.
|
2011
2163
|
# @return [String]
|
2012
2164
|
#
|
2013
2165
|
# @!attribute [rw] code_size
|
@@ -2053,7 +2205,8 @@ module Aws::Lambda
|
|
2053
2205
|
# @return [Types::DeadLetterConfig]
|
2054
2206
|
#
|
2055
2207
|
# @!attribute [rw] environment
|
2056
|
-
# The function's [environment variables][1].
|
2208
|
+
# The function's [environment variables][1]. Omitted from CloudTrail
|
2209
|
+
# logs.
|
2057
2210
|
#
|
2058
2211
|
#
|
2059
2212
|
#
|
@@ -2061,9 +2214,15 @@ module Aws::Lambda
|
|
2061
2214
|
# @return [Types::EnvironmentResponse]
|
2062
2215
|
#
|
2063
2216
|
# @!attribute [rw] kms_key_arn
|
2064
|
-
# The KMS key that's used to encrypt the function's environment
|
2065
|
-
# variables.
|
2066
|
-
#
|
2217
|
+
# The KMS key that's used to encrypt the function's [environment
|
2218
|
+
# variables][1]. When [Lambda SnapStart][2] is activated, this key is
|
2219
|
+
# also used to encrypt the function's snapshot. This key is returned
|
2220
|
+
# only if you've configured a customer managed key.
|
2221
|
+
#
|
2222
|
+
#
|
2223
|
+
#
|
2224
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
2225
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
2067
2226
|
# @return [String]
|
2068
2227
|
#
|
2069
2228
|
# @!attribute [rw] tracing_config
|
@@ -2079,7 +2238,7 @@ module Aws::Lambda
|
|
2079
2238
|
# @return [String]
|
2080
2239
|
#
|
2081
2240
|
# @!attribute [rw] layers
|
2082
|
-
# The function's [
|
2241
|
+
# The function's [layers][1].
|
2083
2242
|
#
|
2084
2243
|
#
|
2085
2244
|
#
|
@@ -2145,6 +2304,32 @@ module Aws::Lambda
|
|
2145
2304
|
# default architecture value is `x86_64`.
|
2146
2305
|
# @return [Array<String>]
|
2147
2306
|
#
|
2307
|
+
# @!attribute [rw] ephemeral_storage
|
2308
|
+
# The size of the function's `/tmp` directory in MB. The default
|
2309
|
+
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
2310
|
+
# For more information, see [Configuring ephemeral storage
|
2311
|
+
# (console)][1].
|
2312
|
+
#
|
2313
|
+
#
|
2314
|
+
#
|
2315
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
|
2316
|
+
# @return [Types::EphemeralStorage]
|
2317
|
+
#
|
2318
|
+
# @!attribute [rw] snap_start
|
2319
|
+
# Set `ApplyOn` to `PublishedVersions` to create a snapshot of the
|
2320
|
+
# initialized execution environment when you publish a function
|
2321
|
+
# version. For more information, see [Improving startup performance
|
2322
|
+
# with Lambda SnapStart][1].
|
2323
|
+
#
|
2324
|
+
#
|
2325
|
+
#
|
2326
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
2327
|
+
# @return [Types::SnapStartResponse]
|
2328
|
+
#
|
2329
|
+
# @!attribute [rw] runtime_version_config
|
2330
|
+
# The ARN of the runtime and any errors that occured.
|
2331
|
+
# @return [Types::RuntimeVersionConfig]
|
2332
|
+
#
|
2148
2333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
2149
2334
|
#
|
2150
2335
|
class FunctionConfiguration < Struct.new(
|
@@ -2179,7 +2364,10 @@ module Aws::Lambda
|
|
2179
2364
|
:image_config_response,
|
2180
2365
|
:signing_profile_version_arn,
|
2181
2366
|
:signing_job_arn,
|
2182
|
-
:architectures
|
2367
|
+
:architectures,
|
2368
|
+
:ephemeral_storage,
|
2369
|
+
:snap_start,
|
2370
|
+
:runtime_version_config)
|
2183
2371
|
SENSITIVE = []
|
2184
2372
|
include Aws::Structure
|
2185
2373
|
end
|
@@ -2211,9 +2399,9 @@ module Aws::Lambda
|
|
2211
2399
|
# * **Function** - The Amazon Resource Name (ARN) of a Lambda
|
2212
2400
|
# function.
|
2213
2401
|
#
|
2214
|
-
# * **Queue** - The ARN of
|
2402
|
+
# * **Queue** - The ARN of a standard SQS queue.
|
2215
2403
|
#
|
2216
|
-
# * **Topic** - The ARN of
|
2404
|
+
# * **Topic** - The ARN of a standard SNS topic.
|
2217
2405
|
#
|
2218
2406
|
# * **Event Bus** - The ARN of an Amazon EventBridge event bus.
|
2219
2407
|
# @return [Types::DestinationConfig]
|
@@ -2230,6 +2418,88 @@ module Aws::Lambda
|
|
2230
2418
|
include Aws::Structure
|
2231
2419
|
end
|
2232
2420
|
|
2421
|
+
# Details about a Lambda function URL.
|
2422
|
+
#
|
2423
|
+
# @!attribute [rw] function_url
|
2424
|
+
# The HTTP URL endpoint for your function.
|
2425
|
+
# @return [String]
|
2426
|
+
#
|
2427
|
+
# @!attribute [rw] function_arn
|
2428
|
+
# The Amazon Resource Name (ARN) of your function.
|
2429
|
+
# @return [String]
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] creation_time
|
2432
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
2433
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
2434
|
+
#
|
2435
|
+
#
|
2436
|
+
#
|
2437
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2438
|
+
# @return [Time]
|
2439
|
+
#
|
2440
|
+
# @!attribute [rw] last_modified_time
|
2441
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
2442
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
2443
|
+
#
|
2444
|
+
#
|
2445
|
+
#
|
2446
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2447
|
+
# @return [Time]
|
2448
|
+
#
|
2449
|
+
# @!attribute [rw] cors
|
2450
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
2451
|
+
# function URL.
|
2452
|
+
#
|
2453
|
+
#
|
2454
|
+
#
|
2455
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
2456
|
+
# @return [Types::Cors]
|
2457
|
+
#
|
2458
|
+
# @!attribute [rw] auth_type
|
2459
|
+
# The type of authentication that your function URL uses. Set to
|
2460
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
2461
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2462
|
+
# create a public endpoint. For more information, see [Security and
|
2463
|
+
# auth model for Lambda function URLs][1].
|
2464
|
+
#
|
2465
|
+
#
|
2466
|
+
#
|
2467
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
2468
|
+
# @return [String]
|
2469
|
+
#
|
2470
|
+
# @!attribute [rw] invoke_mode
|
2471
|
+
# Use one of the following options:
|
2472
|
+
#
|
2473
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
2474
|
+
# function using the `Invoke` API operation. Invocation results are
|
2475
|
+
# available when the payload is complete. The maximum payload size
|
2476
|
+
# is 6 MB.
|
2477
|
+
#
|
2478
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
2479
|
+
# become available. Lambda invokes your function using the
|
2480
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
2481
|
+
# payload size is 20 MB, however, you can [request a quota
|
2482
|
+
# increase][1].
|
2483
|
+
#
|
2484
|
+
#
|
2485
|
+
#
|
2486
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
2487
|
+
# @return [String]
|
2488
|
+
#
|
2489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
|
2490
|
+
#
|
2491
|
+
class FunctionUrlConfig < Struct.new(
|
2492
|
+
:function_url,
|
2493
|
+
:function_arn,
|
2494
|
+
:creation_time,
|
2495
|
+
:last_modified_time,
|
2496
|
+
:cors,
|
2497
|
+
:auth_type,
|
2498
|
+
:invoke_mode)
|
2499
|
+
SENSITIVE = []
|
2500
|
+
include Aws::Structure
|
2501
|
+
end
|
2502
|
+
|
2233
2503
|
# @api private
|
2234
2504
|
#
|
2235
2505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
|
@@ -2253,14 +2523,6 @@ module Aws::Lambda
|
|
2253
2523
|
include Aws::Structure
|
2254
2524
|
end
|
2255
2525
|
|
2256
|
-
# @note When making an API call, you may pass GetAliasRequest
|
2257
|
-
# data as a hash:
|
2258
|
-
#
|
2259
|
-
# {
|
2260
|
-
# function_name: "FunctionName", # required
|
2261
|
-
# name: "Alias", # required
|
2262
|
-
# }
|
2263
|
-
#
|
2264
2526
|
# @!attribute [rw] function_name
|
2265
2527
|
# The name of the Lambda function.
|
2266
2528
|
#
|
@@ -2290,13 +2552,6 @@ module Aws::Lambda
|
|
2290
2552
|
include Aws::Structure
|
2291
2553
|
end
|
2292
2554
|
|
2293
|
-
# @note When making an API call, you may pass GetCodeSigningConfigRequest
|
2294
|
-
# data as a hash:
|
2295
|
-
#
|
2296
|
-
# {
|
2297
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
2298
|
-
# }
|
2299
|
-
#
|
2300
2555
|
# @!attribute [rw] code_signing_config_arn
|
2301
2556
|
# The The Amazon Resource Name (ARN) of the code signing
|
2302
2557
|
# configuration.
|
@@ -2322,13 +2577,6 @@ module Aws::Lambda
|
|
2322
2577
|
include Aws::Structure
|
2323
2578
|
end
|
2324
2579
|
|
2325
|
-
# @note When making an API call, you may pass GetEventSourceMappingRequest
|
2326
|
-
# data as a hash:
|
2327
|
-
#
|
2328
|
-
# {
|
2329
|
-
# uuid: "String", # required
|
2330
|
-
# }
|
2331
|
-
#
|
2332
2580
|
# @!attribute [rw] uuid
|
2333
2581
|
# The identifier of the event source mapping.
|
2334
2582
|
# @return [String]
|
@@ -2341,13 +2589,6 @@ module Aws::Lambda
|
|
2341
2589
|
include Aws::Structure
|
2342
2590
|
end
|
2343
2591
|
|
2344
|
-
# @note When making an API call, you may pass GetFunctionCodeSigningConfigRequest
|
2345
|
-
# data as a hash:
|
2346
|
-
#
|
2347
|
-
# {
|
2348
|
-
# function_name: "FunctionName", # required
|
2349
|
-
# }
|
2350
|
-
#
|
2351
2592
|
# @!attribute [rw] function_name
|
2352
2593
|
# The name of the Lambda function.
|
2353
2594
|
#
|
@@ -2402,24 +2643,17 @@ module Aws::Lambda
|
|
2402
2643
|
include Aws::Structure
|
2403
2644
|
end
|
2404
2645
|
|
2405
|
-
# @note When making an API call, you may pass GetFunctionConcurrencyRequest
|
2406
|
-
# data as a hash:
|
2407
|
-
#
|
2408
|
-
# {
|
2409
|
-
# function_name: "FunctionName", # required
|
2410
|
-
# }
|
2411
|
-
#
|
2412
2646
|
# @!attribute [rw] function_name
|
2413
2647
|
# The name of the Lambda function.
|
2414
2648
|
#
|
2415
2649
|
# **Name formats**
|
2416
2650
|
#
|
2417
|
-
# * **Function name**
|
2651
|
+
# * **Function name** – `my-function`.
|
2418
2652
|
#
|
2419
|
-
# * **Function ARN**
|
2653
|
+
# * **Function ARN** –
|
2420
2654
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2421
2655
|
#
|
2422
|
-
# * **Partial ARN**
|
2656
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2423
2657
|
#
|
2424
2658
|
# The length constraint applies only to the full ARN. If you specify
|
2425
2659
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2446,26 +2680,18 @@ module Aws::Lambda
|
|
2446
2680
|
include Aws::Structure
|
2447
2681
|
end
|
2448
2682
|
|
2449
|
-
# @note When making an API call, you may pass GetFunctionConfigurationRequest
|
2450
|
-
# data as a hash:
|
2451
|
-
#
|
2452
|
-
# {
|
2453
|
-
# function_name: "NamespacedFunctionName", # required
|
2454
|
-
# qualifier: "Qualifier",
|
2455
|
-
# }
|
2456
|
-
#
|
2457
2683
|
# @!attribute [rw] function_name
|
2458
2684
|
# The name of the Lambda function, version, or alias.
|
2459
2685
|
#
|
2460
2686
|
# **Name formats**
|
2461
2687
|
#
|
2462
|
-
# * **Function name**
|
2688
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2463
2689
|
# (with alias).
|
2464
2690
|
#
|
2465
|
-
# * **Function ARN**
|
2691
|
+
# * **Function ARN** –
|
2466
2692
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2467
2693
|
#
|
2468
|
-
# * **Partial ARN**
|
2694
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2469
2695
|
#
|
2470
2696
|
# You can append a version number or alias to any of the formats. The
|
2471
2697
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2486,14 +2712,6 @@ module Aws::Lambda
|
|
2486
2712
|
include Aws::Structure
|
2487
2713
|
end
|
2488
2714
|
|
2489
|
-
# @note When making an API call, you may pass GetFunctionEventInvokeConfigRequest
|
2490
|
-
# data as a hash:
|
2491
|
-
#
|
2492
|
-
# {
|
2493
|
-
# function_name: "FunctionName", # required
|
2494
|
-
# qualifier: "Qualifier",
|
2495
|
-
# }
|
2496
|
-
#
|
2497
2715
|
# @!attribute [rw] function_name
|
2498
2716
|
# The name of the Lambda function, version, or alias.
|
2499
2717
|
#
|
@@ -2525,26 +2743,18 @@ module Aws::Lambda
|
|
2525
2743
|
include Aws::Structure
|
2526
2744
|
end
|
2527
2745
|
|
2528
|
-
# @note When making an API call, you may pass GetFunctionRequest
|
2529
|
-
# data as a hash:
|
2530
|
-
#
|
2531
|
-
# {
|
2532
|
-
# function_name: "NamespacedFunctionName", # required
|
2533
|
-
# qualifier: "Qualifier",
|
2534
|
-
# }
|
2535
|
-
#
|
2536
2746
|
# @!attribute [rw] function_name
|
2537
2747
|
# The name of the Lambda function, version, or alias.
|
2538
2748
|
#
|
2539
2749
|
# **Name formats**
|
2540
2750
|
#
|
2541
|
-
# * **Function name**
|
2751
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2542
2752
|
# (with alias).
|
2543
2753
|
#
|
2544
|
-
# * **Function ARN**
|
2754
|
+
# * **Function ARN** –
|
2545
2755
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2546
2756
|
#
|
2547
|
-
# * **Partial ARN**
|
2757
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2548
2758
|
#
|
2549
2759
|
# You can append a version number or alias to any of the formats. The
|
2550
2760
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2600,13 +2810,115 @@ module Aws::Lambda
|
|
2600
2810
|
include Aws::Structure
|
2601
2811
|
end
|
2602
2812
|
|
2603
|
-
#
|
2604
|
-
#
|
2813
|
+
# @!attribute [rw] function_name
|
2814
|
+
# The name of the Lambda function.
|
2815
|
+
#
|
2816
|
+
# **Name formats**
|
2817
|
+
#
|
2818
|
+
# * **Function name** – `my-function`.
|
2819
|
+
#
|
2820
|
+
# * **Function ARN** –
|
2821
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2822
|
+
#
|
2823
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2824
|
+
#
|
2825
|
+
# The length constraint applies only to the full ARN. If you specify
|
2826
|
+
# only the function name, it is limited to 64 characters in length.
|
2827
|
+
# @return [String]
|
2828
|
+
#
|
2829
|
+
# @!attribute [rw] qualifier
|
2830
|
+
# The alias name.
|
2831
|
+
# @return [String]
|
2832
|
+
#
|
2833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigRequest AWS API Documentation
|
2834
|
+
#
|
2835
|
+
class GetFunctionUrlConfigRequest < Struct.new(
|
2836
|
+
:function_name,
|
2837
|
+
:qualifier)
|
2838
|
+
SENSITIVE = []
|
2839
|
+
include Aws::Structure
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# @!attribute [rw] function_url
|
2843
|
+
# The HTTP URL endpoint for your function.
|
2844
|
+
# @return [String]
|
2845
|
+
#
|
2846
|
+
# @!attribute [rw] function_arn
|
2847
|
+
# The Amazon Resource Name (ARN) of your function.
|
2848
|
+
# @return [String]
|
2849
|
+
#
|
2850
|
+
# @!attribute [rw] auth_type
|
2851
|
+
# The type of authentication that your function URL uses. Set to
|
2852
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
2853
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2854
|
+
# create a public endpoint. For more information, see [Security and
|
2855
|
+
# auth model for Lambda function URLs][1].
|
2856
|
+
#
|
2857
|
+
#
|
2858
|
+
#
|
2859
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
2860
|
+
# @return [String]
|
2861
|
+
#
|
2862
|
+
# @!attribute [rw] cors
|
2863
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
2864
|
+
# function URL.
|
2865
|
+
#
|
2866
|
+
#
|
2867
|
+
#
|
2868
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
2869
|
+
# @return [Types::Cors]
|
2870
|
+
#
|
2871
|
+
# @!attribute [rw] creation_time
|
2872
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
2873
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
2874
|
+
#
|
2875
|
+
#
|
2876
|
+
#
|
2877
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2878
|
+
# @return [Time]
|
2879
|
+
#
|
2880
|
+
# @!attribute [rw] last_modified_time
|
2881
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
2882
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
2883
|
+
#
|
2884
|
+
#
|
2885
|
+
#
|
2886
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2887
|
+
# @return [Time]
|
2888
|
+
#
|
2889
|
+
# @!attribute [rw] invoke_mode
|
2890
|
+
# Use one of the following options:
|
2891
|
+
#
|
2892
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
2893
|
+
# function using the `Invoke` API operation. Invocation results are
|
2894
|
+
# available when the payload is complete. The maximum payload size
|
2895
|
+
# is 6 MB.
|
2896
|
+
#
|
2897
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
2898
|
+
# become available. Lambda invokes your function using the
|
2899
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
2900
|
+
# payload size is 20 MB, however, you can [request a quota
|
2901
|
+
# increase][1].
|
2605
2902
|
#
|
2606
|
-
# {
|
2607
|
-
# arn: "LayerVersionArn", # required
|
2608
|
-
# }
|
2609
2903
|
#
|
2904
|
+
#
|
2905
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
2906
|
+
# @return [String]
|
2907
|
+
#
|
2908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
|
2909
|
+
#
|
2910
|
+
class GetFunctionUrlConfigResponse < Struct.new(
|
2911
|
+
:function_url,
|
2912
|
+
:function_arn,
|
2913
|
+
:auth_type,
|
2914
|
+
:cors,
|
2915
|
+
:creation_time,
|
2916
|
+
:last_modified_time,
|
2917
|
+
:invoke_mode)
|
2918
|
+
SENSITIVE = []
|
2919
|
+
include Aws::Structure
|
2920
|
+
end
|
2921
|
+
|
2610
2922
|
# @!attribute [rw] arn
|
2611
2923
|
# The ARN of the layer version.
|
2612
2924
|
# @return [String]
|
@@ -2619,14 +2931,6 @@ module Aws::Lambda
|
|
2619
2931
|
include Aws::Structure
|
2620
2932
|
end
|
2621
2933
|
|
2622
|
-
# @note When making an API call, you may pass GetLayerVersionPolicyRequest
|
2623
|
-
# data as a hash:
|
2624
|
-
#
|
2625
|
-
# {
|
2626
|
-
# layer_name: "LayerName", # required
|
2627
|
-
# version_number: 1, # required
|
2628
|
-
# }
|
2629
|
-
#
|
2630
2934
|
# @!attribute [rw] layer_name
|
2631
2935
|
# The name or Amazon Resource Name (ARN) of the layer.
|
2632
2936
|
# @return [String]
|
@@ -2661,14 +2965,6 @@ module Aws::Lambda
|
|
2661
2965
|
include Aws::Structure
|
2662
2966
|
end
|
2663
2967
|
|
2664
|
-
# @note When making an API call, you may pass GetLayerVersionRequest
|
2665
|
-
# data as a hash:
|
2666
|
-
#
|
2667
|
-
# {
|
2668
|
-
# layer_name: "LayerName", # required
|
2669
|
-
# version_number: 1, # required
|
2670
|
-
# }
|
2671
|
-
#
|
2672
2968
|
# @!attribute [rw] layer_name
|
2673
2969
|
# The name or Amazon Resource Name (ARN) of the layer.
|
2674
2970
|
# @return [String]
|
@@ -2717,6 +3013,13 @@ module Aws::Lambda
|
|
2717
3013
|
#
|
2718
3014
|
# @!attribute [rw] compatible_runtimes
|
2719
3015
|
# The layer's compatible runtimes.
|
3016
|
+
#
|
3017
|
+
# The following list includes deprecated runtimes. For more
|
3018
|
+
# information, see [Runtime deprecation policy][1].
|
3019
|
+
#
|
3020
|
+
#
|
3021
|
+
#
|
3022
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
2720
3023
|
# @return [Array<String>]
|
2721
3024
|
#
|
2722
3025
|
# @!attribute [rw] license_info
|
@@ -2747,26 +3050,18 @@ module Aws::Lambda
|
|
2747
3050
|
include Aws::Structure
|
2748
3051
|
end
|
2749
3052
|
|
2750
|
-
# @note When making an API call, you may pass GetPolicyRequest
|
2751
|
-
# data as a hash:
|
2752
|
-
#
|
2753
|
-
# {
|
2754
|
-
# function_name: "NamespacedFunctionName", # required
|
2755
|
-
# qualifier: "Qualifier",
|
2756
|
-
# }
|
2757
|
-
#
|
2758
3053
|
# @!attribute [rw] function_name
|
2759
3054
|
# The name of the Lambda function, version, or alias.
|
2760
3055
|
#
|
2761
3056
|
# **Name formats**
|
2762
3057
|
#
|
2763
|
-
# * **Function name**
|
3058
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2764
3059
|
# (with alias).
|
2765
3060
|
#
|
2766
|
-
# * **Function ARN**
|
3061
|
+
# * **Function ARN** –
|
2767
3062
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2768
3063
|
#
|
2769
|
-
# * **Partial ARN**
|
3064
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2770
3065
|
#
|
2771
3066
|
# You can append a version number or alias to any of the formats. The
|
2772
3067
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2803,25 +3098,17 @@ module Aws::Lambda
|
|
2803
3098
|
include Aws::Structure
|
2804
3099
|
end
|
2805
3100
|
|
2806
|
-
# @note When making an API call, you may pass GetProvisionedConcurrencyConfigRequest
|
2807
|
-
# data as a hash:
|
2808
|
-
#
|
2809
|
-
# {
|
2810
|
-
# function_name: "FunctionName", # required
|
2811
|
-
# qualifier: "Qualifier", # required
|
2812
|
-
# }
|
2813
|
-
#
|
2814
3101
|
# @!attribute [rw] function_name
|
2815
3102
|
# The name of the Lambda function.
|
2816
3103
|
#
|
2817
3104
|
# **Name formats**
|
2818
3105
|
#
|
2819
|
-
# * **Function name**
|
3106
|
+
# * **Function name** – `my-function`.
|
2820
3107
|
#
|
2821
|
-
# * **Function ARN**
|
3108
|
+
# * **Function ARN** –
|
2822
3109
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2823
3110
|
#
|
2824
|
-
# * **Partial ARN**
|
3111
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2825
3112
|
#
|
2826
3113
|
# The length constraint applies only to the full ARN. If you specify
|
2827
3114
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2849,7 +3136,10 @@ module Aws::Lambda
|
|
2849
3136
|
# @return [Integer]
|
2850
3137
|
#
|
2851
3138
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
2852
|
-
# The amount of provisioned concurrency allocated.
|
3139
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
3140
|
+
# alias is used during linear and canary deployments, this value
|
3141
|
+
# fluctuates depending on the amount of concurrency that is
|
3142
|
+
# provisioned for the function versions.
|
2853
3143
|
# @return [Integer]
|
2854
3144
|
#
|
2855
3145
|
# @!attribute [rw] status
|
@@ -2883,21 +3173,67 @@ module Aws::Lambda
|
|
2883
3173
|
include Aws::Structure
|
2884
3174
|
end
|
2885
3175
|
|
2886
|
-
#
|
2887
|
-
#
|
3176
|
+
# @!attribute [rw] function_name
|
3177
|
+
# The name of the Lambda function.
|
2888
3178
|
#
|
3179
|
+
# **Name formats**
|
2889
3180
|
#
|
3181
|
+
# * **Function name** – `my-function`.
|
2890
3182
|
#
|
2891
|
-
#
|
3183
|
+
# * **Function ARN** –
|
3184
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3185
|
+
#
|
3186
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3187
|
+
#
|
3188
|
+
# The length constraint applies only to the full ARN. If you specify
|
3189
|
+
# only the function name, it is limited to 64 characters in length.
|
3190
|
+
# @return [String]
|
3191
|
+
#
|
3192
|
+
# @!attribute [rw] qualifier
|
3193
|
+
# Specify a version of the function. This can be `$LATEST` or a
|
3194
|
+
# published version number. If no value is specified, the
|
3195
|
+
# configuration for the `$LATEST` version is returned.
|
3196
|
+
# @return [String]
|
3197
|
+
#
|
3198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigRequest AWS API Documentation
|
3199
|
+
#
|
3200
|
+
class GetRuntimeManagementConfigRequest < Struct.new(
|
3201
|
+
:function_name,
|
3202
|
+
:qualifier)
|
3203
|
+
SENSITIVE = []
|
3204
|
+
include Aws::Structure
|
3205
|
+
end
|
3206
|
+
|
3207
|
+
# @!attribute [rw] update_runtime_on
|
3208
|
+
# The current runtime update mode of the function.
|
3209
|
+
# @return [String]
|
3210
|
+
#
|
3211
|
+
# @!attribute [rw] runtime_version_arn
|
3212
|
+
# The ARN of the runtime the function is configured to use. If the
|
3213
|
+
# runtime update mode is **Manual**, the ARN is returned, otherwise
|
3214
|
+
# `null` is returned.
|
3215
|
+
# @return [String]
|
3216
|
+
#
|
3217
|
+
# @!attribute [rw] function_arn
|
3218
|
+
# The Amazon Resource Name (ARN) of your function.
|
3219
|
+
# @return [String]
|
3220
|
+
#
|
3221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigResponse AWS API Documentation
|
3222
|
+
#
|
3223
|
+
class GetRuntimeManagementConfigResponse < Struct.new(
|
3224
|
+
:update_runtime_on,
|
3225
|
+
:runtime_version_arn,
|
3226
|
+
:function_arn)
|
3227
|
+
SENSITIVE = []
|
3228
|
+
include Aws::Structure
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
# Configuration values that override the container image Dockerfile
|
3232
|
+
# settings. For more information, see [Container image settings][1].
|
2892
3233
|
#
|
2893
|
-
# @note When making an API call, you may pass ImageConfig
|
2894
|
-
# data as a hash:
|
2895
3234
|
#
|
2896
|
-
#
|
2897
|
-
#
|
2898
|
-
# command: ["String"],
|
2899
|
-
# working_directory: "WorkingDirectory",
|
2900
|
-
# }
|
3235
|
+
#
|
3236
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
2901
3237
|
#
|
2902
3238
|
# @!attribute [rw] entry_point
|
2903
3239
|
# Specifies the entry point to their application, which is typically
|
@@ -2922,7 +3258,7 @@ module Aws::Lambda
|
|
2922
3258
|
include Aws::Structure
|
2923
3259
|
end
|
2924
3260
|
|
2925
|
-
# Error response to GetFunctionConfiguration
|
3261
|
+
# Error response to `GetFunctionConfiguration`.
|
2926
3262
|
#
|
2927
3263
|
# @!attribute [rw] error_code
|
2928
3264
|
# Error code.
|
@@ -2941,14 +3277,14 @@ module Aws::Lambda
|
|
2941
3277
|
include Aws::Structure
|
2942
3278
|
end
|
2943
3279
|
|
2944
|
-
# Response to GetFunctionConfiguration request.
|
3280
|
+
# Response to a `GetFunctionConfiguration` request.
|
2945
3281
|
#
|
2946
3282
|
# @!attribute [rw] image_config
|
2947
3283
|
# Configuration values that override the container image Dockerfile.
|
2948
3284
|
# @return [Types::ImageConfig]
|
2949
3285
|
#
|
2950
3286
|
# @!attribute [rw] error
|
2951
|
-
# Error response to GetFunctionConfiguration
|
3287
|
+
# Error response to `GetFunctionConfiguration`.
|
2952
3288
|
# @return [Types::ImageConfigError]
|
2953
3289
|
#
|
2954
3290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
|
@@ -2960,8 +3296,8 @@ module Aws::Lambda
|
|
2960
3296
|
include Aws::Structure
|
2961
3297
|
end
|
2962
3298
|
|
2963
|
-
# The code signature failed the integrity check.
|
2964
|
-
#
|
3299
|
+
# The code signature failed the integrity check. If the integrity check
|
3300
|
+
# fails, then Lambda blocks deployment, even if the code signing policy
|
2965
3301
|
# is set to WARN.
|
2966
3302
|
#
|
2967
3303
|
# @!attribute [rw] type
|
@@ -2979,7 +3315,7 @@ module Aws::Lambda
|
|
2979
3315
|
include Aws::Structure
|
2980
3316
|
end
|
2981
3317
|
|
2982
|
-
# One of the parameters in the request is
|
3318
|
+
# One of the parameters in the request is not valid.
|
2983
3319
|
#
|
2984
3320
|
# @!attribute [rw] type
|
2985
3321
|
# The exception type.
|
@@ -3034,8 +3370,8 @@ module Aws::Lambda
|
|
3034
3370
|
include Aws::Structure
|
3035
3371
|
end
|
3036
3372
|
|
3037
|
-
# The
|
3038
|
-
# configuration is
|
3373
|
+
# The security group ID provided in the Lambda function VPC
|
3374
|
+
# configuration is not valid.
|
3039
3375
|
#
|
3040
3376
|
# @!attribute [rw] type
|
3041
3377
|
# @return [String]
|
@@ -3052,8 +3388,8 @@ module Aws::Lambda
|
|
3052
3388
|
include Aws::Structure
|
3053
3389
|
end
|
3054
3390
|
|
3055
|
-
# The
|
3056
|
-
#
|
3391
|
+
# The subnet ID provided in the Lambda function VPC configuration is not
|
3392
|
+
# valid.
|
3057
3393
|
#
|
3058
3394
|
# @!attribute [rw] type
|
3059
3395
|
# @return [String]
|
@@ -3087,30 +3423,18 @@ module Aws::Lambda
|
|
3087
3423
|
include Aws::Structure
|
3088
3424
|
end
|
3089
3425
|
|
3090
|
-
# @note When making an API call, you may pass InvocationRequest
|
3091
|
-
# data as a hash:
|
3092
|
-
#
|
3093
|
-
# {
|
3094
|
-
# function_name: "NamespacedFunctionName", # required
|
3095
|
-
# invocation_type: "Event", # accepts Event, RequestResponse, DryRun
|
3096
|
-
# log_type: "None", # accepts None, Tail
|
3097
|
-
# client_context: "String",
|
3098
|
-
# payload: "data",
|
3099
|
-
# qualifier: "Qualifier",
|
3100
|
-
# }
|
3101
|
-
#
|
3102
3426
|
# @!attribute [rw] function_name
|
3103
3427
|
# The name of the Lambda function, version, or alias.
|
3104
3428
|
#
|
3105
3429
|
# **Name formats**
|
3106
3430
|
#
|
3107
|
-
# * **Function name**
|
3431
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
3108
3432
|
# (with alias).
|
3109
3433
|
#
|
3110
|
-
# * **Function ARN**
|
3434
|
+
# * **Function ARN** –
|
3111
3435
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3112
3436
|
#
|
3113
|
-
# * **Partial ARN**
|
3437
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3114
3438
|
#
|
3115
3439
|
# You can append a version number or alias to any of the formats. The
|
3116
3440
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -3120,16 +3444,16 @@ module Aws::Lambda
|
|
3120
3444
|
# @!attribute [rw] invocation_type
|
3121
3445
|
# Choose from the following options.
|
3122
3446
|
#
|
3123
|
-
# * `RequestResponse` (default)
|
3447
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
3124
3448
|
# Keep the connection open until the function returns a response or
|
3125
3449
|
# times out. The API response includes the function response and
|
3126
3450
|
# additional data.
|
3127
3451
|
#
|
3128
|
-
# * `Event`
|
3129
|
-
# fail multiple times to the function's dead-letter queue (if
|
3130
|
-
# configured). The API response only includes a status code.
|
3452
|
+
# * `Event` – Invoke the function asynchronously. Send events that
|
3453
|
+
# fail multiple times to the function's dead-letter queue (if one
|
3454
|
+
# is configured). The API response only includes a status code.
|
3131
3455
|
#
|
3132
|
-
# * `DryRun`
|
3456
|
+
# * `DryRun` – Validate parameter values and verify that the user or
|
3133
3457
|
# role has permission to invoke the function.
|
3134
3458
|
# @return [String]
|
3135
3459
|
#
|
@@ -3139,8 +3463,8 @@ module Aws::Lambda
|
|
3139
3463
|
# @return [String]
|
3140
3464
|
#
|
3141
3465
|
# @!attribute [rw] client_context
|
3142
|
-
# Up to
|
3143
|
-
# pass to the function in the context object.
|
3466
|
+
# Up to 3,583 bytes of base64-encoded data about the invoking client
|
3467
|
+
# to pass to the function in the context object.
|
3144
3468
|
# @return [String]
|
3145
3469
|
#
|
3146
3470
|
# @!attribute [rw] payload
|
@@ -3183,7 +3507,7 @@ module Aws::Lambda
|
|
3183
3507
|
# @return [String]
|
3184
3508
|
#
|
3185
3509
|
# @!attribute [rw] log_result
|
3186
|
-
# The last 4 KB of the execution log, which is base64
|
3510
|
+
# The last 4 KB of the execution log, which is base64-encoded.
|
3187
3511
|
# @return [String]
|
3188
3512
|
#
|
3189
3513
|
# @!attribute [rw] payload
|
@@ -3208,25 +3532,17 @@ module Aws::Lambda
|
|
3208
3532
|
include Aws::Structure
|
3209
3533
|
end
|
3210
3534
|
|
3211
|
-
# @note When making an API call, you may pass InvokeAsyncRequest
|
3212
|
-
# data as a hash:
|
3213
|
-
#
|
3214
|
-
# {
|
3215
|
-
# function_name: "NamespacedFunctionName", # required
|
3216
|
-
# invoke_args: "data", # required
|
3217
|
-
# }
|
3218
|
-
#
|
3219
3535
|
# @!attribute [rw] function_name
|
3220
3536
|
# The name of the Lambda function.
|
3221
3537
|
#
|
3222
3538
|
# **Name formats**
|
3223
3539
|
#
|
3224
|
-
# * **Function name**
|
3540
|
+
# * **Function name** – `my-function`.
|
3225
3541
|
#
|
3226
|
-
# * **Function ARN**
|
3542
|
+
# * **Function ARN** –
|
3227
3543
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3228
3544
|
#
|
3229
|
-
# * **Partial ARN**
|
3545
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3230
3546
|
#
|
3231
3547
|
# The length constraint applies only to the full ARN. If you specify
|
3232
3548
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3260,45 +3576,179 @@ module Aws::Lambda
|
|
3260
3576
|
include Aws::Structure
|
3261
3577
|
end
|
3262
3578
|
|
3263
|
-
#
|
3264
|
-
# access was denied. Check the Lambda function's KMS permissions.
|
3265
|
-
#
|
3266
|
-
# @!attribute [rw] type
|
3267
|
-
# @return [String]
|
3579
|
+
# A chunk of the streamed response payload.
|
3268
3580
|
#
|
3269
|
-
# @!attribute [rw]
|
3581
|
+
# @!attribute [rw] payload
|
3582
|
+
# Data returned by your Lambda function.
|
3270
3583
|
# @return [String]
|
3271
3584
|
#
|
3272
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/
|
3585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeResponseStreamUpdate AWS API Documentation
|
3273
3586
|
#
|
3274
|
-
class
|
3275
|
-
:
|
3276
|
-
:
|
3277
|
-
SENSITIVE = []
|
3587
|
+
class InvokeResponseStreamUpdate < Struct.new(
|
3588
|
+
:payload,
|
3589
|
+
:event_type)
|
3590
|
+
SENSITIVE = [:payload]
|
3278
3591
|
include Aws::Structure
|
3279
3592
|
end
|
3280
3593
|
|
3281
|
-
#
|
3282
|
-
# key used is disabled. Check the Lambda function's KMS key settings.
|
3594
|
+
# A response confirming that the event stream is complete.
|
3283
3595
|
#
|
3284
|
-
# @!attribute [rw]
|
3596
|
+
# @!attribute [rw] error_code
|
3597
|
+
# An error code.
|
3285
3598
|
# @return [String]
|
3286
3599
|
#
|
3287
|
-
# @!attribute [rw]
|
3600
|
+
# @!attribute [rw] error_details
|
3601
|
+
# The details of any returned error.
|
3288
3602
|
# @return [String]
|
3289
3603
|
#
|
3290
|
-
#
|
3604
|
+
# @!attribute [rw] log_result
|
3605
|
+
# The last 4 KB of the execution log, which is base64-encoded.
|
3606
|
+
# @return [String]
|
3291
3607
|
#
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3295
|
-
|
3608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamCompleteEvent AWS API Documentation
|
3609
|
+
#
|
3610
|
+
class InvokeWithResponseStreamCompleteEvent < Struct.new(
|
3611
|
+
:error_code,
|
3612
|
+
:error_details,
|
3613
|
+
:log_result,
|
3614
|
+
:event_type)
|
3615
|
+
SENSITIVE = []
|
3616
|
+
include Aws::Structure
|
3617
|
+
end
|
3618
|
+
|
3619
|
+
# @!attribute [rw] function_name
|
3620
|
+
# The name of the Lambda function.
|
3621
|
+
#
|
3622
|
+
# **Name formats**
|
3623
|
+
#
|
3624
|
+
# * **Function name** – `my-function`.
|
3625
|
+
#
|
3626
|
+
# * **Function ARN** –
|
3627
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3628
|
+
#
|
3629
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3630
|
+
#
|
3631
|
+
# The length constraint applies only to the full ARN. If you specify
|
3632
|
+
# only the function name, it is limited to 64 characters in length.
|
3633
|
+
# @return [String]
|
3634
|
+
#
|
3635
|
+
# @!attribute [rw] invocation_type
|
3636
|
+
# Use one of the following options:
|
3637
|
+
#
|
3638
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
3639
|
+
# Keep the connection open until the function returns a response or
|
3640
|
+
# times out. The API operation response includes the function
|
3641
|
+
# response and additional data.
|
3642
|
+
#
|
3643
|
+
# * `DryRun` – Validate parameter values and verify that the IAM user
|
3644
|
+
# or role has permission to invoke the function.
|
3645
|
+
# @return [String]
|
3646
|
+
#
|
3647
|
+
# @!attribute [rw] log_type
|
3648
|
+
# Set to `Tail` to include the execution log in the response. Applies
|
3649
|
+
# to synchronously invoked functions only.
|
3650
|
+
# @return [String]
|
3651
|
+
#
|
3652
|
+
# @!attribute [rw] client_context
|
3653
|
+
# Up to 3,583 bytes of base64-encoded data about the invoking client
|
3654
|
+
# to pass to the function in the context object.
|
3655
|
+
# @return [String]
|
3656
|
+
#
|
3657
|
+
# @!attribute [rw] qualifier
|
3658
|
+
# The alias name.
|
3659
|
+
# @return [String]
|
3660
|
+
#
|
3661
|
+
# @!attribute [rw] payload
|
3662
|
+
# The JSON that you want to provide to your Lambda function as input.
|
3663
|
+
#
|
3664
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3665
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3666
|
+
# `--payload file://payload.json`.
|
3667
|
+
# @return [String]
|
3668
|
+
#
|
3669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamRequest AWS API Documentation
|
3670
|
+
#
|
3671
|
+
class InvokeWithResponseStreamRequest < Struct.new(
|
3672
|
+
:function_name,
|
3673
|
+
:invocation_type,
|
3674
|
+
:log_type,
|
3675
|
+
:client_context,
|
3676
|
+
:qualifier,
|
3677
|
+
:payload)
|
3678
|
+
SENSITIVE = [:payload]
|
3679
|
+
include Aws::Structure
|
3680
|
+
end
|
3681
|
+
|
3682
|
+
# @!attribute [rw] status_code
|
3683
|
+
# For a successful request, the HTTP status code is in the 200 range.
|
3684
|
+
# For the `RequestResponse` invocation type, this status code is 200.
|
3685
|
+
# For the `DryRun` invocation type, this status code is 204.
|
3686
|
+
# @return [Integer]
|
3687
|
+
#
|
3688
|
+
# @!attribute [rw] executed_version
|
3689
|
+
# The version of the function that executed. When you invoke a
|
3690
|
+
# function with an alias, this indicates which version the alias
|
3691
|
+
# resolved to.
|
3692
|
+
# @return [String]
|
3693
|
+
#
|
3694
|
+
# @!attribute [rw] event_stream
|
3695
|
+
# The stream of response payloads.
|
3696
|
+
# @return [Types::InvokeWithResponseStreamResponseEvent]
|
3697
|
+
#
|
3698
|
+
# @!attribute [rw] response_stream_content_type
|
3699
|
+
# The type of data the stream is returning.
|
3700
|
+
# @return [String]
|
3701
|
+
#
|
3702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamResponse AWS API Documentation
|
3703
|
+
#
|
3704
|
+
class InvokeWithResponseStreamResponse < Struct.new(
|
3705
|
+
:status_code,
|
3706
|
+
:executed_version,
|
3707
|
+
:event_stream,
|
3708
|
+
:response_stream_content_type)
|
3709
|
+
SENSITIVE = []
|
3710
|
+
include Aws::Structure
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
# Lambda couldn't decrypt the environment variables because KMS access
|
3714
|
+
# was denied. Check the Lambda function's KMS permissions.
|
3715
|
+
#
|
3716
|
+
# @!attribute [rw] type
|
3717
|
+
# @return [String]
|
3718
|
+
#
|
3719
|
+
# @!attribute [rw] message
|
3720
|
+
# @return [String]
|
3721
|
+
#
|
3722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSAccessDeniedException AWS API Documentation
|
3723
|
+
#
|
3724
|
+
class KMSAccessDeniedException < Struct.new(
|
3725
|
+
:type,
|
3726
|
+
:message)
|
3727
|
+
SENSITIVE = []
|
3728
|
+
include Aws::Structure
|
3729
|
+
end
|
3730
|
+
|
3731
|
+
# Lambda couldn't decrypt the environment variables because the KMS key
|
3732
|
+
# used is disabled. Check the Lambda function's KMS key settings.
|
3733
|
+
#
|
3734
|
+
# @!attribute [rw] type
|
3735
|
+
# @return [String]
|
3736
|
+
#
|
3737
|
+
# @!attribute [rw] message
|
3738
|
+
# @return [String]
|
3739
|
+
#
|
3740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSDisabledException AWS API Documentation
|
3741
|
+
#
|
3742
|
+
class KMSDisabledException < Struct.new(
|
3743
|
+
:type,
|
3744
|
+
:message)
|
3745
|
+
SENSITIVE = []
|
3296
3746
|
include Aws::Structure
|
3297
3747
|
end
|
3298
3748
|
|
3299
|
-
# Lambda
|
3300
|
-
# key used is
|
3301
|
-
# key settings.
|
3749
|
+
# Lambda couldn't decrypt the environment variables because the state
|
3750
|
+
# of the KMS key used is not valid for Decrypt. Check the function's
|
3751
|
+
# KMS key settings.
|
3302
3752
|
#
|
3303
3753
|
# @!attribute [rw] type
|
3304
3754
|
# @return [String]
|
@@ -3315,8 +3765,8 @@ module Aws::Lambda
|
|
3315
3765
|
include Aws::Structure
|
3316
3766
|
end
|
3317
3767
|
|
3318
|
-
# Lambda
|
3319
|
-
#
|
3768
|
+
# Lambda couldn't decrypt the environment variables because the KMS key
|
3769
|
+
# was not found. Check the function's KMS key settings.
|
3320
3770
|
#
|
3321
3771
|
# @!attribute [rw] type
|
3322
3772
|
# @return [String]
|
@@ -3374,16 +3824,6 @@ module Aws::Lambda
|
|
3374
3824
|
#
|
3375
3825
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
3376
3826
|
#
|
3377
|
-
# @note When making an API call, you may pass LayerVersionContentInput
|
3378
|
-
# data as a hash:
|
3379
|
-
#
|
3380
|
-
# {
|
3381
|
-
# s3_bucket: "S3Bucket",
|
3382
|
-
# s3_key: "S3Key",
|
3383
|
-
# s3_object_version: "S3ObjectVersion",
|
3384
|
-
# zip_file: "data",
|
3385
|
-
# }
|
3386
|
-
#
|
3387
3827
|
# @!attribute [rw] s3_bucket
|
3388
3828
|
# The Amazon S3 bucket of the layer archive.
|
3389
3829
|
# @return [String]
|
@@ -3478,6 +3918,13 @@ module Aws::Lambda
|
|
3478
3918
|
#
|
3479
3919
|
# @!attribute [rw] compatible_runtimes
|
3480
3920
|
# The layer's compatible runtimes.
|
3921
|
+
#
|
3922
|
+
# The following list includes deprecated runtimes. For more
|
3923
|
+
# information, see [Runtime deprecation policy][1].
|
3924
|
+
#
|
3925
|
+
#
|
3926
|
+
#
|
3927
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
3481
3928
|
# @return [Array<String>]
|
3482
3929
|
#
|
3483
3930
|
# @!attribute [rw] license_info
|
@@ -3534,16 +3981,6 @@ module Aws::Lambda
|
|
3534
3981
|
include Aws::Structure
|
3535
3982
|
end
|
3536
3983
|
|
3537
|
-
# @note When making an API call, you may pass ListAliasesRequest
|
3538
|
-
# data as a hash:
|
3539
|
-
#
|
3540
|
-
# {
|
3541
|
-
# function_name: "FunctionName", # required
|
3542
|
-
# function_version: "Version",
|
3543
|
-
# marker: "String",
|
3544
|
-
# max_items: 1,
|
3545
|
-
# }
|
3546
|
-
#
|
3547
3984
|
# @!attribute [rw] function_name
|
3548
3985
|
# The name of the Lambda function.
|
3549
3986
|
#
|
@@ -3602,14 +4039,6 @@ module Aws::Lambda
|
|
3602
4039
|
include Aws::Structure
|
3603
4040
|
end
|
3604
4041
|
|
3605
|
-
# @note When making an API call, you may pass ListCodeSigningConfigsRequest
|
3606
|
-
# data as a hash:
|
3607
|
-
#
|
3608
|
-
# {
|
3609
|
-
# marker: "String",
|
3610
|
-
# max_items: 1,
|
3611
|
-
# }
|
3612
|
-
#
|
3613
4042
|
# @!attribute [rw] marker
|
3614
4043
|
# Specify the pagination token that's returned by a previous request
|
3615
4044
|
# to retrieve the next page of results.
|
@@ -3645,28 +4074,22 @@ module Aws::Lambda
|
|
3645
4074
|
include Aws::Structure
|
3646
4075
|
end
|
3647
4076
|
|
3648
|
-
# @note When making an API call, you may pass ListEventSourceMappingsRequest
|
3649
|
-
# data as a hash:
|
3650
|
-
#
|
3651
|
-
# {
|
3652
|
-
# event_source_arn: "Arn",
|
3653
|
-
# function_name: "FunctionName",
|
3654
|
-
# marker: "String",
|
3655
|
-
# max_items: 1,
|
3656
|
-
# }
|
3657
|
-
#
|
3658
4077
|
# @!attribute [rw] event_source_arn
|
3659
4078
|
# The Amazon Resource Name (ARN) of the event source.
|
3660
4079
|
#
|
3661
|
-
# * **Amazon Kinesis**
|
4080
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
3662
4081
|
# consumer.
|
3663
4082
|
#
|
3664
|
-
# * **Amazon DynamoDB Streams**
|
4083
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
3665
4084
|
#
|
3666
|
-
# * **Amazon Simple Queue Service**
|
4085
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
3667
4086
|
#
|
3668
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
4087
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
3669
4088
|
# cluster.
|
4089
|
+
#
|
4090
|
+
# * **Amazon MQ** – The ARN of the broker.
|
4091
|
+
#
|
4092
|
+
# * **Amazon DocumentDB** – The ARN of the DocumentDB change stream.
|
3670
4093
|
# @return [String]
|
3671
4094
|
#
|
3672
4095
|
# @!attribute [rw] function_name
|
@@ -3674,15 +4097,15 @@ module Aws::Lambda
|
|
3674
4097
|
#
|
3675
4098
|
# **Name formats**
|
3676
4099
|
#
|
3677
|
-
# * **Function name**
|
4100
|
+
# * **Function name** – `MyFunction`.
|
3678
4101
|
#
|
3679
|
-
# * **Function ARN**
|
4102
|
+
# * **Function ARN** –
|
3680
4103
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
3681
4104
|
#
|
3682
|
-
# * **Version or Alias ARN**
|
4105
|
+
# * **Version or Alias ARN** –
|
3683
4106
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
3684
4107
|
#
|
3685
|
-
# * **Partial ARN**
|
4108
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
3686
4109
|
#
|
3687
4110
|
# The length constraint applies only to the full ARN. If you specify
|
3688
4111
|
# only the function name, it's limited to 64 characters in length.
|
@@ -3727,15 +4150,6 @@ module Aws::Lambda
|
|
3727
4150
|
include Aws::Structure
|
3728
4151
|
end
|
3729
4152
|
|
3730
|
-
# @note When making an API call, you may pass ListFunctionEventInvokeConfigsRequest
|
3731
|
-
# data as a hash:
|
3732
|
-
#
|
3733
|
-
# {
|
3734
|
-
# function_name: "FunctionName", # required
|
3735
|
-
# marker: "String",
|
3736
|
-
# max_items: 1,
|
3737
|
-
# }
|
3738
|
-
#
|
3739
4153
|
# @!attribute [rw] function_name
|
3740
4154
|
# The name of the Lambda function.
|
3741
4155
|
#
|
@@ -3788,15 +4202,60 @@ module Aws::Lambda
|
|
3788
4202
|
include Aws::Structure
|
3789
4203
|
end
|
3790
4204
|
|
3791
|
-
#
|
3792
|
-
#
|
4205
|
+
# @!attribute [rw] function_name
|
4206
|
+
# The name of the Lambda function.
|
4207
|
+
#
|
4208
|
+
# **Name formats**
|
4209
|
+
#
|
4210
|
+
# * **Function name** – `my-function`.
|
4211
|
+
#
|
4212
|
+
# * **Function ARN** –
|
4213
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4214
|
+
#
|
4215
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4216
|
+
#
|
4217
|
+
# The length constraint applies only to the full ARN. If you specify
|
4218
|
+
# only the function name, it is limited to 64 characters in length.
|
4219
|
+
# @return [String]
|
4220
|
+
#
|
4221
|
+
# @!attribute [rw] marker
|
4222
|
+
# Specify the pagination token that's returned by a previous request
|
4223
|
+
# to retrieve the next page of results.
|
4224
|
+
# @return [String]
|
4225
|
+
#
|
4226
|
+
# @!attribute [rw] max_items
|
4227
|
+
# The maximum number of function URLs to return in the response. Note
|
4228
|
+
# that `ListFunctionUrlConfigs` returns a maximum of 50 items in each
|
4229
|
+
# response, even if you set the number higher.
|
4230
|
+
# @return [Integer]
|
4231
|
+
#
|
4232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsRequest AWS API Documentation
|
4233
|
+
#
|
4234
|
+
class ListFunctionUrlConfigsRequest < Struct.new(
|
4235
|
+
:function_name,
|
4236
|
+
:marker,
|
4237
|
+
:max_items)
|
4238
|
+
SENSITIVE = []
|
4239
|
+
include Aws::Structure
|
4240
|
+
end
|
4241
|
+
|
4242
|
+
# @!attribute [rw] function_url_configs
|
4243
|
+
# A list of function URL configurations.
|
4244
|
+
# @return [Array<Types::FunctionUrlConfig>]
|
3793
4245
|
#
|
3794
|
-
#
|
3795
|
-
#
|
3796
|
-
#
|
3797
|
-
#
|
3798
|
-
#
|
4246
|
+
# @!attribute [rw] next_marker
|
4247
|
+
# The pagination token that's included if more results are available.
|
4248
|
+
# @return [String]
|
4249
|
+
#
|
4250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsResponse AWS API Documentation
|
3799
4251
|
#
|
4252
|
+
class ListFunctionUrlConfigsResponse < Struct.new(
|
4253
|
+
:function_url_configs,
|
4254
|
+
:next_marker)
|
4255
|
+
SENSITIVE = []
|
4256
|
+
include Aws::Structure
|
4257
|
+
end
|
4258
|
+
|
3800
4259
|
# @!attribute [rw] code_signing_config_arn
|
3801
4260
|
# The The Amazon Resource Name (ARN) of the code signing
|
3802
4261
|
# configuration.
|
@@ -3838,20 +4297,10 @@ module Aws::Lambda
|
|
3838
4297
|
include Aws::Structure
|
3839
4298
|
end
|
3840
4299
|
|
3841
|
-
# @note When making an API call, you may pass ListFunctionsRequest
|
3842
|
-
# data as a hash:
|
3843
|
-
#
|
3844
|
-
# {
|
3845
|
-
# master_region: "MasterRegion",
|
3846
|
-
# function_version: "ALL", # accepts ALL
|
3847
|
-
# marker: "String",
|
3848
|
-
# max_items: 1,
|
3849
|
-
# }
|
3850
|
-
#
|
3851
4300
|
# @!attribute [rw] master_region
|
3852
4301
|
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
3853
4302
|
# master function. For example, `us-east-1` filters the list of
|
3854
|
-
# functions to only
|
4303
|
+
# functions to include only Lambda@Edge functions replicated from a
|
3855
4304
|
# master function in US East (N. Virginia). If specified, you must set
|
3856
4305
|
# `FunctionVersion` to `ALL`.
|
3857
4306
|
# @return [String]
|
@@ -3902,19 +4351,15 @@ module Aws::Lambda
|
|
3902
4351
|
include Aws::Structure
|
3903
4352
|
end
|
3904
4353
|
|
3905
|
-
# @note When making an API call, you may pass ListLayerVersionsRequest
|
3906
|
-
# data as a hash:
|
3907
|
-
#
|
3908
|
-
# {
|
3909
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3910
|
-
# layer_name: "LayerName", # required
|
3911
|
-
# marker: "String",
|
3912
|
-
# max_items: 1,
|
3913
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3914
|
-
# }
|
3915
|
-
#
|
3916
4354
|
# @!attribute [rw] compatible_runtime
|
3917
4355
|
# A runtime identifier. For example, `go1.x`.
|
4356
|
+
#
|
4357
|
+
# The following list includes deprecated runtimes. For more
|
4358
|
+
# information, see [Runtime deprecation policy][1].
|
4359
|
+
#
|
4360
|
+
#
|
4361
|
+
#
|
4362
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
3918
4363
|
# @return [String]
|
3919
4364
|
#
|
3920
4365
|
# @!attribute [rw] layer_name
|
@@ -3967,18 +4412,15 @@ module Aws::Lambda
|
|
3967
4412
|
include Aws::Structure
|
3968
4413
|
end
|
3969
4414
|
|
3970
|
-
# @note When making an API call, you may pass ListLayersRequest
|
3971
|
-
# data as a hash:
|
3972
|
-
#
|
3973
|
-
# {
|
3974
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3975
|
-
# marker: "String",
|
3976
|
-
# max_items: 1,
|
3977
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3978
|
-
# }
|
3979
|
-
#
|
3980
4415
|
# @!attribute [rw] compatible_runtime
|
3981
4416
|
# A runtime identifier. For example, `go1.x`.
|
4417
|
+
#
|
4418
|
+
# The following list includes deprecated runtimes. For more
|
4419
|
+
# information, see [Runtime deprecation policy][1].
|
4420
|
+
#
|
4421
|
+
#
|
4422
|
+
#
|
4423
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
3982
4424
|
# @return [String]
|
3983
4425
|
#
|
3984
4426
|
# @!attribute [rw] marker
|
@@ -4026,26 +4468,17 @@ module Aws::Lambda
|
|
4026
4468
|
include Aws::Structure
|
4027
4469
|
end
|
4028
4470
|
|
4029
|
-
# @note When making an API call, you may pass ListProvisionedConcurrencyConfigsRequest
|
4030
|
-
# data as a hash:
|
4031
|
-
#
|
4032
|
-
# {
|
4033
|
-
# function_name: "FunctionName", # required
|
4034
|
-
# marker: "String",
|
4035
|
-
# max_items: 1,
|
4036
|
-
# }
|
4037
|
-
#
|
4038
4471
|
# @!attribute [rw] function_name
|
4039
4472
|
# The name of the Lambda function.
|
4040
4473
|
#
|
4041
4474
|
# **Name formats**
|
4042
4475
|
#
|
4043
|
-
# * **Function name**
|
4476
|
+
# * **Function name** – `my-function`.
|
4044
4477
|
#
|
4045
|
-
# * **Function ARN**
|
4478
|
+
# * **Function ARN** –
|
4046
4479
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4047
4480
|
#
|
4048
|
-
# * **Partial ARN**
|
4481
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4049
4482
|
#
|
4050
4483
|
# The length constraint applies only to the full ARN. If you specify
|
4051
4484
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4087,13 +4520,6 @@ module Aws::Lambda
|
|
4087
4520
|
include Aws::Structure
|
4088
4521
|
end
|
4089
4522
|
|
4090
|
-
# @note When making an API call, you may pass ListTagsRequest
|
4091
|
-
# data as a hash:
|
4092
|
-
#
|
4093
|
-
# {
|
4094
|
-
# resource: "FunctionArn", # required
|
4095
|
-
# }
|
4096
|
-
#
|
4097
4523
|
# @!attribute [rw] resource
|
4098
4524
|
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
4099
4525
|
# support adding tags to aliases or versions.
|
@@ -4119,15 +4545,6 @@ module Aws::Lambda
|
|
4119
4545
|
include Aws::Structure
|
4120
4546
|
end
|
4121
4547
|
|
4122
|
-
# @note When making an API call, you may pass ListVersionsByFunctionRequest
|
4123
|
-
# data as a hash:
|
4124
|
-
#
|
4125
|
-
# {
|
4126
|
-
# function_name: "NamespacedFunctionName", # required
|
4127
|
-
# marker: "String",
|
4128
|
-
# max_items: 1,
|
4129
|
-
# }
|
4130
|
-
#
|
4131
4548
|
# @!attribute [rw] function_name
|
4132
4549
|
# The name of the Lambda function.
|
4133
4550
|
#
|
@@ -4184,13 +4601,6 @@ module Aws::Lambda
|
|
4184
4601
|
|
4185
4602
|
# A destination for events that failed processing.
|
4186
4603
|
#
|
4187
|
-
# @note When making an API call, you may pass OnFailure
|
4188
|
-
# data as a hash:
|
4189
|
-
#
|
4190
|
-
# {
|
4191
|
-
# destination: "DestinationArn",
|
4192
|
-
# }
|
4193
|
-
#
|
4194
4604
|
# @!attribute [rw] destination
|
4195
4605
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4196
4606
|
# @return [String]
|
@@ -4205,13 +4615,6 @@ module Aws::Lambda
|
|
4205
4615
|
|
4206
4616
|
# A destination for events that were processed successfully.
|
4207
4617
|
#
|
4208
|
-
# @note When making an API call, you may pass OnSuccess
|
4209
|
-
# data as a hash:
|
4210
|
-
#
|
4211
|
-
# {
|
4212
|
-
# destination: "DestinationArn",
|
4213
|
-
# }
|
4214
|
-
#
|
4215
4618
|
# @!attribute [rw] destination
|
4216
4619
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4217
4620
|
# @return [String]
|
@@ -4224,11 +4627,12 @@ module Aws::Lambda
|
|
4224
4627
|
include Aws::Structure
|
4225
4628
|
end
|
4226
4629
|
|
4227
|
-
# The permissions policy for the resource is too large.
|
4630
|
+
# The permissions policy for the resource is too large. For more
|
4631
|
+
# information, see [Lambda quotas][1].
|
4228
4632
|
#
|
4229
4633
|
#
|
4230
4634
|
#
|
4231
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
4635
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
4232
4636
|
#
|
4233
4637
|
# @!attribute [rw] type
|
4234
4638
|
# @return [String]
|
@@ -4247,7 +4651,7 @@ module Aws::Lambda
|
|
4247
4651
|
|
4248
4652
|
# The RevisionId provided does not match the latest RevisionId for the
|
4249
4653
|
# Lambda function or alias. Call the `GetFunction` or the `GetAlias` API
|
4250
|
-
# to retrieve the latest RevisionId for your resource.
|
4654
|
+
# operation to retrieve the latest RevisionId for your resource.
|
4251
4655
|
#
|
4252
4656
|
# @!attribute [rw] type
|
4253
4657
|
# The exception type.
|
@@ -4282,7 +4686,10 @@ module Aws::Lambda
|
|
4282
4686
|
# @return [Integer]
|
4283
4687
|
#
|
4284
4688
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
4285
|
-
# The amount of provisioned concurrency allocated.
|
4689
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
4690
|
+
# alias is used during linear and canary deployments, this value
|
4691
|
+
# fluctuates depending on the amount of concurrency that is
|
4692
|
+
# provisioned for the function versions.
|
4286
4693
|
# @return [Integer]
|
4287
4694
|
#
|
4288
4695
|
# @!attribute [rw] status
|
@@ -4334,23 +4741,6 @@ module Aws::Lambda
|
|
4334
4741
|
include Aws::Structure
|
4335
4742
|
end
|
4336
4743
|
|
4337
|
-
# @note When making an API call, you may pass PublishLayerVersionRequest
|
4338
|
-
# data as a hash:
|
4339
|
-
#
|
4340
|
-
# {
|
4341
|
-
# layer_name: "LayerName", # required
|
4342
|
-
# description: "Description",
|
4343
|
-
# content: { # required
|
4344
|
-
# s3_bucket: "S3Bucket",
|
4345
|
-
# s3_key: "S3Key",
|
4346
|
-
# s3_object_version: "S3ObjectVersion",
|
4347
|
-
# zip_file: "data",
|
4348
|
-
# },
|
4349
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4350
|
-
# license_info: "LicenseInfo",
|
4351
|
-
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4352
|
-
# }
|
4353
|
-
#
|
4354
4744
|
# @!attribute [rw] layer_name
|
4355
4745
|
# The name or Amazon Resource Name (ARN) of the layer.
|
4356
4746
|
# @return [String]
|
@@ -4367,9 +4757,13 @@ module Aws::Lambda
|
|
4367
4757
|
# A list of compatible [function runtimes][1]. Used for filtering with
|
4368
4758
|
# ListLayers and ListLayerVersions.
|
4369
4759
|
#
|
4760
|
+
# The following list includes deprecated runtimes. For more
|
4761
|
+
# information, see [Runtime deprecation policy][2].
|
4762
|
+
#
|
4370
4763
|
#
|
4371
4764
|
#
|
4372
4765
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
4766
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
4373
4767
|
# @return [Array<String>]
|
4374
4768
|
#
|
4375
4769
|
# @!attribute [rw] license_info
|
@@ -4439,6 +4833,13 @@ module Aws::Lambda
|
|
4439
4833
|
#
|
4440
4834
|
# @!attribute [rw] compatible_runtimes
|
4441
4835
|
# The layer's compatible runtimes.
|
4836
|
+
#
|
4837
|
+
# The following list includes deprecated runtimes. For more
|
4838
|
+
# information, see [Runtime deprecation policy][1].
|
4839
|
+
#
|
4840
|
+
#
|
4841
|
+
#
|
4842
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
4442
4843
|
# @return [Array<String>]
|
4443
4844
|
#
|
4444
4845
|
# @!attribute [rw] license_info
|
@@ -4469,16 +4870,6 @@ module Aws::Lambda
|
|
4469
4870
|
include Aws::Structure
|
4470
4871
|
end
|
4471
4872
|
|
4472
|
-
# @note When making an API call, you may pass PublishVersionRequest
|
4473
|
-
# data as a hash:
|
4474
|
-
#
|
4475
|
-
# {
|
4476
|
-
# function_name: "FunctionName", # required
|
4477
|
-
# code_sha_256: "String",
|
4478
|
-
# description: "Description",
|
4479
|
-
# revision_id: "String",
|
4480
|
-
# }
|
4481
|
-
#
|
4482
4873
|
# @!attribute [rw] function_name
|
4483
4874
|
# The name of the Lambda function.
|
4484
4875
|
#
|
@@ -4525,14 +4916,6 @@ module Aws::Lambda
|
|
4525
4916
|
include Aws::Structure
|
4526
4917
|
end
|
4527
4918
|
|
4528
|
-
# @note When making an API call, you may pass PutFunctionCodeSigningConfigRequest
|
4529
|
-
# data as a hash:
|
4530
|
-
#
|
4531
|
-
# {
|
4532
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4533
|
-
# function_name: "FunctionName", # required
|
4534
|
-
# }
|
4535
|
-
#
|
4536
4919
|
# @!attribute [rw] code_signing_config_arn
|
4537
4920
|
# The The Amazon Resource Name (ARN) of the code signing
|
4538
4921
|
# configuration.
|
@@ -4593,25 +4976,17 @@ module Aws::Lambda
|
|
4593
4976
|
include Aws::Structure
|
4594
4977
|
end
|
4595
4978
|
|
4596
|
-
# @note When making an API call, you may pass PutFunctionConcurrencyRequest
|
4597
|
-
# data as a hash:
|
4598
|
-
#
|
4599
|
-
# {
|
4600
|
-
# function_name: "FunctionName", # required
|
4601
|
-
# reserved_concurrent_executions: 1, # required
|
4602
|
-
# }
|
4603
|
-
#
|
4604
4979
|
# @!attribute [rw] function_name
|
4605
4980
|
# The name of the Lambda function.
|
4606
4981
|
#
|
4607
4982
|
# **Name formats**
|
4608
4983
|
#
|
4609
|
-
# * **Function name**
|
4984
|
+
# * **Function name** – `my-function`.
|
4610
4985
|
#
|
4611
|
-
# * **Function ARN**
|
4986
|
+
# * **Function ARN** –
|
4612
4987
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4613
4988
|
#
|
4614
|
-
# * **Partial ARN**
|
4989
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4615
4990
|
#
|
4616
4991
|
# The length constraint applies only to the full ARN. If you specify
|
4617
4992
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4630,24 +5005,6 @@ module Aws::Lambda
|
|
4630
5005
|
include Aws::Structure
|
4631
5006
|
end
|
4632
5007
|
|
4633
|
-
# @note When making an API call, you may pass PutFunctionEventInvokeConfigRequest
|
4634
|
-
# data as a hash:
|
4635
|
-
#
|
4636
|
-
# {
|
4637
|
-
# function_name: "FunctionName", # required
|
4638
|
-
# qualifier: "Qualifier",
|
4639
|
-
# maximum_retry_attempts: 1,
|
4640
|
-
# maximum_event_age_in_seconds: 1,
|
4641
|
-
# destination_config: {
|
4642
|
-
# on_success: {
|
4643
|
-
# destination: "DestinationArn",
|
4644
|
-
# },
|
4645
|
-
# on_failure: {
|
4646
|
-
# destination: "DestinationArn",
|
4647
|
-
# },
|
4648
|
-
# },
|
4649
|
-
# }
|
4650
|
-
#
|
4651
5008
|
# @!attribute [rw] function_name
|
4652
5009
|
# The name of the Lambda function, version, or alias.
|
4653
5010
|
#
|
@@ -4689,9 +5046,9 @@ module Aws::Lambda
|
|
4689
5046
|
# * **Function** - The Amazon Resource Name (ARN) of a Lambda
|
4690
5047
|
# function.
|
4691
5048
|
#
|
4692
|
-
# * **Queue** - The ARN of
|
5049
|
+
# * **Queue** - The ARN of a standard SQS queue.
|
4693
5050
|
#
|
4694
|
-
# * **Topic** - The ARN of
|
5051
|
+
# * **Topic** - The ARN of a standard SNS topic.
|
4695
5052
|
#
|
4696
5053
|
# * **Event Bus** - The ARN of an Amazon EventBridge event bus.
|
4697
5054
|
# @return [Types::DestinationConfig]
|
@@ -4708,26 +5065,17 @@ module Aws::Lambda
|
|
4708
5065
|
include Aws::Structure
|
4709
5066
|
end
|
4710
5067
|
|
4711
|
-
# @note When making an API call, you may pass PutProvisionedConcurrencyConfigRequest
|
4712
|
-
# data as a hash:
|
4713
|
-
#
|
4714
|
-
# {
|
4715
|
-
# function_name: "FunctionName", # required
|
4716
|
-
# qualifier: "Qualifier", # required
|
4717
|
-
# provisioned_concurrent_executions: 1, # required
|
4718
|
-
# }
|
4719
|
-
#
|
4720
5068
|
# @!attribute [rw] function_name
|
4721
5069
|
# The name of the Lambda function.
|
4722
5070
|
#
|
4723
5071
|
# **Name formats**
|
4724
5072
|
#
|
4725
|
-
# * **Function name**
|
5073
|
+
# * **Function name** – `my-function`.
|
4726
5074
|
#
|
4727
|
-
# * **Function ARN**
|
5075
|
+
# * **Function ARN** –
|
4728
5076
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4729
5077
|
#
|
4730
|
-
# * **Partial ARN**
|
5078
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4731
5079
|
#
|
4732
5080
|
# The length constraint applies only to the full ARN. If you specify
|
4733
5081
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4761,7 +5109,10 @@ module Aws::Lambda
|
|
4761
5109
|
# @return [Integer]
|
4762
5110
|
#
|
4763
5111
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
4764
|
-
# The amount of provisioned concurrency allocated.
|
5112
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
5113
|
+
# alias is used during linear and canary deployments, this value
|
5114
|
+
# fluctuates depending on the amount of concurrency that is
|
5115
|
+
# provisioned for the function versions.
|
4765
5116
|
# @return [Integer]
|
4766
5117
|
#
|
4767
5118
|
# @!attribute [rw] status
|
@@ -4795,75 +5146,172 @@ module Aws::Lambda
|
|
4795
5146
|
include Aws::Structure
|
4796
5147
|
end
|
4797
5148
|
|
4798
|
-
#
|
4799
|
-
#
|
5149
|
+
# @!attribute [rw] function_name
|
5150
|
+
# The name of the Lambda function.
|
4800
5151
|
#
|
4801
|
-
#
|
4802
|
-
# layer_name: "LayerName", # required
|
4803
|
-
# version_number: 1, # required
|
4804
|
-
# statement_id: "StatementId", # required
|
4805
|
-
# revision_id: "String",
|
4806
|
-
# }
|
5152
|
+
# **Name formats**
|
4807
5153
|
#
|
4808
|
-
#
|
4809
|
-
# The name or Amazon Resource Name (ARN) of the layer.
|
4810
|
-
# @return [String]
|
5154
|
+
# * **Function name** – `my-function`.
|
4811
5155
|
#
|
4812
|
-
#
|
4813
|
-
#
|
4814
|
-
# @return [Integer]
|
5156
|
+
# * **Function ARN** –
|
5157
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4815
5158
|
#
|
4816
|
-
#
|
4817
|
-
#
|
5159
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5160
|
+
#
|
5161
|
+
# The length constraint applies only to the full ARN. If you specify
|
5162
|
+
# only the function name, it is limited to 64 characters in length.
|
4818
5163
|
# @return [String]
|
4819
5164
|
#
|
4820
|
-
# @!attribute [rw]
|
4821
|
-
#
|
4822
|
-
#
|
4823
|
-
#
|
5165
|
+
# @!attribute [rw] qualifier
|
5166
|
+
# Specify a version of the function. This can be `$LATEST` or a
|
5167
|
+
# published version number. If no value is specified, the
|
5168
|
+
# configuration for the `$LATEST` version is returned.
|
4824
5169
|
# @return [String]
|
4825
5170
|
#
|
4826
|
-
#
|
5171
|
+
# @!attribute [rw] update_runtime_on
|
5172
|
+
# Specify the runtime update mode.
|
4827
5173
|
#
|
4828
|
-
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
:revision_id)
|
4833
|
-
SENSITIVE = []
|
4834
|
-
include Aws::Structure
|
4835
|
-
end
|
4836
|
-
|
4837
|
-
# @note When making an API call, you may pass RemovePermissionRequest
|
4838
|
-
# data as a hash:
|
5174
|
+
# * **Auto (default)** - Automatically update to the most recent and
|
5175
|
+
# secure runtime version using a [Two-phase runtime version
|
5176
|
+
# rollout][1]. This is the best choice for most customers to ensure
|
5177
|
+
# they always benefit from runtime updates.
|
4839
5178
|
#
|
4840
|
-
#
|
4841
|
-
#
|
4842
|
-
#
|
4843
|
-
#
|
4844
|
-
#
|
4845
|
-
#
|
5179
|
+
# * **Function update** - Lambda updates the runtime of your function
|
5180
|
+
# to the most recent and secure runtime version when you update your
|
5181
|
+
# function. This approach synchronizes runtime updates with function
|
5182
|
+
# deployments, giving you control over when runtime updates are
|
5183
|
+
# applied and allowing you to detect and mitigate rare runtime
|
5184
|
+
# update incompatibilities early. When using this setting, you need
|
5185
|
+
# to regularly update your functions to keep their runtime
|
5186
|
+
# up-to-date.
|
4846
5187
|
#
|
4847
|
-
#
|
4848
|
-
#
|
5188
|
+
# * **Manual** - You specify a runtime version in your function
|
5189
|
+
# configuration. The function will use this runtime version
|
5190
|
+
# indefinitely. In the rare case where a new runtime version is
|
5191
|
+
# incompatible with an existing function, this allows you to roll
|
5192
|
+
# back your function to an earlier runtime version. For more
|
5193
|
+
# information, see [Roll back a runtime version][2].
|
4849
5194
|
#
|
4850
|
-
# **Name formats**
|
4851
5195
|
#
|
4852
|
-
# * **Function name** - `my-function` (name-only), `my-function:v1`
|
4853
|
-
# (with alias).
|
4854
5196
|
#
|
4855
|
-
#
|
4856
|
-
#
|
5197
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase
|
5198
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback
|
5199
|
+
# @return [String]
|
4857
5200
|
#
|
4858
|
-
#
|
5201
|
+
# @!attribute [rw] runtime_version_arn
|
5202
|
+
# The ARN of the runtime version you want the function to use.
|
4859
5203
|
#
|
4860
|
-
#
|
4861
|
-
#
|
4862
|
-
# the function name, it is limited to 64 characters in length.
|
4863
|
-
# @return [String]
|
5204
|
+
# <note markdown="1"> This is only required if you're using the **Manual** runtime update
|
5205
|
+
# mode.
|
4864
5206
|
#
|
4865
|
-
#
|
4866
|
-
#
|
5207
|
+
# </note>
|
5208
|
+
# @return [String]
|
5209
|
+
#
|
5210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfigRequest AWS API Documentation
|
5211
|
+
#
|
5212
|
+
class PutRuntimeManagementConfigRequest < Struct.new(
|
5213
|
+
:function_name,
|
5214
|
+
:qualifier,
|
5215
|
+
:update_runtime_on,
|
5216
|
+
:runtime_version_arn)
|
5217
|
+
SENSITIVE = []
|
5218
|
+
include Aws::Structure
|
5219
|
+
end
|
5220
|
+
|
5221
|
+
# @!attribute [rw] update_runtime_on
|
5222
|
+
# The runtime update mode.
|
5223
|
+
# @return [String]
|
5224
|
+
#
|
5225
|
+
# @!attribute [rw] function_arn
|
5226
|
+
# The ARN of the function
|
5227
|
+
# @return [String]
|
5228
|
+
#
|
5229
|
+
# @!attribute [rw] runtime_version_arn
|
5230
|
+
# The ARN of the runtime the function is configured to use. If the
|
5231
|
+
# runtime update mode is **manual**, the ARN is returned, otherwise
|
5232
|
+
# `null` is returned.
|
5233
|
+
# @return [String]
|
5234
|
+
#
|
5235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfigResponse AWS API Documentation
|
5236
|
+
#
|
5237
|
+
class PutRuntimeManagementConfigResponse < Struct.new(
|
5238
|
+
:update_runtime_on,
|
5239
|
+
:function_arn,
|
5240
|
+
:runtime_version_arn)
|
5241
|
+
SENSITIVE = []
|
5242
|
+
include Aws::Structure
|
5243
|
+
end
|
5244
|
+
|
5245
|
+
# Lambda has detected your function being invoked in a recursive loop
|
5246
|
+
# with other Amazon Web Services resources and stopped your function's
|
5247
|
+
# invocation.
|
5248
|
+
#
|
5249
|
+
# @!attribute [rw] type
|
5250
|
+
# The exception type.
|
5251
|
+
# @return [String]
|
5252
|
+
#
|
5253
|
+
# @!attribute [rw] message
|
5254
|
+
# The exception message.
|
5255
|
+
# @return [String]
|
5256
|
+
#
|
5257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RecursiveInvocationException AWS API Documentation
|
5258
|
+
#
|
5259
|
+
class RecursiveInvocationException < Struct.new(
|
5260
|
+
:type,
|
5261
|
+
:message)
|
5262
|
+
SENSITIVE = []
|
5263
|
+
include Aws::Structure
|
5264
|
+
end
|
5265
|
+
|
5266
|
+
# @!attribute [rw] layer_name
|
5267
|
+
# The name or Amazon Resource Name (ARN) of the layer.
|
5268
|
+
# @return [String]
|
5269
|
+
#
|
5270
|
+
# @!attribute [rw] version_number
|
5271
|
+
# The version number.
|
5272
|
+
# @return [Integer]
|
5273
|
+
#
|
5274
|
+
# @!attribute [rw] statement_id
|
5275
|
+
# The identifier that was specified when the statement was added.
|
5276
|
+
# @return [String]
|
5277
|
+
#
|
5278
|
+
# @!attribute [rw] revision_id
|
5279
|
+
# Only update the policy if the revision ID matches the ID specified.
|
5280
|
+
# Use this option to avoid modifying a policy that has changed since
|
5281
|
+
# you last read it.
|
5282
|
+
# @return [String]
|
5283
|
+
#
|
5284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermissionRequest AWS API Documentation
|
5285
|
+
#
|
5286
|
+
class RemoveLayerVersionPermissionRequest < Struct.new(
|
5287
|
+
:layer_name,
|
5288
|
+
:version_number,
|
5289
|
+
:statement_id,
|
5290
|
+
:revision_id)
|
5291
|
+
SENSITIVE = []
|
5292
|
+
include Aws::Structure
|
5293
|
+
end
|
5294
|
+
|
5295
|
+
# @!attribute [rw] function_name
|
5296
|
+
# The name of the Lambda function, version, or alias.
|
5297
|
+
#
|
5298
|
+
# **Name formats**
|
5299
|
+
#
|
5300
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
5301
|
+
# (with alias).
|
5302
|
+
#
|
5303
|
+
# * **Function ARN** –
|
5304
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5305
|
+
#
|
5306
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5307
|
+
#
|
5308
|
+
# You can append a version number or alias to any of the formats. The
|
5309
|
+
# length constraint applies only to the full ARN. If you specify only
|
5310
|
+
# the function name, it is limited to 64 characters in length.
|
5311
|
+
# @return [String]
|
5312
|
+
#
|
5313
|
+
# @!attribute [rw] statement_id
|
5314
|
+
# Statement ID of the permission to remove.
|
4867
5315
|
# @return [String]
|
4868
5316
|
#
|
4869
5317
|
# @!attribute [rw] qualifier
|
@@ -4872,7 +5320,7 @@ module Aws::Lambda
|
|
4872
5320
|
# @return [String]
|
4873
5321
|
#
|
4874
5322
|
# @!attribute [rw] revision_id
|
4875
|
-
#
|
5323
|
+
# Update the policy only if the revision ID matches the ID that's
|
4876
5324
|
# specified. Use this option to avoid modifying a policy that has
|
4877
5325
|
# changed since you last read it.
|
4878
5326
|
# @return [String]
|
@@ -4889,11 +5337,11 @@ module Aws::Lambda
|
|
4889
5337
|
end
|
4890
5338
|
|
4891
5339
|
# The request payload exceeded the `Invoke` request body JSON input
|
4892
|
-
#
|
5340
|
+
# quota. For more information, see [Lambda quotas][1].
|
4893
5341
|
#
|
4894
5342
|
#
|
4895
5343
|
#
|
4896
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
5344
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
4897
5345
|
#
|
4898
5346
|
# @!attribute [rw] type
|
4899
5347
|
# @return [String]
|
@@ -4930,9 +5378,9 @@ module Aws::Lambda
|
|
4930
5378
|
end
|
4931
5379
|
|
4932
5380
|
# The operation conflicts with the resource's availability. For
|
4933
|
-
# example, you
|
4934
|
-
# or tried to delete
|
4935
|
-
#
|
5381
|
+
# example, you tried to update an event source mapping in the CREATING
|
5382
|
+
# state, or you tried to delete an event source mapping currently
|
5383
|
+
# UPDATING.
|
4936
5384
|
#
|
4937
5385
|
# @!attribute [rw] type
|
4938
5386
|
# @return [String]
|
@@ -4986,16 +5434,63 @@ module Aws::Lambda
|
|
4986
5434
|
include Aws::Structure
|
4987
5435
|
end
|
4988
5436
|
|
4989
|
-
# The
|
5437
|
+
# The ARN of the runtime and any errors that occured.
|
5438
|
+
#
|
5439
|
+
# @!attribute [rw] runtime_version_arn
|
5440
|
+
# The ARN of the runtime version you want the function to use.
|
5441
|
+
# @return [String]
|
5442
|
+
#
|
5443
|
+
# @!attribute [rw] error
|
5444
|
+
# Error response when Lambda is unable to retrieve the runtime version
|
5445
|
+
# for a function.
|
5446
|
+
# @return [Types::RuntimeVersionError]
|
5447
|
+
#
|
5448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RuntimeVersionConfig AWS API Documentation
|
5449
|
+
#
|
5450
|
+
class RuntimeVersionConfig < Struct.new(
|
5451
|
+
:runtime_version_arn,
|
5452
|
+
:error)
|
5453
|
+
SENSITIVE = []
|
5454
|
+
include Aws::Structure
|
5455
|
+
end
|
5456
|
+
|
5457
|
+
# Any error returned when the runtime version information for the
|
5458
|
+
# function could not be retrieved.
|
5459
|
+
#
|
5460
|
+
# @!attribute [rw] error_code
|
5461
|
+
# The error code.
|
5462
|
+
# @return [String]
|
5463
|
+
#
|
5464
|
+
# @!attribute [rw] message
|
5465
|
+
# The error message.
|
5466
|
+
# @return [String]
|
5467
|
+
#
|
5468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RuntimeVersionError AWS API Documentation
|
5469
|
+
#
|
5470
|
+
class RuntimeVersionError < Struct.new(
|
5471
|
+
:error_code,
|
5472
|
+
:message)
|
5473
|
+
SENSITIVE = [:message]
|
5474
|
+
include Aws::Structure
|
5475
|
+
end
|
5476
|
+
|
5477
|
+
# (Amazon SQS only) The scaling configuration for the event source. To
|
5478
|
+
# remove the configuration, pass an empty value.
|
5479
|
+
#
|
5480
|
+
# @!attribute [rw] maximum_concurrency
|
5481
|
+
# Limits the number of concurrent instances that the Amazon SQS event
|
5482
|
+
# source can invoke.
|
5483
|
+
# @return [Integer]
|
4990
5484
|
#
|
4991
|
-
# @
|
4992
|
-
# data as a hash:
|
5485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ScalingConfig AWS API Documentation
|
4993
5486
|
#
|
4994
|
-
|
4995
|
-
|
4996
|
-
|
4997
|
-
|
4998
|
-
|
5487
|
+
class ScalingConfig < Struct.new(
|
5488
|
+
:maximum_concurrency)
|
5489
|
+
SENSITIVE = []
|
5490
|
+
include Aws::Structure
|
5491
|
+
end
|
5492
|
+
|
5493
|
+
# The self-managed Apache Kafka cluster for your event source.
|
4999
5494
|
#
|
5000
5495
|
# @!attribute [rw] endpoints
|
5001
5496
|
# The list of bootstrap servers for your Kafka brokers in the
|
@@ -5011,6 +5506,29 @@ module Aws::Lambda
|
|
5011
5506
|
include Aws::Structure
|
5012
5507
|
end
|
5013
5508
|
|
5509
|
+
# Specific configuration settings for a self-managed Apache Kafka event
|
5510
|
+
# source.
|
5511
|
+
#
|
5512
|
+
# @!attribute [rw] consumer_group_id
|
5513
|
+
# The identifier for the Kafka consumer group to join. The consumer
|
5514
|
+
# group ID must be unique among all your Kafka event sources. After
|
5515
|
+
# creating a Kafka event source mapping with the consumer group ID
|
5516
|
+
# specified, you cannot update this value. For more information, see
|
5517
|
+
# [Customizable consumer group ID][1].
|
5518
|
+
#
|
5519
|
+
#
|
5520
|
+
#
|
5521
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
5522
|
+
# @return [String]
|
5523
|
+
#
|
5524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
|
5525
|
+
#
|
5526
|
+
class SelfManagedKafkaEventSourceConfig < Struct.new(
|
5527
|
+
:consumer_group_id)
|
5528
|
+
SENSITIVE = []
|
5529
|
+
include Aws::Structure
|
5530
|
+
end
|
5531
|
+
|
5014
5532
|
# The Lambda service encountered an internal error.
|
5015
5533
|
#
|
5016
5534
|
# @!attribute [rw] type
|
@@ -5028,55 +5546,160 @@ module Aws::Lambda
|
|
5028
5546
|
include Aws::Structure
|
5029
5547
|
end
|
5030
5548
|
|
5031
|
-
#
|
5032
|
-
#
|
5549
|
+
# The function's [Lambda SnapStart][1] setting. Set `ApplyOn` to
|
5550
|
+
# `PublishedVersions` to create a snapshot of the initialized execution
|
5551
|
+
# environment when you publish a function version.
|
5033
5552
|
#
|
5034
|
-
# @note When making an API call, you may pass SourceAccessConfiguration
|
5035
|
-
# data as a hash:
|
5036
5553
|
#
|
5037
|
-
#
|
5038
|
-
#
|
5039
|
-
#
|
5040
|
-
#
|
5554
|
+
#
|
5555
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5556
|
+
#
|
5557
|
+
# @!attribute [rw] apply_on
|
5558
|
+
# Set to `PublishedVersions` to create a snapshot of the initialized
|
5559
|
+
# execution environment when you publish a function version.
|
5560
|
+
# @return [String]
|
5561
|
+
#
|
5562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStart AWS API Documentation
|
5563
|
+
#
|
5564
|
+
class SnapStart < Struct.new(
|
5565
|
+
:apply_on)
|
5566
|
+
SENSITIVE = []
|
5567
|
+
include Aws::Structure
|
5568
|
+
end
|
5569
|
+
|
5570
|
+
# The `afterRestore()` [runtime hook][1] encountered an error. For more
|
5571
|
+
# information, check the Amazon CloudWatch logs.
|
5572
|
+
#
|
5573
|
+
#
|
5574
|
+
#
|
5575
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html
|
5576
|
+
#
|
5577
|
+
# @!attribute [rw] type
|
5578
|
+
# @return [String]
|
5579
|
+
#
|
5580
|
+
# @!attribute [rw] message
|
5581
|
+
# @return [String]
|
5582
|
+
#
|
5583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartException AWS API Documentation
|
5584
|
+
#
|
5585
|
+
class SnapStartException < Struct.new(
|
5586
|
+
:type,
|
5587
|
+
:message)
|
5588
|
+
SENSITIVE = []
|
5589
|
+
include Aws::Structure
|
5590
|
+
end
|
5591
|
+
|
5592
|
+
# Lambda is initializing your function. You can invoke the function when
|
5593
|
+
# the [function state][1] becomes `Active`.
|
5594
|
+
#
|
5595
|
+
#
|
5596
|
+
#
|
5597
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
|
5598
|
+
#
|
5599
|
+
# @!attribute [rw] type
|
5600
|
+
# @return [String]
|
5601
|
+
#
|
5602
|
+
# @!attribute [rw] message
|
5603
|
+
# @return [String]
|
5604
|
+
#
|
5605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartNotReadyException AWS API Documentation
|
5606
|
+
#
|
5607
|
+
class SnapStartNotReadyException < Struct.new(
|
5608
|
+
:type,
|
5609
|
+
:message)
|
5610
|
+
SENSITIVE = []
|
5611
|
+
include Aws::Structure
|
5612
|
+
end
|
5613
|
+
|
5614
|
+
# The function's [SnapStart][1] setting.
|
5615
|
+
#
|
5616
|
+
#
|
5617
|
+
#
|
5618
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5619
|
+
#
|
5620
|
+
# @!attribute [rw] apply_on
|
5621
|
+
# When set to `PublishedVersions`, Lambda creates a snapshot of the
|
5622
|
+
# execution environment when you publish a function version.
|
5623
|
+
# @return [String]
|
5624
|
+
#
|
5625
|
+
# @!attribute [rw] optimization_status
|
5626
|
+
# When you provide a [qualified Amazon Resource Name (ARN)][1], this
|
5627
|
+
# response element indicates whether SnapStart is activated for the
|
5628
|
+
# specified function version.
|
5629
|
+
#
|
5630
|
+
#
|
5631
|
+
#
|
5632
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using
|
5633
|
+
# @return [String]
|
5634
|
+
#
|
5635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartResponse AWS API Documentation
|
5636
|
+
#
|
5637
|
+
class SnapStartResponse < Struct.new(
|
5638
|
+
:apply_on,
|
5639
|
+
:optimization_status)
|
5640
|
+
SENSITIVE = []
|
5641
|
+
include Aws::Structure
|
5642
|
+
end
|
5643
|
+
|
5644
|
+
# Lambda couldn't restore the snapshot within the timeout limit.
|
5645
|
+
#
|
5646
|
+
# @!attribute [rw] type
|
5647
|
+
# @return [String]
|
5648
|
+
#
|
5649
|
+
# @!attribute [rw] message
|
5650
|
+
# @return [String]
|
5651
|
+
#
|
5652
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartTimeoutException AWS API Documentation
|
5653
|
+
#
|
5654
|
+
class SnapStartTimeoutException < Struct.new(
|
5655
|
+
:type,
|
5656
|
+
:message)
|
5657
|
+
SENSITIVE = []
|
5658
|
+
include Aws::Structure
|
5659
|
+
end
|
5660
|
+
|
5661
|
+
# To secure and define access to your event source, you can specify the
|
5662
|
+
# authentication protocol, VPC components, or virtual host.
|
5041
5663
|
#
|
5042
5664
|
# @!attribute [rw] type
|
5043
5665
|
# The type of authentication protocol, VPC components, or virtual host
|
5044
5666
|
# for your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
5045
5667
|
#
|
5046
|
-
# * `BASIC_AUTH`
|
5668
|
+
# * `BASIC_AUTH` – (Amazon MQ) The Secrets Manager secret that stores
|
5047
5669
|
# your broker credentials.
|
5048
5670
|
#
|
5049
|
-
# * `BASIC_AUTH`
|
5671
|
+
# * `BASIC_AUTH` – (Self-managed Apache Kafka) The Secrets Manager ARN
|
5050
5672
|
# of your secret key used for SASL/PLAIN authentication of your
|
5051
5673
|
# Apache Kafka brokers.
|
5052
5674
|
#
|
5053
|
-
# * `VPC_SUBNET` - The subnets associated
|
5054
|
-
# connects to these subnets to fetch data from
|
5055
|
-
# Apache Kafka cluster.
|
5056
|
-
#
|
5057
|
-
# * `VPC_SECURITY_GROUP` - The VPC security group used to manage
|
5058
|
-
# access to your self-managed Apache Kafka brokers.
|
5675
|
+
# * `VPC_SUBNET` – (Self-managed Apache Kafka) The subnets associated
|
5676
|
+
# with your VPC. Lambda connects to these subnets to fetch data from
|
5677
|
+
# your self-managed Apache Kafka cluster.
|
5059
5678
|
#
|
5060
|
-
# * `
|
5061
|
-
# used
|
5679
|
+
# * `VPC_SECURITY_GROUP` – (Self-managed Apache Kafka) The VPC
|
5680
|
+
# security group used to manage access to your self-managed Apache
|
5062
5681
|
# Kafka brokers.
|
5063
5682
|
#
|
5064
|
-
# * `
|
5065
|
-
# used for SASL SCRAM-
|
5066
|
-
# Kafka brokers.
|
5683
|
+
# * `SASL_SCRAM_256_AUTH` – (Self-managed Apache Kafka) The Secrets
|
5684
|
+
# Manager ARN of your secret key used for SASL SCRAM-256
|
5685
|
+
# authentication of your self-managed Apache Kafka brokers.
|
5686
|
+
#
|
5687
|
+
# * `SASL_SCRAM_512_AUTH` – (Amazon MSK, Self-managed Apache Kafka)
|
5688
|
+
# The Secrets Manager ARN of your secret key used for SASL SCRAM-512
|
5689
|
+
# authentication of your self-managed Apache Kafka brokers.
|
5067
5690
|
#
|
5068
|
-
# * `VIRTUAL_HOST`
|
5691
|
+
# * `VIRTUAL_HOST` –- (RabbitMQ) The name of the virtual host in your
|
5069
5692
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5070
5693
|
# source. This property cannot be specified in an
|
5071
5694
|
# UpdateEventSourceMapping API call.
|
5072
5695
|
#
|
5073
|
-
# * `CLIENT_CERTIFICATE_TLS_AUTH`
|
5696
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` – (Amazon MSK, self-managed Apache
|
5074
5697
|
# Kafka) The Secrets Manager ARN of your secret key containing the
|
5075
5698
|
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
5076
5699
|
# private key password (optional) used for mutual TLS authentication
|
5077
5700
|
# of your MSK/Apache Kafka brokers.
|
5078
5701
|
#
|
5079
|
-
# * `SERVER_ROOT_CA_CERTIFICATE`
|
5702
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` – (Self-managed Apache Kafka) The
|
5080
5703
|
# Secrets Manager ARN of your secret key containing the root CA
|
5081
5704
|
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
5082
5705
|
# Kafka brokers.
|
@@ -5097,8 +5720,8 @@ module Aws::Lambda
|
|
5097
5720
|
include Aws::Structure
|
5098
5721
|
end
|
5099
5722
|
|
5100
|
-
# Lambda
|
5101
|
-
#
|
5723
|
+
# Lambda couldn't set up VPC access for the Lambda function because one
|
5724
|
+
# or more configured subnets has no available IP addresses.
|
5102
5725
|
#
|
5103
5726
|
# @!attribute [rw] type
|
5104
5727
|
# @return [String]
|
@@ -5115,16 +5738,6 @@ module Aws::Lambda
|
|
5115
5738
|
include Aws::Structure
|
5116
5739
|
end
|
5117
5740
|
|
5118
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5119
|
-
# data as a hash:
|
5120
|
-
#
|
5121
|
-
# {
|
5122
|
-
# resource: "FunctionArn", # required
|
5123
|
-
# tags: { # required
|
5124
|
-
# "TagKey" => "TagValue",
|
5125
|
-
# },
|
5126
|
-
# }
|
5127
|
-
#
|
5128
5741
|
# @!attribute [rw] resource
|
5129
5742
|
# The function's Amazon Resource Name (ARN).
|
5130
5743
|
# @return [String]
|
@@ -5142,7 +5755,12 @@ module Aws::Lambda
|
|
5142
5755
|
include Aws::Structure
|
5143
5756
|
end
|
5144
5757
|
|
5145
|
-
# The request throughput limit was exceeded.
|
5758
|
+
# The request throughput limit was exceeded. For more information, see
|
5759
|
+
# [Lambda quotas][1].
|
5760
|
+
#
|
5761
|
+
#
|
5762
|
+
#
|
5763
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests
|
5146
5764
|
#
|
5147
5765
|
# @!attribute [rw] retry_after_seconds
|
5148
5766
|
# The number of seconds the caller should wait before retrying.
|
@@ -5175,13 +5793,6 @@ module Aws::Lambda
|
|
5175
5793
|
#
|
5176
5794
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5177
5795
|
#
|
5178
|
-
# @note When making an API call, you may pass TracingConfig
|
5179
|
-
# data as a hash:
|
5180
|
-
#
|
5181
|
-
# {
|
5182
|
-
# mode: "Active", # accepts Active, PassThrough
|
5183
|
-
# }
|
5184
|
-
#
|
5185
5796
|
# @!attribute [rw] mode
|
5186
5797
|
# The tracing mode.
|
5187
5798
|
# @return [String]
|
@@ -5225,14 +5836,6 @@ module Aws::Lambda
|
|
5225
5836
|
include Aws::Structure
|
5226
5837
|
end
|
5227
5838
|
|
5228
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
5229
|
-
# data as a hash:
|
5230
|
-
#
|
5231
|
-
# {
|
5232
|
-
# resource: "FunctionArn", # required
|
5233
|
-
# tag_keys: ["TagKey"], # required
|
5234
|
-
# }
|
5235
|
-
#
|
5236
5839
|
# @!attribute [rw] resource
|
5237
5840
|
# The function's Amazon Resource Name (ARN).
|
5238
5841
|
# @return [String]
|
@@ -5250,22 +5853,6 @@ module Aws::Lambda
|
|
5250
5853
|
include Aws::Structure
|
5251
5854
|
end
|
5252
5855
|
|
5253
|
-
# @note When making an API call, you may pass UpdateAliasRequest
|
5254
|
-
# data as a hash:
|
5255
|
-
#
|
5256
|
-
# {
|
5257
|
-
# function_name: "FunctionName", # required
|
5258
|
-
# name: "Alias", # required
|
5259
|
-
# function_version: "Version",
|
5260
|
-
# description: "Description",
|
5261
|
-
# routing_config: {
|
5262
|
-
# additional_version_weights: {
|
5263
|
-
# "AdditionalVersion" => 1.0,
|
5264
|
-
# },
|
5265
|
-
# },
|
5266
|
-
# revision_id: "String",
|
5267
|
-
# }
|
5268
|
-
#
|
5269
5856
|
# @!attribute [rw] function_name
|
5270
5857
|
# The name of the Lambda function.
|
5271
5858
|
#
|
@@ -5321,20 +5908,6 @@ module Aws::Lambda
|
|
5321
5908
|
include Aws::Structure
|
5322
5909
|
end
|
5323
5910
|
|
5324
|
-
# @note When making an API call, you may pass UpdateCodeSigningConfigRequest
|
5325
|
-
# data as a hash:
|
5326
|
-
#
|
5327
|
-
# {
|
5328
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
5329
|
-
# description: "Description",
|
5330
|
-
# allowed_publishers: {
|
5331
|
-
# signing_profile_version_arns: ["Arn"], # required
|
5332
|
-
# },
|
5333
|
-
# code_signing_policies: {
|
5334
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
5335
|
-
# },
|
5336
|
-
# }
|
5337
|
-
#
|
5338
5911
|
# @!attribute [rw] code_signing_config_arn
|
5339
5912
|
# The The Amazon Resource Name (ARN) of the code signing
|
5340
5913
|
# configuration.
|
@@ -5375,44 +5948,6 @@ module Aws::Lambda
|
|
5375
5948
|
include Aws::Structure
|
5376
5949
|
end
|
5377
5950
|
|
5378
|
-
# @note When making an API call, you may pass UpdateEventSourceMappingRequest
|
5379
|
-
# data as a hash:
|
5380
|
-
#
|
5381
|
-
# {
|
5382
|
-
# uuid: "String", # required
|
5383
|
-
# function_name: "FunctionName",
|
5384
|
-
# enabled: false,
|
5385
|
-
# batch_size: 1,
|
5386
|
-
# filter_criteria: {
|
5387
|
-
# filters: [
|
5388
|
-
# {
|
5389
|
-
# pattern: "Pattern",
|
5390
|
-
# },
|
5391
|
-
# ],
|
5392
|
-
# },
|
5393
|
-
# maximum_batching_window_in_seconds: 1,
|
5394
|
-
# destination_config: {
|
5395
|
-
# on_success: {
|
5396
|
-
# destination: "DestinationArn",
|
5397
|
-
# },
|
5398
|
-
# on_failure: {
|
5399
|
-
# destination: "DestinationArn",
|
5400
|
-
# },
|
5401
|
-
# },
|
5402
|
-
# maximum_record_age_in_seconds: 1,
|
5403
|
-
# bisect_batch_on_function_error: false,
|
5404
|
-
# maximum_retry_attempts: 1,
|
5405
|
-
# parallelization_factor: 1,
|
5406
|
-
# source_access_configurations: [
|
5407
|
-
# {
|
5408
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
5409
|
-
# uri: "URI",
|
5410
|
-
# },
|
5411
|
-
# ],
|
5412
|
-
# tumbling_window_in_seconds: 1,
|
5413
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
5414
|
-
# }
|
5415
|
-
#
|
5416
5951
|
# @!attribute [rw] uuid
|
5417
5952
|
# The identifier of the event source mapping.
|
5418
5953
|
# @return [String]
|
@@ -5422,15 +5957,15 @@ module Aws::Lambda
|
|
5422
5957
|
#
|
5423
5958
|
# **Name formats**
|
5424
5959
|
#
|
5425
|
-
# * **Function name**
|
5960
|
+
# * **Function name** – `MyFunction`.
|
5426
5961
|
#
|
5427
|
-
# * **Function ARN**
|
5962
|
+
# * **Function ARN** –
|
5428
5963
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
5429
5964
|
#
|
5430
|
-
# * **Version or Alias ARN**
|
5965
|
+
# * **Version or Alias ARN** –
|
5431
5966
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
5432
5967
|
#
|
5433
|
-
# * **Partial ARN**
|
5968
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
5434
5969
|
#
|
5435
5970
|
# The length constraint applies only to the full ARN. If you specify
|
5436
5971
|
# only the function name, it's limited to 64 characters in length.
|
@@ -5449,25 +5984,27 @@ module Aws::Lambda
|
|
5449
5984
|
# of the records in the batch to the function in a single call, up to
|
5450
5985
|
# the payload limit for synchronous invocation (6 MB).
|
5451
5986
|
#
|
5452
|
-
# * **Amazon Kinesis**
|
5987
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
5453
5988
|
#
|
5454
|
-
# * **Amazon DynamoDB Streams**
|
5989
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
5455
5990
|
#
|
5456
|
-
# * **Amazon Simple Queue Service**
|
5991
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
5457
5992
|
# the max is 10,000. For FIFO queues the max is 10.
|
5458
5993
|
#
|
5459
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
5994
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
5460
5995
|
# 10,000.
|
5461
5996
|
#
|
5462
|
-
# * **Self-
|
5997
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
5998
|
+
#
|
5999
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
5463
6000
|
#
|
5464
|
-
# * **
|
6001
|
+
# * **DocumentDB** – Default 100. Max 10,000.
|
5465
6002
|
# @return [Integer]
|
5466
6003
|
#
|
5467
6004
|
# @!attribute [rw] filter_criteria
|
5468
|
-
#
|
5469
|
-
#
|
5470
|
-
#
|
6005
|
+
# An object that defines the filter criteria that determine whether
|
6006
|
+
# Lambda should process an event. For more information, see [Lambda
|
6007
|
+
# event filtering][1].
|
5471
6008
|
#
|
5472
6009
|
#
|
5473
6010
|
#
|
@@ -5475,40 +6012,50 @@ module Aws::Lambda
|
|
5475
6012
|
# @return [Types::FilterCriteria]
|
5476
6013
|
#
|
5477
6014
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5478
|
-
#
|
5479
|
-
#
|
5480
|
-
#
|
5481
|
-
#
|
5482
|
-
#
|
5483
|
-
#
|
5484
|
-
#
|
5485
|
-
#
|
6015
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
6016
|
+
# records before invoking the function. You can configure
|
6017
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
6018
|
+
# seconds in increments of seconds.
|
6019
|
+
#
|
6020
|
+
# For streams and Amazon SQS event sources, the default batching
|
6021
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
6022
|
+
# Amazon MQ, and DocumentDB event sources, the default batching window
|
6023
|
+
# is 500 ms. Note that because you can only change
|
6024
|
+
# `MaximumBatchingWindowInSeconds` in increments of seconds, you
|
6025
|
+
# cannot revert back to the 500 ms default batching window after you
|
6026
|
+
# have changed it. To restore the default batching window, you must
|
6027
|
+
# create a new event source mapping.
|
6028
|
+
#
|
6029
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
6030
|
+
# set `BatchSize` to a value greater than 10, you must set
|
6031
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
5486
6032
|
# @return [Integer]
|
5487
6033
|
#
|
5488
6034
|
# @!attribute [rw] destination_config
|
5489
|
-
# (Streams only)
|
5490
|
-
# for discarded records.
|
6035
|
+
# (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
|
6036
|
+
# standard Amazon SNS topic destination for discarded records.
|
5491
6037
|
# @return [Types::DestinationConfig]
|
5492
6038
|
#
|
5493
6039
|
# @!attribute [rw] maximum_record_age_in_seconds
|
5494
|
-
# (Streams only) Discard records older than the
|
5495
|
-
# default value is infinite (-1).
|
6040
|
+
# (Kinesis and DynamoDB Streams only) Discard records older than the
|
6041
|
+
# specified age. The default value is infinite (-1).
|
5496
6042
|
# @return [Integer]
|
5497
6043
|
#
|
5498
6044
|
# @!attribute [rw] bisect_batch_on_function_error
|
5499
|
-
# (Streams only) If the function returns an
|
5500
|
-
# two and retry.
|
6045
|
+
# (Kinesis and DynamoDB Streams only) If the function returns an
|
6046
|
+
# error, split the batch in two and retry.
|
5501
6047
|
# @return [Boolean]
|
5502
6048
|
#
|
5503
6049
|
# @!attribute [rw] maximum_retry_attempts
|
5504
|
-
# (Streams only) Discard records after the
|
5505
|
-
# retries. The default value is infinite (-1).
|
5506
|
-
# (-1), failed records
|
6050
|
+
# (Kinesis and DynamoDB Streams only) Discard records after the
|
6051
|
+
# specified number of retries. The default value is infinite (-1).
|
6052
|
+
# When set to infinite (-1), failed records are retried until the
|
6053
|
+
# record expires.
|
5507
6054
|
# @return [Integer]
|
5508
6055
|
#
|
5509
6056
|
# @!attribute [rw] parallelization_factor
|
5510
|
-
# (Streams only) The number of batches to process
|
5511
|
-
# concurrently.
|
6057
|
+
# (Kinesis and DynamoDB Streams only) The number of batches to process
|
6058
|
+
# from each shard concurrently.
|
5512
6059
|
# @return [Integer]
|
5513
6060
|
#
|
5514
6061
|
# @!attribute [rw] source_access_configurations
|
@@ -5517,15 +6064,30 @@ module Aws::Lambda
|
|
5517
6064
|
# @return [Array<Types::SourceAccessConfiguration>]
|
5518
6065
|
#
|
5519
6066
|
# @!attribute [rw] tumbling_window_in_seconds
|
5520
|
-
# (Streams only) The duration in seconds of a
|
5521
|
-
#
|
6067
|
+
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
|
6068
|
+
# processing window for DynamoDB and Kinesis Streams event sources. A
|
6069
|
+
# value of 0 seconds indicates no tumbling window.
|
5522
6070
|
# @return [Integer]
|
5523
6071
|
#
|
5524
6072
|
# @!attribute [rw] function_response_types
|
5525
|
-
# (Streams and Amazon SQS) A list of current
|
5526
|
-
# applied to the event source mapping.
|
6073
|
+
# (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
|
6074
|
+
# response type enums applied to the event source mapping.
|
5527
6075
|
# @return [Array<String>]
|
5528
6076
|
#
|
6077
|
+
# @!attribute [rw] scaling_config
|
6078
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
6079
|
+
# For more information, see [Configuring maximum concurrency for
|
6080
|
+
# Amazon SQS event sources][1].
|
6081
|
+
#
|
6082
|
+
#
|
6083
|
+
#
|
6084
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
6085
|
+
# @return [Types::ScalingConfig]
|
6086
|
+
#
|
6087
|
+
# @!attribute [rw] document_db_event_source_config
|
6088
|
+
# Specific configuration settings for a DocumentDB event source.
|
6089
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
6090
|
+
#
|
5529
6091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
5530
6092
|
#
|
5531
6093
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -5542,38 +6104,24 @@ module Aws::Lambda
|
|
5542
6104
|
:parallelization_factor,
|
5543
6105
|
:source_access_configurations,
|
5544
6106
|
:tumbling_window_in_seconds,
|
5545
|
-
:function_response_types
|
6107
|
+
:function_response_types,
|
6108
|
+
:scaling_config,
|
6109
|
+
:document_db_event_source_config)
|
5546
6110
|
SENSITIVE = []
|
5547
6111
|
include Aws::Structure
|
5548
6112
|
end
|
5549
6113
|
|
5550
|
-
# @note When making an API call, you may pass UpdateFunctionCodeRequest
|
5551
|
-
# data as a hash:
|
5552
|
-
#
|
5553
|
-
# {
|
5554
|
-
# function_name: "FunctionName", # required
|
5555
|
-
# zip_file: "data",
|
5556
|
-
# s3_bucket: "S3Bucket",
|
5557
|
-
# s3_key: "S3Key",
|
5558
|
-
# s3_object_version: "S3ObjectVersion",
|
5559
|
-
# image_uri: "String",
|
5560
|
-
# publish: false,
|
5561
|
-
# dry_run: false,
|
5562
|
-
# revision_id: "String",
|
5563
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
5564
|
-
# }
|
5565
|
-
#
|
5566
6114
|
# @!attribute [rw] function_name
|
5567
6115
|
# The name of the Lambda function.
|
5568
6116
|
#
|
5569
6117
|
# **Name formats**
|
5570
6118
|
#
|
5571
|
-
# * **Function name**
|
6119
|
+
# * **Function name** – `my-function`.
|
5572
6120
|
#
|
5573
|
-
# * **Function ARN**
|
6121
|
+
# * **Function ARN** –
|
5574
6122
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5575
6123
|
#
|
5576
|
-
# * **Partial ARN**
|
6124
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5577
6125
|
#
|
5578
6126
|
# The length constraint applies only to the full ARN. If you specify
|
5579
6127
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5581,18 +6129,20 @@ module Aws::Lambda
|
|
5581
6129
|
#
|
5582
6130
|
# @!attribute [rw] zip_file
|
5583
6131
|
# The base64-encoded contents of the deployment package. Amazon Web
|
5584
|
-
# Services SDK and
|
5585
|
-
#
|
6132
|
+
# Services SDK and CLI clients handle the encoding for you. Use only
|
6133
|
+
# with a function defined with a .zip file archive deployment package.
|
5586
6134
|
# @return [String]
|
5587
6135
|
#
|
5588
6136
|
# @!attribute [rw] s3_bucket
|
5589
6137
|
# An Amazon S3 bucket in the same Amazon Web Services Region as your
|
5590
6138
|
# function. The bucket can be in a different Amazon Web Services
|
5591
|
-
# account.
|
6139
|
+
# account. Use only with a function defined with a .zip file archive
|
6140
|
+
# deployment package.
|
5592
6141
|
# @return [String]
|
5593
6142
|
#
|
5594
6143
|
# @!attribute [rw] s3_key
|
5595
|
-
# The Amazon S3 key of the deployment package.
|
6144
|
+
# The Amazon S3 key of the deployment package. Use only with a
|
6145
|
+
# function defined with a .zip file archive deployment package.
|
5596
6146
|
# @return [String]
|
5597
6147
|
#
|
5598
6148
|
# @!attribute [rw] s3_object_version
|
@@ -5601,7 +6151,8 @@ module Aws::Lambda
|
|
5601
6151
|
# @return [String]
|
5602
6152
|
#
|
5603
6153
|
# @!attribute [rw] image_uri
|
5604
|
-
# URI of a container image in the Amazon ECR registry.
|
6154
|
+
# URI of a container image in the Amazon ECR registry. Do not use for
|
6155
|
+
# a function defined with a .zip file archive.
|
5605
6156
|
# @return [String]
|
5606
6157
|
#
|
5607
6158
|
# @!attribute [rw] publish
|
@@ -5616,7 +6167,7 @@ module Aws::Lambda
|
|
5616
6167
|
# @return [Boolean]
|
5617
6168
|
#
|
5618
6169
|
# @!attribute [rw] revision_id
|
5619
|
-
#
|
6170
|
+
# Update the function only if the revision ID matches the ID that's
|
5620
6171
|
# specified. Use this option to avoid modifying a function that has
|
5621
6172
|
# changed since you last read it.
|
5622
6173
|
# @return [String]
|
@@ -5644,59 +6195,17 @@ module Aws::Lambda
|
|
5644
6195
|
include Aws::Structure
|
5645
6196
|
end
|
5646
6197
|
|
5647
|
-
# @note When making an API call, you may pass UpdateFunctionConfigurationRequest
|
5648
|
-
# data as a hash:
|
5649
|
-
#
|
5650
|
-
# {
|
5651
|
-
# function_name: "FunctionName", # required
|
5652
|
-
# role: "RoleArn",
|
5653
|
-
# handler: "Handler",
|
5654
|
-
# description: "Description",
|
5655
|
-
# timeout: 1,
|
5656
|
-
# memory_size: 1,
|
5657
|
-
# vpc_config: {
|
5658
|
-
# subnet_ids: ["SubnetId"],
|
5659
|
-
# security_group_ids: ["SecurityGroupId"],
|
5660
|
-
# },
|
5661
|
-
# environment: {
|
5662
|
-
# variables: {
|
5663
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
5664
|
-
# },
|
5665
|
-
# },
|
5666
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
5667
|
-
# dead_letter_config: {
|
5668
|
-
# target_arn: "ResourceArn",
|
5669
|
-
# },
|
5670
|
-
# kms_key_arn: "KMSKeyArn",
|
5671
|
-
# tracing_config: {
|
5672
|
-
# mode: "Active", # accepts Active, PassThrough
|
5673
|
-
# },
|
5674
|
-
# revision_id: "String",
|
5675
|
-
# layers: ["LayerVersionArn"],
|
5676
|
-
# file_system_configs: [
|
5677
|
-
# {
|
5678
|
-
# arn: "FileSystemArn", # required
|
5679
|
-
# local_mount_path: "LocalMountPath", # required
|
5680
|
-
# },
|
5681
|
-
# ],
|
5682
|
-
# image_config: {
|
5683
|
-
# entry_point: ["String"],
|
5684
|
-
# command: ["String"],
|
5685
|
-
# working_directory: "WorkingDirectory",
|
5686
|
-
# },
|
5687
|
-
# }
|
5688
|
-
#
|
5689
6198
|
# @!attribute [rw] function_name
|
5690
6199
|
# The name of the Lambda function.
|
5691
6200
|
#
|
5692
6201
|
# **Name formats**
|
5693
6202
|
#
|
5694
|
-
# * **Function name**
|
6203
|
+
# * **Function name** – `my-function`.
|
5695
6204
|
#
|
5696
|
-
# * **Function ARN**
|
6205
|
+
# * **Function ARN** –
|
5697
6206
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5698
6207
|
#
|
5699
|
-
# * **Partial ARN**
|
6208
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5700
6209
|
#
|
5701
6210
|
# The length constraint applies only to the full ARN. If you specify
|
5702
6211
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5707,15 +6216,15 @@ module Aws::Lambda
|
|
5707
6216
|
# @return [String]
|
5708
6217
|
#
|
5709
6218
|
# @!attribute [rw] handler
|
5710
|
-
# The name of the method within your code that Lambda calls to
|
6219
|
+
# The name of the method within your code that Lambda calls to run
|
5711
6220
|
# your function. Handler is required if the deployment package is a
|
5712
6221
|
# .zip file archive. The format includes the file name. It can also
|
5713
6222
|
# include namespaces and other qualifiers, depending on the runtime.
|
5714
|
-
# For more information, see [
|
6223
|
+
# For more information, see [Lambda programming model][1].
|
5715
6224
|
#
|
5716
6225
|
#
|
5717
6226
|
#
|
5718
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
6227
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
5719
6228
|
# @return [String]
|
5720
6229
|
#
|
5721
6230
|
# @!attribute [rw] description
|
@@ -5725,8 +6234,8 @@ module Aws::Lambda
|
|
5725
6234
|
# @!attribute [rw] timeout
|
5726
6235
|
# The amount of time (in seconds) that Lambda allows a function to run
|
5727
6236
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
5728
|
-
# value is 900 seconds. For
|
5729
|
-
#
|
6237
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
6238
|
+
# environment][1].
|
5730
6239
|
#
|
5731
6240
|
#
|
5732
6241
|
#
|
@@ -5740,15 +6249,15 @@ module Aws::Lambda
|
|
5740
6249
|
#
|
5741
6250
|
#
|
5742
6251
|
#
|
5743
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
6252
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
5744
6253
|
# @return [Integer]
|
5745
6254
|
#
|
5746
6255
|
# @!attribute [rw] vpc_config
|
5747
6256
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
5748
6257
|
# specify a list of security groups and subnets in the VPC. When you
|
5749
|
-
# connect a function to a VPC, it can
|
5750
|
-
# internet through that VPC. For more information, see
|
5751
|
-
#
|
6258
|
+
# connect a function to a VPC, it can access resources and the
|
6259
|
+
# internet only through that VPC. For more information, see
|
6260
|
+
# [Configuring a Lambda function to access resources in a VPC][1].
|
5752
6261
|
#
|
5753
6262
|
#
|
5754
6263
|
#
|
@@ -5764,25 +6273,40 @@ module Aws::Lambda
|
|
5764
6273
|
# The identifier of the function's [runtime][1]. Runtime is required
|
5765
6274
|
# if the deployment package is a .zip file archive.
|
5766
6275
|
#
|
6276
|
+
# The following list includes deprecated runtimes. For more
|
6277
|
+
# information, see [Runtime deprecation policy][2].
|
6278
|
+
#
|
5767
6279
|
#
|
5768
6280
|
#
|
5769
6281
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
6282
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
5770
6283
|
# @return [String]
|
5771
6284
|
#
|
5772
6285
|
# @!attribute [rw] dead_letter_config
|
5773
|
-
# A dead
|
6286
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
5774
6287
|
# where Lambda sends asynchronous events when they fail processing.
|
5775
|
-
# For more information, see [Dead
|
6288
|
+
# For more information, see [Dead-letter queues][1].
|
5776
6289
|
#
|
5777
6290
|
#
|
5778
6291
|
#
|
5779
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
6292
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
5780
6293
|
# @return [Types::DeadLetterConfig]
|
5781
6294
|
#
|
5782
6295
|
# @!attribute [rw] kms_key_arn
|
5783
|
-
# The ARN of the
|
5784
|
-
# that's used to encrypt your function's environment variables.
|
5785
|
-
#
|
6296
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
6297
|
+
# that's used to encrypt your function's [environment variables][1].
|
6298
|
+
# When [Lambda SnapStart][2] is activated, Lambda also uses this key
|
6299
|
+
# is to encrypt your function's snapshot. If you deploy your function
|
6300
|
+
# using a container image, Lambda also uses this key to encrypt your
|
6301
|
+
# function when it's deployed. Note that this is not the same key
|
6302
|
+
# that's used to protect your container image in the Amazon Elastic
|
6303
|
+
# Container Registry (Amazon ECR). If you don't provide a customer
|
6304
|
+
# managed key, Lambda uses a default service key.
|
6305
|
+
#
|
6306
|
+
#
|
6307
|
+
#
|
6308
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
6309
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
5786
6310
|
# @return [String]
|
5787
6311
|
#
|
5788
6312
|
# @!attribute [rw] tracing_config
|
@@ -5795,7 +6319,7 @@ module Aws::Lambda
|
|
5795
6319
|
# @return [Types::TracingConfig]
|
5796
6320
|
#
|
5797
6321
|
# @!attribute [rw] revision_id
|
5798
|
-
#
|
6322
|
+
# Update the function only if the revision ID matches the ID that's
|
5799
6323
|
# specified. Use this option to avoid modifying a function that has
|
5800
6324
|
# changed since you last read it.
|
5801
6325
|
# @return [String]
|
@@ -5822,6 +6346,25 @@ module Aws::Lambda
|
|
5822
6346
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5823
6347
|
# @return [Types::ImageConfig]
|
5824
6348
|
#
|
6349
|
+
# @!attribute [rw] ephemeral_storage
|
6350
|
+
# The size of the function's `/tmp` directory in MB. The default
|
6351
|
+
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
6352
|
+
# For more information, see [Configuring ephemeral storage
|
6353
|
+
# (console)][1].
|
6354
|
+
#
|
6355
|
+
#
|
6356
|
+
#
|
6357
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
|
6358
|
+
# @return [Types::EphemeralStorage]
|
6359
|
+
#
|
6360
|
+
# @!attribute [rw] snap_start
|
6361
|
+
# The function's [SnapStart][1] setting.
|
6362
|
+
#
|
6363
|
+
#
|
6364
|
+
#
|
6365
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
6366
|
+
# @return [Types::SnapStart]
|
6367
|
+
#
|
5825
6368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
5826
6369
|
#
|
5827
6370
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
@@ -5840,29 +6383,13 @@ module Aws::Lambda
|
|
5840
6383
|
:revision_id,
|
5841
6384
|
:layers,
|
5842
6385
|
:file_system_configs,
|
5843
|
-
:image_config
|
6386
|
+
:image_config,
|
6387
|
+
:ephemeral_storage,
|
6388
|
+
:snap_start)
|
5844
6389
|
SENSITIVE = []
|
5845
6390
|
include Aws::Structure
|
5846
6391
|
end
|
5847
6392
|
|
5848
|
-
# @note When making an API call, you may pass UpdateFunctionEventInvokeConfigRequest
|
5849
|
-
# data as a hash:
|
5850
|
-
#
|
5851
|
-
# {
|
5852
|
-
# function_name: "FunctionName", # required
|
5853
|
-
# qualifier: "Qualifier",
|
5854
|
-
# maximum_retry_attempts: 1,
|
5855
|
-
# maximum_event_age_in_seconds: 1,
|
5856
|
-
# destination_config: {
|
5857
|
-
# on_success: {
|
5858
|
-
# destination: "DestinationArn",
|
5859
|
-
# },
|
5860
|
-
# on_failure: {
|
5861
|
-
# destination: "DestinationArn",
|
5862
|
-
# },
|
5863
|
-
# },
|
5864
|
-
# }
|
5865
|
-
#
|
5866
6393
|
# @!attribute [rw] function_name
|
5867
6394
|
# The name of the Lambda function, version, or alias.
|
5868
6395
|
#
|
@@ -5904,9 +6431,9 @@ module Aws::Lambda
|
|
5904
6431
|
# * **Function** - The Amazon Resource Name (ARN) of a Lambda
|
5905
6432
|
# function.
|
5906
6433
|
#
|
5907
|
-
# * **Queue** - The ARN of
|
6434
|
+
# * **Queue** - The ARN of a standard SQS queue.
|
5908
6435
|
#
|
5909
|
-
# * **Topic** - The ARN of
|
6436
|
+
# * **Topic** - The ARN of a standard SNS topic.
|
5910
6437
|
#
|
5911
6438
|
# * **Event Bus** - The ARN of an Amazon EventBridge event bus.
|
5912
6439
|
# @return [Types::DestinationConfig]
|
@@ -5923,34 +6450,185 @@ module Aws::Lambda
|
|
5923
6450
|
include Aws::Structure
|
5924
6451
|
end
|
5925
6452
|
|
5926
|
-
#
|
5927
|
-
#
|
6453
|
+
# @!attribute [rw] function_name
|
6454
|
+
# The name of the Lambda function.
|
5928
6455
|
#
|
6456
|
+
# **Name formats**
|
5929
6457
|
#
|
6458
|
+
# * **Function name** – `my-function`.
|
6459
|
+
#
|
6460
|
+
# * **Function ARN** –
|
6461
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
6462
|
+
#
|
6463
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
6464
|
+
#
|
6465
|
+
# The length constraint applies only to the full ARN. If you specify
|
6466
|
+
# only the function name, it is limited to 64 characters in length.
|
6467
|
+
# @return [String]
|
6468
|
+
#
|
6469
|
+
# @!attribute [rw] qualifier
|
6470
|
+
# The alias name.
|
6471
|
+
# @return [String]
|
6472
|
+
#
|
6473
|
+
# @!attribute [rw] auth_type
|
6474
|
+
# The type of authentication that your function URL uses. Set to
|
6475
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
6476
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
6477
|
+
# create a public endpoint. For more information, see [Security and
|
6478
|
+
# auth model for Lambda function URLs][1].
|
6479
|
+
#
|
6480
|
+
#
|
6481
|
+
#
|
6482
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
6483
|
+
# @return [String]
|
6484
|
+
#
|
6485
|
+
# @!attribute [rw] cors
|
6486
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
6487
|
+
# function URL.
|
6488
|
+
#
|
6489
|
+
#
|
6490
|
+
#
|
6491
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
6492
|
+
# @return [Types::Cors]
|
6493
|
+
#
|
6494
|
+
# @!attribute [rw] invoke_mode
|
6495
|
+
# Use one of the following options:
|
6496
|
+
#
|
6497
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
6498
|
+
# function using the `Invoke` API operation. Invocation results are
|
6499
|
+
# available when the payload is complete. The maximum payload size
|
6500
|
+
# is 6 MB.
|
6501
|
+
#
|
6502
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
6503
|
+
# become available. Lambda invokes your function using the
|
6504
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
6505
|
+
# payload size is 20 MB, however, you can [request a quota
|
6506
|
+
# increase][1].
|
6507
|
+
#
|
6508
|
+
#
|
6509
|
+
#
|
6510
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
6511
|
+
# @return [String]
|
6512
|
+
#
|
6513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
|
6514
|
+
#
|
6515
|
+
class UpdateFunctionUrlConfigRequest < Struct.new(
|
6516
|
+
:function_name,
|
6517
|
+
:qualifier,
|
6518
|
+
:auth_type,
|
6519
|
+
:cors,
|
6520
|
+
:invoke_mode)
|
6521
|
+
SENSITIVE = []
|
6522
|
+
include Aws::Structure
|
6523
|
+
end
|
6524
|
+
|
6525
|
+
# @!attribute [rw] function_url
|
6526
|
+
# The HTTP URL endpoint for your function.
|
6527
|
+
# @return [String]
|
6528
|
+
#
|
6529
|
+
# @!attribute [rw] function_arn
|
6530
|
+
# The Amazon Resource Name (ARN) of your function.
|
6531
|
+
# @return [String]
|
6532
|
+
#
|
6533
|
+
# @!attribute [rw] auth_type
|
6534
|
+
# The type of authentication that your function URL uses. Set to
|
6535
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
6536
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
6537
|
+
# create a public endpoint. For more information, see [Security and
|
6538
|
+
# auth model for Lambda function URLs][1].
|
6539
|
+
#
|
6540
|
+
#
|
6541
|
+
#
|
6542
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
6543
|
+
# @return [String]
|
6544
|
+
#
|
6545
|
+
# @!attribute [rw] cors
|
6546
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
6547
|
+
# function URL.
|
5930
6548
|
#
|
5931
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
5932
6549
|
#
|
5933
|
-
# @note When making an API call, you may pass VpcConfig
|
5934
|
-
# data as a hash:
|
5935
6550
|
#
|
5936
|
-
#
|
5937
|
-
#
|
5938
|
-
#
|
5939
|
-
#
|
6551
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
6552
|
+
# @return [Types::Cors]
|
6553
|
+
#
|
6554
|
+
# @!attribute [rw] creation_time
|
6555
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
6556
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
6557
|
+
#
|
6558
|
+
#
|
6559
|
+
#
|
6560
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
6561
|
+
# @return [Time]
|
6562
|
+
#
|
6563
|
+
# @!attribute [rw] last_modified_time
|
6564
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
6565
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
6566
|
+
#
|
6567
|
+
#
|
6568
|
+
#
|
6569
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
6570
|
+
# @return [Time]
|
6571
|
+
#
|
6572
|
+
# @!attribute [rw] invoke_mode
|
6573
|
+
# Use one of the following options:
|
6574
|
+
#
|
6575
|
+
# * `BUFFERED` – This is the default option. Lambda invokes your
|
6576
|
+
# function using the `Invoke` API operation. Invocation results are
|
6577
|
+
# available when the payload is complete. The maximum payload size
|
6578
|
+
# is 6 MB.
|
6579
|
+
#
|
6580
|
+
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
6581
|
+
# become available. Lambda invokes your function using the
|
6582
|
+
# `InvokeWithResponseStream` API operation. The maximum response
|
6583
|
+
# payload size is 20 MB, however, you can [request a quota
|
6584
|
+
# increase][1].
|
6585
|
+
#
|
6586
|
+
#
|
6587
|
+
#
|
6588
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
6589
|
+
# @return [String]
|
6590
|
+
#
|
6591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
|
6592
|
+
#
|
6593
|
+
class UpdateFunctionUrlConfigResponse < Struct.new(
|
6594
|
+
:function_url,
|
6595
|
+
:function_arn,
|
6596
|
+
:auth_type,
|
6597
|
+
:cors,
|
6598
|
+
:creation_time,
|
6599
|
+
:last_modified_time,
|
6600
|
+
:invoke_mode)
|
6601
|
+
SENSITIVE = []
|
6602
|
+
include Aws::Structure
|
6603
|
+
end
|
6604
|
+
|
6605
|
+
# The VPC security groups and subnets that are attached to a Lambda
|
6606
|
+
# function. For more information, see [Configuring a Lambda function to
|
6607
|
+
# access resources in a VPC][1].
|
6608
|
+
#
|
6609
|
+
#
|
6610
|
+
#
|
6611
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
5940
6612
|
#
|
5941
6613
|
# @!attribute [rw] subnet_ids
|
5942
6614
|
# A list of VPC subnet IDs.
|
5943
6615
|
# @return [Array<String>]
|
5944
6616
|
#
|
5945
6617
|
# @!attribute [rw] security_group_ids
|
5946
|
-
# A list of VPC security
|
6618
|
+
# A list of VPC security group IDs.
|
5947
6619
|
# @return [Array<String>]
|
5948
6620
|
#
|
6621
|
+
# @!attribute [rw] ipv_6_allowed_for_dual_stack
|
6622
|
+
# Allows outbound IPv6 traffic on VPC functions that are connected to
|
6623
|
+
# dual-stack subnets.
|
6624
|
+
# @return [Boolean]
|
6625
|
+
#
|
5949
6626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig AWS API Documentation
|
5950
6627
|
#
|
5951
6628
|
class VpcConfig < Struct.new(
|
5952
6629
|
:subnet_ids,
|
5953
|
-
:security_group_ids
|
6630
|
+
:security_group_ids,
|
6631
|
+
:ipv_6_allowed_for_dual_stack)
|
5954
6632
|
SENSITIVE = []
|
5955
6633
|
include Aws::Structure
|
5956
6634
|
end
|
@@ -5963,22 +6641,47 @@ module Aws::Lambda
|
|
5963
6641
|
# @return [Array<String>]
|
5964
6642
|
#
|
5965
6643
|
# @!attribute [rw] security_group_ids
|
5966
|
-
# A list of VPC security
|
6644
|
+
# A list of VPC security group IDs.
|
5967
6645
|
# @return [Array<String>]
|
5968
6646
|
#
|
5969
6647
|
# @!attribute [rw] vpc_id
|
5970
6648
|
# The ID of the VPC.
|
5971
6649
|
# @return [String]
|
5972
6650
|
#
|
6651
|
+
# @!attribute [rw] ipv_6_allowed_for_dual_stack
|
6652
|
+
# Allows outbound IPv6 traffic on VPC functions that are connected to
|
6653
|
+
# dual-stack subnets.
|
6654
|
+
# @return [Boolean]
|
6655
|
+
#
|
5973
6656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfigResponse AWS API Documentation
|
5974
6657
|
#
|
5975
6658
|
class VpcConfigResponse < Struct.new(
|
5976
6659
|
:subnet_ids,
|
5977
6660
|
:security_group_ids,
|
5978
|
-
:vpc_id
|
6661
|
+
:vpc_id,
|
6662
|
+
:ipv_6_allowed_for_dual_stack)
|
5979
6663
|
SENSITIVE = []
|
5980
6664
|
include Aws::Structure
|
5981
6665
|
end
|
5982
6666
|
|
6667
|
+
# An object that includes a chunk of the response payload. When the
|
6668
|
+
# stream has ended, Lambda includes a `InvokeComplete` object.
|
6669
|
+
#
|
6670
|
+
# EventStream is an Enumerator of Events.
|
6671
|
+
# #event_types #=> Array, returns all modeled event types in the stream
|
6672
|
+
#
|
6673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStreamResponseEvent AWS API Documentation
|
6674
|
+
#
|
6675
|
+
class InvokeWithResponseStreamResponseEvent < Enumerator
|
6676
|
+
|
6677
|
+
def event_types
|
6678
|
+
[
|
6679
|
+
:payload_chunk,
|
6680
|
+
:invoke_complete
|
6681
|
+
]
|
6682
|
+
end
|
6683
|
+
|
6684
|
+
end
|
6685
|
+
|
5983
6686
|
end
|
5984
6687
|
end
|