aws-sdk-lambda 1.87.0 → 1.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +360 -278
- data/lib/aws-sdk-lambda/client_api.rb +40 -0
- data/lib/aws-sdk-lambda/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +72 -73
- data/lib/aws-sdk-lambda/errors.rb +63 -0
- data/lib/aws-sdk-lambda/types.rb +491 -1243
- data/lib/aws-sdk-lambda/waiters.rb +59 -7
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
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,35 +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
|
-
# principal_org_id: "PrincipalOrgID",
|
168
|
-
# function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
|
169
|
-
# }
|
170
|
-
#
|
171
141
|
# @!attribute [rw] function_name
|
172
142
|
# The name of the Lambda function, version, or alias.
|
173
143
|
#
|
174
144
|
# **Name formats**
|
175
145
|
#
|
176
|
-
# * **Function name**
|
146
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
177
147
|
# (with alias).
|
178
148
|
#
|
179
|
-
# * **Function ARN**
|
149
|
+
# * **Function ARN** –
|
180
150
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
181
151
|
#
|
182
|
-
# * **Partial ARN**
|
152
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
183
153
|
#
|
184
154
|
# You can append a version number or alias to any of the formats. The
|
185
155
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -197,31 +167,32 @@ module Aws::Lambda
|
|
197
167
|
# @return [String]
|
198
168
|
#
|
199
169
|
# @!attribute [rw] principal
|
200
|
-
# The Amazon Web
|
201
|
-
# 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
|
202
172
|
# `SourceAccount` to limit who can invoke the function through that
|
203
173
|
# service.
|
204
174
|
# @return [String]
|
205
175
|
#
|
206
176
|
# @!attribute [rw] source_arn
|
207
|
-
# For Amazon Web Services
|
208
|
-
#
|
209
|
-
#
|
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.
|
210
180
|
#
|
211
181
|
# Note that Lambda configures the comparison using the `StringLike`
|
212
182
|
# operator.
|
213
183
|
# @return [String]
|
214
184
|
#
|
215
185
|
# @!attribute [rw] source_account
|
216
|
-
# For Amazon
|
217
|
-
# this together with `SourceArn` to ensure
|
218
|
-
#
|
219
|
-
# 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.
|
220
191
|
# @return [String]
|
221
192
|
#
|
222
193
|
# @!attribute [rw] event_source_token
|
223
|
-
# For Alexa Smart Home functions, a token that
|
224
|
-
#
|
194
|
+
# For Alexa Smart Home functions, a token that the invoker must
|
195
|
+
# supply.
|
225
196
|
# @return [String]
|
226
197
|
#
|
227
198
|
# @!attribute [rw] qualifier
|
@@ -230,7 +201,7 @@ module Aws::Lambda
|
|
230
201
|
# @return [String]
|
231
202
|
#
|
232
203
|
# @!attribute [rw] revision_id
|
233
|
-
#
|
204
|
+
# Update the policy only if the revision ID matches the ID that's
|
234
205
|
# specified. Use this option to avoid modifying a policy that has
|
235
206
|
# changed since you last read it.
|
236
207
|
# @return [String]
|
@@ -243,10 +214,10 @@ module Aws::Lambda
|
|
243
214
|
#
|
244
215
|
# @!attribute [rw] function_url_auth_type
|
245
216
|
# The type of authentication that your function URL uses. Set to
|
246
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
217
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM 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].
|
250
221
|
#
|
251
222
|
#
|
252
223
|
#
|
@@ -336,15 +307,6 @@ module Aws::Lambda
|
|
336
307
|
#
|
337
308
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
338
309
|
#
|
339
|
-
# @note When making an API call, you may pass AliasRoutingConfiguration
|
340
|
-
# data as a hash:
|
341
|
-
#
|
342
|
-
# {
|
343
|
-
# additional_version_weights: {
|
344
|
-
# "AdditionalVersion" => 1.0,
|
345
|
-
# },
|
346
|
-
# }
|
347
|
-
#
|
348
310
|
# @!attribute [rw] additional_version_weights
|
349
311
|
# The second version, and the percentage of traffic that's routed to
|
350
312
|
# it.
|
@@ -360,13 +322,6 @@ module Aws::Lambda
|
|
360
322
|
|
361
323
|
# List of signing profiles that can sign a code package.
|
362
324
|
#
|
363
|
-
# @note When making an API call, you may pass AllowedPublishers
|
364
|
-
# data as a hash:
|
365
|
-
#
|
366
|
-
# {
|
367
|
-
# signing_profile_version_arns: ["Arn"], # required
|
368
|
-
# }
|
369
|
-
#
|
370
325
|
# @!attribute [rw] signing_profile_version_arns
|
371
326
|
# The Amazon Resource Name (ARN) for each of the signing profiles. A
|
372
327
|
# signing profile defines a trusted user who can sign a code package.
|
@@ -383,13 +338,6 @@ module Aws::Lambda
|
|
383
338
|
# Specific configuration settings for an Amazon Managed Streaming for
|
384
339
|
# Apache Kafka (Amazon MSK) event source.
|
385
340
|
#
|
386
|
-
# @note When making an API call, you may pass AmazonManagedKafkaEventSourceConfig
|
387
|
-
# data as a hash:
|
388
|
-
#
|
389
|
-
# {
|
390
|
-
# consumer_group_id: "URI",
|
391
|
-
# }
|
392
|
-
#
|
393
341
|
# @!attribute [rw] consumer_group_id
|
394
342
|
# The identifier for the Kafka consumer group to join. The consumer
|
395
343
|
# group ID must be unique among all your Kafka event sources. After
|
@@ -479,13 +427,6 @@ module Aws::Lambda
|
|
479
427
|
#
|
480
428
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies
|
481
429
|
#
|
482
|
-
# @note When making an API call, you may pass CodeSigningPolicies
|
483
|
-
# data as a hash:
|
484
|
-
#
|
485
|
-
# {
|
486
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
487
|
-
# }
|
488
|
-
#
|
489
430
|
# @!attribute [rw] untrusted_artifact_on_deployment
|
490
431
|
# Code signing configuration policy for deployment validation failure.
|
491
432
|
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
@@ -504,12 +445,12 @@ module Aws::Lambda
|
|
504
445
|
include Aws::Structure
|
505
446
|
end
|
506
447
|
|
507
|
-
#
|
508
|
-
# more][1]
|
448
|
+
# Your Amazon Web Services account has exceeded its maximum total code
|
449
|
+
# size. For more information, see [Lambda quotas][1].
|
509
450
|
#
|
510
451
|
#
|
511
452
|
#
|
512
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
453
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
513
454
|
#
|
514
455
|
# @!attribute [rw] type
|
515
456
|
# The exception type.
|
@@ -548,7 +489,8 @@ module Aws::Lambda
|
|
548
489
|
|
549
490
|
# @!attribute [rw] reserved_concurrent_executions
|
550
491
|
# The number of concurrent executions that are reserved for this
|
551
|
-
# function. For more information, see [Managing
|
492
|
+
# function. For more information, see [Managing Lambda reserved
|
493
|
+
# concurrency][1].
|
552
494
|
#
|
553
495
|
#
|
554
496
|
#
|
@@ -572,18 +514,6 @@ module Aws::Lambda
|
|
572
514
|
#
|
573
515
|
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
574
516
|
#
|
575
|
-
# @note When making an API call, you may pass Cors
|
576
|
-
# data as a hash:
|
577
|
-
#
|
578
|
-
# {
|
579
|
-
# allow_credentials: false,
|
580
|
-
# allow_headers: ["Header"],
|
581
|
-
# allow_methods: ["Method"],
|
582
|
-
# allow_origins: ["Origin"],
|
583
|
-
# expose_headers: ["Header"],
|
584
|
-
# max_age: 1,
|
585
|
-
# }
|
586
|
-
#
|
587
517
|
# @!attribute [rw] allow_credentials
|
588
518
|
# Whether to allow cookies or other credentials in requests to your
|
589
519
|
# function URL. The default is `false`.
|
@@ -634,21 +564,6 @@ module Aws::Lambda
|
|
634
564
|
include Aws::Structure
|
635
565
|
end
|
636
566
|
|
637
|
-
# @note When making an API call, you may pass CreateAliasRequest
|
638
|
-
# data as a hash:
|
639
|
-
#
|
640
|
-
# {
|
641
|
-
# function_name: "FunctionName", # required
|
642
|
-
# name: "Alias", # required
|
643
|
-
# function_version: "Version", # required
|
644
|
-
# description: "Description",
|
645
|
-
# routing_config: {
|
646
|
-
# additional_version_weights: {
|
647
|
-
# "AdditionalVersion" => 1.0,
|
648
|
-
# },
|
649
|
-
# },
|
650
|
-
# }
|
651
|
-
#
|
652
567
|
# @!attribute [rw] function_name
|
653
568
|
# The name of the Lambda function.
|
654
569
|
#
|
@@ -697,19 +612,6 @@ module Aws::Lambda
|
|
697
612
|
include Aws::Structure
|
698
613
|
end
|
699
614
|
|
700
|
-
# @note When making an API call, you may pass CreateCodeSigningConfigRequest
|
701
|
-
# data as a hash:
|
702
|
-
#
|
703
|
-
# {
|
704
|
-
# description: "Description",
|
705
|
-
# allowed_publishers: { # required
|
706
|
-
# signing_profile_version_arns: ["Arn"], # required
|
707
|
-
# },
|
708
|
-
# code_signing_policies: {
|
709
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
710
|
-
# },
|
711
|
-
# }
|
712
|
-
#
|
713
615
|
# @!attribute [rw] description
|
714
616
|
# Descriptive name for this code signing configuration.
|
715
617
|
# @return [String]
|
@@ -745,71 +647,20 @@ module Aws::Lambda
|
|
745
647
|
include Aws::Structure
|
746
648
|
end
|
747
649
|
|
748
|
-
# @note When making an API call, you may pass CreateEventSourceMappingRequest
|
749
|
-
# data as a hash:
|
750
|
-
#
|
751
|
-
# {
|
752
|
-
# event_source_arn: "Arn",
|
753
|
-
# function_name: "FunctionName", # required
|
754
|
-
# enabled: false,
|
755
|
-
# batch_size: 1,
|
756
|
-
# filter_criteria: {
|
757
|
-
# filters: [
|
758
|
-
# {
|
759
|
-
# pattern: "Pattern",
|
760
|
-
# },
|
761
|
-
# ],
|
762
|
-
# },
|
763
|
-
# maximum_batching_window_in_seconds: 1,
|
764
|
-
# parallelization_factor: 1,
|
765
|
-
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
766
|
-
# starting_position_timestamp: Time.now,
|
767
|
-
# destination_config: {
|
768
|
-
# on_success: {
|
769
|
-
# destination: "DestinationArn",
|
770
|
-
# },
|
771
|
-
# on_failure: {
|
772
|
-
# destination: "DestinationArn",
|
773
|
-
# },
|
774
|
-
# },
|
775
|
-
# maximum_record_age_in_seconds: 1,
|
776
|
-
# bisect_batch_on_function_error: false,
|
777
|
-
# maximum_retry_attempts: 1,
|
778
|
-
# tumbling_window_in_seconds: 1,
|
779
|
-
# topics: ["Topic"],
|
780
|
-
# queues: ["Queue"],
|
781
|
-
# source_access_configurations: [
|
782
|
-
# {
|
783
|
-
# 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
|
784
|
-
# uri: "URI",
|
785
|
-
# },
|
786
|
-
# ],
|
787
|
-
# self_managed_event_source: {
|
788
|
-
# endpoints: {
|
789
|
-
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
790
|
-
# },
|
791
|
-
# },
|
792
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
793
|
-
# amazon_managed_kafka_event_source_config: {
|
794
|
-
# consumer_group_id: "URI",
|
795
|
-
# },
|
796
|
-
# self_managed_kafka_event_source_config: {
|
797
|
-
# consumer_group_id: "URI",
|
798
|
-
# },
|
799
|
-
# }
|
800
|
-
#
|
801
650
|
# @!attribute [rw] event_source_arn
|
802
651
|
# The Amazon Resource Name (ARN) of the event source.
|
803
652
|
#
|
804
|
-
# * **Amazon Kinesis**
|
653
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
805
654
|
# consumer.
|
806
655
|
#
|
807
|
-
# * **Amazon DynamoDB Streams**
|
656
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
808
657
|
#
|
809
|
-
# * **Amazon Simple Queue Service**
|
658
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
810
659
|
#
|
811
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
660
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
812
661
|
# cluster.
|
662
|
+
#
|
663
|
+
# * **Amazon MQ** – The ARN of the broker.
|
813
664
|
# @return [String]
|
814
665
|
#
|
815
666
|
# @!attribute [rw] function_name
|
@@ -817,15 +668,15 @@ module Aws::Lambda
|
|
817
668
|
#
|
818
669
|
# **Name formats**
|
819
670
|
#
|
820
|
-
# * **Function name**
|
671
|
+
# * **Function name** – `MyFunction`.
|
821
672
|
#
|
822
|
-
# * **Function ARN**
|
673
|
+
# * **Function ARN** –
|
823
674
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
824
675
|
#
|
825
|
-
# * **Version or Alias ARN**
|
676
|
+
# * **Version or Alias ARN** –
|
826
677
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
827
678
|
#
|
828
|
-
# * **Partial ARN**
|
679
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
829
680
|
#
|
830
681
|
# The length constraint applies only to the full ARN. If you specify
|
831
682
|
# only the function name, it's limited to 64 characters in length.
|
@@ -844,25 +695,25 @@ module Aws::Lambda
|
|
844
695
|
# of the records in the batch to the function in a single call, up to
|
845
696
|
# the payload limit for synchronous invocation (6 MB).
|
846
697
|
#
|
847
|
-
# * **Amazon Kinesis**
|
698
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
848
699
|
#
|
849
|
-
# * **Amazon DynamoDB Streams**
|
700
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
850
701
|
#
|
851
|
-
# * **Amazon Simple Queue Service**
|
702
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
852
703
|
# the max is 10,000. For FIFO queues the max is 10.
|
853
704
|
#
|
854
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
705
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
855
706
|
# 10,000.
|
856
707
|
#
|
857
|
-
# * **Self-managed Apache Kafka**
|
708
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
858
709
|
#
|
859
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)**
|
710
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
860
711
|
# @return [Integer]
|
861
712
|
#
|
862
713
|
# @!attribute [rw] filter_criteria
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
714
|
+
# An object that defines the filter criteria that determine whether
|
715
|
+
# Lambda should process an event. For more information, see [Lambda
|
716
|
+
# event filtering][1].
|
866
717
|
#
|
867
718
|
#
|
868
719
|
#
|
@@ -962,6 +813,16 @@ module Aws::Lambda
|
|
962
813
|
# event source.
|
963
814
|
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
964
815
|
#
|
816
|
+
# @!attribute [rw] scaling_config
|
817
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
818
|
+
# For more information, see [Configuring maximum concurrency for
|
819
|
+
# Amazon SQS event sources][1].
|
820
|
+
#
|
821
|
+
#
|
822
|
+
#
|
823
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
824
|
+
# @return [Types::ScalingConfig]
|
825
|
+
#
|
965
826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
966
827
|
#
|
967
828
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -985,80 +846,23 @@ module Aws::Lambda
|
|
985
846
|
:self_managed_event_source,
|
986
847
|
:function_response_types,
|
987
848
|
:amazon_managed_kafka_event_source_config,
|
988
|
-
:self_managed_kafka_event_source_config
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
# data as a hash:
|
995
|
-
#
|
996
|
-
# {
|
997
|
-
# function_name: "FunctionName", # required
|
998
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
999
|
-
# role: "RoleArn", # required
|
1000
|
-
# handler: "Handler",
|
1001
|
-
# code: { # required
|
1002
|
-
# zip_file: "data",
|
1003
|
-
# s3_bucket: "S3Bucket",
|
1004
|
-
# s3_key: "S3Key",
|
1005
|
-
# s3_object_version: "S3ObjectVersion",
|
1006
|
-
# image_uri: "String",
|
1007
|
-
# },
|
1008
|
-
# description: "Description",
|
1009
|
-
# timeout: 1,
|
1010
|
-
# memory_size: 1,
|
1011
|
-
# publish: false,
|
1012
|
-
# vpc_config: {
|
1013
|
-
# subnet_ids: ["SubnetId"],
|
1014
|
-
# security_group_ids: ["SecurityGroupId"],
|
1015
|
-
# },
|
1016
|
-
# package_type: "Zip", # accepts Zip, Image
|
1017
|
-
# dead_letter_config: {
|
1018
|
-
# target_arn: "ResourceArn",
|
1019
|
-
# },
|
1020
|
-
# environment: {
|
1021
|
-
# variables: {
|
1022
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1023
|
-
# },
|
1024
|
-
# },
|
1025
|
-
# kms_key_arn: "KMSKeyArn",
|
1026
|
-
# tracing_config: {
|
1027
|
-
# mode: "Active", # accepts Active, PassThrough
|
1028
|
-
# },
|
1029
|
-
# tags: {
|
1030
|
-
# "TagKey" => "TagValue",
|
1031
|
-
# },
|
1032
|
-
# layers: ["LayerVersionArn"],
|
1033
|
-
# file_system_configs: [
|
1034
|
-
# {
|
1035
|
-
# arn: "FileSystemArn", # required
|
1036
|
-
# local_mount_path: "LocalMountPath", # required
|
1037
|
-
# },
|
1038
|
-
# ],
|
1039
|
-
# image_config: {
|
1040
|
-
# entry_point: ["String"],
|
1041
|
-
# command: ["String"],
|
1042
|
-
# working_directory: "WorkingDirectory",
|
1043
|
-
# },
|
1044
|
-
# code_signing_config_arn: "CodeSigningConfigArn",
|
1045
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
1046
|
-
# ephemeral_storage: {
|
1047
|
-
# size: 1, # required
|
1048
|
-
# },
|
1049
|
-
# }
|
1050
|
-
#
|
849
|
+
:self_managed_kafka_event_source_config,
|
850
|
+
:scaling_config)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
1051
855
|
# @!attribute [rw] function_name
|
1052
856
|
# The name of the Lambda function.
|
1053
857
|
#
|
1054
858
|
# **Name formats**
|
1055
859
|
#
|
1056
|
-
# * **Function name**
|
860
|
+
# * **Function name** – `my-function`.
|
1057
861
|
#
|
1058
|
-
# * **Function ARN**
|
862
|
+
# * **Function ARN** –
|
1059
863
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1060
864
|
#
|
1061
|
-
# * **Partial ARN**
|
865
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1062
866
|
#
|
1063
867
|
# The length constraint applies only to the full ARN. If you specify
|
1064
868
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1078,15 +882,15 @@ module Aws::Lambda
|
|
1078
882
|
# @return [String]
|
1079
883
|
#
|
1080
884
|
# @!attribute [rw] handler
|
1081
|
-
# The name of the method within your code that Lambda calls to
|
885
|
+
# The name of the method within your code that Lambda calls to run
|
1082
886
|
# your function. Handler is required if the deployment package is a
|
1083
887
|
# .zip file archive. The format includes the file name. It can also
|
1084
888
|
# include namespaces and other qualifiers, depending on the runtime.
|
1085
|
-
# For more information, see [
|
889
|
+
# For more information, see [Lambda programming model][1].
|
1086
890
|
#
|
1087
891
|
#
|
1088
892
|
#
|
1089
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
893
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
1090
894
|
# @return [String]
|
1091
895
|
#
|
1092
896
|
# @!attribute [rw] code
|
@@ -1100,8 +904,8 @@ module Aws::Lambda
|
|
1100
904
|
# @!attribute [rw] timeout
|
1101
905
|
# The amount of time (in seconds) that Lambda allows a function to run
|
1102
906
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
1103
|
-
# value is 900 seconds. For
|
1104
|
-
#
|
907
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
908
|
+
# environment][1].
|
1105
909
|
#
|
1106
910
|
#
|
1107
911
|
#
|
@@ -1115,7 +919,7 @@ module Aws::Lambda
|
|
1115
919
|
#
|
1116
920
|
#
|
1117
921
|
#
|
1118
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
922
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
1119
923
|
# @return [Integer]
|
1120
924
|
#
|
1121
925
|
# @!attribute [rw] publish
|
@@ -1126,9 +930,9 @@ module Aws::Lambda
|
|
1126
930
|
# @!attribute [rw] vpc_config
|
1127
931
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
1128
932
|
# specify a list of security groups and subnets in the VPC. When you
|
1129
|
-
# connect a function to a VPC, it can
|
1130
|
-
# internet through that VPC. For more information, see
|
1131
|
-
#
|
933
|
+
# connect a function to a VPC, it can access resources and the
|
934
|
+
# internet only through that VPC. For more information, see
|
935
|
+
# [Configuring a Lambda function to access resources in a VPC][1].
|
1132
936
|
#
|
1133
937
|
#
|
1134
938
|
#
|
@@ -1137,17 +941,17 @@ module Aws::Lambda
|
|
1137
941
|
#
|
1138
942
|
# @!attribute [rw] package_type
|
1139
943
|
# The type of deployment package. Set to `Image` for container image
|
1140
|
-
# and set `Zip` for
|
944
|
+
# and set to `Zip` for .zip file archive.
|
1141
945
|
# @return [String]
|
1142
946
|
#
|
1143
947
|
# @!attribute [rw] dead_letter_config
|
1144
|
-
# A dead
|
948
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
1145
949
|
# where Lambda sends asynchronous events when they fail processing.
|
1146
|
-
# For more information, see [Dead
|
950
|
+
# For more information, see [Dead-letter queues][1].
|
1147
951
|
#
|
1148
952
|
#
|
1149
953
|
#
|
1150
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
954
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
1151
955
|
# @return [Types::DeadLetterConfig]
|
1152
956
|
#
|
1153
957
|
# @!attribute [rw] environment
|
@@ -1156,9 +960,9 @@ module Aws::Lambda
|
|
1156
960
|
# @return [Types::Environment]
|
1157
961
|
#
|
1158
962
|
# @!attribute [rw] kms_key_arn
|
1159
|
-
# The ARN of the
|
1160
|
-
#
|
1161
|
-
#
|
963
|
+
# The ARN of the Key Management Service (KMS) key that's used to
|
964
|
+
# encrypt your function's environment variables. If it's not
|
965
|
+
# provided, Lambda uses a default service key.
|
1162
966
|
# @return [String]
|
1163
967
|
#
|
1164
968
|
# @!attribute [rw] tracing_config
|
@@ -1214,10 +1018,18 @@ module Aws::Lambda
|
|
1214
1018
|
# @return [Array<String>]
|
1215
1019
|
#
|
1216
1020
|
# @!attribute [rw] ephemeral_storage
|
1217
|
-
# The size of the function
|
1218
|
-
# is 512, but can be any whole number between 512 and
|
1021
|
+
# The size of the function's `/tmp` directory in MB. The default
|
1022
|
+
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
1219
1023
|
# @return [Types::EphemeralStorage]
|
1220
1024
|
#
|
1025
|
+
# @!attribute [rw] snap_start
|
1026
|
+
# The function's [SnapStart][1] setting.
|
1027
|
+
#
|
1028
|
+
#
|
1029
|
+
#
|
1030
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
1031
|
+
# @return [Types::SnapStart]
|
1032
|
+
#
|
1221
1033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
1222
1034
|
#
|
1223
1035
|
class CreateFunctionRequest < Struct.new(
|
@@ -1242,39 +1054,23 @@ module Aws::Lambda
|
|
1242
1054
|
:image_config,
|
1243
1055
|
:code_signing_config_arn,
|
1244
1056
|
:architectures,
|
1245
|
-
:ephemeral_storage
|
1057
|
+
:ephemeral_storage,
|
1058
|
+
:snap_start)
|
1246
1059
|
SENSITIVE = []
|
1247
1060
|
include Aws::Structure
|
1248
1061
|
end
|
1249
1062
|
|
1250
|
-
# @note When making an API call, you may pass CreateFunctionUrlConfigRequest
|
1251
|
-
# data as a hash:
|
1252
|
-
#
|
1253
|
-
# {
|
1254
|
-
# function_name: "FunctionName", # required
|
1255
|
-
# qualifier: "FunctionUrlQualifier",
|
1256
|
-
# auth_type: "NONE", # required, accepts NONE, AWS_IAM
|
1257
|
-
# cors: {
|
1258
|
-
# allow_credentials: false,
|
1259
|
-
# allow_headers: ["Header"],
|
1260
|
-
# allow_methods: ["Method"],
|
1261
|
-
# allow_origins: ["Origin"],
|
1262
|
-
# expose_headers: ["Header"],
|
1263
|
-
# max_age: 1,
|
1264
|
-
# },
|
1265
|
-
# }
|
1266
|
-
#
|
1267
1063
|
# @!attribute [rw] function_name
|
1268
1064
|
# The name of the Lambda function.
|
1269
1065
|
#
|
1270
1066
|
# **Name formats**
|
1271
1067
|
#
|
1272
|
-
# * **Function name**
|
1068
|
+
# * **Function name** – `my-function`.
|
1273
1069
|
#
|
1274
|
-
# * **Function ARN**
|
1070
|
+
# * **Function ARN** –
|
1275
1071
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1276
1072
|
#
|
1277
|
-
# * **Partial ARN**
|
1073
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1278
1074
|
#
|
1279
1075
|
# The length constraint applies only to the full ARN. If you specify
|
1280
1076
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1286,10 +1082,10 @@ module Aws::Lambda
|
|
1286
1082
|
#
|
1287
1083
|
# @!attribute [rw] auth_type
|
1288
1084
|
# The type of authentication that your function URL uses. Set to
|
1289
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1085
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
1086
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1087
|
+
# create a public endpoint. For more information, see [Security and
|
1088
|
+
# auth model for Lambda function URLs][1].
|
1293
1089
|
#
|
1294
1090
|
#
|
1295
1091
|
#
|
@@ -1326,10 +1122,10 @@ module Aws::Lambda
|
|
1326
1122
|
#
|
1327
1123
|
# @!attribute [rw] auth_type
|
1328
1124
|
# The type of authentication that your function URL uses. Set to
|
1329
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1330
|
-
#
|
1331
|
-
#
|
1332
|
-
#
|
1125
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
1126
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1127
|
+
# create a public endpoint. For more information, see [Security and
|
1128
|
+
# auth model for Lambda function URLs][1].
|
1333
1129
|
#
|
1334
1130
|
#
|
1335
1131
|
#
|
@@ -1372,13 +1168,6 @@ module Aws::Lambda
|
|
1372
1168
|
#
|
1373
1169
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1374
1170
|
#
|
1375
|
-
# @note When making an API call, you may pass DeadLetterConfig
|
1376
|
-
# data as a hash:
|
1377
|
-
#
|
1378
|
-
# {
|
1379
|
-
# target_arn: "ResourceArn",
|
1380
|
-
# }
|
1381
|
-
#
|
1382
1171
|
# @!attribute [rw] target_arn
|
1383
1172
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
1384
1173
|
# topic.
|
@@ -1392,14 +1181,6 @@ module Aws::Lambda
|
|
1392
1181
|
include Aws::Structure
|
1393
1182
|
end
|
1394
1183
|
|
1395
|
-
# @note When making an API call, you may pass DeleteAliasRequest
|
1396
|
-
# data as a hash:
|
1397
|
-
#
|
1398
|
-
# {
|
1399
|
-
# function_name: "FunctionName", # required
|
1400
|
-
# name: "Alias", # required
|
1401
|
-
# }
|
1402
|
-
#
|
1403
1184
|
# @!attribute [rw] function_name
|
1404
1185
|
# The name of the Lambda function.
|
1405
1186
|
#
|
@@ -1429,13 +1210,6 @@ module Aws::Lambda
|
|
1429
1210
|
include Aws::Structure
|
1430
1211
|
end
|
1431
1212
|
|
1432
|
-
# @note When making an API call, you may pass DeleteCodeSigningConfigRequest
|
1433
|
-
# data as a hash:
|
1434
|
-
#
|
1435
|
-
# {
|
1436
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
1437
|
-
# }
|
1438
|
-
#
|
1439
1213
|
# @!attribute [rw] code_signing_config_arn
|
1440
1214
|
# The The Amazon Resource Name (ARN) of the code signing
|
1441
1215
|
# configuration.
|
@@ -1453,13 +1227,6 @@ module Aws::Lambda
|
|
1453
1227
|
#
|
1454
1228
|
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
1455
1229
|
|
1456
|
-
# @note When making an API call, you may pass DeleteEventSourceMappingRequest
|
1457
|
-
# data as a hash:
|
1458
|
-
#
|
1459
|
-
# {
|
1460
|
-
# uuid: "String", # required
|
1461
|
-
# }
|
1462
|
-
#
|
1463
1230
|
# @!attribute [rw] uuid
|
1464
1231
|
# The identifier of the event source mapping.
|
1465
1232
|
# @return [String]
|
@@ -1472,13 +1239,6 @@ module Aws::Lambda
|
|
1472
1239
|
include Aws::Structure
|
1473
1240
|
end
|
1474
1241
|
|
1475
|
-
# @note When making an API call, you may pass DeleteFunctionCodeSigningConfigRequest
|
1476
|
-
# data as a hash:
|
1477
|
-
#
|
1478
|
-
# {
|
1479
|
-
# function_name: "FunctionName", # required
|
1480
|
-
# }
|
1481
|
-
#
|
1482
1242
|
# @!attribute [rw] function_name
|
1483
1243
|
# The name of the Lambda function.
|
1484
1244
|
#
|
@@ -1503,24 +1263,17 @@ module Aws::Lambda
|
|
1503
1263
|
include Aws::Structure
|
1504
1264
|
end
|
1505
1265
|
|
1506
|
-
# @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
|
1507
|
-
# data as a hash:
|
1508
|
-
#
|
1509
|
-
# {
|
1510
|
-
# function_name: "FunctionName", # required
|
1511
|
-
# }
|
1512
|
-
#
|
1513
1266
|
# @!attribute [rw] function_name
|
1514
1267
|
# The name of the Lambda function.
|
1515
1268
|
#
|
1516
1269
|
# **Name formats**
|
1517
1270
|
#
|
1518
|
-
# * **Function name**
|
1271
|
+
# * **Function name** – `my-function`.
|
1519
1272
|
#
|
1520
|
-
# * **Function ARN**
|
1273
|
+
# * **Function ARN** –
|
1521
1274
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1522
1275
|
#
|
1523
|
-
# * **Partial ARN**
|
1276
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1524
1277
|
#
|
1525
1278
|
# The length constraint applies only to the full ARN. If you specify
|
1526
1279
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1534,14 +1287,6 @@ module Aws::Lambda
|
|
1534
1287
|
include Aws::Structure
|
1535
1288
|
end
|
1536
1289
|
|
1537
|
-
# @note When making an API call, you may pass DeleteFunctionEventInvokeConfigRequest
|
1538
|
-
# data as a hash:
|
1539
|
-
#
|
1540
|
-
# {
|
1541
|
-
# function_name: "FunctionName", # required
|
1542
|
-
# qualifier: "Qualifier",
|
1543
|
-
# }
|
1544
|
-
#
|
1545
1290
|
# @!attribute [rw] function_name
|
1546
1291
|
# The name of the Lambda function, version, or alias.
|
1547
1292
|
#
|
@@ -1573,26 +1318,18 @@ module Aws::Lambda
|
|
1573
1318
|
include Aws::Structure
|
1574
1319
|
end
|
1575
1320
|
|
1576
|
-
# @note When making an API call, you may pass DeleteFunctionRequest
|
1577
|
-
# data as a hash:
|
1578
|
-
#
|
1579
|
-
# {
|
1580
|
-
# function_name: "FunctionName", # required
|
1581
|
-
# qualifier: "Qualifier",
|
1582
|
-
# }
|
1583
|
-
#
|
1584
1321
|
# @!attribute [rw] function_name
|
1585
1322
|
# The name of the Lambda function or version.
|
1586
1323
|
#
|
1587
1324
|
# **Name formats**
|
1588
1325
|
#
|
1589
|
-
# * **Function name**
|
1326
|
+
# * **Function name** – `my-function` (name-only), `my-function:1`
|
1590
1327
|
# (with version).
|
1591
1328
|
#
|
1592
|
-
# * **Function ARN**
|
1329
|
+
# * **Function ARN** –
|
1593
1330
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1594
1331
|
#
|
1595
|
-
# * **Partial ARN**
|
1332
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1596
1333
|
#
|
1597
1334
|
# You can append a version number or alias to any of the formats. The
|
1598
1335
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -1600,8 +1337,8 @@ module Aws::Lambda
|
|
1600
1337
|
# @return [String]
|
1601
1338
|
#
|
1602
1339
|
# @!attribute [rw] qualifier
|
1603
|
-
# Specify a version to delete. You can't delete a version that
|
1604
|
-
#
|
1340
|
+
# Specify a version to delete. You can't delete a version that an
|
1341
|
+
# alias references.
|
1605
1342
|
# @return [String]
|
1606
1343
|
#
|
1607
1344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest AWS API Documentation
|
@@ -1613,25 +1350,17 @@ module Aws::Lambda
|
|
1613
1350
|
include Aws::Structure
|
1614
1351
|
end
|
1615
1352
|
|
1616
|
-
# @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
|
1617
|
-
# data as a hash:
|
1618
|
-
#
|
1619
|
-
# {
|
1620
|
-
# function_name: "FunctionName", # required
|
1621
|
-
# qualifier: "FunctionUrlQualifier",
|
1622
|
-
# }
|
1623
|
-
#
|
1624
1353
|
# @!attribute [rw] function_name
|
1625
1354
|
# The name of the Lambda function.
|
1626
1355
|
#
|
1627
1356
|
# **Name formats**
|
1628
1357
|
#
|
1629
|
-
# * **Function name**
|
1358
|
+
# * **Function name** – `my-function`.
|
1630
1359
|
#
|
1631
|
-
# * **Function ARN**
|
1360
|
+
# * **Function ARN** –
|
1632
1361
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1633
1362
|
#
|
1634
|
-
# * **Partial ARN**
|
1363
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1635
1364
|
#
|
1636
1365
|
# The length constraint applies only to the full ARN. If you specify
|
1637
1366
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1650,14 +1379,6 @@ module Aws::Lambda
|
|
1650
1379
|
include Aws::Structure
|
1651
1380
|
end
|
1652
1381
|
|
1653
|
-
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
1654
|
-
# data as a hash:
|
1655
|
-
#
|
1656
|
-
# {
|
1657
|
-
# layer_name: "LayerName", # required
|
1658
|
-
# version_number: 1, # required
|
1659
|
-
# }
|
1660
|
-
#
|
1661
1382
|
# @!attribute [rw] layer_name
|
1662
1383
|
# The name or Amazon Resource Name (ARN) of the layer.
|
1663
1384
|
# @return [String]
|
@@ -1675,25 +1396,17 @@ module Aws::Lambda
|
|
1675
1396
|
include Aws::Structure
|
1676
1397
|
end
|
1677
1398
|
|
1678
|
-
# @note When making an API call, you may pass DeleteProvisionedConcurrencyConfigRequest
|
1679
|
-
# data as a hash:
|
1680
|
-
#
|
1681
|
-
# {
|
1682
|
-
# function_name: "FunctionName", # required
|
1683
|
-
# qualifier: "Qualifier", # required
|
1684
|
-
# }
|
1685
|
-
#
|
1686
1399
|
# @!attribute [rw] function_name
|
1687
1400
|
# The name of the Lambda function.
|
1688
1401
|
#
|
1689
1402
|
# **Name formats**
|
1690
1403
|
#
|
1691
|
-
# * **Function name**
|
1404
|
+
# * **Function name** – `my-function`.
|
1692
1405
|
#
|
1693
|
-
# * **Function ARN**
|
1406
|
+
# * **Function ARN** –
|
1694
1407
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1695
1408
|
#
|
1696
|
-
# * **Partial ARN**
|
1409
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1697
1410
|
#
|
1698
1411
|
# The length constraint applies only to the full ARN. If you specify
|
1699
1412
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1715,18 +1428,6 @@ module Aws::Lambda
|
|
1715
1428
|
# A configuration object that specifies the destination of an event
|
1716
1429
|
# after Lambda processes it.
|
1717
1430
|
#
|
1718
|
-
# @note When making an API call, you may pass DestinationConfig
|
1719
|
-
# data as a hash:
|
1720
|
-
#
|
1721
|
-
# {
|
1722
|
-
# on_success: {
|
1723
|
-
# destination: "DestinationArn",
|
1724
|
-
# },
|
1725
|
-
# on_failure: {
|
1726
|
-
# destination: "DestinationArn",
|
1727
|
-
# },
|
1728
|
-
# }
|
1729
|
-
#
|
1730
1431
|
# @!attribute [rw] on_success
|
1731
1432
|
# The destination configuration for successful invocations.
|
1732
1433
|
# @return [Types::OnSuccess]
|
@@ -1761,9 +1462,8 @@ module Aws::Lambda
|
|
1761
1462
|
include Aws::Structure
|
1762
1463
|
end
|
1763
1464
|
|
1764
|
-
#
|
1765
|
-
#
|
1766
|
-
# function.
|
1465
|
+
# Amazon EC2 throttled Lambda during Lambda function initialization
|
1466
|
+
# using the execution role provided for the function.
|
1767
1467
|
#
|
1768
1468
|
# @!attribute [rw] type
|
1769
1469
|
# @return [String]
|
@@ -1780,8 +1480,8 @@ module Aws::Lambda
|
|
1780
1480
|
include Aws::Structure
|
1781
1481
|
end
|
1782
1482
|
|
1783
|
-
# Lambda received an unexpected EC2 client exception while
|
1784
|
-
# for the Lambda function.
|
1483
|
+
# Lambda received an unexpected Amazon EC2 client exception while
|
1484
|
+
# setting up for the Lambda function.
|
1785
1485
|
#
|
1786
1486
|
# @!attribute [rw] type
|
1787
1487
|
# @return [String]
|
@@ -1820,8 +1520,8 @@ module Aws::Lambda
|
|
1820
1520
|
include Aws::Structure
|
1821
1521
|
end
|
1822
1522
|
|
1823
|
-
# The function couldn't make a network connection to the
|
1824
|
-
# file system.
|
1523
|
+
# The Lambda function couldn't make a network connection to the
|
1524
|
+
# configured file system.
|
1825
1525
|
#
|
1826
1526
|
# @!attribute [rw] type
|
1827
1527
|
# @return [String]
|
@@ -1838,8 +1538,8 @@ module Aws::Lambda
|
|
1838
1538
|
include Aws::Structure
|
1839
1539
|
end
|
1840
1540
|
|
1841
|
-
# The function couldn't mount the configured file system due to
|
1842
|
-
# permission or configuration issue.
|
1541
|
+
# The Lambda function couldn't mount the configured file system due to
|
1542
|
+
# a permission or configuration issue.
|
1843
1543
|
#
|
1844
1544
|
# @!attribute [rw] type
|
1845
1545
|
# @return [String]
|
@@ -1856,8 +1556,8 @@ module Aws::Lambda
|
|
1856
1556
|
include Aws::Structure
|
1857
1557
|
end
|
1858
1558
|
|
1859
|
-
# The function
|
1860
|
-
#
|
1559
|
+
# The Lambda function made a network connection to the configured file
|
1560
|
+
# system, but the mount operation timed out.
|
1861
1561
|
#
|
1862
1562
|
# @!attribute [rw] type
|
1863
1563
|
# @return [String]
|
@@ -1874,9 +1574,14 @@ module Aws::Lambda
|
|
1874
1574
|
include Aws::Structure
|
1875
1575
|
end
|
1876
1576
|
|
1877
|
-
# Lambda
|
1577
|
+
# Lambda couldn't create an elastic network interface in the VPC,
|
1878
1578
|
# specified as part of Lambda function configuration, because the limit
|
1879
|
-
# for network interfaces has been reached.
|
1579
|
+
# for network interfaces has been reached. For more information, see
|
1580
|
+
# [Lambda quotas][1].
|
1581
|
+
#
|
1582
|
+
#
|
1583
|
+
#
|
1584
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
1880
1585
|
#
|
1881
1586
|
# @!attribute [rw] type
|
1882
1587
|
# @return [String]
|
@@ -1898,15 +1603,6 @@ module Aws::Lambda
|
|
1898
1603
|
# An environment variable is a pair of strings that are stored in a
|
1899
1604
|
# function's version-specific configuration.
|
1900
1605
|
#
|
1901
|
-
# @note When making an API call, you may pass Environment
|
1902
|
-
# data as a hash:
|
1903
|
-
#
|
1904
|
-
# {
|
1905
|
-
# variables: {
|
1906
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1907
|
-
# },
|
1908
|
-
# }
|
1909
|
-
#
|
1910
1606
|
# @!attribute [rw] variables
|
1911
1607
|
# Environment variable key-value pairs. For more information, see
|
1912
1608
|
# [Using Lambda environment variables][1].
|
@@ -1944,9 +1640,8 @@ module Aws::Lambda
|
|
1944
1640
|
end
|
1945
1641
|
|
1946
1642
|
# The results of an operation to update or read environment variables.
|
1947
|
-
# If the operation
|
1948
|
-
# variables. If it
|
1949
|
-
# error.
|
1643
|
+
# If the operation succeeds, the response contains the environment
|
1644
|
+
# variables. If it fails, the response contains details about the error.
|
1950
1645
|
#
|
1951
1646
|
# @!attribute [rw] variables
|
1952
1647
|
# Environment variable key-value pairs. Omitted from CloudTrail logs.
|
@@ -1965,18 +1660,11 @@ module Aws::Lambda
|
|
1965
1660
|
include Aws::Structure
|
1966
1661
|
end
|
1967
1662
|
|
1968
|
-
# The size of the function
|
1969
|
-
# 512, but can be any whole number between 512 and
|
1970
|
-
#
|
1971
|
-
# @note When making an API call, you may pass EphemeralStorage
|
1972
|
-
# data as a hash:
|
1973
|
-
#
|
1974
|
-
# {
|
1975
|
-
# size: 1, # required
|
1976
|
-
# }
|
1663
|
+
# The size of the function's `/tmp` directory in MB. The default value
|
1664
|
+
# is 512, but it can be any whole number between 512 and 10,240 MB.
|
1977
1665
|
#
|
1978
1666
|
# @!attribute [rw] size
|
1979
|
-
# The size of the function
|
1667
|
+
# The size of the function's `/tmp` directory.
|
1980
1668
|
# @return [Integer]
|
1981
1669
|
#
|
1982
1670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
|
@@ -2047,9 +1735,9 @@ module Aws::Lambda
|
|
2047
1735
|
# @return [String]
|
2048
1736
|
#
|
2049
1737
|
# @!attribute [rw] filter_criteria
|
2050
|
-
#
|
2051
|
-
#
|
2052
|
-
#
|
1738
|
+
# An object that defines the filter criteria that determine whether
|
1739
|
+
# Lambda should process an event. For more information, see [Lambda
|
1740
|
+
# event filtering][1].
|
2053
1741
|
#
|
2054
1742
|
#
|
2055
1743
|
#
|
@@ -2141,6 +1829,16 @@ module Aws::Lambda
|
|
2141
1829
|
# event source.
|
2142
1830
|
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
2143
1831
|
#
|
1832
|
+
# @!attribute [rw] scaling_config
|
1833
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
1834
|
+
# For more information, see [Configuring maximum concurrency for
|
1835
|
+
# Amazon SQS event sources][1].
|
1836
|
+
#
|
1837
|
+
#
|
1838
|
+
#
|
1839
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
1840
|
+
# @return [Types::ScalingConfig]
|
1841
|
+
#
|
2144
1842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
2145
1843
|
#
|
2146
1844
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -2168,7 +1866,8 @@ module Aws::Lambda
|
|
2168
1866
|
:tumbling_window_in_seconds,
|
2169
1867
|
:function_response_types,
|
2170
1868
|
:amazon_managed_kafka_event_source_config,
|
2171
|
-
:self_managed_kafka_event_source_config
|
1869
|
+
:self_managed_kafka_event_source_config,
|
1870
|
+
:scaling_config)
|
2172
1871
|
SENSITIVE = []
|
2173
1872
|
include Aws::Structure
|
2174
1873
|
end
|
@@ -2180,14 +1879,6 @@ module Aws::Lambda
|
|
2180
1879
|
#
|
2181
1880
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
|
2182
1881
|
#
|
2183
|
-
# @note When making an API call, you may pass FileSystemConfig
|
2184
|
-
# data as a hash:
|
2185
|
-
#
|
2186
|
-
# {
|
2187
|
-
# arn: "FileSystemArn", # required
|
2188
|
-
# local_mount_path: "LocalMountPath", # required
|
2189
|
-
# }
|
2190
|
-
#
|
2191
1882
|
# @!attribute [rw] arn
|
2192
1883
|
# The Amazon Resource Name (ARN) of the Amazon EFS access point that
|
2193
1884
|
# provides access to the file system.
|
@@ -2210,13 +1901,6 @@ module Aws::Lambda
|
|
2210
1901
|
# A structure within a `FilterCriteria` object that defines an event
|
2211
1902
|
# filtering pattern.
|
2212
1903
|
#
|
2213
|
-
# @note When making an API call, you may pass Filter
|
2214
|
-
# data as a hash:
|
2215
|
-
#
|
2216
|
-
# {
|
2217
|
-
# pattern: "Pattern",
|
2218
|
-
# }
|
2219
|
-
#
|
2220
1904
|
# @!attribute [rw] pattern
|
2221
1905
|
# A filter pattern. For more information on the syntax of a filter
|
2222
1906
|
# pattern, see [ Filter rule syntax][1].
|
@@ -2236,17 +1920,6 @@ module Aws::Lambda
|
|
2236
1920
|
|
2237
1921
|
# An object that contains the filters for an event source.
|
2238
1922
|
#
|
2239
|
-
# @note When making an API call, you may pass FilterCriteria
|
2240
|
-
# data as a hash:
|
2241
|
-
#
|
2242
|
-
# {
|
2243
|
-
# filters: [
|
2244
|
-
# {
|
2245
|
-
# pattern: "Pattern",
|
2246
|
-
# },
|
2247
|
-
# ],
|
2248
|
-
# }
|
2249
|
-
#
|
2250
1923
|
# @!attribute [rw] filters
|
2251
1924
|
# A list of filters.
|
2252
1925
|
# @return [Array<Types::Filter>]
|
@@ -2259,25 +1932,13 @@ module Aws::Lambda
|
|
2259
1932
|
include Aws::Structure
|
2260
1933
|
end
|
2261
1934
|
|
2262
|
-
# The code for the Lambda function. You can specify
|
1935
|
+
# The code for the Lambda function. You can either specify an object in
|
2263
1936
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
2264
1937
|
# specify the URI of a container image.
|
2265
1938
|
#
|
2266
|
-
# @note When making an API call, you may pass FunctionCode
|
2267
|
-
# data as a hash:
|
2268
|
-
#
|
2269
|
-
# {
|
2270
|
-
# zip_file: "data",
|
2271
|
-
# s3_bucket: "S3Bucket",
|
2272
|
-
# s3_key: "S3Key",
|
2273
|
-
# s3_object_version: "S3ObjectVersion",
|
2274
|
-
# image_uri: "String",
|
2275
|
-
# }
|
2276
|
-
#
|
2277
1939
|
# @!attribute [rw] zip_file
|
2278
1940
|
# The base64-encoded contents of the deployment package. Amazon Web
|
2279
|
-
# Services SDK and
|
2280
|
-
# for you.
|
1941
|
+
# Services SDK and CLI clients handle the encoding for you.
|
2281
1942
|
# @return [String]
|
2282
1943
|
#
|
2283
1944
|
# @!attribute [rw] s3_bucket
|
@@ -2363,7 +2024,7 @@ module Aws::Lambda
|
|
2363
2024
|
# @return [String]
|
2364
2025
|
#
|
2365
2026
|
# @!attribute [rw] handler
|
2366
|
-
# The function that Lambda calls to begin
|
2027
|
+
# The function that Lambda calls to begin running your function.
|
2367
2028
|
# @return [String]
|
2368
2029
|
#
|
2369
2030
|
# @!attribute [rw] code_size
|
@@ -2419,7 +2080,7 @@ module Aws::Lambda
|
|
2419
2080
|
#
|
2420
2081
|
# @!attribute [rw] kms_key_arn
|
2421
2082
|
# The KMS key that's used to encrypt the function's environment
|
2422
|
-
# variables. This key is only
|
2083
|
+
# variables. This key is returned only if you've configured a
|
2423
2084
|
# customer managed key.
|
2424
2085
|
# @return [String]
|
2425
2086
|
#
|
@@ -2436,7 +2097,7 @@ module Aws::Lambda
|
|
2436
2097
|
# @return [String]
|
2437
2098
|
#
|
2438
2099
|
# @!attribute [rw] layers
|
2439
|
-
# The function's [
|
2100
|
+
# The function's [layers][1].
|
2440
2101
|
#
|
2441
2102
|
#
|
2442
2103
|
#
|
@@ -2503,10 +2164,21 @@ module Aws::Lambda
|
|
2503
2164
|
# @return [Array<String>]
|
2504
2165
|
#
|
2505
2166
|
# @!attribute [rw] ephemeral_storage
|
2506
|
-
# The size of the function’s
|
2507
|
-
# is 512, but can be any whole number between 512 and
|
2167
|
+
# The size of the function’s `/tmp` directory in MB. The default value
|
2168
|
+
# is 512, but it can be any whole number between 512 and 10,240 MB.
|
2508
2169
|
# @return [Types::EphemeralStorage]
|
2509
2170
|
#
|
2171
|
+
# @!attribute [rw] snap_start
|
2172
|
+
# Set `ApplyOn` to `PublishedVersions` to create a snapshot of the
|
2173
|
+
# initialized execution environment when you publish a function
|
2174
|
+
# version. For more information, see [Improving startup performance
|
2175
|
+
# with Lambda SnapStart][1].
|
2176
|
+
#
|
2177
|
+
#
|
2178
|
+
#
|
2179
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
2180
|
+
# @return [Types::SnapStartResponse]
|
2181
|
+
#
|
2510
2182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
2511
2183
|
#
|
2512
2184
|
class FunctionConfiguration < Struct.new(
|
@@ -2542,7 +2214,8 @@ module Aws::Lambda
|
|
2542
2214
|
:signing_profile_version_arn,
|
2543
2215
|
:signing_job_arn,
|
2544
2216
|
:architectures,
|
2545
|
-
:ephemeral_storage
|
2217
|
+
:ephemeral_storage,
|
2218
|
+
:snap_start)
|
2546
2219
|
SENSITIVE = []
|
2547
2220
|
include Aws::Structure
|
2548
2221
|
end
|
@@ -2632,10 +2305,10 @@ module Aws::Lambda
|
|
2632
2305
|
#
|
2633
2306
|
# @!attribute [rw] auth_type
|
2634
2307
|
# The type of authentication that your function URL uses. Set to
|
2635
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
2636
|
-
#
|
2637
|
-
#
|
2638
|
-
#
|
2308
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
2309
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2310
|
+
# create a public endpoint. For more information, see [Security and
|
2311
|
+
# auth model for Lambda function URLs][1].
|
2639
2312
|
#
|
2640
2313
|
#
|
2641
2314
|
#
|
@@ -2678,14 +2351,6 @@ module Aws::Lambda
|
|
2678
2351
|
include Aws::Structure
|
2679
2352
|
end
|
2680
2353
|
|
2681
|
-
# @note When making an API call, you may pass GetAliasRequest
|
2682
|
-
# data as a hash:
|
2683
|
-
#
|
2684
|
-
# {
|
2685
|
-
# function_name: "FunctionName", # required
|
2686
|
-
# name: "Alias", # required
|
2687
|
-
# }
|
2688
|
-
#
|
2689
2354
|
# @!attribute [rw] function_name
|
2690
2355
|
# The name of the Lambda function.
|
2691
2356
|
#
|
@@ -2715,13 +2380,6 @@ module Aws::Lambda
|
|
2715
2380
|
include Aws::Structure
|
2716
2381
|
end
|
2717
2382
|
|
2718
|
-
# @note When making an API call, you may pass GetCodeSigningConfigRequest
|
2719
|
-
# data as a hash:
|
2720
|
-
#
|
2721
|
-
# {
|
2722
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
2723
|
-
# }
|
2724
|
-
#
|
2725
2383
|
# @!attribute [rw] code_signing_config_arn
|
2726
2384
|
# The The Amazon Resource Name (ARN) of the code signing
|
2727
2385
|
# configuration.
|
@@ -2747,13 +2405,6 @@ module Aws::Lambda
|
|
2747
2405
|
include Aws::Structure
|
2748
2406
|
end
|
2749
2407
|
|
2750
|
-
# @note When making an API call, you may pass GetEventSourceMappingRequest
|
2751
|
-
# data as a hash:
|
2752
|
-
#
|
2753
|
-
# {
|
2754
|
-
# uuid: "String", # required
|
2755
|
-
# }
|
2756
|
-
#
|
2757
2408
|
# @!attribute [rw] uuid
|
2758
2409
|
# The identifier of the event source mapping.
|
2759
2410
|
# @return [String]
|
@@ -2766,13 +2417,6 @@ module Aws::Lambda
|
|
2766
2417
|
include Aws::Structure
|
2767
2418
|
end
|
2768
2419
|
|
2769
|
-
# @note When making an API call, you may pass GetFunctionCodeSigningConfigRequest
|
2770
|
-
# data as a hash:
|
2771
|
-
#
|
2772
|
-
# {
|
2773
|
-
# function_name: "FunctionName", # required
|
2774
|
-
# }
|
2775
|
-
#
|
2776
2420
|
# @!attribute [rw] function_name
|
2777
2421
|
# The name of the Lambda function.
|
2778
2422
|
#
|
@@ -2827,24 +2471,17 @@ module Aws::Lambda
|
|
2827
2471
|
include Aws::Structure
|
2828
2472
|
end
|
2829
2473
|
|
2830
|
-
# @note When making an API call, you may pass GetFunctionConcurrencyRequest
|
2831
|
-
# data as a hash:
|
2832
|
-
#
|
2833
|
-
# {
|
2834
|
-
# function_name: "FunctionName", # required
|
2835
|
-
# }
|
2836
|
-
#
|
2837
2474
|
# @!attribute [rw] function_name
|
2838
2475
|
# The name of the Lambda function.
|
2839
2476
|
#
|
2840
2477
|
# **Name formats**
|
2841
2478
|
#
|
2842
|
-
# * **Function name**
|
2479
|
+
# * **Function name** – `my-function`.
|
2843
2480
|
#
|
2844
|
-
# * **Function ARN**
|
2481
|
+
# * **Function ARN** –
|
2845
2482
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2846
2483
|
#
|
2847
|
-
# * **Partial ARN**
|
2484
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2848
2485
|
#
|
2849
2486
|
# The length constraint applies only to the full ARN. If you specify
|
2850
2487
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2871,26 +2508,18 @@ module Aws::Lambda
|
|
2871
2508
|
include Aws::Structure
|
2872
2509
|
end
|
2873
2510
|
|
2874
|
-
# @note When making an API call, you may pass GetFunctionConfigurationRequest
|
2875
|
-
# data as a hash:
|
2876
|
-
#
|
2877
|
-
# {
|
2878
|
-
# function_name: "NamespacedFunctionName", # required
|
2879
|
-
# qualifier: "Qualifier",
|
2880
|
-
# }
|
2881
|
-
#
|
2882
2511
|
# @!attribute [rw] function_name
|
2883
2512
|
# The name of the Lambda function, version, or alias.
|
2884
2513
|
#
|
2885
2514
|
# **Name formats**
|
2886
2515
|
#
|
2887
|
-
# * **Function name**
|
2516
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2888
2517
|
# (with alias).
|
2889
2518
|
#
|
2890
|
-
# * **Function ARN**
|
2519
|
+
# * **Function ARN** –
|
2891
2520
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2892
2521
|
#
|
2893
|
-
# * **Partial ARN**
|
2522
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2894
2523
|
#
|
2895
2524
|
# You can append a version number or alias to any of the formats. The
|
2896
2525
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2911,14 +2540,6 @@ module Aws::Lambda
|
|
2911
2540
|
include Aws::Structure
|
2912
2541
|
end
|
2913
2542
|
|
2914
|
-
# @note When making an API call, you may pass GetFunctionEventInvokeConfigRequest
|
2915
|
-
# data as a hash:
|
2916
|
-
#
|
2917
|
-
# {
|
2918
|
-
# function_name: "FunctionName", # required
|
2919
|
-
# qualifier: "Qualifier",
|
2920
|
-
# }
|
2921
|
-
#
|
2922
2543
|
# @!attribute [rw] function_name
|
2923
2544
|
# The name of the Lambda function, version, or alias.
|
2924
2545
|
#
|
@@ -2950,26 +2571,18 @@ module Aws::Lambda
|
|
2950
2571
|
include Aws::Structure
|
2951
2572
|
end
|
2952
2573
|
|
2953
|
-
# @note When making an API call, you may pass GetFunctionRequest
|
2954
|
-
# data as a hash:
|
2955
|
-
#
|
2956
|
-
# {
|
2957
|
-
# function_name: "NamespacedFunctionName", # required
|
2958
|
-
# qualifier: "Qualifier",
|
2959
|
-
# }
|
2960
|
-
#
|
2961
2574
|
# @!attribute [rw] function_name
|
2962
2575
|
# The name of the Lambda function, version, or alias.
|
2963
2576
|
#
|
2964
2577
|
# **Name formats**
|
2965
2578
|
#
|
2966
|
-
# * **Function name**
|
2579
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2967
2580
|
# (with alias).
|
2968
2581
|
#
|
2969
|
-
# * **Function ARN**
|
2582
|
+
# * **Function ARN** –
|
2970
2583
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2971
2584
|
#
|
2972
|
-
# * **Partial ARN**
|
2585
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2973
2586
|
#
|
2974
2587
|
# You can append a version number or alias to any of the formats. The
|
2975
2588
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -3025,25 +2638,17 @@ module Aws::Lambda
|
|
3025
2638
|
include Aws::Structure
|
3026
2639
|
end
|
3027
2640
|
|
3028
|
-
# @note When making an API call, you may pass GetFunctionUrlConfigRequest
|
3029
|
-
# data as a hash:
|
3030
|
-
#
|
3031
|
-
# {
|
3032
|
-
# function_name: "FunctionName", # required
|
3033
|
-
# qualifier: "FunctionUrlQualifier",
|
3034
|
-
# }
|
3035
|
-
#
|
3036
2641
|
# @!attribute [rw] function_name
|
3037
2642
|
# The name of the Lambda function.
|
3038
2643
|
#
|
3039
2644
|
# **Name formats**
|
3040
2645
|
#
|
3041
|
-
# * **Function name**
|
2646
|
+
# * **Function name** – `my-function`.
|
3042
2647
|
#
|
3043
|
-
# * **Function ARN**
|
2648
|
+
# * **Function ARN** –
|
3044
2649
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3045
2650
|
#
|
3046
|
-
# * **Partial ARN**
|
2651
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3047
2652
|
#
|
3048
2653
|
# The length constraint applies only to the full ARN. If you specify
|
3049
2654
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3072,10 +2677,10 @@ module Aws::Lambda
|
|
3072
2677
|
#
|
3073
2678
|
# @!attribute [rw] auth_type
|
3074
2679
|
# The type of authentication that your function URL uses. Set to
|
3075
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
3076
|
-
#
|
3077
|
-
#
|
3078
|
-
#
|
2680
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
2681
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2682
|
+
# create a public endpoint. For more information, see [Security and
|
2683
|
+
# auth model for Lambda function URLs][1].
|
3079
2684
|
#
|
3080
2685
|
#
|
3081
2686
|
#
|
@@ -3122,13 +2727,6 @@ module Aws::Lambda
|
|
3122
2727
|
include Aws::Structure
|
3123
2728
|
end
|
3124
2729
|
|
3125
|
-
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
3126
|
-
# data as a hash:
|
3127
|
-
#
|
3128
|
-
# {
|
3129
|
-
# arn: "LayerVersionArn", # required
|
3130
|
-
# }
|
3131
|
-
#
|
3132
2730
|
# @!attribute [rw] arn
|
3133
2731
|
# The ARN of the layer version.
|
3134
2732
|
# @return [String]
|
@@ -3141,14 +2739,6 @@ module Aws::Lambda
|
|
3141
2739
|
include Aws::Structure
|
3142
2740
|
end
|
3143
2741
|
|
3144
|
-
# @note When making an API call, you may pass GetLayerVersionPolicyRequest
|
3145
|
-
# data as a hash:
|
3146
|
-
#
|
3147
|
-
# {
|
3148
|
-
# layer_name: "LayerName", # required
|
3149
|
-
# version_number: 1, # required
|
3150
|
-
# }
|
3151
|
-
#
|
3152
2742
|
# @!attribute [rw] layer_name
|
3153
2743
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3154
2744
|
# @return [String]
|
@@ -3183,14 +2773,6 @@ module Aws::Lambda
|
|
3183
2773
|
include Aws::Structure
|
3184
2774
|
end
|
3185
2775
|
|
3186
|
-
# @note When making an API call, you may pass GetLayerVersionRequest
|
3187
|
-
# data as a hash:
|
3188
|
-
#
|
3189
|
-
# {
|
3190
|
-
# layer_name: "LayerName", # required
|
3191
|
-
# version_number: 1, # required
|
3192
|
-
# }
|
3193
|
-
#
|
3194
2776
|
# @!attribute [rw] layer_name
|
3195
2777
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3196
2778
|
# @return [String]
|
@@ -3269,26 +2851,18 @@ module Aws::Lambda
|
|
3269
2851
|
include Aws::Structure
|
3270
2852
|
end
|
3271
2853
|
|
3272
|
-
# @note When making an API call, you may pass GetPolicyRequest
|
3273
|
-
# data as a hash:
|
3274
|
-
#
|
3275
|
-
# {
|
3276
|
-
# function_name: "NamespacedFunctionName", # required
|
3277
|
-
# qualifier: "Qualifier",
|
3278
|
-
# }
|
3279
|
-
#
|
3280
2854
|
# @!attribute [rw] function_name
|
3281
2855
|
# The name of the Lambda function, version, or alias.
|
3282
2856
|
#
|
3283
2857
|
# **Name formats**
|
3284
2858
|
#
|
3285
|
-
# * **Function name**
|
2859
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
3286
2860
|
# (with alias).
|
3287
2861
|
#
|
3288
|
-
# * **Function ARN**
|
2862
|
+
# * **Function ARN** –
|
3289
2863
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3290
2864
|
#
|
3291
|
-
# * **Partial ARN**
|
2865
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3292
2866
|
#
|
3293
2867
|
# You can append a version number or alias to any of the formats. The
|
3294
2868
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -3325,25 +2899,17 @@ module Aws::Lambda
|
|
3325
2899
|
include Aws::Structure
|
3326
2900
|
end
|
3327
2901
|
|
3328
|
-
# @note When making an API call, you may pass GetProvisionedConcurrencyConfigRequest
|
3329
|
-
# data as a hash:
|
3330
|
-
#
|
3331
|
-
# {
|
3332
|
-
# function_name: "FunctionName", # required
|
3333
|
-
# qualifier: "Qualifier", # required
|
3334
|
-
# }
|
3335
|
-
#
|
3336
2902
|
# @!attribute [rw] function_name
|
3337
2903
|
# The name of the Lambda function.
|
3338
2904
|
#
|
3339
2905
|
# **Name formats**
|
3340
2906
|
#
|
3341
|
-
# * **Function name**
|
2907
|
+
# * **Function name** – `my-function`.
|
3342
2908
|
#
|
3343
|
-
# * **Function ARN**
|
2909
|
+
# * **Function ARN** –
|
3344
2910
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3345
2911
|
#
|
3346
|
-
# * **Partial ARN**
|
2912
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3347
2913
|
#
|
3348
2914
|
# The length constraint applies only to the full ARN. If you specify
|
3349
2915
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3409,21 +2975,12 @@ module Aws::Lambda
|
|
3409
2975
|
end
|
3410
2976
|
|
3411
2977
|
# Configuration values that override the container image Dockerfile
|
3412
|
-
# settings.
|
2978
|
+
# settings. For more information, see [Container image settings][1].
|
3413
2979
|
#
|
3414
2980
|
#
|
3415
2981
|
#
|
3416
2982
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
3417
2983
|
#
|
3418
|
-
# @note When making an API call, you may pass ImageConfig
|
3419
|
-
# data as a hash:
|
3420
|
-
#
|
3421
|
-
# {
|
3422
|
-
# entry_point: ["String"],
|
3423
|
-
# command: ["String"],
|
3424
|
-
# working_directory: "WorkingDirectory",
|
3425
|
-
# }
|
3426
|
-
#
|
3427
2984
|
# @!attribute [rw] entry_point
|
3428
2985
|
# Specifies the entry point to their application, which is typically
|
3429
2986
|
# the location of the runtime executable.
|
@@ -3447,7 +3004,7 @@ module Aws::Lambda
|
|
3447
3004
|
include Aws::Structure
|
3448
3005
|
end
|
3449
3006
|
|
3450
|
-
# Error response to GetFunctionConfiguration
|
3007
|
+
# Error response to `GetFunctionConfiguration`.
|
3451
3008
|
#
|
3452
3009
|
# @!attribute [rw] error_code
|
3453
3010
|
# Error code.
|
@@ -3466,14 +3023,14 @@ module Aws::Lambda
|
|
3466
3023
|
include Aws::Structure
|
3467
3024
|
end
|
3468
3025
|
|
3469
|
-
# Response to GetFunctionConfiguration request.
|
3026
|
+
# Response to a `GetFunctionConfiguration` request.
|
3470
3027
|
#
|
3471
3028
|
# @!attribute [rw] image_config
|
3472
3029
|
# Configuration values that override the container image Dockerfile.
|
3473
3030
|
# @return [Types::ImageConfig]
|
3474
3031
|
#
|
3475
3032
|
# @!attribute [rw] error
|
3476
|
-
# Error response to GetFunctionConfiguration
|
3033
|
+
# Error response to `GetFunctionConfiguration`.
|
3477
3034
|
# @return [Types::ImageConfigError]
|
3478
3035
|
#
|
3479
3036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
|
@@ -3485,8 +3042,8 @@ module Aws::Lambda
|
|
3485
3042
|
include Aws::Structure
|
3486
3043
|
end
|
3487
3044
|
|
3488
|
-
# The code signature failed the integrity check.
|
3489
|
-
#
|
3045
|
+
# The code signature failed the integrity check. If the integrity check
|
3046
|
+
# fails, then Lambda blocks deployment, even if the code signing policy
|
3490
3047
|
# is set to WARN.
|
3491
3048
|
#
|
3492
3049
|
# @!attribute [rw] type
|
@@ -3504,7 +3061,7 @@ module Aws::Lambda
|
|
3504
3061
|
include Aws::Structure
|
3505
3062
|
end
|
3506
3063
|
|
3507
|
-
# One of the parameters in the request is
|
3064
|
+
# One of the parameters in the request is not valid.
|
3508
3065
|
#
|
3509
3066
|
# @!attribute [rw] type
|
3510
3067
|
# The exception type.
|
@@ -3559,8 +3116,8 @@ module Aws::Lambda
|
|
3559
3116
|
include Aws::Structure
|
3560
3117
|
end
|
3561
3118
|
|
3562
|
-
# The
|
3563
|
-
# configuration is
|
3119
|
+
# The security group ID provided in the Lambda function VPC
|
3120
|
+
# configuration is not valid.
|
3564
3121
|
#
|
3565
3122
|
# @!attribute [rw] type
|
3566
3123
|
# @return [String]
|
@@ -3577,8 +3134,8 @@ module Aws::Lambda
|
|
3577
3134
|
include Aws::Structure
|
3578
3135
|
end
|
3579
3136
|
|
3580
|
-
# The
|
3581
|
-
#
|
3137
|
+
# The subnet ID provided in the Lambda function VPC configuration is not
|
3138
|
+
# valid.
|
3582
3139
|
#
|
3583
3140
|
# @!attribute [rw] type
|
3584
3141
|
# @return [String]
|
@@ -3612,30 +3169,18 @@ module Aws::Lambda
|
|
3612
3169
|
include Aws::Structure
|
3613
3170
|
end
|
3614
3171
|
|
3615
|
-
# @note When making an API call, you may pass InvocationRequest
|
3616
|
-
# data as a hash:
|
3617
|
-
#
|
3618
|
-
# {
|
3619
|
-
# function_name: "NamespacedFunctionName", # required
|
3620
|
-
# invocation_type: "Event", # accepts Event, RequestResponse, DryRun
|
3621
|
-
# log_type: "None", # accepts None, Tail
|
3622
|
-
# client_context: "String",
|
3623
|
-
# payload: "data",
|
3624
|
-
# qualifier: "Qualifier",
|
3625
|
-
# }
|
3626
|
-
#
|
3627
3172
|
# @!attribute [rw] function_name
|
3628
3173
|
# The name of the Lambda function, version, or alias.
|
3629
3174
|
#
|
3630
3175
|
# **Name formats**
|
3631
3176
|
#
|
3632
|
-
# * **Function name**
|
3177
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
3633
3178
|
# (with alias).
|
3634
3179
|
#
|
3635
|
-
# * **Function ARN**
|
3180
|
+
# * **Function ARN** –
|
3636
3181
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3637
3182
|
#
|
3638
|
-
# * **Partial ARN**
|
3183
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3639
3184
|
#
|
3640
3185
|
# You can append a version number or alias to any of the formats. The
|
3641
3186
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -3645,16 +3190,16 @@ module Aws::Lambda
|
|
3645
3190
|
# @!attribute [rw] invocation_type
|
3646
3191
|
# Choose from the following options.
|
3647
3192
|
#
|
3648
|
-
# * `RequestResponse` (default)
|
3193
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
3649
3194
|
# Keep the connection open until the function returns a response or
|
3650
3195
|
# times out. The API response includes the function response and
|
3651
3196
|
# additional data.
|
3652
3197
|
#
|
3653
|
-
# * `Event`
|
3654
|
-
# fail multiple times to the function's dead-letter queue (if
|
3655
|
-
# configured). The API response only includes a status code.
|
3198
|
+
# * `Event` – Invoke the function asynchronously. Send events that
|
3199
|
+
# fail multiple times to the function's dead-letter queue (if one
|
3200
|
+
# is configured). The API response only includes a status code.
|
3656
3201
|
#
|
3657
|
-
# * `DryRun`
|
3202
|
+
# * `DryRun` – Validate parameter values and verify that the user or
|
3658
3203
|
# role has permission to invoke the function.
|
3659
3204
|
# @return [String]
|
3660
3205
|
#
|
@@ -3664,8 +3209,8 @@ module Aws::Lambda
|
|
3664
3209
|
# @return [String]
|
3665
3210
|
#
|
3666
3211
|
# @!attribute [rw] client_context
|
3667
|
-
# Up to
|
3668
|
-
# pass to the function in the context object.
|
3212
|
+
# Up to 3,583 bytes of base64-encoded data about the invoking client
|
3213
|
+
# to pass to the function in the context object.
|
3669
3214
|
# @return [String]
|
3670
3215
|
#
|
3671
3216
|
# @!attribute [rw] payload
|
@@ -3708,7 +3253,7 @@ module Aws::Lambda
|
|
3708
3253
|
# @return [String]
|
3709
3254
|
#
|
3710
3255
|
# @!attribute [rw] log_result
|
3711
|
-
# The last 4 KB of the execution log, which is base64
|
3256
|
+
# The last 4 KB of the execution log, which is base64-encoded.
|
3712
3257
|
# @return [String]
|
3713
3258
|
#
|
3714
3259
|
# @!attribute [rw] payload
|
@@ -3733,25 +3278,17 @@ module Aws::Lambda
|
|
3733
3278
|
include Aws::Structure
|
3734
3279
|
end
|
3735
3280
|
|
3736
|
-
# @note When making an API call, you may pass InvokeAsyncRequest
|
3737
|
-
# data as a hash:
|
3738
|
-
#
|
3739
|
-
# {
|
3740
|
-
# function_name: "NamespacedFunctionName", # required
|
3741
|
-
# invoke_args: "data", # required
|
3742
|
-
# }
|
3743
|
-
#
|
3744
3281
|
# @!attribute [rw] function_name
|
3745
3282
|
# The name of the Lambda function.
|
3746
3283
|
#
|
3747
3284
|
# **Name formats**
|
3748
3285
|
#
|
3749
|
-
# * **Function name**
|
3286
|
+
# * **Function name** – `my-function`.
|
3750
3287
|
#
|
3751
|
-
# * **Function ARN**
|
3288
|
+
# * **Function ARN** –
|
3752
3289
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3753
3290
|
#
|
3754
|
-
# * **Partial ARN**
|
3291
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3755
3292
|
#
|
3756
3293
|
# The length constraint applies only to the full ARN. If you specify
|
3757
3294
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3785,8 +3322,8 @@ module Aws::Lambda
|
|
3785
3322
|
include Aws::Structure
|
3786
3323
|
end
|
3787
3324
|
|
3788
|
-
# Lambda
|
3789
|
-
#
|
3325
|
+
# Lambda couldn't decrypt the environment variables because KMS access
|
3326
|
+
# was denied. Check the Lambda function's KMS permissions.
|
3790
3327
|
#
|
3791
3328
|
# @!attribute [rw] type
|
3792
3329
|
# @return [String]
|
@@ -3803,8 +3340,8 @@ module Aws::Lambda
|
|
3803
3340
|
include Aws::Structure
|
3804
3341
|
end
|
3805
3342
|
|
3806
|
-
# Lambda
|
3807
|
-
#
|
3343
|
+
# Lambda couldn't decrypt the environment variables because the KMS key
|
3344
|
+
# used is disabled. Check the Lambda function's KMS key settings.
|
3808
3345
|
#
|
3809
3346
|
# @!attribute [rw] type
|
3810
3347
|
# @return [String]
|
@@ -3821,9 +3358,9 @@ module Aws::Lambda
|
|
3821
3358
|
include Aws::Structure
|
3822
3359
|
end
|
3823
3360
|
|
3824
|
-
# Lambda
|
3825
|
-
# key used is
|
3826
|
-
# key settings.
|
3361
|
+
# Lambda couldn't decrypt the environment variables because the state
|
3362
|
+
# of the KMS key used is not valid for Decrypt. Check the function's
|
3363
|
+
# KMS key settings.
|
3827
3364
|
#
|
3828
3365
|
# @!attribute [rw] type
|
3829
3366
|
# @return [String]
|
@@ -3840,8 +3377,8 @@ module Aws::Lambda
|
|
3840
3377
|
include Aws::Structure
|
3841
3378
|
end
|
3842
3379
|
|
3843
|
-
# Lambda
|
3844
|
-
#
|
3380
|
+
# Lambda couldn't decrypt the environment variables because the KMS key
|
3381
|
+
# was not found. Check the function's KMS key settings.
|
3845
3382
|
#
|
3846
3383
|
# @!attribute [rw] type
|
3847
3384
|
# @return [String]
|
@@ -3899,16 +3436,6 @@ module Aws::Lambda
|
|
3899
3436
|
#
|
3900
3437
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
3901
3438
|
#
|
3902
|
-
# @note When making an API call, you may pass LayerVersionContentInput
|
3903
|
-
# data as a hash:
|
3904
|
-
#
|
3905
|
-
# {
|
3906
|
-
# s3_bucket: "S3Bucket",
|
3907
|
-
# s3_key: "S3Key",
|
3908
|
-
# s3_object_version: "S3ObjectVersion",
|
3909
|
-
# zip_file: "data",
|
3910
|
-
# }
|
3911
|
-
#
|
3912
3439
|
# @!attribute [rw] s3_bucket
|
3913
3440
|
# The Amazon S3 bucket of the layer archive.
|
3914
3441
|
# @return [String]
|
@@ -4059,16 +3586,6 @@ module Aws::Lambda
|
|
4059
3586
|
include Aws::Structure
|
4060
3587
|
end
|
4061
3588
|
|
4062
|
-
# @note When making an API call, you may pass ListAliasesRequest
|
4063
|
-
# data as a hash:
|
4064
|
-
#
|
4065
|
-
# {
|
4066
|
-
# function_name: "FunctionName", # required
|
4067
|
-
# function_version: "Version",
|
4068
|
-
# marker: "String",
|
4069
|
-
# max_items: 1,
|
4070
|
-
# }
|
4071
|
-
#
|
4072
3589
|
# @!attribute [rw] function_name
|
4073
3590
|
# The name of the Lambda function.
|
4074
3591
|
#
|
@@ -4127,14 +3644,6 @@ module Aws::Lambda
|
|
4127
3644
|
include Aws::Structure
|
4128
3645
|
end
|
4129
3646
|
|
4130
|
-
# @note When making an API call, you may pass ListCodeSigningConfigsRequest
|
4131
|
-
# data as a hash:
|
4132
|
-
#
|
4133
|
-
# {
|
4134
|
-
# marker: "String",
|
4135
|
-
# max_items: 1,
|
4136
|
-
# }
|
4137
|
-
#
|
4138
3647
|
# @!attribute [rw] marker
|
4139
3648
|
# Specify the pagination token that's returned by a previous request
|
4140
3649
|
# to retrieve the next page of results.
|
@@ -4170,28 +3679,20 @@ module Aws::Lambda
|
|
4170
3679
|
include Aws::Structure
|
4171
3680
|
end
|
4172
3681
|
|
4173
|
-
# @note When making an API call, you may pass ListEventSourceMappingsRequest
|
4174
|
-
# data as a hash:
|
4175
|
-
#
|
4176
|
-
# {
|
4177
|
-
# event_source_arn: "Arn",
|
4178
|
-
# function_name: "FunctionName",
|
4179
|
-
# marker: "String",
|
4180
|
-
# max_items: 1,
|
4181
|
-
# }
|
4182
|
-
#
|
4183
3682
|
# @!attribute [rw] event_source_arn
|
4184
3683
|
# The Amazon Resource Name (ARN) of the event source.
|
4185
3684
|
#
|
4186
|
-
# * **Amazon Kinesis**
|
3685
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
4187
3686
|
# consumer.
|
4188
3687
|
#
|
4189
|
-
# * **Amazon DynamoDB Streams**
|
3688
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
4190
3689
|
#
|
4191
|
-
# * **Amazon Simple Queue Service**
|
3690
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
4192
3691
|
#
|
4193
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
3692
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
4194
3693
|
# cluster.
|
3694
|
+
#
|
3695
|
+
# * **Amazon MQ** – The ARN of the broker.
|
4195
3696
|
# @return [String]
|
4196
3697
|
#
|
4197
3698
|
# @!attribute [rw] function_name
|
@@ -4199,15 +3700,15 @@ module Aws::Lambda
|
|
4199
3700
|
#
|
4200
3701
|
# **Name formats**
|
4201
3702
|
#
|
4202
|
-
# * **Function name**
|
3703
|
+
# * **Function name** – `MyFunction`.
|
4203
3704
|
#
|
4204
|
-
# * **Function ARN**
|
3705
|
+
# * **Function ARN** –
|
4205
3706
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4206
3707
|
#
|
4207
|
-
# * **Version or Alias ARN**
|
3708
|
+
# * **Version or Alias ARN** –
|
4208
3709
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
4209
3710
|
#
|
4210
|
-
# * **Partial ARN**
|
3711
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
4211
3712
|
#
|
4212
3713
|
# The length constraint applies only to the full ARN. If you specify
|
4213
3714
|
# only the function name, it's limited to 64 characters in length.
|
@@ -4252,15 +3753,6 @@ module Aws::Lambda
|
|
4252
3753
|
include Aws::Structure
|
4253
3754
|
end
|
4254
3755
|
|
4255
|
-
# @note When making an API call, you may pass ListFunctionEventInvokeConfigsRequest
|
4256
|
-
# data as a hash:
|
4257
|
-
#
|
4258
|
-
# {
|
4259
|
-
# function_name: "FunctionName", # required
|
4260
|
-
# marker: "String",
|
4261
|
-
# max_items: 1,
|
4262
|
-
# }
|
4263
|
-
#
|
4264
3756
|
# @!attribute [rw] function_name
|
4265
3757
|
# The name of the Lambda function.
|
4266
3758
|
#
|
@@ -4313,26 +3805,17 @@ module Aws::Lambda
|
|
4313
3805
|
include Aws::Structure
|
4314
3806
|
end
|
4315
3807
|
|
4316
|
-
# @note When making an API call, you may pass ListFunctionUrlConfigsRequest
|
4317
|
-
# data as a hash:
|
4318
|
-
#
|
4319
|
-
# {
|
4320
|
-
# function_name: "FunctionName", # required
|
4321
|
-
# marker: "String",
|
4322
|
-
# max_items: 1,
|
4323
|
-
# }
|
4324
|
-
#
|
4325
3808
|
# @!attribute [rw] function_name
|
4326
3809
|
# The name of the Lambda function.
|
4327
3810
|
#
|
4328
3811
|
# **Name formats**
|
4329
3812
|
#
|
4330
|
-
# * **Function name**
|
3813
|
+
# * **Function name** – `my-function`.
|
4331
3814
|
#
|
4332
|
-
# * **Function ARN**
|
3815
|
+
# * **Function ARN** –
|
4333
3816
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4334
3817
|
#
|
4335
|
-
# * **Partial ARN**
|
3818
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4336
3819
|
#
|
4337
3820
|
# The length constraint applies only to the full ARN. If you specify
|
4338
3821
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4376,15 +3859,6 @@ module Aws::Lambda
|
|
4376
3859
|
include Aws::Structure
|
4377
3860
|
end
|
4378
3861
|
|
4379
|
-
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
4380
|
-
# data as a hash:
|
4381
|
-
#
|
4382
|
-
# {
|
4383
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4384
|
-
# marker: "String",
|
4385
|
-
# max_items: 1,
|
4386
|
-
# }
|
4387
|
-
#
|
4388
3862
|
# @!attribute [rw] code_signing_config_arn
|
4389
3863
|
# The The Amazon Resource Name (ARN) of the code signing
|
4390
3864
|
# configuration.
|
@@ -4426,20 +3900,10 @@ module Aws::Lambda
|
|
4426
3900
|
include Aws::Structure
|
4427
3901
|
end
|
4428
3902
|
|
4429
|
-
# @note When making an API call, you may pass ListFunctionsRequest
|
4430
|
-
# data as a hash:
|
4431
|
-
#
|
4432
|
-
# {
|
4433
|
-
# master_region: "MasterRegion",
|
4434
|
-
# function_version: "ALL", # accepts ALL
|
4435
|
-
# marker: "String",
|
4436
|
-
# max_items: 1,
|
4437
|
-
# }
|
4438
|
-
#
|
4439
3903
|
# @!attribute [rw] master_region
|
4440
3904
|
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
4441
3905
|
# master function. For example, `us-east-1` filters the list of
|
4442
|
-
# functions to only
|
3906
|
+
# functions to include only Lambda@Edge functions replicated from a
|
4443
3907
|
# master function in US East (N. Virginia). If specified, you must set
|
4444
3908
|
# `FunctionVersion` to `ALL`.
|
4445
3909
|
# @return [String]
|
@@ -4490,17 +3954,6 @@ module Aws::Lambda
|
|
4490
3954
|
include Aws::Structure
|
4491
3955
|
end
|
4492
3956
|
|
4493
|
-
# @note When making an API call, you may pass ListLayerVersionsRequest
|
4494
|
-
# data as a hash:
|
4495
|
-
#
|
4496
|
-
# {
|
4497
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4498
|
-
# layer_name: "LayerName", # required
|
4499
|
-
# marker: "String",
|
4500
|
-
# max_items: 1,
|
4501
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
4502
|
-
# }
|
4503
|
-
#
|
4504
3957
|
# @!attribute [rw] compatible_runtime
|
4505
3958
|
# A runtime identifier. For example, `go1.x`.
|
4506
3959
|
# @return [String]
|
@@ -4555,16 +4008,6 @@ module Aws::Lambda
|
|
4555
4008
|
include Aws::Structure
|
4556
4009
|
end
|
4557
4010
|
|
4558
|
-
# @note When making an API call, you may pass ListLayersRequest
|
4559
|
-
# data as a hash:
|
4560
|
-
#
|
4561
|
-
# {
|
4562
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4563
|
-
# marker: "String",
|
4564
|
-
# max_items: 1,
|
4565
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
4566
|
-
# }
|
4567
|
-
#
|
4568
4011
|
# @!attribute [rw] compatible_runtime
|
4569
4012
|
# A runtime identifier. For example, `go1.x`.
|
4570
4013
|
# @return [String]
|
@@ -4614,26 +4057,17 @@ module Aws::Lambda
|
|
4614
4057
|
include Aws::Structure
|
4615
4058
|
end
|
4616
4059
|
|
4617
|
-
# @note When making an API call, you may pass ListProvisionedConcurrencyConfigsRequest
|
4618
|
-
# data as a hash:
|
4619
|
-
#
|
4620
|
-
# {
|
4621
|
-
# function_name: "FunctionName", # required
|
4622
|
-
# marker: "String",
|
4623
|
-
# max_items: 1,
|
4624
|
-
# }
|
4625
|
-
#
|
4626
4060
|
# @!attribute [rw] function_name
|
4627
4061
|
# The name of the Lambda function.
|
4628
4062
|
#
|
4629
4063
|
# **Name formats**
|
4630
4064
|
#
|
4631
|
-
# * **Function name**
|
4065
|
+
# * **Function name** – `my-function`.
|
4632
4066
|
#
|
4633
|
-
# * **Function ARN**
|
4067
|
+
# * **Function ARN** –
|
4634
4068
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4635
4069
|
#
|
4636
|
-
# * **Partial ARN**
|
4070
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4637
4071
|
#
|
4638
4072
|
# The length constraint applies only to the full ARN. If you specify
|
4639
4073
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4675,13 +4109,6 @@ module Aws::Lambda
|
|
4675
4109
|
include Aws::Structure
|
4676
4110
|
end
|
4677
4111
|
|
4678
|
-
# @note When making an API call, you may pass ListTagsRequest
|
4679
|
-
# data as a hash:
|
4680
|
-
#
|
4681
|
-
# {
|
4682
|
-
# resource: "FunctionArn", # required
|
4683
|
-
# }
|
4684
|
-
#
|
4685
4112
|
# @!attribute [rw] resource
|
4686
4113
|
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
4687
4114
|
# support adding tags to aliases or versions.
|
@@ -4707,15 +4134,6 @@ module Aws::Lambda
|
|
4707
4134
|
include Aws::Structure
|
4708
4135
|
end
|
4709
4136
|
|
4710
|
-
# @note When making an API call, you may pass ListVersionsByFunctionRequest
|
4711
|
-
# data as a hash:
|
4712
|
-
#
|
4713
|
-
# {
|
4714
|
-
# function_name: "NamespacedFunctionName", # required
|
4715
|
-
# marker: "String",
|
4716
|
-
# max_items: 1,
|
4717
|
-
# }
|
4718
|
-
#
|
4719
4137
|
# @!attribute [rw] function_name
|
4720
4138
|
# The name of the Lambda function.
|
4721
4139
|
#
|
@@ -4772,13 +4190,6 @@ module Aws::Lambda
|
|
4772
4190
|
|
4773
4191
|
# A destination for events that failed processing.
|
4774
4192
|
#
|
4775
|
-
# @note When making an API call, you may pass OnFailure
|
4776
|
-
# data as a hash:
|
4777
|
-
#
|
4778
|
-
# {
|
4779
|
-
# destination: "DestinationArn",
|
4780
|
-
# }
|
4781
|
-
#
|
4782
4193
|
# @!attribute [rw] destination
|
4783
4194
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4784
4195
|
# @return [String]
|
@@ -4793,13 +4204,6 @@ module Aws::Lambda
|
|
4793
4204
|
|
4794
4205
|
# A destination for events that were processed successfully.
|
4795
4206
|
#
|
4796
|
-
# @note When making an API call, you may pass OnSuccess
|
4797
|
-
# data as a hash:
|
4798
|
-
#
|
4799
|
-
# {
|
4800
|
-
# destination: "DestinationArn",
|
4801
|
-
# }
|
4802
|
-
#
|
4803
4207
|
# @!attribute [rw] destination
|
4804
4208
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4805
4209
|
# @return [String]
|
@@ -4812,11 +4216,12 @@ module Aws::Lambda
|
|
4812
4216
|
include Aws::Structure
|
4813
4217
|
end
|
4814
4218
|
|
4815
|
-
# The permissions policy for the resource is too large.
|
4219
|
+
# The permissions policy for the resource is too large. For more
|
4220
|
+
# information, see [Lambda quotas][1].
|
4816
4221
|
#
|
4817
4222
|
#
|
4818
4223
|
#
|
4819
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
4224
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
4820
4225
|
#
|
4821
4226
|
# @!attribute [rw] type
|
4822
4227
|
# @return [String]
|
@@ -4835,7 +4240,7 @@ module Aws::Lambda
|
|
4835
4240
|
|
4836
4241
|
# The RevisionId provided does not match the latest RevisionId for the
|
4837
4242
|
# Lambda function or alias. Call the `GetFunction` or the `GetAlias` API
|
4838
|
-
# to retrieve the latest RevisionId for your resource.
|
4243
|
+
# operation to retrieve the latest RevisionId for your resource.
|
4839
4244
|
#
|
4840
4245
|
# @!attribute [rw] type
|
4841
4246
|
# The exception type.
|
@@ -4925,23 +4330,6 @@ module Aws::Lambda
|
|
4925
4330
|
include Aws::Structure
|
4926
4331
|
end
|
4927
4332
|
|
4928
|
-
# @note When making an API call, you may pass PublishLayerVersionRequest
|
4929
|
-
# data as a hash:
|
4930
|
-
#
|
4931
|
-
# {
|
4932
|
-
# layer_name: "LayerName", # required
|
4933
|
-
# description: "Description",
|
4934
|
-
# content: { # required
|
4935
|
-
# s3_bucket: "S3Bucket",
|
4936
|
-
# s3_key: "S3Key",
|
4937
|
-
# s3_object_version: "S3ObjectVersion",
|
4938
|
-
# zip_file: "data",
|
4939
|
-
# },
|
4940
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4941
|
-
# license_info: "LicenseInfo",
|
4942
|
-
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4943
|
-
# }
|
4944
|
-
#
|
4945
4333
|
# @!attribute [rw] layer_name
|
4946
4334
|
# The name or Amazon Resource Name (ARN) of the layer.
|
4947
4335
|
# @return [String]
|
@@ -5060,16 +4448,6 @@ module Aws::Lambda
|
|
5060
4448
|
include Aws::Structure
|
5061
4449
|
end
|
5062
4450
|
|
5063
|
-
# @note When making an API call, you may pass PublishVersionRequest
|
5064
|
-
# data as a hash:
|
5065
|
-
#
|
5066
|
-
# {
|
5067
|
-
# function_name: "FunctionName", # required
|
5068
|
-
# code_sha_256: "String",
|
5069
|
-
# description: "Description",
|
5070
|
-
# revision_id: "String",
|
5071
|
-
# }
|
5072
|
-
#
|
5073
4451
|
# @!attribute [rw] function_name
|
5074
4452
|
# The name of the Lambda function.
|
5075
4453
|
#
|
@@ -5116,14 +4494,6 @@ module Aws::Lambda
|
|
5116
4494
|
include Aws::Structure
|
5117
4495
|
end
|
5118
4496
|
|
5119
|
-
# @note When making an API call, you may pass PutFunctionCodeSigningConfigRequest
|
5120
|
-
# data as a hash:
|
5121
|
-
#
|
5122
|
-
# {
|
5123
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
5124
|
-
# function_name: "FunctionName", # required
|
5125
|
-
# }
|
5126
|
-
#
|
5127
4497
|
# @!attribute [rw] code_signing_config_arn
|
5128
4498
|
# The The Amazon Resource Name (ARN) of the code signing
|
5129
4499
|
# configuration.
|
@@ -5184,25 +4554,17 @@ module Aws::Lambda
|
|
5184
4554
|
include Aws::Structure
|
5185
4555
|
end
|
5186
4556
|
|
5187
|
-
# @note When making an API call, you may pass PutFunctionConcurrencyRequest
|
5188
|
-
# data as a hash:
|
5189
|
-
#
|
5190
|
-
# {
|
5191
|
-
# function_name: "FunctionName", # required
|
5192
|
-
# reserved_concurrent_executions: 1, # required
|
5193
|
-
# }
|
5194
|
-
#
|
5195
4557
|
# @!attribute [rw] function_name
|
5196
4558
|
# The name of the Lambda function.
|
5197
4559
|
#
|
5198
4560
|
# **Name formats**
|
5199
4561
|
#
|
5200
|
-
# * **Function name**
|
4562
|
+
# * **Function name** – `my-function`.
|
5201
4563
|
#
|
5202
|
-
# * **Function ARN**
|
4564
|
+
# * **Function ARN** –
|
5203
4565
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5204
4566
|
#
|
5205
|
-
# * **Partial ARN**
|
4567
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5206
4568
|
#
|
5207
4569
|
# The length constraint applies only to the full ARN. If you specify
|
5208
4570
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5221,24 +4583,6 @@ module Aws::Lambda
|
|
5221
4583
|
include Aws::Structure
|
5222
4584
|
end
|
5223
4585
|
|
5224
|
-
# @note When making an API call, you may pass PutFunctionEventInvokeConfigRequest
|
5225
|
-
# data as a hash:
|
5226
|
-
#
|
5227
|
-
# {
|
5228
|
-
# function_name: "FunctionName", # required
|
5229
|
-
# qualifier: "Qualifier",
|
5230
|
-
# maximum_retry_attempts: 1,
|
5231
|
-
# maximum_event_age_in_seconds: 1,
|
5232
|
-
# destination_config: {
|
5233
|
-
# on_success: {
|
5234
|
-
# destination: "DestinationArn",
|
5235
|
-
# },
|
5236
|
-
# on_failure: {
|
5237
|
-
# destination: "DestinationArn",
|
5238
|
-
# },
|
5239
|
-
# },
|
5240
|
-
# }
|
5241
|
-
#
|
5242
4586
|
# @!attribute [rw] function_name
|
5243
4587
|
# The name of the Lambda function, version, or alias.
|
5244
4588
|
#
|
@@ -5299,26 +4643,17 @@ module Aws::Lambda
|
|
5299
4643
|
include Aws::Structure
|
5300
4644
|
end
|
5301
4645
|
|
5302
|
-
# @note When making an API call, you may pass PutProvisionedConcurrencyConfigRequest
|
5303
|
-
# data as a hash:
|
5304
|
-
#
|
5305
|
-
# {
|
5306
|
-
# function_name: "FunctionName", # required
|
5307
|
-
# qualifier: "Qualifier", # required
|
5308
|
-
# provisioned_concurrent_executions: 1, # required
|
5309
|
-
# }
|
5310
|
-
#
|
5311
4646
|
# @!attribute [rw] function_name
|
5312
4647
|
# The name of the Lambda function.
|
5313
4648
|
#
|
5314
4649
|
# **Name formats**
|
5315
4650
|
#
|
5316
|
-
# * **Function name**
|
4651
|
+
# * **Function name** – `my-function`.
|
5317
4652
|
#
|
5318
|
-
# * **Function ARN**
|
4653
|
+
# * **Function ARN** –
|
5319
4654
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5320
4655
|
#
|
5321
|
-
# * **Partial ARN**
|
4656
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5322
4657
|
#
|
5323
4658
|
# The length constraint applies only to the full ARN. If you specify
|
5324
4659
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5389,16 +4724,6 @@ module Aws::Lambda
|
|
5389
4724
|
include Aws::Structure
|
5390
4725
|
end
|
5391
4726
|
|
5392
|
-
# @note When making an API call, you may pass RemoveLayerVersionPermissionRequest
|
5393
|
-
# data as a hash:
|
5394
|
-
#
|
5395
|
-
# {
|
5396
|
-
# layer_name: "LayerName", # required
|
5397
|
-
# version_number: 1, # required
|
5398
|
-
# statement_id: "StatementId", # required
|
5399
|
-
# revision_id: "String",
|
5400
|
-
# }
|
5401
|
-
#
|
5402
4727
|
# @!attribute [rw] layer_name
|
5403
4728
|
# The name or Amazon Resource Name (ARN) of the layer.
|
5404
4729
|
# @return [String]
|
@@ -5428,28 +4753,18 @@ module Aws::Lambda
|
|
5428
4753
|
include Aws::Structure
|
5429
4754
|
end
|
5430
4755
|
|
5431
|
-
# @note When making an API call, you may pass RemovePermissionRequest
|
5432
|
-
# data as a hash:
|
5433
|
-
#
|
5434
|
-
# {
|
5435
|
-
# function_name: "FunctionName", # required
|
5436
|
-
# statement_id: "NamespacedStatementId", # required
|
5437
|
-
# qualifier: "Qualifier",
|
5438
|
-
# revision_id: "String",
|
5439
|
-
# }
|
5440
|
-
#
|
5441
4756
|
# @!attribute [rw] function_name
|
5442
4757
|
# The name of the Lambda function, version, or alias.
|
5443
4758
|
#
|
5444
4759
|
# **Name formats**
|
5445
4760
|
#
|
5446
|
-
# * **Function name**
|
4761
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
5447
4762
|
# (with alias).
|
5448
4763
|
#
|
5449
|
-
# * **Function ARN**
|
4764
|
+
# * **Function ARN** –
|
5450
4765
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5451
4766
|
#
|
5452
|
-
# * **Partial ARN**
|
4767
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5453
4768
|
#
|
5454
4769
|
# You can append a version number or alias to any of the formats. The
|
5455
4770
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -5466,7 +4781,7 @@ module Aws::Lambda
|
|
5466
4781
|
# @return [String]
|
5467
4782
|
#
|
5468
4783
|
# @!attribute [rw] revision_id
|
5469
|
-
#
|
4784
|
+
# Update the policy only if the revision ID matches the ID that's
|
5470
4785
|
# specified. Use this option to avoid modifying a policy that has
|
5471
4786
|
# changed since you last read it.
|
5472
4787
|
# @return [String]
|
@@ -5483,11 +4798,11 @@ module Aws::Lambda
|
|
5483
4798
|
end
|
5484
4799
|
|
5485
4800
|
# The request payload exceeded the `Invoke` request body JSON input
|
5486
|
-
#
|
4801
|
+
# quota. For more information, see [Lambda quotas][1].
|
5487
4802
|
#
|
5488
4803
|
#
|
5489
4804
|
#
|
5490
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
4805
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
5491
4806
|
#
|
5492
4807
|
# @!attribute [rw] type
|
5493
4808
|
# @return [String]
|
@@ -5524,9 +4839,9 @@ module Aws::Lambda
|
|
5524
4839
|
end
|
5525
4840
|
|
5526
4841
|
# The operation conflicts with the resource's availability. For
|
5527
|
-
# example, you
|
5528
|
-
# or tried to delete
|
5529
|
-
#
|
4842
|
+
# example, you tried to update an event source mapping in the CREATING
|
4843
|
+
# state, or you tried to delete an event source mapping currently
|
4844
|
+
# UPDATING.
|
5530
4845
|
#
|
5531
4846
|
# @!attribute [rw] type
|
5532
4847
|
# @return [String]
|
@@ -5580,16 +4895,23 @@ module Aws::Lambda
|
|
5580
4895
|
include Aws::Structure
|
5581
4896
|
end
|
5582
4897
|
|
5583
|
-
#
|
4898
|
+
# (Amazon SQS only) The scaling configuration for the event source. To
|
4899
|
+
# remove the configuration, pass an empty value.
|
4900
|
+
#
|
4901
|
+
# @!attribute [rw] maximum_concurrency
|
4902
|
+
# Limits the number of concurrent instances that the Amazon SQS event
|
4903
|
+
# source can invoke.
|
4904
|
+
# @return [Integer]
|
5584
4905
|
#
|
5585
|
-
# @
|
5586
|
-
# data as a hash:
|
4906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ScalingConfig AWS API Documentation
|
5587
4907
|
#
|
5588
|
-
|
5589
|
-
|
5590
|
-
|
5591
|
-
|
5592
|
-
|
4908
|
+
class ScalingConfig < Struct.new(
|
4909
|
+
:maximum_concurrency)
|
4910
|
+
SENSITIVE = []
|
4911
|
+
include Aws::Structure
|
4912
|
+
end
|
4913
|
+
|
4914
|
+
# The self-managed Apache Kafka cluster for your event source.
|
5593
4915
|
#
|
5594
4916
|
# @!attribute [rw] endpoints
|
5595
4917
|
# The list of bootstrap servers for your Kafka brokers in the
|
@@ -5608,13 +4930,6 @@ module Aws::Lambda
|
|
5608
4930
|
# Specific configuration settings for a self-managed Apache Kafka event
|
5609
4931
|
# source.
|
5610
4932
|
#
|
5611
|
-
# @note When making an API call, you may pass SelfManagedKafkaEventSourceConfig
|
5612
|
-
# data as a hash:
|
5613
|
-
#
|
5614
|
-
# {
|
5615
|
-
# consumer_group_id: "URI",
|
5616
|
-
# }
|
5617
|
-
#
|
5618
4933
|
# @!attribute [rw] consumer_group_id
|
5619
4934
|
# The identifier for the Kafka consumer group to join. The consumer
|
5620
4935
|
# group ID must be unique among all your Kafka event sources. After
|
@@ -5652,56 +4967,161 @@ module Aws::Lambda
|
|
5652
4967
|
include Aws::Structure
|
5653
4968
|
end
|
5654
4969
|
|
5655
|
-
#
|
5656
|
-
#
|
4970
|
+
# The function's Lambda SnapStart setting. Set `ApplyOn` to
|
4971
|
+
# `PublishedVersions` to create a snapshot of the initialized execution
|
4972
|
+
# environment when you publish a function version.
|
4973
|
+
#
|
4974
|
+
# SnapStart is supported with the `java11` runtime. For more
|
4975
|
+
# information, see [Improving startup performance with Lambda
|
4976
|
+
# SnapStart][1].
|
4977
|
+
#
|
4978
|
+
#
|
4979
|
+
#
|
4980
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
4981
|
+
#
|
4982
|
+
# @!attribute [rw] apply_on
|
4983
|
+
# Set to `PublishedVersions` to create a snapshot of the initialized
|
4984
|
+
# execution environment when you publish a function version.
|
4985
|
+
# @return [String]
|
4986
|
+
#
|
4987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStart AWS API Documentation
|
4988
|
+
#
|
4989
|
+
class SnapStart < Struct.new(
|
4990
|
+
:apply_on)
|
4991
|
+
SENSITIVE = []
|
4992
|
+
include Aws::Structure
|
4993
|
+
end
|
4994
|
+
|
4995
|
+
# The runtime restore hook encountered an error. For more information,
|
4996
|
+
# check the Amazon CloudWatch logs.
|
4997
|
+
#
|
4998
|
+
# @!attribute [rw] type
|
4999
|
+
# @return [String]
|
5000
|
+
#
|
5001
|
+
# @!attribute [rw] message
|
5002
|
+
# @return [String]
|
5003
|
+
#
|
5004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartException AWS API Documentation
|
5005
|
+
#
|
5006
|
+
class SnapStartException < Struct.new(
|
5007
|
+
:type,
|
5008
|
+
:message)
|
5009
|
+
SENSITIVE = []
|
5010
|
+
include Aws::Structure
|
5011
|
+
end
|
5012
|
+
|
5013
|
+
# Lambda is initializing your function. You can invoke the function when
|
5014
|
+
# the [function state][1] becomes `Active`.
|
5015
|
+
#
|
5016
|
+
#
|
5017
|
+
#
|
5018
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
|
5019
|
+
#
|
5020
|
+
# @!attribute [rw] type
|
5021
|
+
# @return [String]
|
5022
|
+
#
|
5023
|
+
# @!attribute [rw] message
|
5024
|
+
# @return [String]
|
5025
|
+
#
|
5026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartNotReadyException AWS API Documentation
|
5027
|
+
#
|
5028
|
+
class SnapStartNotReadyException < Struct.new(
|
5029
|
+
:type,
|
5030
|
+
:message)
|
5031
|
+
SENSITIVE = []
|
5032
|
+
include Aws::Structure
|
5033
|
+
end
|
5034
|
+
|
5035
|
+
# The function's [SnapStart][1] setting.
|
5036
|
+
#
|
5037
|
+
#
|
5038
|
+
#
|
5039
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5040
|
+
#
|
5041
|
+
# @!attribute [rw] apply_on
|
5042
|
+
# When set to `PublishedVersions`, Lambda creates a snapshot of the
|
5043
|
+
# execution environment when you publish a function version.
|
5044
|
+
# @return [String]
|
5045
|
+
#
|
5046
|
+
# @!attribute [rw] optimization_status
|
5047
|
+
# When you provide a [qualified Amazon Resource Name (ARN)][1], this
|
5048
|
+
# response element indicates whether SnapStart is activated for the
|
5049
|
+
# specified function version.
|
5050
|
+
#
|
5051
|
+
#
|
5052
|
+
#
|
5053
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using
|
5054
|
+
# @return [String]
|
5657
5055
|
#
|
5658
|
-
# @
|
5659
|
-
# data as a hash:
|
5056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartResponse AWS API Documentation
|
5660
5057
|
#
|
5661
|
-
|
5662
|
-
|
5663
|
-
|
5664
|
-
|
5058
|
+
class SnapStartResponse < Struct.new(
|
5059
|
+
:apply_on,
|
5060
|
+
:optimization_status)
|
5061
|
+
SENSITIVE = []
|
5062
|
+
include Aws::Structure
|
5063
|
+
end
|
5064
|
+
|
5065
|
+
# The runtime restore hook failed to complete within the timeout limit
|
5066
|
+
# (2 seconds).
|
5067
|
+
#
|
5068
|
+
# @!attribute [rw] type
|
5069
|
+
# @return [String]
|
5070
|
+
#
|
5071
|
+
# @!attribute [rw] message
|
5072
|
+
# @return [String]
|
5073
|
+
#
|
5074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartTimeoutException AWS API Documentation
|
5075
|
+
#
|
5076
|
+
class SnapStartTimeoutException < Struct.new(
|
5077
|
+
:type,
|
5078
|
+
:message)
|
5079
|
+
SENSITIVE = []
|
5080
|
+
include Aws::Structure
|
5081
|
+
end
|
5082
|
+
|
5083
|
+
# To secure and define access to your event source, you can specify the
|
5084
|
+
# authentication protocol, VPC components, or virtual host.
|
5665
5085
|
#
|
5666
5086
|
# @!attribute [rw] type
|
5667
5087
|
# The type of authentication protocol, VPC components, or virtual host
|
5668
5088
|
# for your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
5669
5089
|
#
|
5670
|
-
# * `BASIC_AUTH`
|
5090
|
+
# * `BASIC_AUTH` – (Amazon MQ) The Secrets Manager secret that stores
|
5671
5091
|
# your broker credentials.
|
5672
5092
|
#
|
5673
|
-
# * `BASIC_AUTH`
|
5093
|
+
# * `BASIC_AUTH` – (Self-managed Apache Kafka) The Secrets Manager ARN
|
5674
5094
|
# of your secret key used for SASL/PLAIN authentication of your
|
5675
5095
|
# Apache Kafka brokers.
|
5676
5096
|
#
|
5677
|
-
# * `VPC_SUBNET`
|
5097
|
+
# * `VPC_SUBNET` – (Self-managed Apache Kafka) The subnets associated
|
5678
5098
|
# with your VPC. Lambda connects to these subnets to fetch data from
|
5679
5099
|
# your self-managed Apache Kafka cluster.
|
5680
5100
|
#
|
5681
|
-
# * `VPC_SECURITY_GROUP`
|
5101
|
+
# * `VPC_SECURITY_GROUP` – (Self-managed Apache Kafka) The VPC
|
5682
5102
|
# security group used to manage access to your self-managed Apache
|
5683
5103
|
# Kafka brokers.
|
5684
5104
|
#
|
5685
|
-
# * `SASL_SCRAM_256_AUTH`
|
5105
|
+
# * `SASL_SCRAM_256_AUTH` – (Self-managed Apache Kafka) The Secrets
|
5686
5106
|
# Manager ARN of your secret key used for SASL SCRAM-256
|
5687
5107
|
# authentication of your self-managed Apache Kafka brokers.
|
5688
5108
|
#
|
5689
|
-
# * `SASL_SCRAM_512_AUTH`
|
5109
|
+
# * `SASL_SCRAM_512_AUTH` – (Amazon MSK, Self-managed Apache Kafka)
|
5690
5110
|
# The Secrets Manager ARN of your secret key used for SASL SCRAM-512
|
5691
5111
|
# authentication of your self-managed Apache Kafka brokers.
|
5692
5112
|
#
|
5693
|
-
# * `VIRTUAL_HOST`
|
5113
|
+
# * `VIRTUAL_HOST` –- (RabbitMQ) The name of the virtual host in your
|
5694
5114
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5695
5115
|
# source. This property cannot be specified in an
|
5696
5116
|
# UpdateEventSourceMapping API call.
|
5697
5117
|
#
|
5698
|
-
# * `CLIENT_CERTIFICATE_TLS_AUTH`
|
5118
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` – (Amazon MSK, self-managed Apache
|
5699
5119
|
# Kafka) The Secrets Manager ARN of your secret key containing the
|
5700
5120
|
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
5701
5121
|
# private key password (optional) used for mutual TLS authentication
|
5702
5122
|
# of your MSK/Apache Kafka brokers.
|
5703
5123
|
#
|
5704
|
-
# * `SERVER_ROOT_CA_CERTIFICATE`
|
5124
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` – (Self-managed Apache Kafka) The
|
5705
5125
|
# Secrets Manager ARN of your secret key containing the root CA
|
5706
5126
|
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
5707
5127
|
# Kafka brokers.
|
@@ -5722,8 +5142,8 @@ module Aws::Lambda
|
|
5722
5142
|
include Aws::Structure
|
5723
5143
|
end
|
5724
5144
|
|
5725
|
-
# Lambda
|
5726
|
-
#
|
5145
|
+
# Lambda couldn't set up VPC access for the Lambda function because one
|
5146
|
+
# or more configured subnets has no available IP addresses.
|
5727
5147
|
#
|
5728
5148
|
# @!attribute [rw] type
|
5729
5149
|
# @return [String]
|
@@ -5740,16 +5160,6 @@ module Aws::Lambda
|
|
5740
5160
|
include Aws::Structure
|
5741
5161
|
end
|
5742
5162
|
|
5743
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5744
|
-
# data as a hash:
|
5745
|
-
#
|
5746
|
-
# {
|
5747
|
-
# resource: "FunctionArn", # required
|
5748
|
-
# tags: { # required
|
5749
|
-
# "TagKey" => "TagValue",
|
5750
|
-
# },
|
5751
|
-
# }
|
5752
|
-
#
|
5753
5163
|
# @!attribute [rw] resource
|
5754
5164
|
# The function's Amazon Resource Name (ARN).
|
5755
5165
|
# @return [String]
|
@@ -5767,7 +5177,12 @@ module Aws::Lambda
|
|
5767
5177
|
include Aws::Structure
|
5768
5178
|
end
|
5769
5179
|
|
5770
|
-
# The request throughput limit was exceeded.
|
5180
|
+
# The request throughput limit was exceeded. For more information, see
|
5181
|
+
# [Lambda quotas][1].
|
5182
|
+
#
|
5183
|
+
#
|
5184
|
+
#
|
5185
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests
|
5771
5186
|
#
|
5772
5187
|
# @!attribute [rw] retry_after_seconds
|
5773
5188
|
# The number of seconds the caller should wait before retrying.
|
@@ -5800,13 +5215,6 @@ module Aws::Lambda
|
|
5800
5215
|
#
|
5801
5216
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5802
5217
|
#
|
5803
|
-
# @note When making an API call, you may pass TracingConfig
|
5804
|
-
# data as a hash:
|
5805
|
-
#
|
5806
|
-
# {
|
5807
|
-
# mode: "Active", # accepts Active, PassThrough
|
5808
|
-
# }
|
5809
|
-
#
|
5810
5218
|
# @!attribute [rw] mode
|
5811
5219
|
# The tracing mode.
|
5812
5220
|
# @return [String]
|
@@ -5850,14 +5258,6 @@ module Aws::Lambda
|
|
5850
5258
|
include Aws::Structure
|
5851
5259
|
end
|
5852
5260
|
|
5853
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
5854
|
-
# data as a hash:
|
5855
|
-
#
|
5856
|
-
# {
|
5857
|
-
# resource: "FunctionArn", # required
|
5858
|
-
# tag_keys: ["TagKey"], # required
|
5859
|
-
# }
|
5860
|
-
#
|
5861
5261
|
# @!attribute [rw] resource
|
5862
5262
|
# The function's Amazon Resource Name (ARN).
|
5863
5263
|
# @return [String]
|
@@ -5875,22 +5275,6 @@ module Aws::Lambda
|
|
5875
5275
|
include Aws::Structure
|
5876
5276
|
end
|
5877
5277
|
|
5878
|
-
# @note When making an API call, you may pass UpdateAliasRequest
|
5879
|
-
# data as a hash:
|
5880
|
-
#
|
5881
|
-
# {
|
5882
|
-
# function_name: "FunctionName", # required
|
5883
|
-
# name: "Alias", # required
|
5884
|
-
# function_version: "Version",
|
5885
|
-
# description: "Description",
|
5886
|
-
# routing_config: {
|
5887
|
-
# additional_version_weights: {
|
5888
|
-
# "AdditionalVersion" => 1.0,
|
5889
|
-
# },
|
5890
|
-
# },
|
5891
|
-
# revision_id: "String",
|
5892
|
-
# }
|
5893
|
-
#
|
5894
5278
|
# @!attribute [rw] function_name
|
5895
5279
|
# The name of the Lambda function.
|
5896
5280
|
#
|
@@ -5946,20 +5330,6 @@ module Aws::Lambda
|
|
5946
5330
|
include Aws::Structure
|
5947
5331
|
end
|
5948
5332
|
|
5949
|
-
# @note When making an API call, you may pass UpdateCodeSigningConfigRequest
|
5950
|
-
# data as a hash:
|
5951
|
-
#
|
5952
|
-
# {
|
5953
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
5954
|
-
# description: "Description",
|
5955
|
-
# allowed_publishers: {
|
5956
|
-
# signing_profile_version_arns: ["Arn"], # required
|
5957
|
-
# },
|
5958
|
-
# code_signing_policies: {
|
5959
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
5960
|
-
# },
|
5961
|
-
# }
|
5962
|
-
#
|
5963
5333
|
# @!attribute [rw] code_signing_config_arn
|
5964
5334
|
# The The Amazon Resource Name (ARN) of the code signing
|
5965
5335
|
# configuration.
|
@@ -6000,44 +5370,6 @@ module Aws::Lambda
|
|
6000
5370
|
include Aws::Structure
|
6001
5371
|
end
|
6002
5372
|
|
6003
|
-
# @note When making an API call, you may pass UpdateEventSourceMappingRequest
|
6004
|
-
# data as a hash:
|
6005
|
-
#
|
6006
|
-
# {
|
6007
|
-
# uuid: "String", # required
|
6008
|
-
# function_name: "FunctionName",
|
6009
|
-
# enabled: false,
|
6010
|
-
# batch_size: 1,
|
6011
|
-
# filter_criteria: {
|
6012
|
-
# filters: [
|
6013
|
-
# {
|
6014
|
-
# pattern: "Pattern",
|
6015
|
-
# },
|
6016
|
-
# ],
|
6017
|
-
# },
|
6018
|
-
# maximum_batching_window_in_seconds: 1,
|
6019
|
-
# destination_config: {
|
6020
|
-
# on_success: {
|
6021
|
-
# destination: "DestinationArn",
|
6022
|
-
# },
|
6023
|
-
# on_failure: {
|
6024
|
-
# destination: "DestinationArn",
|
6025
|
-
# },
|
6026
|
-
# },
|
6027
|
-
# maximum_record_age_in_seconds: 1,
|
6028
|
-
# bisect_batch_on_function_error: false,
|
6029
|
-
# maximum_retry_attempts: 1,
|
6030
|
-
# parallelization_factor: 1,
|
6031
|
-
# source_access_configurations: [
|
6032
|
-
# {
|
6033
|
-
# 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
|
6034
|
-
# uri: "URI",
|
6035
|
-
# },
|
6036
|
-
# ],
|
6037
|
-
# tumbling_window_in_seconds: 1,
|
6038
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
6039
|
-
# }
|
6040
|
-
#
|
6041
5373
|
# @!attribute [rw] uuid
|
6042
5374
|
# The identifier of the event source mapping.
|
6043
5375
|
# @return [String]
|
@@ -6047,15 +5379,15 @@ module Aws::Lambda
|
|
6047
5379
|
#
|
6048
5380
|
# **Name formats**
|
6049
5381
|
#
|
6050
|
-
# * **Function name**
|
5382
|
+
# * **Function name** – `MyFunction`.
|
6051
5383
|
#
|
6052
|
-
# * **Function ARN**
|
5384
|
+
# * **Function ARN** –
|
6053
5385
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
6054
5386
|
#
|
6055
|
-
# * **Version or Alias ARN**
|
5387
|
+
# * **Version or Alias ARN** –
|
6056
5388
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
6057
5389
|
#
|
6058
|
-
# * **Partial ARN**
|
5390
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
6059
5391
|
#
|
6060
5392
|
# The length constraint applies only to the full ARN. If you specify
|
6061
5393
|
# only the function name, it's limited to 64 characters in length.
|
@@ -6074,25 +5406,25 @@ module Aws::Lambda
|
|
6074
5406
|
# of the records in the batch to the function in a single call, up to
|
6075
5407
|
# the payload limit for synchronous invocation (6 MB).
|
6076
5408
|
#
|
6077
|
-
# * **Amazon Kinesis**
|
5409
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
6078
5410
|
#
|
6079
|
-
# * **Amazon DynamoDB Streams**
|
5411
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
6080
5412
|
#
|
6081
|
-
# * **Amazon Simple Queue Service**
|
5413
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
6082
5414
|
# the max is 10,000. For FIFO queues the max is 10.
|
6083
5415
|
#
|
6084
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
5416
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
6085
5417
|
# 10,000.
|
6086
5418
|
#
|
6087
|
-
# * **Self-managed Apache Kafka**
|
5419
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
6088
5420
|
#
|
6089
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)**
|
5421
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
6090
5422
|
# @return [Integer]
|
6091
5423
|
#
|
6092
5424
|
# @!attribute [rw] filter_criteria
|
6093
|
-
#
|
6094
|
-
#
|
6095
|
-
#
|
5425
|
+
# An object that defines the filter criteria that determine whether
|
5426
|
+
# Lambda should process an event. For more information, see [Lambda
|
5427
|
+
# event filtering][1].
|
6096
5428
|
#
|
6097
5429
|
#
|
6098
5430
|
#
|
@@ -6159,6 +5491,16 @@ module Aws::Lambda
|
|
6159
5491
|
# applied to the event source mapping.
|
6160
5492
|
# @return [Array<String>]
|
6161
5493
|
#
|
5494
|
+
# @!attribute [rw] scaling_config
|
5495
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
5496
|
+
# For more information, see [Configuring maximum concurrency for
|
5497
|
+
# Amazon SQS event sources][1].
|
5498
|
+
#
|
5499
|
+
#
|
5500
|
+
#
|
5501
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
5502
|
+
# @return [Types::ScalingConfig]
|
5503
|
+
#
|
6162
5504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
6163
5505
|
#
|
6164
5506
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -6175,38 +5517,23 @@ module Aws::Lambda
|
|
6175
5517
|
:parallelization_factor,
|
6176
5518
|
:source_access_configurations,
|
6177
5519
|
:tumbling_window_in_seconds,
|
6178
|
-
:function_response_types
|
5520
|
+
:function_response_types,
|
5521
|
+
:scaling_config)
|
6179
5522
|
SENSITIVE = []
|
6180
5523
|
include Aws::Structure
|
6181
5524
|
end
|
6182
5525
|
|
6183
|
-
# @note When making an API call, you may pass UpdateFunctionCodeRequest
|
6184
|
-
# data as a hash:
|
6185
|
-
#
|
6186
|
-
# {
|
6187
|
-
# function_name: "FunctionName", # required
|
6188
|
-
# zip_file: "data",
|
6189
|
-
# s3_bucket: "S3Bucket",
|
6190
|
-
# s3_key: "S3Key",
|
6191
|
-
# s3_object_version: "S3ObjectVersion",
|
6192
|
-
# image_uri: "String",
|
6193
|
-
# publish: false,
|
6194
|
-
# dry_run: false,
|
6195
|
-
# revision_id: "String",
|
6196
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
6197
|
-
# }
|
6198
|
-
#
|
6199
5526
|
# @!attribute [rw] function_name
|
6200
5527
|
# The name of the Lambda function.
|
6201
5528
|
#
|
6202
5529
|
# **Name formats**
|
6203
5530
|
#
|
6204
|
-
# * **Function name**
|
5531
|
+
# * **Function name** – `my-function`.
|
6205
5532
|
#
|
6206
|
-
# * **Function ARN**
|
5533
|
+
# * **Function ARN** –
|
6207
5534
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
6208
5535
|
#
|
6209
|
-
# * **Partial ARN**
|
5536
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
6210
5537
|
#
|
6211
5538
|
# The length constraint applies only to the full ARN. If you specify
|
6212
5539
|
# only the function name, it is limited to 64 characters in length.
|
@@ -6214,9 +5541,8 @@ module Aws::Lambda
|
|
6214
5541
|
#
|
6215
5542
|
# @!attribute [rw] zip_file
|
6216
5543
|
# The base64-encoded contents of the deployment package. Amazon Web
|
6217
|
-
# Services SDK and
|
6218
|
-
#
|
6219
|
-
# deployment package.
|
5544
|
+
# Services SDK and CLI clients handle the encoding for you. Use only
|
5545
|
+
# with a function defined with a .zip file archive deployment package.
|
6220
5546
|
# @return [String]
|
6221
5547
|
#
|
6222
5548
|
# @!attribute [rw] s3_bucket
|
@@ -6253,7 +5579,7 @@ module Aws::Lambda
|
|
6253
5579
|
# @return [Boolean]
|
6254
5580
|
#
|
6255
5581
|
# @!attribute [rw] revision_id
|
6256
|
-
#
|
5582
|
+
# Update the function only if the revision ID matches the ID that's
|
6257
5583
|
# specified. Use this option to avoid modifying a function that has
|
6258
5584
|
# changed since you last read it.
|
6259
5585
|
# @return [String]
|
@@ -6281,62 +5607,17 @@ module Aws::Lambda
|
|
6281
5607
|
include Aws::Structure
|
6282
5608
|
end
|
6283
5609
|
|
6284
|
-
# @note When making an API call, you may pass UpdateFunctionConfigurationRequest
|
6285
|
-
# data as a hash:
|
6286
|
-
#
|
6287
|
-
# {
|
6288
|
-
# function_name: "FunctionName", # required
|
6289
|
-
# role: "RoleArn",
|
6290
|
-
# handler: "Handler",
|
6291
|
-
# description: "Description",
|
6292
|
-
# timeout: 1,
|
6293
|
-
# memory_size: 1,
|
6294
|
-
# vpc_config: {
|
6295
|
-
# subnet_ids: ["SubnetId"],
|
6296
|
-
# security_group_ids: ["SecurityGroupId"],
|
6297
|
-
# },
|
6298
|
-
# environment: {
|
6299
|
-
# variables: {
|
6300
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
6301
|
-
# },
|
6302
|
-
# },
|
6303
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
6304
|
-
# dead_letter_config: {
|
6305
|
-
# target_arn: "ResourceArn",
|
6306
|
-
# },
|
6307
|
-
# kms_key_arn: "KMSKeyArn",
|
6308
|
-
# tracing_config: {
|
6309
|
-
# mode: "Active", # accepts Active, PassThrough
|
6310
|
-
# },
|
6311
|
-
# revision_id: "String",
|
6312
|
-
# layers: ["LayerVersionArn"],
|
6313
|
-
# file_system_configs: [
|
6314
|
-
# {
|
6315
|
-
# arn: "FileSystemArn", # required
|
6316
|
-
# local_mount_path: "LocalMountPath", # required
|
6317
|
-
# },
|
6318
|
-
# ],
|
6319
|
-
# image_config: {
|
6320
|
-
# entry_point: ["String"],
|
6321
|
-
# command: ["String"],
|
6322
|
-
# working_directory: "WorkingDirectory",
|
6323
|
-
# },
|
6324
|
-
# ephemeral_storage: {
|
6325
|
-
# size: 1, # required
|
6326
|
-
# },
|
6327
|
-
# }
|
6328
|
-
#
|
6329
5610
|
# @!attribute [rw] function_name
|
6330
5611
|
# The name of the Lambda function.
|
6331
5612
|
#
|
6332
5613
|
# **Name formats**
|
6333
5614
|
#
|
6334
|
-
# * **Function name**
|
5615
|
+
# * **Function name** – `my-function`.
|
6335
5616
|
#
|
6336
|
-
# * **Function ARN**
|
5617
|
+
# * **Function ARN** –
|
6337
5618
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
6338
5619
|
#
|
6339
|
-
# * **Partial ARN**
|
5620
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
6340
5621
|
#
|
6341
5622
|
# The length constraint applies only to the full ARN. If you specify
|
6342
5623
|
# only the function name, it is limited to 64 characters in length.
|
@@ -6347,15 +5628,15 @@ module Aws::Lambda
|
|
6347
5628
|
# @return [String]
|
6348
5629
|
#
|
6349
5630
|
# @!attribute [rw] handler
|
6350
|
-
# The name of the method within your code that Lambda calls to
|
5631
|
+
# The name of the method within your code that Lambda calls to run
|
6351
5632
|
# your function. Handler is required if the deployment package is a
|
6352
5633
|
# .zip file archive. The format includes the file name. It can also
|
6353
5634
|
# include namespaces and other qualifiers, depending on the runtime.
|
6354
|
-
# For more information, see [
|
5635
|
+
# For more information, see [Lambda programming model][1].
|
6355
5636
|
#
|
6356
5637
|
#
|
6357
5638
|
#
|
6358
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
5639
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
6359
5640
|
# @return [String]
|
6360
5641
|
#
|
6361
5642
|
# @!attribute [rw] description
|
@@ -6365,8 +5646,8 @@ module Aws::Lambda
|
|
6365
5646
|
# @!attribute [rw] timeout
|
6366
5647
|
# The amount of time (in seconds) that Lambda allows a function to run
|
6367
5648
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
6368
|
-
# value is 900 seconds. For
|
6369
|
-
#
|
5649
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
5650
|
+
# environment][1].
|
6370
5651
|
#
|
6371
5652
|
#
|
6372
5653
|
#
|
@@ -6380,15 +5661,15 @@ module Aws::Lambda
|
|
6380
5661
|
#
|
6381
5662
|
#
|
6382
5663
|
#
|
6383
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
5664
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
6384
5665
|
# @return [Integer]
|
6385
5666
|
#
|
6386
5667
|
# @!attribute [rw] vpc_config
|
6387
5668
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
6388
5669
|
# specify a list of security groups and subnets in the VPC. When you
|
6389
|
-
# connect a function to a VPC, it can
|
6390
|
-
# internet through that VPC. For more information, see
|
6391
|
-
#
|
5670
|
+
# connect a function to a VPC, it can access resources and the
|
5671
|
+
# internet only through that VPC. For more information, see
|
5672
|
+
# [Configuring a Lambda function to access resources in a VPC][1].
|
6392
5673
|
#
|
6393
5674
|
#
|
6394
5675
|
#
|
@@ -6410,19 +5691,19 @@ module Aws::Lambda
|
|
6410
5691
|
# @return [String]
|
6411
5692
|
#
|
6412
5693
|
# @!attribute [rw] dead_letter_config
|
6413
|
-
# A dead
|
5694
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
6414
5695
|
# where Lambda sends asynchronous events when they fail processing.
|
6415
|
-
# For more information, see [Dead
|
5696
|
+
# For more information, see [Dead-letter queues][1].
|
6416
5697
|
#
|
6417
5698
|
#
|
6418
5699
|
#
|
6419
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
5700
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
6420
5701
|
# @return [Types::DeadLetterConfig]
|
6421
5702
|
#
|
6422
5703
|
# @!attribute [rw] kms_key_arn
|
6423
|
-
# The ARN of the
|
6424
|
-
#
|
6425
|
-
#
|
5704
|
+
# The ARN of the Key Management Service (KMS) key that's used to
|
5705
|
+
# encrypt your function's environment variables. If it's not
|
5706
|
+
# provided, Lambda uses a default service key.
|
6426
5707
|
# @return [String]
|
6427
5708
|
#
|
6428
5709
|
# @!attribute [rw] tracing_config
|
@@ -6435,7 +5716,7 @@ module Aws::Lambda
|
|
6435
5716
|
# @return [Types::TracingConfig]
|
6436
5717
|
#
|
6437
5718
|
# @!attribute [rw] revision_id
|
6438
|
-
#
|
5719
|
+
# Update the function only if the revision ID matches the ID that's
|
6439
5720
|
# specified. Use this option to avoid modifying a function that has
|
6440
5721
|
# changed since you last read it.
|
6441
5722
|
# @return [String]
|
@@ -6463,10 +5744,18 @@ module Aws::Lambda
|
|
6463
5744
|
# @return [Types::ImageConfig]
|
6464
5745
|
#
|
6465
5746
|
# @!attribute [rw] ephemeral_storage
|
6466
|
-
# The size of the function
|
6467
|
-
# is 512, but can be any whole number between 512 and
|
5747
|
+
# The size of the function's `/tmp` directory in MB. The default
|
5748
|
+
# value is 512, but can be any whole number between 512 and 10,240 MB.
|
6468
5749
|
# @return [Types::EphemeralStorage]
|
6469
5750
|
#
|
5751
|
+
# @!attribute [rw] snap_start
|
5752
|
+
# The function's [SnapStart][1] setting.
|
5753
|
+
#
|
5754
|
+
#
|
5755
|
+
#
|
5756
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5757
|
+
# @return [Types::SnapStart]
|
5758
|
+
#
|
6470
5759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
6471
5760
|
#
|
6472
5761
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
@@ -6486,29 +5775,12 @@ module Aws::Lambda
|
|
6486
5775
|
:layers,
|
6487
5776
|
:file_system_configs,
|
6488
5777
|
:image_config,
|
6489
|
-
:ephemeral_storage
|
5778
|
+
:ephemeral_storage,
|
5779
|
+
:snap_start)
|
6490
5780
|
SENSITIVE = []
|
6491
5781
|
include Aws::Structure
|
6492
5782
|
end
|
6493
5783
|
|
6494
|
-
# @note When making an API call, you may pass UpdateFunctionEventInvokeConfigRequest
|
6495
|
-
# data as a hash:
|
6496
|
-
#
|
6497
|
-
# {
|
6498
|
-
# function_name: "FunctionName", # required
|
6499
|
-
# qualifier: "Qualifier",
|
6500
|
-
# maximum_retry_attempts: 1,
|
6501
|
-
# maximum_event_age_in_seconds: 1,
|
6502
|
-
# destination_config: {
|
6503
|
-
# on_success: {
|
6504
|
-
# destination: "DestinationArn",
|
6505
|
-
# },
|
6506
|
-
# on_failure: {
|
6507
|
-
# destination: "DestinationArn",
|
6508
|
-
# },
|
6509
|
-
# },
|
6510
|
-
# }
|
6511
|
-
#
|
6512
5784
|
# @!attribute [rw] function_name
|
6513
5785
|
# The name of the Lambda function, version, or alias.
|
6514
5786
|
#
|
@@ -6569,34 +5841,17 @@ module Aws::Lambda
|
|
6569
5841
|
include Aws::Structure
|
6570
5842
|
end
|
6571
5843
|
|
6572
|
-
# @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
|
6573
|
-
# data as a hash:
|
6574
|
-
#
|
6575
|
-
# {
|
6576
|
-
# function_name: "FunctionName", # required
|
6577
|
-
# qualifier: "FunctionUrlQualifier",
|
6578
|
-
# auth_type: "NONE", # accepts NONE, AWS_IAM
|
6579
|
-
# cors: {
|
6580
|
-
# allow_credentials: false,
|
6581
|
-
# allow_headers: ["Header"],
|
6582
|
-
# allow_methods: ["Method"],
|
6583
|
-
# allow_origins: ["Origin"],
|
6584
|
-
# expose_headers: ["Header"],
|
6585
|
-
# max_age: 1,
|
6586
|
-
# },
|
6587
|
-
# }
|
6588
|
-
#
|
6589
5844
|
# @!attribute [rw] function_name
|
6590
5845
|
# The name of the Lambda function.
|
6591
5846
|
#
|
6592
5847
|
# **Name formats**
|
6593
5848
|
#
|
6594
|
-
# * **Function name**
|
5849
|
+
# * **Function name** – `my-function`.
|
6595
5850
|
#
|
6596
|
-
# * **Function ARN**
|
5851
|
+
# * **Function ARN** –
|
6597
5852
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
6598
5853
|
#
|
6599
|
-
# * **Partial ARN**
|
5854
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
6600
5855
|
#
|
6601
5856
|
# The length constraint applies only to the full ARN. If you specify
|
6602
5857
|
# only the function name, it is limited to 64 characters in length.
|
@@ -6608,10 +5863,10 @@ module Aws::Lambda
|
|
6608
5863
|
#
|
6609
5864
|
# @!attribute [rw] auth_type
|
6610
5865
|
# The type of authentication that your function URL uses. Set to
|
6611
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
6612
|
-
#
|
6613
|
-
#
|
6614
|
-
#
|
5866
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
5867
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
5868
|
+
# create a public endpoint. For more information, see [Security and
|
5869
|
+
# auth model for Lambda function URLs][1].
|
6615
5870
|
#
|
6616
5871
|
#
|
6617
5872
|
#
|
@@ -6648,10 +5903,10 @@ module Aws::Lambda
|
|
6648
5903
|
#
|
6649
5904
|
# @!attribute [rw] auth_type
|
6650
5905
|
# The type of authentication that your function URL uses. Set to
|
6651
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
6652
|
-
#
|
6653
|
-
#
|
6654
|
-
#
|
5906
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
5907
|
+
# only. Set to `NONE` if you want to bypass IAM authentication to
|
5908
|
+
# create a public endpoint. For more information, see [Security and
|
5909
|
+
# auth model for Lambda function URLs][1].
|
6655
5910
|
#
|
6656
5911
|
#
|
6657
5912
|
#
|
@@ -6699,26 +5954,19 @@ module Aws::Lambda
|
|
6699
5954
|
end
|
6700
5955
|
|
6701
5956
|
# The VPC security groups and subnets that are attached to a Lambda
|
6702
|
-
# function. For more information, see [
|
5957
|
+
# function. For more information, see [Configuring a Lambda function to
|
5958
|
+
# access resources in a VPC][1].
|
6703
5959
|
#
|
6704
5960
|
#
|
6705
5961
|
#
|
6706
5962
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
6707
5963
|
#
|
6708
|
-
# @note When making an API call, you may pass VpcConfig
|
6709
|
-
# data as a hash:
|
6710
|
-
#
|
6711
|
-
# {
|
6712
|
-
# subnet_ids: ["SubnetId"],
|
6713
|
-
# security_group_ids: ["SecurityGroupId"],
|
6714
|
-
# }
|
6715
|
-
#
|
6716
5964
|
# @!attribute [rw] subnet_ids
|
6717
5965
|
# A list of VPC subnet IDs.
|
6718
5966
|
# @return [Array<String>]
|
6719
5967
|
#
|
6720
5968
|
# @!attribute [rw] security_group_ids
|
6721
|
-
# A list of VPC security
|
5969
|
+
# A list of VPC security group IDs.
|
6722
5970
|
# @return [Array<String>]
|
6723
5971
|
#
|
6724
5972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig AWS API Documentation
|
@@ -6738,7 +5986,7 @@ module Aws::Lambda
|
|
6738
5986
|
# @return [Array<String>]
|
6739
5987
|
#
|
6740
5988
|
# @!attribute [rw] security_group_ids
|
6741
|
-
# A list of VPC security
|
5989
|
+
# A list of VPC security group IDs.
|
6742
5990
|
# @return [Array<String>]
|
6743
5991
|
#
|
6744
5992
|
# @!attribute [rw] vpc_id
|