aws-sdk-lambda 1.88.0 → 1.90.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +78 -45
- data/lib/aws-sdk-lambda/client_api.rb +8 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-lambda/types.rb +106 -1025
- 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
|
#
|
@@ -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,8 +2171,8 @@ 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
|
#
|
@@ -2708,14 +2351,6 @@ module Aws::Lambda
|
|
2708
2351
|
include Aws::Structure
|
2709
2352
|
end
|
2710
2353
|
|
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
2354
|
# @!attribute [rw] function_name
|
2720
2355
|
# The name of the Lambda function.
|
2721
2356
|
#
|
@@ -2745,13 +2380,6 @@ module Aws::Lambda
|
|
2745
2380
|
include Aws::Structure
|
2746
2381
|
end
|
2747
2382
|
|
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
2383
|
# @!attribute [rw] code_signing_config_arn
|
2756
2384
|
# The The Amazon Resource Name (ARN) of the code signing
|
2757
2385
|
# configuration.
|
@@ -2777,13 +2405,6 @@ module Aws::Lambda
|
|
2777
2405
|
include Aws::Structure
|
2778
2406
|
end
|
2779
2407
|
|
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
2408
|
# @!attribute [rw] uuid
|
2788
2409
|
# The identifier of the event source mapping.
|
2789
2410
|
# @return [String]
|
@@ -2796,13 +2417,6 @@ module Aws::Lambda
|
|
2796
2417
|
include Aws::Structure
|
2797
2418
|
end
|
2798
2419
|
|
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
2420
|
# @!attribute [rw] function_name
|
2807
2421
|
# The name of the Lambda function.
|
2808
2422
|
#
|
@@ -2857,13 +2471,6 @@ module Aws::Lambda
|
|
2857
2471
|
include Aws::Structure
|
2858
2472
|
end
|
2859
2473
|
|
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
2474
|
# @!attribute [rw] function_name
|
2868
2475
|
# The name of the Lambda function.
|
2869
2476
|
#
|
@@ -2901,14 +2508,6 @@ module Aws::Lambda
|
|
2901
2508
|
include Aws::Structure
|
2902
2509
|
end
|
2903
2510
|
|
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
2511
|
# @!attribute [rw] function_name
|
2913
2512
|
# The name of the Lambda function, version, or alias.
|
2914
2513
|
#
|
@@ -2941,14 +2540,6 @@ module Aws::Lambda
|
|
2941
2540
|
include Aws::Structure
|
2942
2541
|
end
|
2943
2542
|
|
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
2543
|
# @!attribute [rw] function_name
|
2953
2544
|
# The name of the Lambda function, version, or alias.
|
2954
2545
|
#
|
@@ -2980,14 +2571,6 @@ module Aws::Lambda
|
|
2980
2571
|
include Aws::Structure
|
2981
2572
|
end
|
2982
2573
|
|
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
2574
|
# @!attribute [rw] function_name
|
2992
2575
|
# The name of the Lambda function, version, or alias.
|
2993
2576
|
#
|
@@ -3055,14 +2638,6 @@ module Aws::Lambda
|
|
3055
2638
|
include Aws::Structure
|
3056
2639
|
end
|
3057
2640
|
|
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
2641
|
# @!attribute [rw] function_name
|
3067
2642
|
# The name of the Lambda function.
|
3068
2643
|
#
|
@@ -3152,13 +2727,6 @@ module Aws::Lambda
|
|
3152
2727
|
include Aws::Structure
|
3153
2728
|
end
|
3154
2729
|
|
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
2730
|
# @!attribute [rw] arn
|
3163
2731
|
# The ARN of the layer version.
|
3164
2732
|
# @return [String]
|
@@ -3171,14 +2739,6 @@ module Aws::Lambda
|
|
3171
2739
|
include Aws::Structure
|
3172
2740
|
end
|
3173
2741
|
|
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
2742
|
# @!attribute [rw] layer_name
|
3183
2743
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3184
2744
|
# @return [String]
|
@@ -3213,14 +2773,6 @@ module Aws::Lambda
|
|
3213
2773
|
include Aws::Structure
|
3214
2774
|
end
|
3215
2775
|
|
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
2776
|
# @!attribute [rw] layer_name
|
3225
2777
|
# The name or Amazon Resource Name (ARN) of the layer.
|
3226
2778
|
# @return [String]
|
@@ -3299,14 +2851,6 @@ module Aws::Lambda
|
|
3299
2851
|
include Aws::Structure
|
3300
2852
|
end
|
3301
2853
|
|
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
2854
|
# @!attribute [rw] function_name
|
3311
2855
|
# The name of the Lambda function, version, or alias.
|
3312
2856
|
#
|
@@ -3355,14 +2899,6 @@ module Aws::Lambda
|
|
3355
2899
|
include Aws::Structure
|
3356
2900
|
end
|
3357
2901
|
|
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
2902
|
# @!attribute [rw] function_name
|
3367
2903
|
# The name of the Lambda function.
|
3368
2904
|
#
|
@@ -3445,15 +2981,6 @@ module Aws::Lambda
|
|
3445
2981
|
#
|
3446
2982
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
3447
2983
|
#
|
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
2984
|
# @!attribute [rw] entry_point
|
3458
2985
|
# Specifies the entry point to their application, which is typically
|
3459
2986
|
# the location of the runtime executable.
|
@@ -3642,18 +3169,6 @@ module Aws::Lambda
|
|
3642
3169
|
include Aws::Structure
|
3643
3170
|
end
|
3644
3171
|
|
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
3172
|
# @!attribute [rw] function_name
|
3658
3173
|
# The name of the Lambda function, version, or alias.
|
3659
3174
|
#
|
@@ -3763,14 +3278,6 @@ module Aws::Lambda
|
|
3763
3278
|
include Aws::Structure
|
3764
3279
|
end
|
3765
3280
|
|
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
3281
|
# @!attribute [rw] function_name
|
3775
3282
|
# The name of the Lambda function.
|
3776
3283
|
#
|
@@ -3929,16 +3436,6 @@ module Aws::Lambda
|
|
3929
3436
|
#
|
3930
3437
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
3931
3438
|
#
|
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
3439
|
# @!attribute [rw] s3_bucket
|
3943
3440
|
# The Amazon S3 bucket of the layer archive.
|
3944
3441
|
# @return [String]
|
@@ -4089,16 +3586,6 @@ module Aws::Lambda
|
|
4089
3586
|
include Aws::Structure
|
4090
3587
|
end
|
4091
3588
|
|
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
3589
|
# @!attribute [rw] function_name
|
4103
3590
|
# The name of the Lambda function.
|
4104
3591
|
#
|
@@ -4157,14 +3644,6 @@ module Aws::Lambda
|
|
4157
3644
|
include Aws::Structure
|
4158
3645
|
end
|
4159
3646
|
|
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
3647
|
# @!attribute [rw] marker
|
4169
3648
|
# Specify the pagination token that's returned by a previous request
|
4170
3649
|
# to retrieve the next page of results.
|
@@ -4200,30 +3679,20 @@ module Aws::Lambda
|
|
4200
3679
|
include Aws::Structure
|
4201
3680
|
end
|
4202
3681
|
|
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
3682
|
# @!attribute [rw] event_source_arn
|
4214
3683
|
# The Amazon Resource Name (ARN) of the event source.
|
4215
3684
|
#
|
4216
|
-
# * **Amazon Kinesis**
|
3685
|
+
# * **Amazon Kinesis** – The ARN of the data stream or a stream
|
4217
3686
|
# consumer.
|
4218
3687
|
#
|
4219
|
-
# * **Amazon DynamoDB Streams**
|
3688
|
+
# * **Amazon DynamoDB Streams** – The ARN of the stream.
|
4220
3689
|
#
|
4221
|
-
# * **Amazon Simple Queue Service**
|
3690
|
+
# * **Amazon Simple Queue Service** – The ARN of the queue.
|
4222
3691
|
#
|
4223
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
3692
|
+
# * **Amazon Managed Streaming for Apache Kafka** – The ARN of the
|
4224
3693
|
# cluster.
|
4225
3694
|
#
|
4226
|
-
# * **Amazon MQ**
|
3695
|
+
# * **Amazon MQ** – The ARN of the broker.
|
4227
3696
|
# @return [String]
|
4228
3697
|
#
|
4229
3698
|
# @!attribute [rw] function_name
|
@@ -4231,15 +3700,15 @@ module Aws::Lambda
|
|
4231
3700
|
#
|
4232
3701
|
# **Name formats**
|
4233
3702
|
#
|
4234
|
-
# * **Function name**
|
3703
|
+
# * **Function name** – `MyFunction`.
|
4235
3704
|
#
|
4236
|
-
# * **Function ARN**
|
3705
|
+
# * **Function ARN** –
|
4237
3706
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4238
3707
|
#
|
4239
|
-
# * **Version or Alias ARN**
|
3708
|
+
# * **Version or Alias ARN** –
|
4240
3709
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
4241
3710
|
#
|
4242
|
-
# * **Partial ARN**
|
3711
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
4243
3712
|
#
|
4244
3713
|
# The length constraint applies only to the full ARN. If you specify
|
4245
3714
|
# only the function name, it's limited to 64 characters in length.
|
@@ -4284,15 +3753,6 @@ module Aws::Lambda
|
|
4284
3753
|
include Aws::Structure
|
4285
3754
|
end
|
4286
3755
|
|
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
3756
|
# @!attribute [rw] function_name
|
4297
3757
|
# The name of the Lambda function.
|
4298
3758
|
#
|
@@ -4345,15 +3805,6 @@ module Aws::Lambda
|
|
4345
3805
|
include Aws::Structure
|
4346
3806
|
end
|
4347
3807
|
|
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
3808
|
# @!attribute [rw] function_name
|
4358
3809
|
# The name of the Lambda function.
|
4359
3810
|
#
|
@@ -4408,15 +3859,6 @@ module Aws::Lambda
|
|
4408
3859
|
include Aws::Structure
|
4409
3860
|
end
|
4410
3861
|
|
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
3862
|
# @!attribute [rw] code_signing_config_arn
|
4421
3863
|
# The The Amazon Resource Name (ARN) of the code signing
|
4422
3864
|
# configuration.
|
@@ -4458,16 +3900,6 @@ module Aws::Lambda
|
|
4458
3900
|
include Aws::Structure
|
4459
3901
|
end
|
4460
3902
|
|
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
3903
|
# @!attribute [rw] master_region
|
4472
3904
|
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
4473
3905
|
# master function. For example, `us-east-1` filters the list of
|
@@ -4522,17 +3954,6 @@ module Aws::Lambda
|
|
4522
3954
|
include Aws::Structure
|
4523
3955
|
end
|
4524
3956
|
|
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
3957
|
# @!attribute [rw] compatible_runtime
|
4537
3958
|
# A runtime identifier. For example, `go1.x`.
|
4538
3959
|
# @return [String]
|
@@ -4587,16 +4008,6 @@ module Aws::Lambda
|
|
4587
4008
|
include Aws::Structure
|
4588
4009
|
end
|
4589
4010
|
|
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
4011
|
# @!attribute [rw] compatible_runtime
|
4601
4012
|
# A runtime identifier. For example, `go1.x`.
|
4602
4013
|
# @return [String]
|
@@ -4646,15 +4057,6 @@ module Aws::Lambda
|
|
4646
4057
|
include Aws::Structure
|
4647
4058
|
end
|
4648
4059
|
|
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
4060
|
# @!attribute [rw] function_name
|
4659
4061
|
# The name of the Lambda function.
|
4660
4062
|
#
|
@@ -4707,13 +4109,6 @@ module Aws::Lambda
|
|
4707
4109
|
include Aws::Structure
|
4708
4110
|
end
|
4709
4111
|
|
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
4112
|
# @!attribute [rw] resource
|
4718
4113
|
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
4719
4114
|
# support adding tags to aliases or versions.
|
@@ -4739,15 +4134,6 @@ module Aws::Lambda
|
|
4739
4134
|
include Aws::Structure
|
4740
4135
|
end
|
4741
4136
|
|
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
4137
|
# @!attribute [rw] function_name
|
4752
4138
|
# The name of the Lambda function.
|
4753
4139
|
#
|
@@ -4804,13 +4190,6 @@ module Aws::Lambda
|
|
4804
4190
|
|
4805
4191
|
# A destination for events that failed processing.
|
4806
4192
|
#
|
4807
|
-
# @note When making an API call, you may pass OnFailure
|
4808
|
-
# data as a hash:
|
4809
|
-
#
|
4810
|
-
# {
|
4811
|
-
# destination: "DestinationArn",
|
4812
|
-
# }
|
4813
|
-
#
|
4814
4193
|
# @!attribute [rw] destination
|
4815
4194
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4816
4195
|
# @return [String]
|
@@ -4825,13 +4204,6 @@ module Aws::Lambda
|
|
4825
4204
|
|
4826
4205
|
# A destination for events that were processed successfully.
|
4827
4206
|
#
|
4828
|
-
# @note When making an API call, you may pass OnSuccess
|
4829
|
-
# data as a hash:
|
4830
|
-
#
|
4831
|
-
# {
|
4832
|
-
# destination: "DestinationArn",
|
4833
|
-
# }
|
4834
|
-
#
|
4835
4207
|
# @!attribute [rw] destination
|
4836
4208
|
# The Amazon Resource Name (ARN) of the destination resource.
|
4837
4209
|
# @return [String]
|
@@ -4958,23 +4330,6 @@ module Aws::Lambda
|
|
4958
4330
|
include Aws::Structure
|
4959
4331
|
end
|
4960
4332
|
|
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
4333
|
# @!attribute [rw] layer_name
|
4979
4334
|
# The name or Amazon Resource Name (ARN) of the layer.
|
4980
4335
|
# @return [String]
|
@@ -5093,16 +4448,6 @@ module Aws::Lambda
|
|
5093
4448
|
include Aws::Structure
|
5094
4449
|
end
|
5095
4450
|
|
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
4451
|
# @!attribute [rw] function_name
|
5107
4452
|
# The name of the Lambda function.
|
5108
4453
|
#
|
@@ -5149,14 +4494,6 @@ module Aws::Lambda
|
|
5149
4494
|
include Aws::Structure
|
5150
4495
|
end
|
5151
4496
|
|
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
4497
|
# @!attribute [rw] code_signing_config_arn
|
5161
4498
|
# The The Amazon Resource Name (ARN) of the code signing
|
5162
4499
|
# configuration.
|
@@ -5217,14 +4554,6 @@ module Aws::Lambda
|
|
5217
4554
|
include Aws::Structure
|
5218
4555
|
end
|
5219
4556
|
|
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
4557
|
# @!attribute [rw] function_name
|
5229
4558
|
# The name of the Lambda function.
|
5230
4559
|
#
|
@@ -5254,24 +4583,6 @@ module Aws::Lambda
|
|
5254
4583
|
include Aws::Structure
|
5255
4584
|
end
|
5256
4585
|
|
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
4586
|
# @!attribute [rw] function_name
|
5276
4587
|
# The name of the Lambda function, version, or alias.
|
5277
4588
|
#
|
@@ -5332,15 +4643,6 @@ module Aws::Lambda
|
|
5332
4643
|
include Aws::Structure
|
5333
4644
|
end
|
5334
4645
|
|
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
4646
|
# @!attribute [rw] function_name
|
5345
4647
|
# The name of the Lambda function.
|
5346
4648
|
#
|
@@ -5422,16 +4724,6 @@ module Aws::Lambda
|
|
5422
4724
|
include Aws::Structure
|
5423
4725
|
end
|
5424
4726
|
|
5425
|
-
# @note When making an API call, you may pass RemoveLayerVersionPermissionRequest
|
5426
|
-
# data as a hash:
|
5427
|
-
#
|
5428
|
-
# {
|
5429
|
-
# layer_name: "LayerName", # required
|
5430
|
-
# version_number: 1, # required
|
5431
|
-
# statement_id: "StatementId", # required
|
5432
|
-
# revision_id: "String",
|
5433
|
-
# }
|
5434
|
-
#
|
5435
4727
|
# @!attribute [rw] layer_name
|
5436
4728
|
# The name or Amazon Resource Name (ARN) of the layer.
|
5437
4729
|
# @return [String]
|
@@ -5461,16 +4753,6 @@ module Aws::Lambda
|
|
5461
4753
|
include Aws::Structure
|
5462
4754
|
end
|
5463
4755
|
|
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
4756
|
# @!attribute [rw] function_name
|
5475
4757
|
# The name of the Lambda function, version, or alias.
|
5476
4758
|
#
|
@@ -5613,16 +4895,23 @@ module Aws::Lambda
|
|
5613
4895
|
include Aws::Structure
|
5614
4896
|
end
|
5615
4897
|
|
5616
|
-
#
|
4898
|
+
# (Amazon SQS only) The scaling configuration for the event source. To
|
4899
|
+
# remove the configuration, pass an empty value.
|
5617
4900
|
#
|
5618
|
-
#
|
5619
|
-
#
|
4901
|
+
# @!attribute [rw] maximum_concurrency
|
4902
|
+
# Limits the number of concurrent instances that the Amazon SQS event
|
4903
|
+
# source can invoke.
|
4904
|
+
# @return [Integer]
|
5620
4905
|
#
|
5621
|
-
#
|
5622
|
-
#
|
5623
|
-
|
5624
|
-
|
5625
|
-
|
4906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ScalingConfig AWS API Documentation
|
4907
|
+
#
|
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.
|
5626
4915
|
#
|
5627
4916
|
# @!attribute [rw] endpoints
|
5628
4917
|
# The list of bootstrap servers for your Kafka brokers in the
|
@@ -5641,13 +4930,6 @@ module Aws::Lambda
|
|
5641
4930
|
# Specific configuration settings for a self-managed Apache Kafka event
|
5642
4931
|
# source.
|
5643
4932
|
#
|
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
4933
|
# @!attribute [rw] consumer_group_id
|
5652
4934
|
# The identifier for the Kafka consumer group to join. The consumer
|
5653
4935
|
# group ID must be unique among all your Kafka event sources. After
|
@@ -5685,21 +4967,17 @@ module Aws::Lambda
|
|
5685
4967
|
include Aws::Structure
|
5686
4968
|
end
|
5687
4969
|
|
5688
|
-
# The function's SnapStart setting. Set `ApplyOn` to
|
4970
|
+
# The function's Lambda SnapStart setting. Set `ApplyOn` to
|
5689
4971
|
# `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].
|
4972
|
+
# environment when you publish a function version.
|
5692
4973
|
#
|
4974
|
+
# SnapStart is supported with the `java11` runtime. For more
|
4975
|
+
# information, see [Improving startup performance with Lambda
|
4976
|
+
# SnapStart][1].
|
5693
4977
|
#
|
5694
4978
|
#
|
5695
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5696
|
-
#
|
5697
|
-
# @note When making an API call, you may pass SnapStart
|
5698
|
-
# data as a hash:
|
5699
4979
|
#
|
5700
|
-
#
|
5701
|
-
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
5702
|
-
# }
|
4980
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5703
4981
|
#
|
5704
4982
|
# @!attribute [rw] apply_on
|
5705
4983
|
# Set to `PublishedVersions` to create a snapshot of the initialized
|
@@ -5805,53 +5083,45 @@ module Aws::Lambda
|
|
5805
5083
|
# To secure and define access to your event source, you can specify the
|
5806
5084
|
# authentication protocol, VPC components, or virtual host.
|
5807
5085
|
#
|
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
5086
|
# @!attribute [rw] type
|
5817
5087
|
# The type of authentication protocol, VPC components, or virtual host
|
5818
5088
|
# for your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
5819
5089
|
#
|
5820
|
-
# * `BASIC_AUTH`
|
5090
|
+
# * `BASIC_AUTH` – (Amazon MQ) The Secrets Manager secret that stores
|
5821
5091
|
# your broker credentials.
|
5822
5092
|
#
|
5823
|
-
# * `BASIC_AUTH`
|
5093
|
+
# * `BASIC_AUTH` – (Self-managed Apache Kafka) The Secrets Manager ARN
|
5824
5094
|
# of your secret key used for SASL/PLAIN authentication of your
|
5825
5095
|
# Apache Kafka brokers.
|
5826
5096
|
#
|
5827
|
-
# * `VPC_SUBNET`
|
5097
|
+
# * `VPC_SUBNET` – (Self-managed Apache Kafka) The subnets associated
|
5828
5098
|
# with your VPC. Lambda connects to these subnets to fetch data from
|
5829
5099
|
# your self-managed Apache Kafka cluster.
|
5830
5100
|
#
|
5831
|
-
# * `VPC_SECURITY_GROUP`
|
5101
|
+
# * `VPC_SECURITY_GROUP` – (Self-managed Apache Kafka) The VPC
|
5832
5102
|
# security group used to manage access to your self-managed Apache
|
5833
5103
|
# Kafka brokers.
|
5834
5104
|
#
|
5835
|
-
# * `SASL_SCRAM_256_AUTH`
|
5105
|
+
# * `SASL_SCRAM_256_AUTH` – (Self-managed Apache Kafka) The Secrets
|
5836
5106
|
# Manager ARN of your secret key used for SASL SCRAM-256
|
5837
5107
|
# authentication of your self-managed Apache Kafka brokers.
|
5838
5108
|
#
|
5839
|
-
# * `SASL_SCRAM_512_AUTH`
|
5109
|
+
# * `SASL_SCRAM_512_AUTH` – (Amazon MSK, Self-managed Apache Kafka)
|
5840
5110
|
# The Secrets Manager ARN of your secret key used for SASL SCRAM-512
|
5841
5111
|
# authentication of your self-managed Apache Kafka brokers.
|
5842
5112
|
#
|
5843
|
-
# * `VIRTUAL_HOST`
|
5113
|
+
# * `VIRTUAL_HOST` –- (RabbitMQ) The name of the virtual host in your
|
5844
5114
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5845
5115
|
# source. This property cannot be specified in an
|
5846
5116
|
# UpdateEventSourceMapping API call.
|
5847
5117
|
#
|
5848
|
-
# * `CLIENT_CERTIFICATE_TLS_AUTH`
|
5118
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` – (Amazon MSK, self-managed Apache
|
5849
5119
|
# Kafka) The Secrets Manager ARN of your secret key containing the
|
5850
5120
|
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
5851
5121
|
# private key password (optional) used for mutual TLS authentication
|
5852
5122
|
# of your MSK/Apache Kafka brokers.
|
5853
5123
|
#
|
5854
|
-
# * `SERVER_ROOT_CA_CERTIFICATE`
|
5124
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` – (Self-managed Apache Kafka) The
|
5855
5125
|
# Secrets Manager ARN of your secret key containing the root CA
|
5856
5126
|
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
5857
5127
|
# Kafka brokers.
|
@@ -5890,16 +5160,6 @@ module Aws::Lambda
|
|
5890
5160
|
include Aws::Structure
|
5891
5161
|
end
|
5892
5162
|
|
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
5163
|
# @!attribute [rw] resource
|
5904
5164
|
# The function's Amazon Resource Name (ARN).
|
5905
5165
|
# @return [String]
|
@@ -5955,13 +5215,6 @@ module Aws::Lambda
|
|
5955
5215
|
#
|
5956
5216
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5957
5217
|
#
|
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
5218
|
# @!attribute [rw] mode
|
5966
5219
|
# The tracing mode.
|
5967
5220
|
# @return [String]
|
@@ -6005,14 +5258,6 @@ module Aws::Lambda
|
|
6005
5258
|
include Aws::Structure
|
6006
5259
|
end
|
6007
5260
|
|
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
5261
|
# @!attribute [rw] resource
|
6017
5262
|
# The function's Amazon Resource Name (ARN).
|
6018
5263
|
# @return [String]
|
@@ -6030,22 +5275,6 @@ module Aws::Lambda
|
|
6030
5275
|
include Aws::Structure
|
6031
5276
|
end
|
6032
5277
|
|
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
5278
|
# @!attribute [rw] function_name
|
6050
5279
|
# The name of the Lambda function.
|
6051
5280
|
#
|
@@ -6101,20 +5330,6 @@ module Aws::Lambda
|
|
6101
5330
|
include Aws::Structure
|
6102
5331
|
end
|
6103
5332
|
|
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
5333
|
# @!attribute [rw] code_signing_config_arn
|
6119
5334
|
# The The Amazon Resource Name (ARN) of the code signing
|
6120
5335
|
# configuration.
|
@@ -6155,44 +5370,6 @@ module Aws::Lambda
|
|
6155
5370
|
include Aws::Structure
|
6156
5371
|
end
|
6157
5372
|
|
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
5373
|
# @!attribute [rw] uuid
|
6197
5374
|
# The identifier of the event source mapping.
|
6198
5375
|
# @return [String]
|
@@ -6202,15 +5379,15 @@ module Aws::Lambda
|
|
6202
5379
|
#
|
6203
5380
|
# **Name formats**
|
6204
5381
|
#
|
6205
|
-
# * **Function name**
|
5382
|
+
# * **Function name** – `MyFunction`.
|
6206
5383
|
#
|
6207
|
-
# * **Function ARN**
|
5384
|
+
# * **Function ARN** –
|
6208
5385
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
6209
5386
|
#
|
6210
|
-
# * **Version or Alias ARN**
|
5387
|
+
# * **Version or Alias ARN** –
|
6211
5388
|
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`.
|
6212
5389
|
#
|
6213
|
-
# * **Partial ARN**
|
5390
|
+
# * **Partial ARN** – `123456789012:function:MyFunction`.
|
6214
5391
|
#
|
6215
5392
|
# The length constraint applies only to the full ARN. If you specify
|
6216
5393
|
# only the function name, it's limited to 64 characters in length.
|
@@ -6229,19 +5406,19 @@ module Aws::Lambda
|
|
6229
5406
|
# of the records in the batch to the function in a single call, up to
|
6230
5407
|
# the payload limit for synchronous invocation (6 MB).
|
6231
5408
|
#
|
6232
|
-
# * **Amazon Kinesis**
|
5409
|
+
# * **Amazon Kinesis** – Default 100. Max 10,000.
|
6233
5410
|
#
|
6234
|
-
# * **Amazon DynamoDB Streams**
|
5411
|
+
# * **Amazon DynamoDB Streams** – Default 100. Max 10,000.
|
6235
5412
|
#
|
6236
|
-
# * **Amazon Simple Queue Service**
|
5413
|
+
# * **Amazon Simple Queue Service** – Default 10. For standard queues
|
6237
5414
|
# the max is 10,000. For FIFO queues the max is 10.
|
6238
5415
|
#
|
6239
|
-
# * **Amazon Managed Streaming for Apache Kafka**
|
5416
|
+
# * **Amazon Managed Streaming for Apache Kafka** – Default 100. Max
|
6240
5417
|
# 10,000.
|
6241
5418
|
#
|
6242
|
-
# * **Self-managed Apache Kafka**
|
5419
|
+
# * **Self-managed Apache Kafka** – Default 100. Max 10,000.
|
6243
5420
|
#
|
6244
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)**
|
5421
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** – Default 100. Max 10,000.
|
6245
5422
|
# @return [Integer]
|
6246
5423
|
#
|
6247
5424
|
# @!attribute [rw] filter_criteria
|
@@ -6314,6 +5491,16 @@ module Aws::Lambda
|
|
6314
5491
|
# applied to the event source mapping.
|
6315
5492
|
# @return [Array<String>]
|
6316
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
|
+
#
|
6317
5504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
6318
5505
|
#
|
6319
5506
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -6330,27 +5517,12 @@ module Aws::Lambda
|
|
6330
5517
|
:parallelization_factor,
|
6331
5518
|
:source_access_configurations,
|
6332
5519
|
:tumbling_window_in_seconds,
|
6333
|
-
:function_response_types
|
5520
|
+
:function_response_types,
|
5521
|
+
:scaling_config)
|
6334
5522
|
SENSITIVE = []
|
6335
5523
|
include Aws::Structure
|
6336
5524
|
end
|
6337
5525
|
|
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
5526
|
# @!attribute [rw] function_name
|
6355
5527
|
# The name of the Lambda function.
|
6356
5528
|
#
|
@@ -6435,54 +5607,6 @@ module Aws::Lambda
|
|
6435
5607
|
include Aws::Structure
|
6436
5608
|
end
|
6437
5609
|
|
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
5610
|
# @!attribute [rw] function_name
|
6487
5611
|
# The name of the Lambda function.
|
6488
5612
|
#
|
@@ -6657,24 +5781,6 @@ module Aws::Lambda
|
|
6657
5781
|
include Aws::Structure
|
6658
5782
|
end
|
6659
5783
|
|
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
5784
|
# @!attribute [rw] function_name
|
6679
5785
|
# The name of the Lambda function, version, or alias.
|
6680
5786
|
#
|
@@ -6735,23 +5841,6 @@ module Aws::Lambda
|
|
6735
5841
|
include Aws::Structure
|
6736
5842
|
end
|
6737
5843
|
|
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
5844
|
# @!attribute [rw] function_name
|
6756
5845
|
# The name of the Lambda function.
|
6757
5846
|
#
|
@@ -6872,14 +5961,6 @@ module Aws::Lambda
|
|
6872
5961
|
#
|
6873
5962
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
6874
5963
|
#
|
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
5964
|
# @!attribute [rw] subnet_ids
|
6884
5965
|
# A list of VPC subnet IDs.
|
6885
5966
|
# @return [Array<String>]
|