aws-sdk-lambda 1.70.0 → 1.74.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +394 -27
- data/lib/aws-sdk-lambda/client_api.rb +183 -0
- data/lib/aws-sdk-lambda/types.rb +453 -18
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -511,6 +511,49 @@ module Aws::Lambda
|
|
511
511
|
include Aws::Structure
|
512
512
|
end
|
513
513
|
|
514
|
+
# @note When making an API call, you may pass Cors
|
515
|
+
# data as a hash:
|
516
|
+
#
|
517
|
+
# {
|
518
|
+
# allow_credentials: false,
|
519
|
+
# allow_headers: ["Header"],
|
520
|
+
# allow_methods: ["Method"],
|
521
|
+
# allow_origins: ["Origin"],
|
522
|
+
# expose_headers: ["Header"],
|
523
|
+
# max_age: 1,
|
524
|
+
# }
|
525
|
+
#
|
526
|
+
# @!attribute [rw] allow_credentials
|
527
|
+
# @return [Boolean]
|
528
|
+
#
|
529
|
+
# @!attribute [rw] allow_headers
|
530
|
+
# @return [Array<String>]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] allow_methods
|
533
|
+
# @return [Array<String>]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] allow_origins
|
536
|
+
# @return [Array<String>]
|
537
|
+
#
|
538
|
+
# @!attribute [rw] expose_headers
|
539
|
+
# @return [Array<String>]
|
540
|
+
#
|
541
|
+
# @!attribute [rw] max_age
|
542
|
+
# @return [Integer]
|
543
|
+
#
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Cors AWS API Documentation
|
545
|
+
#
|
546
|
+
class Cors < Struct.new(
|
547
|
+
:allow_credentials,
|
548
|
+
:allow_headers,
|
549
|
+
:allow_methods,
|
550
|
+
:allow_origins,
|
551
|
+
:expose_headers,
|
552
|
+
:max_age)
|
553
|
+
SENSITIVE = []
|
554
|
+
include Aws::Structure
|
555
|
+
end
|
556
|
+
|
514
557
|
# @note When making an API call, you may pass CreateAliasRequest
|
515
558
|
# data as a hash:
|
516
559
|
#
|
@@ -630,6 +673,13 @@ module Aws::Lambda
|
|
630
673
|
# function_name: "FunctionName", # required
|
631
674
|
# enabled: false,
|
632
675
|
# batch_size: 1,
|
676
|
+
# filter_criteria: {
|
677
|
+
# filters: [
|
678
|
+
# {
|
679
|
+
# pattern: "Pattern",
|
680
|
+
# },
|
681
|
+
# ],
|
682
|
+
# },
|
633
683
|
# maximum_batching_window_in_seconds: 1,
|
634
684
|
# parallelization_factor: 1,
|
635
685
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -650,7 +700,7 @@ module Aws::Lambda
|
|
650
700
|
# queues: ["Queue"],
|
651
701
|
# source_access_configurations: [
|
652
702
|
# {
|
653
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
703
|
+
# 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
|
654
704
|
# uri: "URI",
|
655
705
|
# },
|
656
706
|
# ],
|
@@ -719,8 +769,20 @@ module Aws::Lambda
|
|
719
769
|
# 10,000.
|
720
770
|
#
|
721
771
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
772
|
+
#
|
773
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
722
774
|
# @return [Integer]
|
723
775
|
#
|
776
|
+
# @!attribute [rw] filter_criteria
|
777
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
778
|
+
# used to determine whether Lambda should process an event. For more
|
779
|
+
# information, see [Lambda event filtering][1].
|
780
|
+
#
|
781
|
+
#
|
782
|
+
#
|
783
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
784
|
+
# @return [Types::FilterCriteria]
|
785
|
+
#
|
724
786
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
725
787
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
726
788
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -803,6 +865,7 @@ module Aws::Lambda
|
|
803
865
|
:function_name,
|
804
866
|
:enabled,
|
805
867
|
:batch_size,
|
868
|
+
:filter_criteria,
|
806
869
|
:maximum_batching_window_in_seconds,
|
807
870
|
:parallelization_factor,
|
808
871
|
:starting_position,
|
@@ -924,10 +987,10 @@ module Aws::Lambda
|
|
924
987
|
# @return [String]
|
925
988
|
#
|
926
989
|
# @!attribute [rw] timeout
|
927
|
-
# The amount of time that Lambda allows a function to run
|
928
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
929
|
-
# 900 seconds. For additional information, see [Lambda
|
930
|
-
# environment][1].
|
990
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
991
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
992
|
+
# value is 900 seconds. For additional information, see [Lambda
|
993
|
+
# execution environment][1].
|
931
994
|
#
|
932
995
|
#
|
933
996
|
#
|
@@ -1035,8 +1098,8 @@ module Aws::Lambda
|
|
1035
1098
|
#
|
1036
1099
|
# @!attribute [rw] architectures
|
1037
1100
|
# The instruction set architecture that the function supports. Enter a
|
1038
|
-
# string array with one of the valid values
|
1039
|
-
# `x86_64`.
|
1101
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1102
|
+
# default value is `x86_64`.
|
1040
1103
|
# @return [Array<String>]
|
1041
1104
|
#
|
1042
1105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -1067,6 +1130,73 @@ module Aws::Lambda
|
|
1067
1130
|
include Aws::Structure
|
1068
1131
|
end
|
1069
1132
|
|
1133
|
+
# @note When making an API call, you may pass CreateFunctionUrlConfigRequest
|
1134
|
+
# data as a hash:
|
1135
|
+
#
|
1136
|
+
# {
|
1137
|
+
# function_name: "FunctionName", # required
|
1138
|
+
# qualifier: "FunctionUrlQualifier",
|
1139
|
+
# authorization_type: "NONE", # required, accepts NONE, AWS_IAM
|
1140
|
+
# cors: {
|
1141
|
+
# allow_credentials: false,
|
1142
|
+
# allow_headers: ["Header"],
|
1143
|
+
# allow_methods: ["Method"],
|
1144
|
+
# allow_origins: ["Origin"],
|
1145
|
+
# expose_headers: ["Header"],
|
1146
|
+
# max_age: 1,
|
1147
|
+
# },
|
1148
|
+
# }
|
1149
|
+
#
|
1150
|
+
# @!attribute [rw] function_name
|
1151
|
+
# @return [String]
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] qualifier
|
1154
|
+
# @return [String]
|
1155
|
+
#
|
1156
|
+
# @!attribute [rw] authorization_type
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @!attribute [rw] cors
|
1160
|
+
# @return [Types::Cors]
|
1161
|
+
#
|
1162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
|
1163
|
+
#
|
1164
|
+
class CreateFunctionUrlConfigRequest < Struct.new(
|
1165
|
+
:function_name,
|
1166
|
+
:qualifier,
|
1167
|
+
:authorization_type,
|
1168
|
+
:cors)
|
1169
|
+
SENSITIVE = []
|
1170
|
+
include Aws::Structure
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
# @!attribute [rw] function_url
|
1174
|
+
# @return [String]
|
1175
|
+
#
|
1176
|
+
# @!attribute [rw] function_arn
|
1177
|
+
# @return [String]
|
1178
|
+
#
|
1179
|
+
# @!attribute [rw] authorization_type
|
1180
|
+
# @return [String]
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] cors
|
1183
|
+
# @return [Types::Cors]
|
1184
|
+
#
|
1185
|
+
# @!attribute [rw] creation_time
|
1186
|
+
# @return [Time]
|
1187
|
+
#
|
1188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
|
1189
|
+
#
|
1190
|
+
class CreateFunctionUrlConfigResponse < Struct.new(
|
1191
|
+
:function_url,
|
1192
|
+
:function_arn,
|
1193
|
+
:authorization_type,
|
1194
|
+
:cors,
|
1195
|
+
:creation_time)
|
1196
|
+
SENSITIVE = []
|
1197
|
+
include Aws::Structure
|
1198
|
+
end
|
1199
|
+
|
1070
1200
|
# The [dead-letter queue][1] for failed asynchronous invocations.
|
1071
1201
|
#
|
1072
1202
|
#
|
@@ -1314,6 +1444,29 @@ module Aws::Lambda
|
|
1314
1444
|
include Aws::Structure
|
1315
1445
|
end
|
1316
1446
|
|
1447
|
+
# @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
|
1448
|
+
# data as a hash:
|
1449
|
+
#
|
1450
|
+
# {
|
1451
|
+
# function_name: "FunctionName", # required
|
1452
|
+
# qualifier: "FunctionUrlQualifier",
|
1453
|
+
# }
|
1454
|
+
#
|
1455
|
+
# @!attribute [rw] function_name
|
1456
|
+
# @return [String]
|
1457
|
+
#
|
1458
|
+
# @!attribute [rw] qualifier
|
1459
|
+
# @return [String]
|
1460
|
+
#
|
1461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfigRequest AWS API Documentation
|
1462
|
+
#
|
1463
|
+
class DeleteFunctionUrlConfigRequest < Struct.new(
|
1464
|
+
:function_name,
|
1465
|
+
:qualifier)
|
1466
|
+
SENSITIVE = []
|
1467
|
+
include Aws::Structure
|
1468
|
+
end
|
1469
|
+
|
1317
1470
|
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
1318
1471
|
# data as a hash:
|
1319
1472
|
#
|
@@ -1680,6 +1833,12 @@ module Aws::Lambda
|
|
1680
1833
|
# The Amazon Resource Name (ARN) of the event source.
|
1681
1834
|
# @return [String]
|
1682
1835
|
#
|
1836
|
+
# @!attribute [rw] filter_criteria
|
1837
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
1838
|
+
# used to determine whether Lambda should process an event. For more
|
1839
|
+
# information, see Event filtering.
|
1840
|
+
# @return [Types::FilterCriteria]
|
1841
|
+
#
|
1683
1842
|
# @!attribute [rw] function_arn
|
1684
1843
|
# The ARN of the Lambda function.
|
1685
1844
|
# @return [String]
|
@@ -1765,6 +1924,7 @@ module Aws::Lambda
|
|
1765
1924
|
:maximum_batching_window_in_seconds,
|
1766
1925
|
:parallelization_factor,
|
1767
1926
|
:event_source_arn,
|
1927
|
+
:filter_criteria,
|
1768
1928
|
:function_arn,
|
1769
1929
|
:last_modified,
|
1770
1930
|
:last_processing_result,
|
@@ -1818,6 +1978,57 @@ module Aws::Lambda
|
|
1818
1978
|
include Aws::Structure
|
1819
1979
|
end
|
1820
1980
|
|
1981
|
+
# An object that specifies a filter criteria.
|
1982
|
+
#
|
1983
|
+
# @note When making an API call, you may pass Filter
|
1984
|
+
# data as a hash:
|
1985
|
+
#
|
1986
|
+
# {
|
1987
|
+
# pattern: "Pattern",
|
1988
|
+
# }
|
1989
|
+
#
|
1990
|
+
# @!attribute [rw] pattern
|
1991
|
+
# A filter pattern. For more information on the syntax of a filter
|
1992
|
+
# pattern, see [ Filter criteria syntax][1].
|
1993
|
+
#
|
1994
|
+
#
|
1995
|
+
#
|
1996
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax
|
1997
|
+
# @return [String]
|
1998
|
+
#
|
1999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Filter AWS API Documentation
|
2000
|
+
#
|
2001
|
+
class Filter < Struct.new(
|
2002
|
+
:pattern)
|
2003
|
+
SENSITIVE = []
|
2004
|
+
include Aws::Structure
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# An object that contains the filters on the event source.
|
2008
|
+
#
|
2009
|
+
# @note When making an API call, you may pass FilterCriteria
|
2010
|
+
# data as a hash:
|
2011
|
+
#
|
2012
|
+
# {
|
2013
|
+
# filters: [
|
2014
|
+
# {
|
2015
|
+
# pattern: "Pattern",
|
2016
|
+
# },
|
2017
|
+
# ],
|
2018
|
+
# }
|
2019
|
+
#
|
2020
|
+
# @!attribute [rw] filters
|
2021
|
+
# A list of filters.
|
2022
|
+
# @return [Array<Types::Filter>]
|
2023
|
+
#
|
2024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FilterCriteria AWS API Documentation
|
2025
|
+
#
|
2026
|
+
class FilterCriteria < Struct.new(
|
2027
|
+
:filters)
|
2028
|
+
SENSITIVE = []
|
2029
|
+
include Aws::Structure
|
2030
|
+
end
|
2031
|
+
|
1821
2032
|
# The code for the Lambda function. You can specify either an object in
|
1822
2033
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1823
2034
|
# specify the URI of a container image.
|
@@ -1978,7 +2189,7 @@ module Aws::Lambda
|
|
1978
2189
|
# @!attribute [rw] kms_key_arn
|
1979
2190
|
# The KMS key that's used to encrypt the function's environment
|
1980
2191
|
# variables. This key is only returned if you've configured a
|
1981
|
-
# customer managed
|
2192
|
+
# customer managed key.
|
1982
2193
|
# @return [String]
|
1983
2194
|
#
|
1984
2195
|
# @!attribute [rw] tracing_config
|
@@ -1986,7 +2197,7 @@ module Aws::Lambda
|
|
1986
2197
|
# @return [Types::TracingConfigResponse]
|
1987
2198
|
#
|
1988
2199
|
# @!attribute [rw] master_arn
|
1989
|
-
# For Lambda@Edge functions, the ARN of the
|
2200
|
+
# For Lambda@Edge functions, the ARN of the main function.
|
1990
2201
|
# @return [String]
|
1991
2202
|
#
|
1992
2203
|
# @!attribute [rw] revision_id
|
@@ -2145,6 +2356,37 @@ module Aws::Lambda
|
|
2145
2356
|
include Aws::Structure
|
2146
2357
|
end
|
2147
2358
|
|
2359
|
+
# @!attribute [rw] function_url
|
2360
|
+
# @return [String]
|
2361
|
+
#
|
2362
|
+
# @!attribute [rw] function_arn
|
2363
|
+
# @return [String]
|
2364
|
+
#
|
2365
|
+
# @!attribute [rw] creation_time
|
2366
|
+
# @return [Time]
|
2367
|
+
#
|
2368
|
+
# @!attribute [rw] last_modified_time
|
2369
|
+
# @return [Time]
|
2370
|
+
#
|
2371
|
+
# @!attribute [rw] cors
|
2372
|
+
# @return [Types::Cors]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] authorization_type
|
2375
|
+
# @return [String]
|
2376
|
+
#
|
2377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
|
2378
|
+
#
|
2379
|
+
class FunctionUrlConfig < Struct.new(
|
2380
|
+
:function_url,
|
2381
|
+
:function_arn,
|
2382
|
+
:creation_time,
|
2383
|
+
:last_modified_time,
|
2384
|
+
:cors,
|
2385
|
+
:authorization_type)
|
2386
|
+
SENSITIVE = []
|
2387
|
+
include Aws::Structure
|
2388
|
+
end
|
2389
|
+
|
2148
2390
|
# @api private
|
2149
2391
|
#
|
2150
2392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
|
@@ -2515,6 +2757,60 @@ module Aws::Lambda
|
|
2515
2757
|
include Aws::Structure
|
2516
2758
|
end
|
2517
2759
|
|
2760
|
+
# @note When making an API call, you may pass GetFunctionUrlConfigRequest
|
2761
|
+
# data as a hash:
|
2762
|
+
#
|
2763
|
+
# {
|
2764
|
+
# function_name: "FunctionName", # required
|
2765
|
+
# qualifier: "FunctionUrlQualifier",
|
2766
|
+
# }
|
2767
|
+
#
|
2768
|
+
# @!attribute [rw] function_name
|
2769
|
+
# @return [String]
|
2770
|
+
#
|
2771
|
+
# @!attribute [rw] qualifier
|
2772
|
+
# @return [String]
|
2773
|
+
#
|
2774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigRequest AWS API Documentation
|
2775
|
+
#
|
2776
|
+
class GetFunctionUrlConfigRequest < Struct.new(
|
2777
|
+
:function_name,
|
2778
|
+
:qualifier)
|
2779
|
+
SENSITIVE = []
|
2780
|
+
include Aws::Structure
|
2781
|
+
end
|
2782
|
+
|
2783
|
+
# @!attribute [rw] function_url
|
2784
|
+
# @return [String]
|
2785
|
+
#
|
2786
|
+
# @!attribute [rw] function_arn
|
2787
|
+
# @return [String]
|
2788
|
+
#
|
2789
|
+
# @!attribute [rw] authorization_type
|
2790
|
+
# @return [String]
|
2791
|
+
#
|
2792
|
+
# @!attribute [rw] cors
|
2793
|
+
# @return [Types::Cors]
|
2794
|
+
#
|
2795
|
+
# @!attribute [rw] creation_time
|
2796
|
+
# @return [Time]
|
2797
|
+
#
|
2798
|
+
# @!attribute [rw] last_modified_time
|
2799
|
+
# @return [Time]
|
2800
|
+
#
|
2801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
|
2802
|
+
#
|
2803
|
+
class GetFunctionUrlConfigResponse < Struct.new(
|
2804
|
+
:function_url,
|
2805
|
+
:function_arn,
|
2806
|
+
:authorization_type,
|
2807
|
+
:cors,
|
2808
|
+
:creation_time,
|
2809
|
+
:last_modified_time)
|
2810
|
+
SENSITIVE = []
|
2811
|
+
include Aws::Structure
|
2812
|
+
end
|
2813
|
+
|
2518
2814
|
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
2519
2815
|
# data as a hash:
|
2520
2816
|
#
|
@@ -3060,6 +3356,10 @@ module Aws::Lambda
|
|
3060
3356
|
#
|
3061
3357
|
# @!attribute [rw] payload
|
3062
3358
|
# The JSON that you want to provide to your Lambda function as input.
|
3359
|
+
#
|
3360
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3361
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3362
|
+
# `--payload file://payload.json`.
|
3063
3363
|
# @return [String]
|
3064
3364
|
#
|
3065
3365
|
# @!attribute [rw] qualifier
|
@@ -3699,6 +3999,49 @@ module Aws::Lambda
|
|
3699
3999
|
include Aws::Structure
|
3700
4000
|
end
|
3701
4001
|
|
4002
|
+
# @note When making an API call, you may pass ListFunctionUrlConfigsRequest
|
4003
|
+
# data as a hash:
|
4004
|
+
#
|
4005
|
+
# {
|
4006
|
+
# function_name: "FunctionName", # required
|
4007
|
+
# marker: "String",
|
4008
|
+
# max_items: 1,
|
4009
|
+
# }
|
4010
|
+
#
|
4011
|
+
# @!attribute [rw] function_name
|
4012
|
+
# @return [String]
|
4013
|
+
#
|
4014
|
+
# @!attribute [rw] marker
|
4015
|
+
# @return [String]
|
4016
|
+
#
|
4017
|
+
# @!attribute [rw] max_items
|
4018
|
+
# @return [Integer]
|
4019
|
+
#
|
4020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsRequest AWS API Documentation
|
4021
|
+
#
|
4022
|
+
class ListFunctionUrlConfigsRequest < Struct.new(
|
4023
|
+
:function_name,
|
4024
|
+
:marker,
|
4025
|
+
:max_items)
|
4026
|
+
SENSITIVE = []
|
4027
|
+
include Aws::Structure
|
4028
|
+
end
|
4029
|
+
|
4030
|
+
# @!attribute [rw] function_url_configs
|
4031
|
+
# @return [Array<Types::FunctionUrlConfig>]
|
4032
|
+
#
|
4033
|
+
# @!attribute [rw] next_marker
|
4034
|
+
# @return [String]
|
4035
|
+
#
|
4036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsResponse AWS API Documentation
|
4037
|
+
#
|
4038
|
+
class ListFunctionUrlConfigsResponse < Struct.new(
|
4039
|
+
:function_url_configs,
|
4040
|
+
:next_marker)
|
4041
|
+
SENSITIVE = []
|
4042
|
+
include Aws::Structure
|
4043
|
+
end
|
4044
|
+
|
3702
4045
|
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
3703
4046
|
# data as a hash:
|
3704
4047
|
#
|
@@ -4946,7 +5289,7 @@ module Aws::Lambda
|
|
4946
5289
|
# data as a hash:
|
4947
5290
|
#
|
4948
5291
|
# {
|
4949
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
5292
|
+
# 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
|
4950
5293
|
# uri: "URI",
|
4951
5294
|
# }
|
4952
5295
|
#
|
@@ -4978,7 +5321,8 @@ module Aws::Lambda
|
|
4978
5321
|
#
|
4979
5322
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
4980
5323
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
4981
|
-
# source.
|
5324
|
+
# source. This property cannot be specified in an
|
5325
|
+
# UpdateEventSourceMapping API call.
|
4982
5326
|
# @return [String]
|
4983
5327
|
#
|
4984
5328
|
# @!attribute [rw] uri
|
@@ -5282,6 +5626,13 @@ module Aws::Lambda
|
|
5282
5626
|
# function_name: "FunctionName",
|
5283
5627
|
# enabled: false,
|
5284
5628
|
# batch_size: 1,
|
5629
|
+
# filter_criteria: {
|
5630
|
+
# filters: [
|
5631
|
+
# {
|
5632
|
+
# pattern: "Pattern",
|
5633
|
+
# },
|
5634
|
+
# ],
|
5635
|
+
# },
|
5285
5636
|
# maximum_batching_window_in_seconds: 1,
|
5286
5637
|
# destination_config: {
|
5287
5638
|
# on_success: {
|
@@ -5297,7 +5648,7 @@ module Aws::Lambda
|
|
5297
5648
|
# parallelization_factor: 1,
|
5298
5649
|
# source_access_configurations: [
|
5299
5650
|
# {
|
5300
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
5651
|
+
# 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
|
5301
5652
|
# uri: "URI",
|
5302
5653
|
# },
|
5303
5654
|
# ],
|
@@ -5352,8 +5703,20 @@ module Aws::Lambda
|
|
5352
5703
|
# 10,000.
|
5353
5704
|
#
|
5354
5705
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
5706
|
+
#
|
5707
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5355
5708
|
# @return [Integer]
|
5356
5709
|
#
|
5710
|
+
# @!attribute [rw] filter_criteria
|
5711
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
5712
|
+
# used to determine whether Lambda should process an event. For more
|
5713
|
+
# information, see [Lambda event filtering][1].
|
5714
|
+
#
|
5715
|
+
#
|
5716
|
+
#
|
5717
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
5718
|
+
# @return [Types::FilterCriteria]
|
5719
|
+
#
|
5357
5720
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5358
5721
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
5359
5722
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -5413,6 +5776,7 @@ module Aws::Lambda
|
|
5413
5776
|
:function_name,
|
5414
5777
|
:enabled,
|
5415
5778
|
:batch_size,
|
5779
|
+
:filter_criteria,
|
5416
5780
|
:maximum_batching_window_in_seconds,
|
5417
5781
|
:destination_config,
|
5418
5782
|
:maximum_record_age_in_seconds,
|
@@ -5502,8 +5866,8 @@ module Aws::Lambda
|
|
5502
5866
|
#
|
5503
5867
|
# @!attribute [rw] architectures
|
5504
5868
|
# The instruction set architecture that the function supports. Enter a
|
5505
|
-
# string array with one of the valid values
|
5506
|
-
# `x86_64`.
|
5869
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
5870
|
+
# default value is `x86_64`.
|
5507
5871
|
# @return [Array<String>]
|
5508
5872
|
#
|
5509
5873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
@@ -5601,10 +5965,10 @@ module Aws::Lambda
|
|
5601
5965
|
# @return [String]
|
5602
5966
|
#
|
5603
5967
|
# @!attribute [rw] timeout
|
5604
|
-
# The amount of time that Lambda allows a function to run
|
5605
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
5606
|
-
# 900 seconds. For additional information, see [Lambda
|
5607
|
-
# environment][1].
|
5968
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
5969
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
5970
|
+
# value is 900 seconds. For additional information, see [Lambda
|
5971
|
+
# execution environment][1].
|
5608
5972
|
#
|
5609
5973
|
#
|
5610
5974
|
#
|
@@ -5800,6 +6164,77 @@ module Aws::Lambda
|
|
5800
6164
|
include Aws::Structure
|
5801
6165
|
end
|
5802
6166
|
|
6167
|
+
# @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
|
6168
|
+
# data as a hash:
|
6169
|
+
#
|
6170
|
+
# {
|
6171
|
+
# function_name: "FunctionName", # required
|
6172
|
+
# qualifier: "FunctionUrlQualifier",
|
6173
|
+
# authorization_type: "NONE", # accepts NONE, AWS_IAM
|
6174
|
+
# cors: {
|
6175
|
+
# allow_credentials: false,
|
6176
|
+
# allow_headers: ["Header"],
|
6177
|
+
# allow_methods: ["Method"],
|
6178
|
+
# allow_origins: ["Origin"],
|
6179
|
+
# expose_headers: ["Header"],
|
6180
|
+
# max_age: 1,
|
6181
|
+
# },
|
6182
|
+
# }
|
6183
|
+
#
|
6184
|
+
# @!attribute [rw] function_name
|
6185
|
+
# @return [String]
|
6186
|
+
#
|
6187
|
+
# @!attribute [rw] qualifier
|
6188
|
+
# @return [String]
|
6189
|
+
#
|
6190
|
+
# @!attribute [rw] authorization_type
|
6191
|
+
# @return [String]
|
6192
|
+
#
|
6193
|
+
# @!attribute [rw] cors
|
6194
|
+
# @return [Types::Cors]
|
6195
|
+
#
|
6196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
|
6197
|
+
#
|
6198
|
+
class UpdateFunctionUrlConfigRequest < Struct.new(
|
6199
|
+
:function_name,
|
6200
|
+
:qualifier,
|
6201
|
+
:authorization_type,
|
6202
|
+
:cors)
|
6203
|
+
SENSITIVE = []
|
6204
|
+
include Aws::Structure
|
6205
|
+
end
|
6206
|
+
|
6207
|
+
# @!attribute [rw] function_url
|
6208
|
+
# @return [String]
|
6209
|
+
#
|
6210
|
+
# @!attribute [rw] function_arn
|
6211
|
+
# @return [String]
|
6212
|
+
#
|
6213
|
+
# @!attribute [rw] authorization_type
|
6214
|
+
# @return [String]
|
6215
|
+
#
|
6216
|
+
# @!attribute [rw] cors
|
6217
|
+
# @return [Types::Cors]
|
6218
|
+
#
|
6219
|
+
# @!attribute [rw] creation_time
|
6220
|
+
# @return [Time]
|
6221
|
+
#
|
6222
|
+
# @!attribute [rw] last_modified_time
|
6223
|
+
# @return [Time]
|
6224
|
+
#
|
6225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
|
6226
|
+
#
|
6227
|
+
class UpdateFunctionUrlConfigResponse < Struct.new(
|
6228
|
+
:function_url,
|
6229
|
+
:function_arn,
|
6230
|
+
:authorization_type,
|
6231
|
+
:cors,
|
6232
|
+
:creation_time,
|
6233
|
+
:last_modified_time)
|
6234
|
+
SENSITIVE = []
|
6235
|
+
include Aws::Structure
|
6236
|
+
end
|
6237
|
+
|
5803
6238
|
# The VPC security groups and subnets that are attached to a Lambda
|
5804
6239
|
# function. For more information, see [VPC Settings][1].
|
5805
6240
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|