aws-sdk-lambda 1.88.0 → 1.91.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 +18 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +264 -52
- data/lib/aws-sdk-lambda/client_api.rb +69 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-lambda/endpoints.rb +28 -0
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-lambda/types.rb +304 -1029
- 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,23 +138,6 @@ 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
|
#
|
@@ -288,7 +258,7 @@ module Aws::Lambda
|
|
288
258
|
#
|
289
259
|
#
|
290
260
|
#
|
291
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
261
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
|
292
262
|
#
|
293
263
|
# @!attribute [rw] alias_arn
|
294
264
|
# The Amazon Resource Name (ARN) of the alias.
|
@@ -337,15 +307,6 @@ module Aws::Lambda
|
|
337
307
|
#
|
338
308
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
|
339
309
|
#
|
340
|
-
# @note When making an API call, you may pass AliasRoutingConfiguration
|
341
|
-
# data as a hash:
|
342
|
-
#
|
343
|
-
# {
|
344
|
-
# additional_version_weights: {
|
345
|
-
# "AdditionalVersion" => 1.0,
|
346
|
-
# },
|
347
|
-
# }
|
348
|
-
#
|
349
310
|
# @!attribute [rw] additional_version_weights
|
350
311
|
# The second version, and the percentage of traffic that's routed to
|
351
312
|
# it.
|
@@ -361,13 +322,6 @@ module Aws::Lambda
|
|
361
322
|
|
362
323
|
# List of signing profiles that can sign a code package.
|
363
324
|
#
|
364
|
-
# @note When making an API call, you may pass AllowedPublishers
|
365
|
-
# data as a hash:
|
366
|
-
#
|
367
|
-
# {
|
368
|
-
# signing_profile_version_arns: ["Arn"], # required
|
369
|
-
# }
|
370
|
-
#
|
371
325
|
# @!attribute [rw] signing_profile_version_arns
|
372
326
|
# The Amazon Resource Name (ARN) for each of the signing profiles. A
|
373
327
|
# signing profile defines a trusted user who can sign a code package.
|
@@ -384,13 +338,6 @@ module Aws::Lambda
|
|
384
338
|
# Specific configuration settings for an Amazon Managed Streaming for
|
385
339
|
# Apache Kafka (Amazon MSK) event source.
|
386
340
|
#
|
387
|
-
# @note When making an API call, you may pass AmazonManagedKafkaEventSourceConfig
|
388
|
-
# data as a hash:
|
389
|
-
#
|
390
|
-
# {
|
391
|
-
# consumer_group_id: "URI",
|
392
|
-
# }
|
393
|
-
#
|
394
341
|
# @!attribute [rw] consumer_group_id
|
395
342
|
# The identifier for the Kafka consumer group to join. The consumer
|
396
343
|
# group ID must be unique among all your Kafka event sources. After
|
@@ -480,13 +427,6 @@ module Aws::Lambda
|
|
480
427
|
#
|
481
428
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies
|
482
429
|
#
|
483
|
-
# @note When making an API call, you may pass CodeSigningPolicies
|
484
|
-
# data as a hash:
|
485
|
-
#
|
486
|
-
# {
|
487
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
488
|
-
# }
|
489
|
-
#
|
490
430
|
# @!attribute [rw] untrusted_artifact_on_deployment
|
491
431
|
# Code signing configuration policy for deployment validation failure.
|
492
432
|
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
@@ -574,18 +514,6 @@ module Aws::Lambda
|
|
574
514
|
#
|
575
515
|
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
576
516
|
#
|
577
|
-
# @note When making an API call, you may pass Cors
|
578
|
-
# data as a hash:
|
579
|
-
#
|
580
|
-
# {
|
581
|
-
# allow_credentials: false,
|
582
|
-
# allow_headers: ["Header"],
|
583
|
-
# allow_methods: ["Method"],
|
584
|
-
# allow_origins: ["Origin"],
|
585
|
-
# expose_headers: ["Header"],
|
586
|
-
# max_age: 1,
|
587
|
-
# }
|
588
|
-
#
|
589
517
|
# @!attribute [rw] allow_credentials
|
590
518
|
# Whether to allow cookies or other credentials in requests to your
|
591
519
|
# function URL. The default is `false`.
|
@@ -636,21 +564,6 @@ module Aws::Lambda
|
|
636
564
|
include Aws::Structure
|
637
565
|
end
|
638
566
|
|
639
|
-
# @note When making an API call, you may pass CreateAliasRequest
|
640
|
-
# data as a hash:
|
641
|
-
#
|
642
|
-
# {
|
643
|
-
# function_name: "FunctionName", # required
|
644
|
-
# name: "Alias", # required
|
645
|
-
# function_version: "Version", # required
|
646
|
-
# description: "Description",
|
647
|
-
# routing_config: {
|
648
|
-
# additional_version_weights: {
|
649
|
-
# "AdditionalVersion" => 1.0,
|
650
|
-
# },
|
651
|
-
# },
|
652
|
-
# }
|
653
|
-
#
|
654
567
|
# @!attribute [rw] function_name
|
655
568
|
# The name of the Lambda function.
|
656
569
|
#
|
@@ -699,19 +612,6 @@ module Aws::Lambda
|
|
699
612
|
include Aws::Structure
|
700
613
|
end
|
701
614
|
|
702
|
-
# @note When making an API call, you may pass CreateCodeSigningConfigRequest
|
703
|
-
# data as a hash:
|
704
|
-
#
|
705
|
-
# {
|
706
|
-
# description: "Description",
|
707
|
-
# allowed_publishers: { # required
|
708
|
-
# signing_profile_version_arns: ["Arn"], # required
|
709
|
-
# },
|
710
|
-
# code_signing_policies: {
|
711
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
712
|
-
# },
|
713
|
-
# }
|
714
|
-
#
|
715
615
|
# @!attribute [rw] description
|
716
616
|
# Descriptive name for this code signing configuration.
|
717
617
|
# @return [String]
|
@@ -747,73 +647,20 @@ module Aws::Lambda
|
|
747
647
|
include Aws::Structure
|
748
648
|
end
|
749
649
|
|
750
|
-
# @note When making an API call, you may pass CreateEventSourceMappingRequest
|
751
|
-
# data as a hash:
|
752
|
-
#
|
753
|
-
# {
|
754
|
-
# event_source_arn: "Arn",
|
755
|
-
# function_name: "FunctionName", # required
|
756
|
-
# enabled: false,
|
757
|
-
# batch_size: 1,
|
758
|
-
# filter_criteria: {
|
759
|
-
# filters: [
|
760
|
-
# {
|
761
|
-
# pattern: "Pattern",
|
762
|
-
# },
|
763
|
-
# ],
|
764
|
-
# },
|
765
|
-
# maximum_batching_window_in_seconds: 1,
|
766
|
-
# parallelization_factor: 1,
|
767
|
-
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
768
|
-
# starting_position_timestamp: Time.now,
|
769
|
-
# destination_config: {
|
770
|
-
# on_success: {
|
771
|
-
# destination: "DestinationArn",
|
772
|
-
# },
|
773
|
-
# on_failure: {
|
774
|
-
# destination: "DestinationArn",
|
775
|
-
# },
|
776
|
-
# },
|
777
|
-
# maximum_record_age_in_seconds: 1,
|
778
|
-
# bisect_batch_on_function_error: false,
|
779
|
-
# maximum_retry_attempts: 1,
|
780
|
-
# tumbling_window_in_seconds: 1,
|
781
|
-
# topics: ["Topic"],
|
782
|
-
# queues: ["Queue"],
|
783
|
-
# source_access_configurations: [
|
784
|
-
# {
|
785
|
-
# 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
|
786
|
-
# uri: "URI",
|
787
|
-
# },
|
788
|
-
# ],
|
789
|
-
# self_managed_event_source: {
|
790
|
-
# endpoints: {
|
791
|
-
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
792
|
-
# },
|
793
|
-
# },
|
794
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
795
|
-
# amazon_managed_kafka_event_source_config: {
|
796
|
-
# consumer_group_id: "URI",
|
797
|
-
# },
|
798
|
-
# self_managed_kafka_event_source_config: {
|
799
|
-
# consumer_group_id: "URI",
|
800
|
-
# },
|
801
|
-
# }
|
802
|
-
#
|
803
650
|
# @!attribute [rw] event_source_arn
|
804
651
|
# The Amazon Resource Name (ARN) of the event source.
|
805
652
|
#
|
806
|
-
# * **Amazon Kinesis**
|
653
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
807
654
|
# consumer.
|
808
655
|
#
|
809
|
-
# * **Amazon DynamoDB Streams**
|
656
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
810
657
|
#
|
811
|
-
# * **Amazon Simple Queue Service**
|
658
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
812
659
|
#
|
813
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
660
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
814
661
|
# cluster.
|
815
662
|
#
|
816
|
-
# * **Amazon MQ**
|
663
|
+
# * **Amazon MQ** – The ARN of the broker.
|
817
664
|
# @return [String]
|
818
665
|
#
|
819
666
|
# @!attribute [rw] function_name
|
@@ -821,15 +668,15 @@ module Aws::Lambda
|
|
821
668
|
#
|
822
669
|
# **Name formats**
|
823
670
|
#
|
824
|
-
# * **Function name**
|
671
|
+
# * **Function name** – `MyFunction`.
|
825
672
|
#
|
826
|
-
# * **Function ARN**
|
673
|
+
# * **Function ARN** –
|
827
674
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
828
675
|
#
|
829
|
-
# * **Version or Alias ARN**
|
676
|
+
# * **Version or Alias ARN** –
|
830
677
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
831
678
|
#
|
832
|
-
# * **Partial ARN**
|
679
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
833
680
|
#
|
834
681
|
# The length constraint applies only to the full ARN. If you specify
|
835
682
|
# only the function name, it's limited to 64 characters in length.
|
@@ -848,19 +695,19 @@ module Aws::Lambda
|
|
848
695
|
# of the records in the batch to the function in a single call, up to
|
849
696
|
# the payload limit for synchronous invocation (6 MB).
|
850
697
|
#
|
851
|
-
# * **Amazon Kinesis**
|
698
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
852
699
|
#
|
853
|
-
# * **Amazon DynamoDB Streams**
|
700
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
854
701
|
#
|
855
|
-
# * **Amazon Simple Queue Service**
|
702
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
856
703
|
# the max is 10,000. For FIFO queues the max is 10.
|
857
704
|
#
|
858
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
705
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
859
706
|
# 10,000.
|
860
707
|
#
|
861
|
-
# * **Self-managed Apache Kafka**
|
708
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
862
709
|
#
|
863
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)**
|
710
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
864
711
|
# @return [Integer]
|
865
712
|
#
|
866
713
|
# @!attribute [rw] filter_criteria
|
@@ -966,6 +813,16 @@ module Aws::Lambda
|
|
966
813
|
# event source.
|
967
814
|
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
968
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
|
+
#
|
969
826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
970
827
|
#
|
971
828
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -989,72 +846,12 @@ module Aws::Lambda
|
|
989
846
|
:self_managed_event_source,
|
990
847
|
:function_response_types,
|
991
848
|
:amazon_managed_kafka_event_source_config,
|
992
|
-
:self_managed_kafka_event_source_config
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
# data as a hash:
|
999
|
-
#
|
1000
|
-
# {
|
1001
|
-
# function_name: "FunctionName", # required
|
1002
|
-
# 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
|
1003
|
-
# role: "RoleArn", # required
|
1004
|
-
# handler: "Handler",
|
1005
|
-
# code: { # required
|
1006
|
-
# zip_file: "data",
|
1007
|
-
# s3_bucket: "S3Bucket",
|
1008
|
-
# s3_key: "S3Key",
|
1009
|
-
# s3_object_version: "S3ObjectVersion",
|
1010
|
-
# image_uri: "String",
|
1011
|
-
# },
|
1012
|
-
# description: "Description",
|
1013
|
-
# timeout: 1,
|
1014
|
-
# memory_size: 1,
|
1015
|
-
# publish: false,
|
1016
|
-
# vpc_config: {
|
1017
|
-
# subnet_ids: ["SubnetId"],
|
1018
|
-
# security_group_ids: ["SecurityGroupId"],
|
1019
|
-
# },
|
1020
|
-
# package_type: "Zip", # accepts Zip, Image
|
1021
|
-
# dead_letter_config: {
|
1022
|
-
# target_arn: "ResourceArn",
|
1023
|
-
# },
|
1024
|
-
# environment: {
|
1025
|
-
# variables: {
|
1026
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1027
|
-
# },
|
1028
|
-
# },
|
1029
|
-
# kms_key_arn: "KMSKeyArn",
|
1030
|
-
# tracing_config: {
|
1031
|
-
# mode: "Active", # accepts Active, PassThrough
|
1032
|
-
# },
|
1033
|
-
# tags: {
|
1034
|
-
# "TagKey" => "TagValue",
|
1035
|
-
# },
|
1036
|
-
# layers: ["LayerVersionArn"],
|
1037
|
-
# file_system_configs: [
|
1038
|
-
# {
|
1039
|
-
# arn: "FileSystemArn", # required
|
1040
|
-
# local_mount_path: "LocalMountPath", # required
|
1041
|
-
# },
|
1042
|
-
# ],
|
1043
|
-
# image_config: {
|
1044
|
-
# entry_point: ["String"],
|
1045
|
-
# command: ["String"],
|
1046
|
-
# working_directory: "WorkingDirectory",
|
1047
|
-
# },
|
1048
|
-
# code_signing_config_arn: "CodeSigningConfigArn",
|
1049
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
1050
|
-
# ephemeral_storage: {
|
1051
|
-
# size: 1, # required
|
1052
|
-
# },
|
1053
|
-
# snap_start: {
|
1054
|
-
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
1055
|
-
# },
|
1056
|
-
# }
|
1057
|
-
#
|
849
|
+
:self_managed_kafka_event_source_config,
|
850
|
+
:scaling_config)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
1058
855
|
# @!attribute [rw] function_name
|
1059
856
|
# The name of the Lambda function.
|
1060
857
|
#
|
@@ -1263,23 +1060,6 @@ module Aws::Lambda
|
|
1263
1060
|
include Aws::Structure
|
1264
1061
|
end
|
1265
1062
|
|
1266
|
-
# @note When making an API call, you may pass CreateFunctionUrlConfigRequest
|
1267
|
-
# data as a hash:
|
1268
|
-
#
|
1269
|
-
# {
|
1270
|
-
# function_name: "FunctionName", # required
|
1271
|
-
# qualifier: "FunctionUrlQualifier",
|
1272
|
-
# auth_type: "NONE", # required, accepts NONE, AWS_IAM
|
1273
|
-
# cors: {
|
1274
|
-
# allow_credentials: false,
|
1275
|
-
# allow_headers: ["Header"],
|
1276
|
-
# allow_methods: ["Method"],
|
1277
|
-
# allow_origins: ["Origin"],
|
1278
|
-
# expose_headers: ["Header"],
|
1279
|
-
# max_age: 1,
|
1280
|
-
# },
|
1281
|
-
# }
|
1282
|
-
#
|
1283
1063
|
# @!attribute [rw] function_name
|
1284
1064
|
# The name of the Lambda function.
|
1285
1065
|
#
|
@@ -1388,13 +1168,6 @@ module Aws::Lambda
|
|
1388
1168
|
#
|
1389
1169
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1390
1170
|
#
|
1391
|
-
# @note When making an API call, you may pass DeadLetterConfig
|
1392
|
-
# data as a hash:
|
1393
|
-
#
|
1394
|
-
# {
|
1395
|
-
# target_arn: "ResourceArn",
|
1396
|
-
# }
|
1397
|
-
#
|
1398
1171
|
# @!attribute [rw] target_arn
|
1399
1172
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
1400
1173
|
# topic.
|
@@ -1408,14 +1181,6 @@ module Aws::Lambda
|
|
1408
1181
|
include Aws::Structure
|
1409
1182
|
end
|
1410
1183
|
|
1411
|
-
# @note When making an API call, you may pass DeleteAliasRequest
|
1412
|
-
# data as a hash:
|
1413
|
-
#
|
1414
|
-
# {
|
1415
|
-
# function_name: "FunctionName", # required
|
1416
|
-
# name: "Alias", # required
|
1417
|
-
# }
|
1418
|
-
#
|
1419
1184
|
# @!attribute [rw] function_name
|
1420
1185
|
# The name of the Lambda function.
|
1421
1186
|
#
|
@@ -1445,13 +1210,6 @@ module Aws::Lambda
|
|
1445
1210
|
include Aws::Structure
|
1446
1211
|
end
|
1447
1212
|
|
1448
|
-
# @note When making an API call, you may pass DeleteCodeSigningConfigRequest
|
1449
|
-
# data as a hash:
|
1450
|
-
#
|
1451
|
-
# {
|
1452
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
1453
|
-
# }
|
1454
|
-
#
|
1455
1213
|
# @!attribute [rw] code_signing_config_arn
|
1456
1214
|
# The The Amazon Resource Name (ARN) of the code signing
|
1457
1215
|
# configuration.
|
@@ -1469,13 +1227,6 @@ module Aws::Lambda
|
|
1469
1227
|
#
|
1470
1228
|
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
1471
1229
|
|
1472
|
-
# @note When making an API call, you may pass DeleteEventSourceMappingRequest
|
1473
|
-
# data as a hash:
|
1474
|
-
#
|
1475
|
-
# {
|
1476
|
-
# uuid: "String", # required
|
1477
|
-
# }
|
1478
|
-
#
|
1479
1230
|
# @!attribute [rw] uuid
|
1480
1231
|
# The identifier of the event source mapping.
|
1481
1232
|
# @return [String]
|
@@ -1488,13 +1239,6 @@ module Aws::Lambda
|
|
1488
1239
|
include Aws::Structure
|
1489
1240
|
end
|
1490
1241
|
|
1491
|
-
# @note When making an API call, you may pass DeleteFunctionCodeSigningConfigRequest
|
1492
|
-
# data as a hash:
|
1493
|
-
#
|
1494
|
-
# {
|
1495
|
-
# function_name: "FunctionName", # required
|
1496
|
-
# }
|
1497
|
-
#
|
1498
1242
|
# @!attribute [rw] function_name
|
1499
1243
|
# The name of the Lambda function.
|
1500
1244
|
#
|
@@ -1519,13 +1263,6 @@ module Aws::Lambda
|
|
1519
1263
|
include Aws::Structure
|
1520
1264
|
end
|
1521
1265
|
|
1522
|
-
# @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
|
1523
|
-
# data as a hash:
|
1524
|
-
#
|
1525
|
-
# {
|
1526
|
-
# function_name: "FunctionName", # required
|
1527
|
-
# }
|
1528
|
-
#
|
1529
1266
|
# @!attribute [rw] function_name
|
1530
1267
|
# The name of the Lambda function.
|
1531
1268
|
#
|
@@ -1550,14 +1287,6 @@ module Aws::Lambda
|
|
1550
1287
|
include Aws::Structure
|
1551
1288
|
end
|
1552
1289
|
|
1553
|
-
# @note When making an API call, you may pass DeleteFunctionEventInvokeConfigRequest
|
1554
|
-
# data as a hash:
|
1555
|
-
#
|
1556
|
-
# {
|
1557
|
-
# function_name: "FunctionName", # required
|
1558
|
-
# qualifier: "Qualifier",
|
1559
|
-
# }
|
1560
|
-
#
|
1561
1290
|
# @!attribute [rw] function_name
|
1562
1291
|
# The name of the Lambda function, version, or alias.
|
1563
1292
|
#
|
@@ -1589,14 +1318,6 @@ module Aws::Lambda
|
|
1589
1318
|
include Aws::Structure
|
1590
1319
|
end
|
1591
1320
|
|
1592
|
-
# @note When making an API call, you may pass DeleteFunctionRequest
|
1593
|
-
# data as a hash:
|
1594
|
-
#
|
1595
|
-
# {
|
1596
|
-
# function_name: "FunctionName", # required
|
1597
|
-
# qualifier: "Qualifier",
|
1598
|
-
# }
|
1599
|
-
#
|
1600
1321
|
# @!attribute [rw] function_name
|
1601
1322
|
# The name of the Lambda function or version.
|
1602
1323
|
#
|
@@ -1629,14 +1350,6 @@ module Aws::Lambda
|
|
1629
1350
|
include Aws::Structure
|
1630
1351
|
end
|
1631
1352
|
|
1632
|
-
# @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
|
1633
|
-
# data as a hash:
|
1634
|
-
#
|
1635
|
-
# {
|
1636
|
-
# function_name: "FunctionName", # required
|
1637
|
-
# qualifier: "FunctionUrlQualifier",
|
1638
|
-
# }
|
1639
|
-
#
|
1640
1353
|
# @!attribute [rw] function_name
|
1641
1354
|
# The name of the Lambda function.
|
1642
1355
|
#
|
@@ -1666,14 +1379,6 @@ module Aws::Lambda
|
|
1666
1379
|
include Aws::Structure
|
1667
1380
|
end
|
1668
1381
|
|
1669
|
-
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
1670
|
-
# data as a hash:
|
1671
|
-
#
|
1672
|
-
# {
|
1673
|
-
# layer_name: "LayerName", # required
|
1674
|
-
# version_number: 1, # required
|
1675
|
-
# }
|
1676
|
-
#
|
1677
1382
|
# @!attribute [rw] layer_name
|
1678
1383
|
# The name or Amazon Resource Name (ARN) of the layer.
|
1679
1384
|
# @return [String]
|
@@ -1691,14 +1396,6 @@ module Aws::Lambda
|
|
1691
1396
|
include Aws::Structure
|
1692
1397
|
end
|
1693
1398
|
|
1694
|
-
# @note When making an API call, you may pass DeleteProvisionedConcurrencyConfigRequest
|
1695
|
-
# data as a hash:
|
1696
|
-
#
|
1697
|
-
# {
|
1698
|
-
# function_name: "FunctionName", # required
|
1699
|
-
# qualifier: "Qualifier", # required
|
1700
|
-
# }
|
1701
|
-
#
|
1702
1399
|
# @!attribute [rw] function_name
|
1703
1400
|
# The name of the Lambda function.
|
1704
1401
|
#
|
@@ -1731,18 +1428,6 @@ module Aws::Lambda
|
|
1731
1428
|
# A configuration object that specifies the destination of an event
|
1732
1429
|
# after Lambda processes it.
|
1733
1430
|
#
|
1734
|
-
# @note When making an API call, you may pass DestinationConfig
|
1735
|
-
# data as a hash:
|
1736
|
-
#
|
1737
|
-
# {
|
1738
|
-
# on_success: {
|
1739
|
-
# destination: "DestinationArn",
|
1740
|
-
# },
|
1741
|
-
# on_failure: {
|
1742
|
-
# destination: "DestinationArn",
|
1743
|
-
# },
|
1744
|
-
# }
|
1745
|
-
#
|
1746
1431
|
# @!attribute [rw] on_success
|
1747
1432
|
# The destination configuration for successful invocations.
|
1748
1433
|
# @return [Types::OnSuccess]
|
@@ -1918,15 +1603,6 @@ module Aws::Lambda
|
|
1918
1603
|
# An environment variable is a pair of strings that are stored in a
|
1919
1604
|
# function's version-specific configuration.
|
1920
1605
|
#
|
1921
|
-
# @note When making an API call, you may pass Environment
|
1922
|
-
# data as a hash:
|
1923
|
-
#
|
1924
|
-
# {
|
1925
|
-
# variables: {
|
1926
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1927
|
-
# },
|
1928
|
-
# }
|
1929
|
-
#
|
1930
1606
|
# @!attribute [rw] variables
|
1931
1607
|
# Environment variable key-value pairs. For more information, see
|
1932
1608
|
# [Using Lambda environment variables][1].
|
@@ -1987,13 +1663,6 @@ module Aws::Lambda
|
|
1987
1663
|
# The size of the function's `/tmp` directory in MB. The default value
|
1988
1664
|
# is 512, but it can be any whole number between 512 and 10,240 MB.
|
1989
1665
|
#
|
1990
|
-
# @note When making an API call, you may pass EphemeralStorage
|
1991
|
-
# data as a hash:
|
1992
|
-
#
|
1993
|
-
# {
|
1994
|
-
# size: 1, # required
|
1995
|
-
# }
|
1996
|
-
#
|
1997
1666
|
# @!attribute [rw] size
|
1998
1667
|
# The size of the function's `/tmp` directory.
|
1999
1668
|
# @return [Integer]
|
@@ -2160,6 +1829,16 @@ module Aws::Lambda
|
|
2160
1829
|
# event source.
|
2161
1830
|
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
2162
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
|
+
#
|
2163
1842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
2164
1843
|
#
|
2165
1844
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -2187,7 +1866,8 @@ module Aws::Lambda
|
|
2187
1866
|
:tumbling_window_in_seconds,
|
2188
1867
|
:function_response_types,
|
2189
1868
|
:amazon_managed_kafka_event_source_config,
|
2190
|
-
:self_managed_kafka_event_source_config
|
1869
|
+
:self_managed_kafka_event_source_config,
|
1870
|
+
:scaling_config)
|
2191
1871
|
SENSITIVE = []
|
2192
1872
|
include Aws::Structure
|
2193
1873
|
end
|
@@ -2199,14 +1879,6 @@ module Aws::Lambda
|
|
2199
1879
|
#
|
2200
1880
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html
|
2201
1881
|
#
|
2202
|
-
# @note When making an API call, you may pass FileSystemConfig
|
2203
|
-
# data as a hash:
|
2204
|
-
#
|
2205
|
-
# {
|
2206
|
-
# arn: "FileSystemArn", # required
|
2207
|
-
# local_mount_path: "LocalMountPath", # required
|
2208
|
-
# }
|
2209
|
-
#
|
2210
1882
|
# @!attribute [rw] arn
|
2211
1883
|
# The Amazon Resource Name (ARN) of the Amazon EFS access point that
|
2212
1884
|
# provides access to the file system.
|
@@ -2229,13 +1901,6 @@ module Aws::Lambda
|
|
2229
1901
|
# A structure within a `FilterCriteria` object that defines an event
|
2230
1902
|
# filtering pattern.
|
2231
1903
|
#
|
2232
|
-
# @note When making an API call, you may pass Filter
|
2233
|
-
# data as a hash:
|
2234
|
-
#
|
2235
|
-
# {
|
2236
|
-
# pattern: "Pattern",
|
2237
|
-
# }
|
2238
|
-
#
|
2239
1904
|
# @!attribute [rw] pattern
|
2240
1905
|
# A filter pattern. For more information on the syntax of a filter
|
2241
1906
|
# pattern, see [ Filter rule syntax][1].
|
@@ -2255,17 +1920,6 @@ module Aws::Lambda
|
|
2255
1920
|
|
2256
1921
|
# An object that contains the filters for an event source.
|
2257
1922
|
#
|
2258
|
-
# @note When making an API call, you may pass FilterCriteria
|
2259
|
-
# data as a hash:
|
2260
|
-
#
|
2261
|
-
# {
|
2262
|
-
# filters: [
|
2263
|
-
# {
|
2264
|
-
# pattern: "Pattern",
|
2265
|
-
# },
|
2266
|
-
# ],
|
2267
|
-
# }
|
2268
|
-
#
|
2269
1923
|
# @!attribute [rw] filters
|
2270
1924
|
# A list of filters.
|
2271
1925
|
# @return [Array<Types::Filter>]
|
@@ -2282,17 +1936,6 @@ module Aws::Lambda
|
|
2282
1936
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
2283
1937
|
# specify the URI of a container image.
|
2284
1938
|
#
|
2285
|
-
# @note When making an API call, you may pass FunctionCode
|
2286
|
-
# data as a hash:
|
2287
|
-
#
|
2288
|
-
# {
|
2289
|
-
# zip_file: "data",
|
2290
|
-
# s3_bucket: "S3Bucket",
|
2291
|
-
# s3_key: "S3Key",
|
2292
|
-
# s3_object_version: "S3ObjectVersion",
|
2293
|
-
# image_uri: "String",
|
2294
|
-
# }
|
2295
|
-
#
|
2296
1939
|
# @!attribute [rw] zip_file
|
2297
1940
|
# The base64-encoded contents of the deployment package. Amazon Web
|
2298
1941
|
# Services SDK and CLI clients handle the encoding for you.
|
@@ -2528,14 +2171,18 @@ module Aws::Lambda
|
|
2528
2171
|
# @!attribute [rw] snap_start
|
2529
2172
|
# Set `ApplyOn` to `PublishedVersions` to create a snapshot of the
|
2530
2173
|
# initialized execution environment when you publish a function
|
2531
|
-
# version. For more information, see [
|
2532
|
-
# Lambda SnapStart][1].
|
2174
|
+
# version. For more information, see [Improving startup performance
|
2175
|
+
# with Lambda SnapStart][1].
|
2533
2176
|
#
|
2534
2177
|
#
|
2535
2178
|
#
|
2536
2179
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
2537
2180
|
# @return [Types::SnapStartResponse]
|
2538
2181
|
#
|
2182
|
+
# @!attribute [rw] runtime_version_config
|
2183
|
+
# The ARN of the runtime and any errors that occured.
|
2184
|
+
# @return [Types::RuntimeVersionConfig]
|
2185
|
+
#
|
2539
2186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
2540
2187
|
#
|
2541
2188
|
class FunctionConfiguration < Struct.new(
|
@@ -2572,7 +2219,8 @@ module Aws::Lambda
|
|
2572
2219
|
:signing_job_arn,
|
2573
2220
|
:architectures,
|
2574
2221
|
:ephemeral_storage,
|
2575
|
-
:snap_start
|
2222
|
+
:snap_start,
|
2223
|
+
:runtime_version_config)
|
2576
2224
|
SENSITIVE = []
|
2577
2225
|
include Aws::Structure
|
2578
2226
|
end
|
@@ -2708,14 +2356,6 @@ module Aws::Lambda
|
|
2708
2356
|
include Aws::Structure
|
2709
2357
|
end
|
2710
2358
|
|
2711
|
-
# @note When making an API call, you may pass GetAliasRequest
|
2712
|
-
# data as a hash:
|
2713
|
-
#
|
2714
|
-
# {
|
2715
|
-
# function_name: "FunctionName", # required
|
2716
|
-
# name: "Alias", # required
|
2717
|
-
# }
|
2718
|
-
#
|
2719
2359
|
# @!attribute [rw] function_name
|
2720
2360
|
# The name of the Lambda function.
|
2721
2361
|
#
|
@@ -2745,13 +2385,6 @@ module Aws::Lambda
|
|
2745
2385
|
include Aws::Structure
|
2746
2386
|
end
|
2747
2387
|
|
2748
|
-
# @note When making an API call, you may pass GetCodeSigningConfigRequest
|
2749
|
-
# data as a hash:
|
2750
|
-
#
|
2751
|
-
# {
|
2752
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
2753
|
-
# }
|
2754
|
-
#
|
2755
2388
|
# @!attribute [rw] code_signing_config_arn
|
2756
2389
|
# The The Amazon Resource Name (ARN) of the code signing
|
2757
2390
|
# configuration.
|
@@ -2777,13 +2410,6 @@ module Aws::Lambda
|
|
2777
2410
|
include Aws::Structure
|
2778
2411
|
end
|
2779
2412
|
|
2780
|
-
# @note When making an API call, you may pass GetEventSourceMappingRequest
|
2781
|
-
# data as a hash:
|
2782
|
-
#
|
2783
|
-
# {
|
2784
|
-
# uuid: "String", # required
|
2785
|
-
# }
|
2786
|
-
#
|
2787
2413
|
# @!attribute [rw] uuid
|
2788
2414
|
# The identifier of the event source mapping.
|
2789
2415
|
# @return [String]
|
@@ -2796,13 +2422,6 @@ module Aws::Lambda
|
|
2796
2422
|
include Aws::Structure
|
2797
2423
|
end
|
2798
2424
|
|
2799
|
-
# @note When making an API call, you may pass GetFunctionCodeSigningConfigRequest
|
2800
|
-
# data as a hash:
|
2801
|
-
#
|
2802
|
-
# {
|
2803
|
-
# function_name: "FunctionName", # required
|
2804
|
-
# }
|
2805
|
-
#
|
2806
2425
|
# @!attribute [rw] function_name
|
2807
2426
|
# The name of the Lambda function.
|
2808
2427
|
#
|
@@ -2857,13 +2476,6 @@ module Aws::Lambda
|
|
2857
2476
|
include Aws::Structure
|
2858
2477
|
end
|
2859
2478
|
|
2860
|
-
# @note When making an API call, you may pass GetFunctionConcurrencyRequest
|
2861
|
-
# data as a hash:
|
2862
|
-
#
|
2863
|
-
# {
|
2864
|
-
# function_name: "FunctionName", # required
|
2865
|
-
# }
|
2866
|
-
#
|
2867
2479
|
# @!attribute [rw] function_name
|
2868
2480
|
# The name of the Lambda function.
|
2869
2481
|
#
|
@@ -2901,14 +2513,6 @@ module Aws::Lambda
|
|
2901
2513
|
include Aws::Structure
|
2902
2514
|
end
|
2903
2515
|
|
2904
|
-
# @note When making an API call, you may pass GetFunctionConfigurationRequest
|
2905
|
-
# data as a hash:
|
2906
|
-
#
|
2907
|
-
# {
|
2908
|
-
# function_name: "NamespacedFunctionName", # required
|
2909
|
-
# qualifier: "Qualifier",
|
2910
|
-
# }
|
2911
|
-
#
|
2912
2516
|
# @!attribute [rw] function_name
|
2913
2517
|
# The name of the Lambda function, version, or alias.
|
2914
2518
|
#
|
@@ -2941,14 +2545,6 @@ module Aws::Lambda
|
|
2941
2545
|
include Aws::Structure
|
2942
2546
|
end
|
2943
2547
|
|
2944
|
-
# @note When making an API call, you may pass GetFunctionEventInvokeConfigRequest
|
2945
|
-
# data as a hash:
|
2946
|
-
#
|
2947
|
-
# {
|
2948
|
-
# function_name: "FunctionName", # required
|
2949
|
-
# qualifier: "Qualifier",
|
2950
|
-
# }
|
2951
|
-
#
|
2952
2548
|
# @!attribute [rw] function_name
|
2953
2549
|
# The name of the Lambda function, version, or alias.
|
2954
2550
|
#
|
@@ -2980,14 +2576,6 @@ module Aws::Lambda
|
|
2980
2576
|
include Aws::Structure
|
2981
2577
|
end
|
2982
2578
|
|
2983
|
-
# @note When making an API call, you may pass GetFunctionRequest
|
2984
|
-
# data as a hash:
|
2985
|
-
#
|
2986
|
-
# {
|
2987
|
-
# function_name: "NamespacedFunctionName", # required
|
2988
|
-
# qualifier: "Qualifier",
|
2989
|
-
# }
|
2990
|
-
#
|
2991
2579
|
# @!attribute [rw] function_name
|
2992
2580
|
# The name of the Lambda function, version, or alias.
|
2993
2581
|
#
|
@@ -3055,14 +2643,6 @@ module Aws::Lambda
|
|
3055
2643
|
include Aws::Structure
|
3056
2644
|
end
|
3057
2645
|
|
3058
|
-
# @note When making an API call, you may pass GetFunctionUrlConfigRequest
|
3059
|
-
# data as a hash:
|
3060
|
-
#
|
3061
|
-
# {
|
3062
|
-
# function_name: "FunctionName", # required
|
3063
|
-
# qualifier: "FunctionUrlQualifier",
|
3064
|
-
# }
|
3065
|
-
#
|
3066
2646
|
# @!attribute [rw] function_name
|
3067
2647
|
# The name of the Lambda function.
|
3068
2648
|
#
|
@@ -3152,13 +2732,6 @@ module Aws::Lambda
|
|
3152
2732
|
include Aws::Structure
|
3153
2733
|
end
|
3154
2734
|
|
3155
|
-
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
3156
|
-
# data as a hash:
|
3157
|
-
#
|
3158
|
-
# {
|
3159
|
-
# arn: "LayerVersionArn", # required
|
3160
|
-
# }
|
3161
|
-
#
|
3162
2735
|
# @!attribute [rw] arn
|
3163
2736
|
# The ARN of the layer version.
|
3164
2737
|
# @return [String]
|
@@ -3171,14 +2744,6 @@ module Aws::Lambda
|
|
3171
2744
|
include Aws::Structure
|
3172
2745
|
end
|
3173
2746
|
|
3174
|
-
# @note When making an API call, you may pass GetLayerVersionPolicyRequest
|
3175
|
-
# data as a hash:
|
3176
|
-
#
|
3177
|
-
# {
|
3178
|
-
# layer_name: "LayerName", # required
|
3179
|
-
# version_number: 1, # required
|
3180
|
-
# }
|
3181
|
-
#
|
3182
2747
|
# @!attribute [rw] layer_name
|
3183
2748
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3184
2749
|
# @return [String]
|
@@ -3213,14 +2778,6 @@ module Aws::Lambda
|
|
3213
2778
|
include Aws::Structure
|
3214
2779
|
end
|
3215
2780
|
|
3216
|
-
# @note When making an API call, you may pass GetLayerVersionRequest
|
3217
|
-
# data as a hash:
|
3218
|
-
#
|
3219
|
-
# {
|
3220
|
-
# layer_name: "LayerName", # required
|
3221
|
-
# version_number: 1, # required
|
3222
|
-
# }
|
3223
|
-
#
|
3224
2781
|
# @!attribute [rw] layer_name
|
3225
2782
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3226
2783
|
# @return [String]
|
@@ -3299,14 +2856,6 @@ module Aws::Lambda
|
|
3299
2856
|
include Aws::Structure
|
3300
2857
|
end
|
3301
2858
|
|
3302
|
-
# @note When making an API call, you may pass GetPolicyRequest
|
3303
|
-
# data as a hash:
|
3304
|
-
#
|
3305
|
-
# {
|
3306
|
-
# function_name: "NamespacedFunctionName", # required
|
3307
|
-
# qualifier: "Qualifier",
|
3308
|
-
# }
|
3309
|
-
#
|
3310
2859
|
# @!attribute [rw] function_name
|
3311
2860
|
# The name of the Lambda function, version, or alias.
|
3312
2861
|
#
|
@@ -3355,14 +2904,6 @@ module Aws::Lambda
|
|
3355
2904
|
include Aws::Structure
|
3356
2905
|
end
|
3357
2906
|
|
3358
|
-
# @note When making an API call, you may pass GetProvisionedConcurrencyConfigRequest
|
3359
|
-
# data as a hash:
|
3360
|
-
#
|
3361
|
-
# {
|
3362
|
-
# function_name: "FunctionName", # required
|
3363
|
-
# qualifier: "Qualifier", # required
|
3364
|
-
# }
|
3365
|
-
#
|
3366
2907
|
# @!attribute [rw] function_name
|
3367
2908
|
# The name of the Lambda function.
|
3368
2909
|
#
|
@@ -3438,6 +2979,56 @@ module Aws::Lambda
|
|
3438
2979
|
include Aws::Structure
|
3439
2980
|
end
|
3440
2981
|
|
2982
|
+
# @!attribute [rw] function_name
|
2983
|
+
# The name of the Lambda function.
|
2984
|
+
#
|
2985
|
+
# **Name formats**
|
2986
|
+
#
|
2987
|
+
# * **Function name** – `my-function`.
|
2988
|
+
#
|
2989
|
+
# * **Function ARN** –
|
2990
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2991
|
+
#
|
2992
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2993
|
+
#
|
2994
|
+
# The length constraint applies only to the full ARN. If you specify
|
2995
|
+
# only the function name, it is limited to 64 characters in length.
|
2996
|
+
# @return [String]
|
2997
|
+
#
|
2998
|
+
# @!attribute [rw] qualifier
|
2999
|
+
# Specify a version of the function. This can be `$LATEST` or a
|
3000
|
+
# published version number. If no value is specified, the
|
3001
|
+
# configuration for the `$LATEST` version is returned.
|
3002
|
+
# @return [String]
|
3003
|
+
#
|
3004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigRequest AWS API Documentation
|
3005
|
+
#
|
3006
|
+
class GetRuntimeManagementConfigRequest < Struct.new(
|
3007
|
+
:function_name,
|
3008
|
+
:qualifier)
|
3009
|
+
SENSITIVE = []
|
3010
|
+
include Aws::Structure
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# @!attribute [rw] update_runtime_on
|
3014
|
+
# The current runtime update mode of the function.
|
3015
|
+
# @return [String]
|
3016
|
+
#
|
3017
|
+
# @!attribute [rw] runtime_version_arn
|
3018
|
+
# The ARN of the runtime the function is configured to use. If the
|
3019
|
+
# runtime update mode is **Manual**, the ARN is returned, otherwise
|
3020
|
+
# `null` is returned.
|
3021
|
+
# @return [String]
|
3022
|
+
#
|
3023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigResponse AWS API Documentation
|
3024
|
+
#
|
3025
|
+
class GetRuntimeManagementConfigResponse < Struct.new(
|
3026
|
+
:update_runtime_on,
|
3027
|
+
:runtime_version_arn)
|
3028
|
+
SENSITIVE = []
|
3029
|
+
include Aws::Structure
|
3030
|
+
end
|
3031
|
+
|
3441
3032
|
# Configuration values that override the container image Dockerfile
|
3442
3033
|
# settings. For more information, see [Container image settings][1].
|
3443
3034
|
#
|
@@ -3445,15 +3036,6 @@ module Aws::Lambda
|
|
3445
3036
|
#
|
3446
3037
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
3447
3038
|
#
|
3448
|
-
# @note When making an API call, you may pass ImageConfig
|
3449
|
-
# data as a hash:
|
3450
|
-
#
|
3451
|
-
# {
|
3452
|
-
# entry_point: ["String"],
|
3453
|
-
# command: ["String"],
|
3454
|
-
# working_directory: "WorkingDirectory",
|
3455
|
-
# }
|
3456
|
-
#
|
3457
3039
|
# @!attribute [rw] entry_point
|
3458
3040
|
# Specifies the entry point to their application, which is typically
|
3459
3041
|
# the location of the runtime executable.
|
@@ -3642,18 +3224,6 @@ module Aws::Lambda
|
|
3642
3224
|
include Aws::Structure
|
3643
3225
|
end
|
3644
3226
|
|
3645
|
-
# @note When making an API call, you may pass InvocationRequest
|
3646
|
-
# data as a hash:
|
3647
|
-
#
|
3648
|
-
# {
|
3649
|
-
# function_name: "NamespacedFunctionName", # required
|
3650
|
-
# invocation_type: "Event", # accepts Event, RequestResponse, DryRun
|
3651
|
-
# log_type: "None", # accepts None, Tail
|
3652
|
-
# client_context: "String",
|
3653
|
-
# payload: "data",
|
3654
|
-
# qualifier: "Qualifier",
|
3655
|
-
# }
|
3656
|
-
#
|
3657
3227
|
# @!attribute [rw] function_name
|
3658
3228
|
# The name of the Lambda function, version, or alias.
|
3659
3229
|
#
|
@@ -3763,14 +3333,6 @@ module Aws::Lambda
|
|
3763
3333
|
include Aws::Structure
|
3764
3334
|
end
|
3765
3335
|
|
3766
|
-
# @note When making an API call, you may pass InvokeAsyncRequest
|
3767
|
-
# data as a hash:
|
3768
|
-
#
|
3769
|
-
# {
|
3770
|
-
# function_name: "NamespacedFunctionName", # required
|
3771
|
-
# invoke_args: "data", # required
|
3772
|
-
# }
|
3773
|
-
#
|
3774
3336
|
# @!attribute [rw] function_name
|
3775
3337
|
# The name of the Lambda function.
|
3776
3338
|
#
|
@@ -3929,16 +3491,6 @@ module Aws::Lambda
|
|
3929
3491
|
#
|
3930
3492
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
3931
3493
|
#
|
3932
|
-
# @note When making an API call, you may pass LayerVersionContentInput
|
3933
|
-
# data as a hash:
|
3934
|
-
#
|
3935
|
-
# {
|
3936
|
-
# s3_bucket: "S3Bucket",
|
3937
|
-
# s3_key: "S3Key",
|
3938
|
-
# s3_object_version: "S3ObjectVersion",
|
3939
|
-
# zip_file: "data",
|
3940
|
-
# }
|
3941
|
-
#
|
3942
3494
|
# @!attribute [rw] s3_bucket
|
3943
3495
|
# The Amazon S3 bucket of the layer archive.
|
3944
3496
|
# @return [String]
|
@@ -4089,16 +3641,6 @@ module Aws::Lambda
|
|
4089
3641
|
include Aws::Structure
|
4090
3642
|
end
|
4091
3643
|
|
4092
|
-
# @note When making an API call, you may pass ListAliasesRequest
|
4093
|
-
# data as a hash:
|
4094
|
-
#
|
4095
|
-
# {
|
4096
|
-
# function_name: "FunctionName", # required
|
4097
|
-
# function_version: "Version",
|
4098
|
-
# marker: "String",
|
4099
|
-
# max_items: 1,
|
4100
|
-
# }
|
4101
|
-
#
|
4102
3644
|
# @!attribute [rw] function_name
|
4103
3645
|
# The name of the Lambda function.
|
4104
3646
|
#
|
@@ -4157,14 +3699,6 @@ module Aws::Lambda
|
|
4157
3699
|
include Aws::Structure
|
4158
3700
|
end
|
4159
3701
|
|
4160
|
-
# @note When making an API call, you may pass ListCodeSigningConfigsRequest
|
4161
|
-
# data as a hash:
|
4162
|
-
#
|
4163
|
-
# {
|
4164
|
-
# marker: "String",
|
4165
|
-
# max_items: 1,
|
4166
|
-
# }
|
4167
|
-
#
|
4168
3702
|
# @!attribute [rw] marker
|
4169
3703
|
# Specify the pagination token that's returned by a previous request
|
4170
3704
|
# to retrieve the next page of results.
|
@@ -4200,30 +3734,20 @@ module Aws::Lambda
|
|
4200
3734
|
include Aws::Structure
|
4201
3735
|
end
|
4202
3736
|
|
4203
|
-
# @note When making an API call, you may pass ListEventSourceMappingsRequest
|
4204
|
-
# data as a hash:
|
4205
|
-
#
|
4206
|
-
# {
|
4207
|
-
# event_source_arn: "Arn",
|
4208
|
-
# function_name: "FunctionName",
|
4209
|
-
# marker: "String",
|
4210
|
-
# max_items: 1,
|
4211
|
-
# }
|
4212
|
-
#
|
4213
3737
|
# @!attribute [rw] event_source_arn
|
4214
3738
|
# The Amazon Resource Name (ARN) of the event source.
|
4215
3739
|
#
|
4216
|
-
# * **Amazon Kinesis**
|
3740
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
4217
3741
|
# consumer.
|
4218
3742
|
#
|
4219
|
-
# * **Amazon DynamoDB Streams**
|
3743
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
4220
3744
|
#
|
4221
|
-
# * **Amazon Simple Queue Service**
|
3745
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
4222
3746
|
#
|
4223
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
3747
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
4224
3748
|
# cluster.
|
4225
3749
|
#
|
4226
|
-
# * **Amazon MQ**
|
3750
|
+
# * **Amazon MQ** – The ARN of the broker.
|
4227
3751
|
# @return [String]
|
4228
3752
|
#
|
4229
3753
|
# @!attribute [rw] function_name
|
@@ -4231,15 +3755,15 @@ module Aws::Lambda
|
|
4231
3755
|
#
|
4232
3756
|
# **Name formats**
|
4233
3757
|
#
|
4234
|
-
# * **Function name**
|
3758
|
+
# * **Function name** – `MyFunction`.
|
4235
3759
|
#
|
4236
|
-
# * **Function ARN**
|
3760
|
+
# * **Function ARN** –
|
4237
3761
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4238
3762
|
#
|
4239
|
-
# * **Version or Alias ARN**
|
3763
|
+
# * **Version or Alias ARN** –
|
4240
3764
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
4241
3765
|
#
|
4242
|
-
# * **Partial ARN**
|
3766
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
4243
3767
|
#
|
4244
3768
|
# The length constraint applies only to the full ARN. If you specify
|
4245
3769
|
# only the function name, it's limited to 64 characters in length.
|
@@ -4284,15 +3808,6 @@ module Aws::Lambda
|
|
4284
3808
|
include Aws::Structure
|
4285
3809
|
end
|
4286
3810
|
|
4287
|
-
# @note When making an API call, you may pass ListFunctionEventInvokeConfigsRequest
|
4288
|
-
# data as a hash:
|
4289
|
-
#
|
4290
|
-
# {
|
4291
|
-
# function_name: "FunctionName", # required
|
4292
|
-
# marker: "String",
|
4293
|
-
# max_items: 1,
|
4294
|
-
# }
|
4295
|
-
#
|
4296
3811
|
# @!attribute [rw] function_name
|
4297
3812
|
# The name of the Lambda function.
|
4298
3813
|
#
|
@@ -4345,15 +3860,6 @@ module Aws::Lambda
|
|
4345
3860
|
include Aws::Structure
|
4346
3861
|
end
|
4347
3862
|
|
4348
|
-
# @note When making an API call, you may pass ListFunctionUrlConfigsRequest
|
4349
|
-
# data as a hash:
|
4350
|
-
#
|
4351
|
-
# {
|
4352
|
-
# function_name: "FunctionName", # required
|
4353
|
-
# marker: "String",
|
4354
|
-
# max_items: 1,
|
4355
|
-
# }
|
4356
|
-
#
|
4357
3863
|
# @!attribute [rw] function_name
|
4358
3864
|
# The name of the Lambda function.
|
4359
3865
|
#
|
@@ -4408,15 +3914,6 @@ module Aws::Lambda
|
|
4408
3914
|
include Aws::Structure
|
4409
3915
|
end
|
4410
3916
|
|
4411
|
-
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
4412
|
-
# data as a hash:
|
4413
|
-
#
|
4414
|
-
# {
|
4415
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4416
|
-
# marker: "String",
|
4417
|
-
# max_items: 1,
|
4418
|
-
# }
|
4419
|
-
#
|
4420
3917
|
# @!attribute [rw] code_signing_config_arn
|
4421
3918
|
# The The Amazon Resource Name (ARN) of the code signing
|
4422
3919
|
# configuration.
|
@@ -4458,16 +3955,6 @@ module Aws::Lambda
|
|
4458
3955
|
include Aws::Structure
|
4459
3956
|
end
|
4460
3957
|
|
4461
|
-
# @note When making an API call, you may pass ListFunctionsRequest
|
4462
|
-
# data as a hash:
|
4463
|
-
#
|
4464
|
-
# {
|
4465
|
-
# master_region: "MasterRegion",
|
4466
|
-
# function_version: "ALL", # accepts ALL
|
4467
|
-
# marker: "String",
|
4468
|
-
# max_items: 1,
|
4469
|
-
# }
|
4470
|
-
#
|
4471
3958
|
# @!attribute [rw] master_region
|
4472
3959
|
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
4473
3960
|
# master function. For example, `us-east-1` filters the list of
|
@@ -4522,17 +4009,6 @@ module Aws::Lambda
|
|
4522
4009
|
include Aws::Structure
|
4523
4010
|
end
|
4524
4011
|
|
4525
|
-
# @note When making an API call, you may pass ListLayerVersionsRequest
|
4526
|
-
# data as a hash:
|
4527
|
-
#
|
4528
|
-
# {
|
4529
|
-
# 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
|
4530
|
-
# layer_name: "LayerName", # required
|
4531
|
-
# marker: "String",
|
4532
|
-
# max_items: 1,
|
4533
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
4534
|
-
# }
|
4535
|
-
#
|
4536
4012
|
# @!attribute [rw] compatible_runtime
|
4537
4013
|
# A runtime identifier. For example, `go1.x`.
|
4538
4014
|
# @return [String]
|
@@ -4587,16 +4063,6 @@ module Aws::Lambda
|
|
4587
4063
|
include Aws::Structure
|
4588
4064
|
end
|
4589
4065
|
|
4590
|
-
# @note When making an API call, you may pass ListLayersRequest
|
4591
|
-
# data as a hash:
|
4592
|
-
#
|
4593
|
-
# {
|
4594
|
-
# 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
|
4595
|
-
# marker: "String",
|
4596
|
-
# max_items: 1,
|
4597
|
-
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
4598
|
-
# }
|
4599
|
-
#
|
4600
4066
|
# @!attribute [rw] compatible_runtime
|
4601
4067
|
# A runtime identifier. For example, `go1.x`.
|
4602
4068
|
# @return [String]
|
@@ -4646,15 +4112,6 @@ module Aws::Lambda
|
|
4646
4112
|
include Aws::Structure
|
4647
4113
|
end
|
4648
4114
|
|
4649
|
-
# @note When making an API call, you may pass ListProvisionedConcurrencyConfigsRequest
|
4650
|
-
# data as a hash:
|
4651
|
-
#
|
4652
|
-
# {
|
4653
|
-
# function_name: "FunctionName", # required
|
4654
|
-
# marker: "String",
|
4655
|
-
# max_items: 1,
|
4656
|
-
# }
|
4657
|
-
#
|
4658
4115
|
# @!attribute [rw] function_name
|
4659
4116
|
# The name of the Lambda function.
|
4660
4117
|
#
|
@@ -4707,13 +4164,6 @@ module Aws::Lambda
|
|
4707
4164
|
include Aws::Structure
|
4708
4165
|
end
|
4709
4166
|
|
4710
|
-
# @note When making an API call, you may pass ListTagsRequest
|
4711
|
-
# data as a hash:
|
4712
|
-
#
|
4713
|
-
# {
|
4714
|
-
# resource: "FunctionArn", # required
|
4715
|
-
# }
|
4716
|
-
#
|
4717
4167
|
# @!attribute [rw] resource
|
4718
4168
|
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
4719
4169
|
# support adding tags to aliases or versions.
|
@@ -4739,15 +4189,6 @@ module Aws::Lambda
|
|
4739
4189
|
include Aws::Structure
|
4740
4190
|
end
|
4741
4191
|
|
4742
|
-
# @note When making an API call, you may pass ListVersionsByFunctionRequest
|
4743
|
-
# data as a hash:
|
4744
|
-
#
|
4745
|
-
# {
|
4746
|
-
# function_name: "NamespacedFunctionName", # required
|
4747
|
-
# marker: "String",
|
4748
|
-
# max_items: 1,
|
4749
|
-
# }
|
4750
|
-
#
|
4751
4192
|
# @!attribute [rw] function_name
|
4752
4193
|
# The name of the Lambda function.
|
4753
4194
|
#
|
@@ -4804,13 +4245,6 @@ module Aws::Lambda
|
|
4804
4245
|
|
4805
4246
|
# A destination for events that failed processing.
|
4806
4247
|
#
|
4807
|
-
# @note When making an API call, you may pass OnFailure
|
4808
|
-
# data as a hash:
|
4809
|
-
#
|
4810
|
-
# {
|
4811
|
-
# destination: "DestinationArn",
|
4812
|
-
# }
|
4813
|
-
#
|
4814
4248
|
# @!attribute [rw] destination
|
4815
4249
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4816
4250
|
# @return [String]
|
@@ -4825,13 +4259,6 @@ module Aws::Lambda
|
|
4825
4259
|
|
4826
4260
|
# A destination for events that were processed successfully.
|
4827
4261
|
#
|
4828
|
-
# @note When making an API call, you may pass OnSuccess
|
4829
|
-
# data as a hash:
|
4830
|
-
#
|
4831
|
-
# {
|
4832
|
-
# destination: "DestinationArn",
|
4833
|
-
# }
|
4834
|
-
#
|
4835
4262
|
# @!attribute [rw] destination
|
4836
4263
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4837
4264
|
# @return [String]
|
@@ -4958,23 +4385,6 @@ module Aws::Lambda
|
|
4958
4385
|
include Aws::Structure
|
4959
4386
|
end
|
4960
4387
|
|
4961
|
-
# @note When making an API call, you may pass PublishLayerVersionRequest
|
4962
|
-
# data as a hash:
|
4963
|
-
#
|
4964
|
-
# {
|
4965
|
-
# layer_name: "LayerName", # required
|
4966
|
-
# description: "Description",
|
4967
|
-
# content: { # required
|
4968
|
-
# s3_bucket: "S3Bucket",
|
4969
|
-
# s3_key: "S3Key",
|
4970
|
-
# s3_object_version: "S3ObjectVersion",
|
4971
|
-
# zip_file: "data",
|
4972
|
-
# },
|
4973
|
-
# 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
|
4974
|
-
# license_info: "LicenseInfo",
|
4975
|
-
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4976
|
-
# }
|
4977
|
-
#
|
4978
4388
|
# @!attribute [rw] layer_name
|
4979
4389
|
# The name or Amazon Resource Name (ARN) of the layer.
|
4980
4390
|
# @return [String]
|
@@ -5093,16 +4503,6 @@ module Aws::Lambda
|
|
5093
4503
|
include Aws::Structure
|
5094
4504
|
end
|
5095
4505
|
|
5096
|
-
# @note When making an API call, you may pass PublishVersionRequest
|
5097
|
-
# data as a hash:
|
5098
|
-
#
|
5099
|
-
# {
|
5100
|
-
# function_name: "FunctionName", # required
|
5101
|
-
# code_sha_256: "String",
|
5102
|
-
# description: "Description",
|
5103
|
-
# revision_id: "String",
|
5104
|
-
# }
|
5105
|
-
#
|
5106
4506
|
# @!attribute [rw] function_name
|
5107
4507
|
# The name of the Lambda function.
|
5108
4508
|
#
|
@@ -5149,14 +4549,6 @@ module Aws::Lambda
|
|
5149
4549
|
include Aws::Structure
|
5150
4550
|
end
|
5151
4551
|
|
5152
|
-
# @note When making an API call, you may pass PutFunctionCodeSigningConfigRequest
|
5153
|
-
# data as a hash:
|
5154
|
-
#
|
5155
|
-
# {
|
5156
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
5157
|
-
# function_name: "FunctionName", # required
|
5158
|
-
# }
|
5159
|
-
#
|
5160
4552
|
# @!attribute [rw] code_signing_config_arn
|
5161
4553
|
# The The Amazon Resource Name (ARN) of the code signing
|
5162
4554
|
# configuration.
|
@@ -5217,14 +4609,6 @@ module Aws::Lambda
|
|
5217
4609
|
include Aws::Structure
|
5218
4610
|
end
|
5219
4611
|
|
5220
|
-
# @note When making an API call, you may pass PutFunctionConcurrencyRequest
|
5221
|
-
# data as a hash:
|
5222
|
-
#
|
5223
|
-
# {
|
5224
|
-
# function_name: "FunctionName", # required
|
5225
|
-
# reserved_concurrent_executions: 1, # required
|
5226
|
-
# }
|
5227
|
-
#
|
5228
4612
|
# @!attribute [rw] function_name
|
5229
4613
|
# The name of the Lambda function.
|
5230
4614
|
#
|
@@ -5254,24 +4638,6 @@ module Aws::Lambda
|
|
5254
4638
|
include Aws::Structure
|
5255
4639
|
end
|
5256
4640
|
|
5257
|
-
# @note When making an API call, you may pass PutFunctionEventInvokeConfigRequest
|
5258
|
-
# data as a hash:
|
5259
|
-
#
|
5260
|
-
# {
|
5261
|
-
# function_name: "FunctionName", # required
|
5262
|
-
# qualifier: "Qualifier",
|
5263
|
-
# maximum_retry_attempts: 1,
|
5264
|
-
# maximum_event_age_in_seconds: 1,
|
5265
|
-
# destination_config: {
|
5266
|
-
# on_success: {
|
5267
|
-
# destination: "DestinationArn",
|
5268
|
-
# },
|
5269
|
-
# on_failure: {
|
5270
|
-
# destination: "DestinationArn",
|
5271
|
-
# },
|
5272
|
-
# },
|
5273
|
-
# }
|
5274
|
-
#
|
5275
4641
|
# @!attribute [rw] function_name
|
5276
4642
|
# The name of the Lambda function, version, or alias.
|
5277
4643
|
#
|
@@ -5332,15 +4698,6 @@ module Aws::Lambda
|
|
5332
4698
|
include Aws::Structure
|
5333
4699
|
end
|
5334
4700
|
|
5335
|
-
# @note When making an API call, you may pass PutProvisionedConcurrencyConfigRequest
|
5336
|
-
# data as a hash:
|
5337
|
-
#
|
5338
|
-
# {
|
5339
|
-
# function_name: "FunctionName", # required
|
5340
|
-
# qualifier: "Qualifier", # required
|
5341
|
-
# provisioned_concurrent_executions: 1, # required
|
5342
|
-
# }
|
5343
|
-
#
|
5344
4701
|
# @!attribute [rw] function_name
|
5345
4702
|
# The name of the Lambda function.
|
5346
4703
|
#
|
@@ -5422,16 +4779,102 @@ module Aws::Lambda
|
|
5422
4779
|
include Aws::Structure
|
5423
4780
|
end
|
5424
4781
|
|
5425
|
-
#
|
5426
|
-
#
|
4782
|
+
# @!attribute [rw] function_name
|
4783
|
+
# The name of the Lambda function.
|
4784
|
+
#
|
4785
|
+
# **Name formats**
|
4786
|
+
#
|
4787
|
+
# * **Function name** – `my-function`.
|
5427
4788
|
#
|
5428
|
-
#
|
5429
|
-
#
|
5430
|
-
# version_number: 1, # required
|
5431
|
-
# statement_id: "StatementId", # required
|
5432
|
-
# revision_id: "String",
|
5433
|
-
# }
|
4789
|
+
# * **Function ARN** –
|
4790
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5434
4791
|
#
|
4792
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4793
|
+
#
|
4794
|
+
# The length constraint applies only to the full ARN. If you specify
|
4795
|
+
# only the function name, it is limited to 64 characters in length.
|
4796
|
+
# @return [String]
|
4797
|
+
#
|
4798
|
+
# @!attribute [rw] qualifier
|
4799
|
+
# Specify a version of the function. This can be `$LATEST` or a
|
4800
|
+
# published version number. If no value is specified, the
|
4801
|
+
# configuration for the `$LATEST` version is returned.
|
4802
|
+
# @return [String]
|
4803
|
+
#
|
4804
|
+
# @!attribute [rw] update_runtime_on
|
4805
|
+
# Specify the runtime update mode.
|
4806
|
+
#
|
4807
|
+
# * **Auto (default)** - Automatically update to the most recent and
|
4808
|
+
# secure runtime version using a [Two-phase runtime version
|
4809
|
+
# rollout][1]. This is the best choice for most customers to ensure
|
4810
|
+
# they always benefit from runtime updates.
|
4811
|
+
#
|
4812
|
+
# * **Function update** - Lambda updates the runtime of your function
|
4813
|
+
# to the most recent and secure runtime version when you update your
|
4814
|
+
# function. This approach synchronizes runtime updates with function
|
4815
|
+
# deployments, giving you control over when runtime updates are
|
4816
|
+
# applied and allowing you to detect and mitigate rare runtime
|
4817
|
+
# update incompatibilities early. When using this setting, you need
|
4818
|
+
# to regularly update your functions to keep their runtime
|
4819
|
+
# up-to-date.
|
4820
|
+
#
|
4821
|
+
# * **Manual** - You specify a runtime version in your function
|
4822
|
+
# configuration. The function will use this runtime version
|
4823
|
+
# indefinitely. In the rare case where a new runtime version is
|
4824
|
+
# incompatible with an existing function, this allows you to roll
|
4825
|
+
# back your function to an earlier runtime version. For more
|
4826
|
+
# information, see [Roll back a runtime version][2].
|
4827
|
+
#
|
4828
|
+
#
|
4829
|
+
#
|
4830
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase
|
4831
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback
|
4832
|
+
# @return [String]
|
4833
|
+
#
|
4834
|
+
# @!attribute [rw] runtime_version_arn
|
4835
|
+
# The ARN of the runtime version you want the function to use.
|
4836
|
+
#
|
4837
|
+
# <note markdown="1"> This is only required if you're using the **Manual** runtime update
|
4838
|
+
# mode.
|
4839
|
+
#
|
4840
|
+
# </note>
|
4841
|
+
# @return [String]
|
4842
|
+
#
|
4843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfigRequest AWS API Documentation
|
4844
|
+
#
|
4845
|
+
class PutRuntimeManagementConfigRequest < Struct.new(
|
4846
|
+
:function_name,
|
4847
|
+
:qualifier,
|
4848
|
+
:update_runtime_on,
|
4849
|
+
:runtime_version_arn)
|
4850
|
+
SENSITIVE = []
|
4851
|
+
include Aws::Structure
|
4852
|
+
end
|
4853
|
+
|
4854
|
+
# @!attribute [rw] update_runtime_on
|
4855
|
+
# The runtime update mode.
|
4856
|
+
# @return [String]
|
4857
|
+
#
|
4858
|
+
# @!attribute [rw] function_arn
|
4859
|
+
# The ARN of the function
|
4860
|
+
# @return [String]
|
4861
|
+
#
|
4862
|
+
# @!attribute [rw] runtime_version_arn
|
4863
|
+
# The ARN of the runtime the function is configured to use. If the
|
4864
|
+
# runtime update mode is **manual**, the ARN is returned, otherwise
|
4865
|
+
# `null` is returned.
|
4866
|
+
# @return [String]
|
4867
|
+
#
|
4868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfigResponse AWS API Documentation
|
4869
|
+
#
|
4870
|
+
class PutRuntimeManagementConfigResponse < Struct.new(
|
4871
|
+
:update_runtime_on,
|
4872
|
+
:function_arn,
|
4873
|
+
:runtime_version_arn)
|
4874
|
+
SENSITIVE = []
|
4875
|
+
include Aws::Structure
|
4876
|
+
end
|
4877
|
+
|
5435
4878
|
# @!attribute [rw] layer_name
|
5436
4879
|
# The name or Amazon Resource Name (ARN) of the layer.
|
5437
4880
|
# @return [String]
|
@@ -5461,16 +4904,6 @@ module Aws::Lambda
|
|
5461
4904
|
include Aws::Structure
|
5462
4905
|
end
|
5463
4906
|
|
5464
|
-
# @note When making an API call, you may pass RemovePermissionRequest
|
5465
|
-
# data as a hash:
|
5466
|
-
#
|
5467
|
-
# {
|
5468
|
-
# function_name: "FunctionName", # required
|
5469
|
-
# statement_id: "NamespacedStatementId", # required
|
5470
|
-
# qualifier: "Qualifier",
|
5471
|
-
# revision_id: "String",
|
5472
|
-
# }
|
5473
|
-
#
|
5474
4907
|
# @!attribute [rw] function_name
|
5475
4908
|
# The name of the Lambda function, version, or alias.
|
5476
4909
|
#
|
@@ -5613,16 +5046,63 @@ module Aws::Lambda
|
|
5613
5046
|
include Aws::Structure
|
5614
5047
|
end
|
5615
5048
|
|
5616
|
-
# The
|
5049
|
+
# The ARN of the runtime and any errors that occured.
|
5050
|
+
#
|
5051
|
+
# @!attribute [rw] runtime_version_arn
|
5052
|
+
# The ARN of the runtime version you want the function to use.
|
5053
|
+
# @return [String]
|
5054
|
+
#
|
5055
|
+
# @!attribute [rw] error
|
5056
|
+
# Error response when Lambda is unable to retrieve the runtime version
|
5057
|
+
# for a function.
|
5058
|
+
# @return [Types::RuntimeVersionError]
|
5059
|
+
#
|
5060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RuntimeVersionConfig AWS API Documentation
|
5617
5061
|
#
|
5618
|
-
|
5619
|
-
|
5062
|
+
class RuntimeVersionConfig < Struct.new(
|
5063
|
+
:runtime_version_arn,
|
5064
|
+
:error)
|
5065
|
+
SENSITIVE = []
|
5066
|
+
include Aws::Structure
|
5067
|
+
end
|
5068
|
+
|
5069
|
+
# Any error returned when the runtime version information for the
|
5070
|
+
# function could not be retrieved.
|
5620
5071
|
#
|
5621
|
-
#
|
5622
|
-
#
|
5623
|
-
#
|
5624
|
-
#
|
5625
|
-
#
|
5072
|
+
# @!attribute [rw] error_code
|
5073
|
+
# The error code.
|
5074
|
+
# @return [String]
|
5075
|
+
#
|
5076
|
+
# @!attribute [rw] message
|
5077
|
+
# The error message.
|
5078
|
+
# @return [String]
|
5079
|
+
#
|
5080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RuntimeVersionError AWS API Documentation
|
5081
|
+
#
|
5082
|
+
class RuntimeVersionError < Struct.new(
|
5083
|
+
:error_code,
|
5084
|
+
:message)
|
5085
|
+
SENSITIVE = [:message]
|
5086
|
+
include Aws::Structure
|
5087
|
+
end
|
5088
|
+
|
5089
|
+
# (Amazon SQS only) The scaling configuration for the event source. To
|
5090
|
+
# remove the configuration, pass an empty value.
|
5091
|
+
#
|
5092
|
+
# @!attribute [rw] maximum_concurrency
|
5093
|
+
# Limits the number of concurrent instances that the Amazon SQS event
|
5094
|
+
# source can invoke.
|
5095
|
+
# @return [Integer]
|
5096
|
+
#
|
5097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ScalingConfig AWS API Documentation
|
5098
|
+
#
|
5099
|
+
class ScalingConfig < Struct.new(
|
5100
|
+
:maximum_concurrency)
|
5101
|
+
SENSITIVE = []
|
5102
|
+
include Aws::Structure
|
5103
|
+
end
|
5104
|
+
|
5105
|
+
# The self-managed Apache Kafka cluster for your event source.
|
5626
5106
|
#
|
5627
5107
|
# @!attribute [rw] endpoints
|
5628
5108
|
# The list of bootstrap servers for your Kafka brokers in the
|
@@ -5641,13 +5121,6 @@ module Aws::Lambda
|
|
5641
5121
|
# Specific configuration settings for a self-managed Apache Kafka event
|
5642
5122
|
# source.
|
5643
5123
|
#
|
5644
|
-
# @note When making an API call, you may pass SelfManagedKafkaEventSourceConfig
|
5645
|
-
# data as a hash:
|
5646
|
-
#
|
5647
|
-
# {
|
5648
|
-
# consumer_group_id: "URI",
|
5649
|
-
# }
|
5650
|
-
#
|
5651
5124
|
# @!attribute [rw] consumer_group_id
|
5652
5125
|
# The identifier for the Kafka consumer group to join. The consumer
|
5653
5126
|
# group ID must be unique among all your Kafka event sources. After
|
@@ -5685,21 +5158,17 @@ module Aws::Lambda
|
|
5685
5158
|
include Aws::Structure
|
5686
5159
|
end
|
5687
5160
|
|
5688
|
-
# The function's SnapStart setting. Set `ApplyOn` to
|
5161
|
+
# The function's Lambda SnapStart setting. Set `ApplyOn` to
|
5689
5162
|
# `PublishedVersions` to create a snapshot of the initialized execution
|
5690
|
-
# environment when you publish a function version.
|
5691
|
-
# see [Reducing startup time with Lambda SnapStart][1].
|
5163
|
+
# environment when you publish a function version.
|
5692
5164
|
#
|
5165
|
+
# SnapStart is supported with the `java11` runtime. For more
|
5166
|
+
# information, see [Improving startup performance with Lambda
|
5167
|
+
# SnapStart][1].
|
5693
5168
|
#
|
5694
5169
|
#
|
5695
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5696
5170
|
#
|
5697
|
-
#
|
5698
|
-
# data as a hash:
|
5699
|
-
#
|
5700
|
-
# {
|
5701
|
-
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
5702
|
-
# }
|
5171
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5703
5172
|
#
|
5704
5173
|
# @!attribute [rw] apply_on
|
5705
5174
|
# Set to `PublishedVersions` to create a snapshot of the initialized
|
@@ -5714,8 +5183,12 @@ module Aws::Lambda
|
|
5714
5183
|
include Aws::Structure
|
5715
5184
|
end
|
5716
5185
|
|
5717
|
-
# The runtime
|
5718
|
-
# check the Amazon CloudWatch logs.
|
5186
|
+
# The `afterRestore()` [runtime hook][1] encountered an error. For more
|
5187
|
+
# information, check the Amazon CloudWatch logs.
|
5188
|
+
#
|
5189
|
+
#
|
5190
|
+
#
|
5191
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html
|
5719
5192
|
#
|
5720
5193
|
# @!attribute [rw] type
|
5721
5194
|
# @return [String]
|
@@ -5784,8 +5257,7 @@ module Aws::Lambda
|
|
5784
5257
|
include Aws::Structure
|
5785
5258
|
end
|
5786
5259
|
|
5787
|
-
#
|
5788
|
-
# (2 seconds).
|
5260
|
+
# Lambda couldn't restore the snapshot within the timeout limit.
|
5789
5261
|
#
|
5790
5262
|
# @!attribute [rw] type
|
5791
5263
|
# @return [String]
|
@@ -5805,53 +5277,45 @@ module Aws::Lambda
|
|
5805
5277
|
# To secure and define access to your event source, you can specify the
|
5806
5278
|
# authentication protocol, VPC components, or virtual host.
|
5807
5279
|
#
|
5808
|
-
# @note When making an API call, you may pass SourceAccessConfiguration
|
5809
|
-
# data as a hash:
|
5810
|
-
#
|
5811
|
-
# {
|
5812
|
-
# 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
|
5813
|
-
# uri: "URI",
|
5814
|
-
# }
|
5815
|
-
#
|
5816
5280
|
# @!attribute [rw] type
|
5817
5281
|
# The type of authentication protocol, VPC components, or virtual host
|
5818
5282
|
# for your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
5819
5283
|
#
|
5820
|
-
# * `BASIC_AUTH`
|
5284
|
+
# * `BASIC_AUTH` – (Amazon MQ) The Secrets Manager secret that stores
|
5821
5285
|
# your broker credentials.
|
5822
5286
|
#
|
5823
|
-
# * `BASIC_AUTH`
|
5287
|
+
# * `BASIC_AUTH` – (Self-managed Apache Kafka) The Secrets Manager ARN
|
5824
5288
|
# of your secret key used for SASL/PLAIN authentication of your
|
5825
5289
|
# Apache Kafka brokers.
|
5826
5290
|
#
|
5827
|
-
# * `VPC_SUBNET`
|
5291
|
+
# * `VPC_SUBNET` – (Self-managed Apache Kafka) The subnets associated
|
5828
5292
|
# with your VPC. Lambda connects to these subnets to fetch data from
|
5829
5293
|
# your self-managed Apache Kafka cluster.
|
5830
5294
|
#
|
5831
|
-
# * `VPC_SECURITY_GROUP`
|
5295
|
+
# * `VPC_SECURITY_GROUP` – (Self-managed Apache Kafka) The VPC
|
5832
5296
|
# security group used to manage access to your self-managed Apache
|
5833
5297
|
# Kafka brokers.
|
5834
5298
|
#
|
5835
|
-
# * `SASL_SCRAM_256_AUTH`
|
5299
|
+
# * `SASL_SCRAM_256_AUTH` – (Self-managed Apache Kafka) The Secrets
|
5836
5300
|
# Manager ARN of your secret key used for SASL SCRAM-256
|
5837
5301
|
# authentication of your self-managed Apache Kafka brokers.
|
5838
5302
|
#
|
5839
|
-
# * `SASL_SCRAM_512_AUTH`
|
5303
|
+
# * `SASL_SCRAM_512_AUTH` – (Amazon MSK, Self-managed Apache Kafka)
|
5840
5304
|
# The Secrets Manager ARN of your secret key used for SASL SCRAM-512
|
5841
5305
|
# authentication of your self-managed Apache Kafka brokers.
|
5842
5306
|
#
|
5843
|
-
# * `VIRTUAL_HOST`
|
5307
|
+
# * `VIRTUAL_HOST` –- (RabbitMQ) The name of the virtual host in your
|
5844
5308
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5845
5309
|
# source. This property cannot be specified in an
|
5846
5310
|
# UpdateEventSourceMapping API call.
|
5847
5311
|
#
|
5848
|
-
# * `CLIENT_CERTIFICATE_TLS_AUTH`
|
5312
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` – (Amazon MSK, self-managed Apache
|
5849
5313
|
# Kafka) The Secrets Manager ARN of your secret key containing the
|
5850
5314
|
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
5851
5315
|
# private key password (optional) used for mutual TLS authentication
|
5852
5316
|
# of your MSK/Apache Kafka brokers.
|
5853
5317
|
#
|
5854
|
-
# * `SERVER_ROOT_CA_CERTIFICATE`
|
5318
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` – (Self-managed Apache Kafka) The
|
5855
5319
|
# Secrets Manager ARN of your secret key containing the root CA
|
5856
5320
|
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
5857
5321
|
# Kafka brokers.
|
@@ -5890,16 +5354,6 @@ module Aws::Lambda
|
|
5890
5354
|
include Aws::Structure
|
5891
5355
|
end
|
5892
5356
|
|
5893
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5894
|
-
# data as a hash:
|
5895
|
-
#
|
5896
|
-
# {
|
5897
|
-
# resource: "FunctionArn", # required
|
5898
|
-
# tags: { # required
|
5899
|
-
# "TagKey" => "TagValue",
|
5900
|
-
# },
|
5901
|
-
# }
|
5902
|
-
#
|
5903
5357
|
# @!attribute [rw] resource
|
5904
5358
|
# The function's Amazon Resource Name (ARN).
|
5905
5359
|
# @return [String]
|
@@ -5955,13 +5409,6 @@ module Aws::Lambda
|
|
5955
5409
|
#
|
5956
5410
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5957
5411
|
#
|
5958
|
-
# @note When making an API call, you may pass TracingConfig
|
5959
|
-
# data as a hash:
|
5960
|
-
#
|
5961
|
-
# {
|
5962
|
-
# mode: "Active", # accepts Active, PassThrough
|
5963
|
-
# }
|
5964
|
-
#
|
5965
5412
|
# @!attribute [rw] mode
|
5966
5413
|
# The tracing mode.
|
5967
5414
|
# @return [String]
|
@@ -6005,14 +5452,6 @@ module Aws::Lambda
|
|
6005
5452
|
include Aws::Structure
|
6006
5453
|
end
|
6007
5454
|
|
6008
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
6009
|
-
# data as a hash:
|
6010
|
-
#
|
6011
|
-
# {
|
6012
|
-
# resource: "FunctionArn", # required
|
6013
|
-
# tag_keys: ["TagKey"], # required
|
6014
|
-
# }
|
6015
|
-
#
|
6016
5455
|
# @!attribute [rw] resource
|
6017
5456
|
# The function's Amazon Resource Name (ARN).
|
6018
5457
|
# @return [String]
|
@@ -6030,22 +5469,6 @@ module Aws::Lambda
|
|
6030
5469
|
include Aws::Structure
|
6031
5470
|
end
|
6032
5471
|
|
6033
|
-
# @note When making an API call, you may pass UpdateAliasRequest
|
6034
|
-
# data as a hash:
|
6035
|
-
#
|
6036
|
-
# {
|
6037
|
-
# function_name: "FunctionName", # required
|
6038
|
-
# name: "Alias", # required
|
6039
|
-
# function_version: "Version",
|
6040
|
-
# description: "Description",
|
6041
|
-
# routing_config: {
|
6042
|
-
# additional_version_weights: {
|
6043
|
-
# "AdditionalVersion" => 1.0,
|
6044
|
-
# },
|
6045
|
-
# },
|
6046
|
-
# revision_id: "String",
|
6047
|
-
# }
|
6048
|
-
#
|
6049
5472
|
# @!attribute [rw] function_name
|
6050
5473
|
# The name of the Lambda function.
|
6051
5474
|
#
|
@@ -6101,20 +5524,6 @@ module Aws::Lambda
|
|
6101
5524
|
include Aws::Structure
|
6102
5525
|
end
|
6103
5526
|
|
6104
|
-
# @note When making an API call, you may pass UpdateCodeSigningConfigRequest
|
6105
|
-
# data as a hash:
|
6106
|
-
#
|
6107
|
-
# {
|
6108
|
-
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
6109
|
-
# description: "Description",
|
6110
|
-
# allowed_publishers: {
|
6111
|
-
# signing_profile_version_arns: ["Arn"], # required
|
6112
|
-
# },
|
6113
|
-
# code_signing_policies: {
|
6114
|
-
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
6115
|
-
# },
|
6116
|
-
# }
|
6117
|
-
#
|
6118
5527
|
# @!attribute [rw] code_signing_config_arn
|
6119
5528
|
# The The Amazon Resource Name (ARN) of the code signing
|
6120
5529
|
# configuration.
|
@@ -6155,44 +5564,6 @@ module Aws::Lambda
|
|
6155
5564
|
include Aws::Structure
|
6156
5565
|
end
|
6157
5566
|
|
6158
|
-
# @note When making an API call, you may pass UpdateEventSourceMappingRequest
|
6159
|
-
# data as a hash:
|
6160
|
-
#
|
6161
|
-
# {
|
6162
|
-
# uuid: "String", # required
|
6163
|
-
# function_name: "FunctionName",
|
6164
|
-
# enabled: false,
|
6165
|
-
# batch_size: 1,
|
6166
|
-
# filter_criteria: {
|
6167
|
-
# filters: [
|
6168
|
-
# {
|
6169
|
-
# pattern: "Pattern",
|
6170
|
-
# },
|
6171
|
-
# ],
|
6172
|
-
# },
|
6173
|
-
# maximum_batching_window_in_seconds: 1,
|
6174
|
-
# destination_config: {
|
6175
|
-
# on_success: {
|
6176
|
-
# destination: "DestinationArn",
|
6177
|
-
# },
|
6178
|
-
# on_failure: {
|
6179
|
-
# destination: "DestinationArn",
|
6180
|
-
# },
|
6181
|
-
# },
|
6182
|
-
# maximum_record_age_in_seconds: 1,
|
6183
|
-
# bisect_batch_on_function_error: false,
|
6184
|
-
# maximum_retry_attempts: 1,
|
6185
|
-
# parallelization_factor: 1,
|
6186
|
-
# source_access_configurations: [
|
6187
|
-
# {
|
6188
|
-
# 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
|
6189
|
-
# uri: "URI",
|
6190
|
-
# },
|
6191
|
-
# ],
|
6192
|
-
# tumbling_window_in_seconds: 1,
|
6193
|
-
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
6194
|
-
# }
|
6195
|
-
#
|
6196
5567
|
# @!attribute [rw] uuid
|
6197
5568
|
# The identifier of the event source mapping.
|
6198
5569
|
# @return [String]
|
@@ -6202,15 +5573,15 @@ module Aws::Lambda
|
|
6202
5573
|
#
|
6203
5574
|
# **Name formats**
|
6204
5575
|
#
|
6205
|
-
# * **Function name**
|
5576
|
+
# * **Function name** – `MyFunction`.
|
6206
5577
|
#
|
6207
|
-
# * **Function ARN**
|
5578
|
+
# * **Function ARN** –
|
6208
5579
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
6209
5580
|
#
|
6210
|
-
# * **Version or Alias ARN**
|
5581
|
+
# * **Version or Alias ARN** –
|
6211
5582
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
6212
5583
|
#
|
6213
|
-
# * **Partial ARN**
|
5584
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
6214
5585
|
#
|
6215
5586
|
# The length constraint applies only to the full ARN. If you specify
|
6216
5587
|
# only the function name, it's limited to 64 characters in length.
|
@@ -6229,19 +5600,19 @@ module Aws::Lambda
|
|
6229
5600
|
# of the records in the batch to the function in a single call, up to
|
6230
5601
|
# the payload limit for synchronous invocation (6 MB).
|
6231
5602
|
#
|
6232
|
-
# * **Amazon Kinesis**
|
5603
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
6233
5604
|
#
|
6234
|
-
# * **Amazon DynamoDB Streams**
|
5605
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
6235
5606
|
#
|
6236
|
-
# * **Amazon Simple Queue Service**
|
5607
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
6237
5608
|
# the max is 10,000. For FIFO queues the max is 10.
|
6238
5609
|
#
|
6239
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
5610
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
6240
5611
|
# 10,000.
|
6241
5612
|
#
|
6242
|
-
# * **Self-managed Apache Kafka**
|
5613
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
6243
5614
|
#
|
6244
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)**
|
5615
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
6245
5616
|
# @return [Integer]
|
6246
5617
|
#
|
6247
5618
|
# @!attribute [rw] filter_criteria
|
@@ -6314,6 +5685,16 @@ module Aws::Lambda
|
|
6314
5685
|
# applied to the event source mapping.
|
6315
5686
|
# @return [Array<String>]
|
6316
5687
|
#
|
5688
|
+
# @!attribute [rw] scaling_config
|
5689
|
+
# (Amazon SQS only) The scaling configuration for the event source.
|
5690
|
+
# For more information, see [Configuring maximum concurrency for
|
5691
|
+
# Amazon SQS event sources][1].
|
5692
|
+
#
|
5693
|
+
#
|
5694
|
+
#
|
5695
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
5696
|
+
# @return [Types::ScalingConfig]
|
5697
|
+
#
|
6317
5698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
6318
5699
|
#
|
6319
5700
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -6330,27 +5711,12 @@ module Aws::Lambda
|
|
6330
5711
|
:parallelization_factor,
|
6331
5712
|
:source_access_configurations,
|
6332
5713
|
:tumbling_window_in_seconds,
|
6333
|
-
:function_response_types
|
5714
|
+
:function_response_types,
|
5715
|
+
:scaling_config)
|
6334
5716
|
SENSITIVE = []
|
6335
5717
|
include Aws::Structure
|
6336
5718
|
end
|
6337
5719
|
|
6338
|
-
# @note When making an API call, you may pass UpdateFunctionCodeRequest
|
6339
|
-
# data as a hash:
|
6340
|
-
#
|
6341
|
-
# {
|
6342
|
-
# function_name: "FunctionName", # required
|
6343
|
-
# zip_file: "data",
|
6344
|
-
# s3_bucket: "S3Bucket",
|
6345
|
-
# s3_key: "S3Key",
|
6346
|
-
# s3_object_version: "S3ObjectVersion",
|
6347
|
-
# image_uri: "String",
|
6348
|
-
# publish: false,
|
6349
|
-
# dry_run: false,
|
6350
|
-
# revision_id: "String",
|
6351
|
-
# architectures: ["x86_64"], # accepts x86_64, arm64
|
6352
|
-
# }
|
6353
|
-
#
|
6354
5720
|
# @!attribute [rw] function_name
|
6355
5721
|
# The name of the Lambda function.
|
6356
5722
|
#
|
@@ -6435,54 +5801,6 @@ module Aws::Lambda
|
|
6435
5801
|
include Aws::Structure
|
6436
5802
|
end
|
6437
5803
|
|
6438
|
-
# @note When making an API call, you may pass UpdateFunctionConfigurationRequest
|
6439
|
-
# data as a hash:
|
6440
|
-
#
|
6441
|
-
# {
|
6442
|
-
# function_name: "FunctionName", # required
|
6443
|
-
# role: "RoleArn",
|
6444
|
-
# handler: "Handler",
|
6445
|
-
# description: "Description",
|
6446
|
-
# timeout: 1,
|
6447
|
-
# memory_size: 1,
|
6448
|
-
# vpc_config: {
|
6449
|
-
# subnet_ids: ["SubnetId"],
|
6450
|
-
# security_group_ids: ["SecurityGroupId"],
|
6451
|
-
# },
|
6452
|
-
# environment: {
|
6453
|
-
# variables: {
|
6454
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
6455
|
-
# },
|
6456
|
-
# },
|
6457
|
-
# 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
|
6458
|
-
# dead_letter_config: {
|
6459
|
-
# target_arn: "ResourceArn",
|
6460
|
-
# },
|
6461
|
-
# kms_key_arn: "KMSKeyArn",
|
6462
|
-
# tracing_config: {
|
6463
|
-
# mode: "Active", # accepts Active, PassThrough
|
6464
|
-
# },
|
6465
|
-
# revision_id: "String",
|
6466
|
-
# layers: ["LayerVersionArn"],
|
6467
|
-
# file_system_configs: [
|
6468
|
-
# {
|
6469
|
-
# arn: "FileSystemArn", # required
|
6470
|
-
# local_mount_path: "LocalMountPath", # required
|
6471
|
-
# },
|
6472
|
-
# ],
|
6473
|
-
# image_config: {
|
6474
|
-
# entry_point: ["String"],
|
6475
|
-
# command: ["String"],
|
6476
|
-
# working_directory: "WorkingDirectory",
|
6477
|
-
# },
|
6478
|
-
# ephemeral_storage: {
|
6479
|
-
# size: 1, # required
|
6480
|
-
# },
|
6481
|
-
# snap_start: {
|
6482
|
-
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
6483
|
-
# },
|
6484
|
-
# }
|
6485
|
-
#
|
6486
5804
|
# @!attribute [rw] function_name
|
6487
5805
|
# The name of the Lambda function.
|
6488
5806
|
#
|
@@ -6657,24 +5975,6 @@ module Aws::Lambda
|
|
6657
5975
|
include Aws::Structure
|
6658
5976
|
end
|
6659
5977
|
|
6660
|
-
# @note When making an API call, you may pass UpdateFunctionEventInvokeConfigRequest
|
6661
|
-
# data as a hash:
|
6662
|
-
#
|
6663
|
-
# {
|
6664
|
-
# function_name: "FunctionName", # required
|
6665
|
-
# qualifier: "Qualifier",
|
6666
|
-
# maximum_retry_attempts: 1,
|
6667
|
-
# maximum_event_age_in_seconds: 1,
|
6668
|
-
# destination_config: {
|
6669
|
-
# on_success: {
|
6670
|
-
# destination: "DestinationArn",
|
6671
|
-
# },
|
6672
|
-
# on_failure: {
|
6673
|
-
# destination: "DestinationArn",
|
6674
|
-
# },
|
6675
|
-
# },
|
6676
|
-
# }
|
6677
|
-
#
|
6678
5978
|
# @!attribute [rw] function_name
|
6679
5979
|
# The name of the Lambda function, version, or alias.
|
6680
5980
|
#
|
@@ -6735,23 +6035,6 @@ module Aws::Lambda
|
|
6735
6035
|
include Aws::Structure
|
6736
6036
|
end
|
6737
6037
|
|
6738
|
-
# @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
|
6739
|
-
# data as a hash:
|
6740
|
-
#
|
6741
|
-
# {
|
6742
|
-
# function_name: "FunctionName", # required
|
6743
|
-
# qualifier: "FunctionUrlQualifier",
|
6744
|
-
# auth_type: "NONE", # accepts NONE, AWS_IAM
|
6745
|
-
# cors: {
|
6746
|
-
# allow_credentials: false,
|
6747
|
-
# allow_headers: ["Header"],
|
6748
|
-
# allow_methods: ["Method"],
|
6749
|
-
# allow_origins: ["Origin"],
|
6750
|
-
# expose_headers: ["Header"],
|
6751
|
-
# max_age: 1,
|
6752
|
-
# },
|
6753
|
-
# }
|
6754
|
-
#
|
6755
6038
|
# @!attribute [rw] function_name
|
6756
6039
|
# The name of the Lambda function.
|
6757
6040
|
#
|
@@ -6872,14 +6155,6 @@ module Aws::Lambda
|
|
6872
6155
|
#
|
6873
6156
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
6874
6157
|
#
|
6875
|
-
# @note When making an API call, you may pass VpcConfig
|
6876
|
-
# data as a hash:
|
6877
|
-
#
|
6878
|
-
# {
|
6879
|
-
# subnet_ids: ["SubnetId"],
|
6880
|
-
# security_group_ids: ["SecurityGroupId"],
|
6881
|
-
# }
|
6882
|
-
#
|
6883
6158
|
# @!attribute [rw] subnet_ids
|
6884
6159
|
# A list of VPC subnet IDs.
|
6885
6160
|
# @return [Array<String>]
|