aws-sdk-lambda 1.73.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +84 -252
- data/lib/aws-sdk-lambda/client_api.rb +15 -168
- data/lib/aws-sdk-lambda/types.rb +136 -345
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -511,49 +511,6 @@ 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
|
-
|
557
514
|
# @note When making an API call, you may pass CreateAliasRequest
|
558
515
|
# data as a hash:
|
559
516
|
#
|
@@ -673,6 +630,13 @@ module Aws::Lambda
|
|
673
630
|
# function_name: "FunctionName", # required
|
674
631
|
# enabled: false,
|
675
632
|
# batch_size: 1,
|
633
|
+
# filter_criteria: {
|
634
|
+
# filters: [
|
635
|
+
# {
|
636
|
+
# pattern: "Pattern",
|
637
|
+
# },
|
638
|
+
# ],
|
639
|
+
# },
|
676
640
|
# maximum_batching_window_in_seconds: 1,
|
677
641
|
# parallelization_factor: 1,
|
678
642
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -762,8 +726,20 @@ module Aws::Lambda
|
|
762
726
|
# 10,000.
|
763
727
|
#
|
764
728
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
729
|
+
#
|
730
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
765
731
|
# @return [Integer]
|
766
732
|
#
|
733
|
+
# @!attribute [rw] filter_criteria
|
734
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
735
|
+
# that determine whether Lambda should process an event. For more
|
736
|
+
# information, see [Lambda event filtering][1].
|
737
|
+
#
|
738
|
+
#
|
739
|
+
#
|
740
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
741
|
+
# @return [Types::FilterCriteria]
|
742
|
+
#
|
767
743
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
768
744
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
769
745
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -835,8 +811,8 @@ module Aws::Lambda
|
|
835
811
|
# @return [Types::SelfManagedEventSource]
|
836
812
|
#
|
837
813
|
# @!attribute [rw] function_response_types
|
838
|
-
# (Streams
|
839
|
-
# event source mapping.
|
814
|
+
# (Streams and Amazon SQS) A list of current response type enums
|
815
|
+
# applied to the event source mapping.
|
840
816
|
# @return [Array<String>]
|
841
817
|
#
|
842
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
@@ -846,6 +822,7 @@ module Aws::Lambda
|
|
846
822
|
:function_name,
|
847
823
|
:enabled,
|
848
824
|
:batch_size,
|
825
|
+
:filter_criteria,
|
849
826
|
:maximum_batching_window_in_seconds,
|
850
827
|
:parallelization_factor,
|
851
828
|
:starting_position,
|
@@ -936,7 +913,8 @@ module Aws::Lambda
|
|
936
913
|
# @return [String]
|
937
914
|
#
|
938
915
|
# @!attribute [rw] runtime
|
939
|
-
# The identifier of the function's [runtime][1].
|
916
|
+
# The identifier of the function's [runtime][1]. Runtime is required
|
917
|
+
# if the deployment package is a .zip file archive.
|
940
918
|
#
|
941
919
|
#
|
942
920
|
#
|
@@ -949,7 +927,8 @@ module Aws::Lambda
|
|
949
927
|
#
|
950
928
|
# @!attribute [rw] handler
|
951
929
|
# The name of the method within your code that Lambda calls to execute
|
952
|
-
# your function.
|
930
|
+
# your function. Handler is required if the deployment package is a
|
931
|
+
# .zip file archive. The format includes the file name. It can also
|
953
932
|
# include namespaces and other qualifiers, depending on the runtime.
|
954
933
|
# For more information, see [Programming Model][1].
|
955
934
|
#
|
@@ -1078,8 +1057,8 @@ module Aws::Lambda
|
|
1078
1057
|
#
|
1079
1058
|
# @!attribute [rw] architectures
|
1080
1059
|
# The instruction set architecture that the function supports. Enter a
|
1081
|
-
# string array with one of the valid values
|
1082
|
-
# `x86_64`.
|
1060
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1061
|
+
# default value is `x86_64`.
|
1083
1062
|
# @return [Array<String>]
|
1084
1063
|
#
|
1085
1064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -1110,73 +1089,6 @@ module Aws::Lambda
|
|
1110
1089
|
include Aws::Structure
|
1111
1090
|
end
|
1112
1091
|
|
1113
|
-
# @note When making an API call, you may pass CreateFunctionUrlConfigRequest
|
1114
|
-
# data as a hash:
|
1115
|
-
#
|
1116
|
-
# {
|
1117
|
-
# function_name: "FunctionName", # required
|
1118
|
-
# qualifier: "FunctionUrlQualifier",
|
1119
|
-
# authorization_type: "NONE", # required, accepts NONE, AWS_IAM
|
1120
|
-
# cors: {
|
1121
|
-
# allow_credentials: false,
|
1122
|
-
# allow_headers: ["Header"],
|
1123
|
-
# allow_methods: ["Method"],
|
1124
|
-
# allow_origins: ["Origin"],
|
1125
|
-
# expose_headers: ["Header"],
|
1126
|
-
# max_age: 1,
|
1127
|
-
# },
|
1128
|
-
# }
|
1129
|
-
#
|
1130
|
-
# @!attribute [rw] function_name
|
1131
|
-
# @return [String]
|
1132
|
-
#
|
1133
|
-
# @!attribute [rw] qualifier
|
1134
|
-
# @return [String]
|
1135
|
-
#
|
1136
|
-
# @!attribute [rw] authorization_type
|
1137
|
-
# @return [String]
|
1138
|
-
#
|
1139
|
-
# @!attribute [rw] cors
|
1140
|
-
# @return [Types::Cors]
|
1141
|
-
#
|
1142
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
|
1143
|
-
#
|
1144
|
-
class CreateFunctionUrlConfigRequest < Struct.new(
|
1145
|
-
:function_name,
|
1146
|
-
:qualifier,
|
1147
|
-
:authorization_type,
|
1148
|
-
:cors)
|
1149
|
-
SENSITIVE = []
|
1150
|
-
include Aws::Structure
|
1151
|
-
end
|
1152
|
-
|
1153
|
-
# @!attribute [rw] function_url
|
1154
|
-
# @return [String]
|
1155
|
-
#
|
1156
|
-
# @!attribute [rw] function_arn
|
1157
|
-
# @return [String]
|
1158
|
-
#
|
1159
|
-
# @!attribute [rw] authorization_type
|
1160
|
-
# @return [String]
|
1161
|
-
#
|
1162
|
-
# @!attribute [rw] cors
|
1163
|
-
# @return [Types::Cors]
|
1164
|
-
#
|
1165
|
-
# @!attribute [rw] creation_time
|
1166
|
-
# @return [Time]
|
1167
|
-
#
|
1168
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
|
1169
|
-
#
|
1170
|
-
class CreateFunctionUrlConfigResponse < Struct.new(
|
1171
|
-
:function_url,
|
1172
|
-
:function_arn,
|
1173
|
-
:authorization_type,
|
1174
|
-
:cors,
|
1175
|
-
:creation_time)
|
1176
|
-
SENSITIVE = []
|
1177
|
-
include Aws::Structure
|
1178
|
-
end
|
1179
|
-
|
1180
1092
|
# The [dead-letter queue][1] for failed asynchronous invocations.
|
1181
1093
|
#
|
1182
1094
|
#
|
@@ -1424,29 +1336,6 @@ module Aws::Lambda
|
|
1424
1336
|
include Aws::Structure
|
1425
1337
|
end
|
1426
1338
|
|
1427
|
-
# @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
|
1428
|
-
# data as a hash:
|
1429
|
-
#
|
1430
|
-
# {
|
1431
|
-
# function_name: "FunctionName", # required
|
1432
|
-
# qualifier: "FunctionUrlQualifier",
|
1433
|
-
# }
|
1434
|
-
#
|
1435
|
-
# @!attribute [rw] function_name
|
1436
|
-
# @return [String]
|
1437
|
-
#
|
1438
|
-
# @!attribute [rw] qualifier
|
1439
|
-
# @return [String]
|
1440
|
-
#
|
1441
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfigRequest AWS API Documentation
|
1442
|
-
#
|
1443
|
-
class DeleteFunctionUrlConfigRequest < Struct.new(
|
1444
|
-
:function_name,
|
1445
|
-
:qualifier)
|
1446
|
-
SENSITIVE = []
|
1447
|
-
include Aws::Structure
|
1448
|
-
end
|
1449
|
-
|
1450
1339
|
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
1451
1340
|
# data as a hash:
|
1452
1341
|
#
|
@@ -1813,6 +1702,16 @@ module Aws::Lambda
|
|
1813
1702
|
# The Amazon Resource Name (ARN) of the event source.
|
1814
1703
|
# @return [String]
|
1815
1704
|
#
|
1705
|
+
# @!attribute [rw] filter_criteria
|
1706
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
1707
|
+
# that determine whether Lambda should process an event. For more
|
1708
|
+
# information, see [Lambda event filtering][1].
|
1709
|
+
#
|
1710
|
+
#
|
1711
|
+
#
|
1712
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
1713
|
+
# @return [Types::FilterCriteria]
|
1714
|
+
#
|
1816
1715
|
# @!attribute [rw] function_arn
|
1817
1716
|
# The ARN of the Lambda function.
|
1818
1717
|
# @return [String]
|
@@ -1898,6 +1797,7 @@ module Aws::Lambda
|
|
1898
1797
|
:maximum_batching_window_in_seconds,
|
1899
1798
|
:parallelization_factor,
|
1900
1799
|
:event_source_arn,
|
1800
|
+
:filter_criteria,
|
1901
1801
|
:function_arn,
|
1902
1802
|
:last_modified,
|
1903
1803
|
:last_processing_result,
|
@@ -1951,6 +1851,58 @@ module Aws::Lambda
|
|
1951
1851
|
include Aws::Structure
|
1952
1852
|
end
|
1953
1853
|
|
1854
|
+
# A structure within a `FilterCriteria` object that defines an event
|
1855
|
+
# filtering pattern.
|
1856
|
+
#
|
1857
|
+
# @note When making an API call, you may pass Filter
|
1858
|
+
# data as a hash:
|
1859
|
+
#
|
1860
|
+
# {
|
1861
|
+
# pattern: "Pattern",
|
1862
|
+
# }
|
1863
|
+
#
|
1864
|
+
# @!attribute [rw] pattern
|
1865
|
+
# A filter pattern. For more information on the syntax of a filter
|
1866
|
+
# pattern, see [ Filter rule syntax][1].
|
1867
|
+
#
|
1868
|
+
#
|
1869
|
+
#
|
1870
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax
|
1871
|
+
# @return [String]
|
1872
|
+
#
|
1873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Filter AWS API Documentation
|
1874
|
+
#
|
1875
|
+
class Filter < Struct.new(
|
1876
|
+
:pattern)
|
1877
|
+
SENSITIVE = []
|
1878
|
+
include Aws::Structure
|
1879
|
+
end
|
1880
|
+
|
1881
|
+
# An object that contains the filters for an event source.
|
1882
|
+
#
|
1883
|
+
# @note When making an API call, you may pass FilterCriteria
|
1884
|
+
# data as a hash:
|
1885
|
+
#
|
1886
|
+
# {
|
1887
|
+
# filters: [
|
1888
|
+
# {
|
1889
|
+
# pattern: "Pattern",
|
1890
|
+
# },
|
1891
|
+
# ],
|
1892
|
+
# }
|
1893
|
+
#
|
1894
|
+
# @!attribute [rw] filters
|
1895
|
+
# A list of filters.
|
1896
|
+
# @return [Array<Types::Filter>]
|
1897
|
+
#
|
1898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FilterCriteria AWS API Documentation
|
1899
|
+
#
|
1900
|
+
class FilterCriteria < Struct.new(
|
1901
|
+
:filters)
|
1902
|
+
SENSITIVE = []
|
1903
|
+
include Aws::Structure
|
1904
|
+
end
|
1905
|
+
|
1954
1906
|
# The code for the Lambda function. You can specify either an object in
|
1955
1907
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1956
1908
|
# specify the URI of a container image.
|
@@ -2278,37 +2230,6 @@ module Aws::Lambda
|
|
2278
2230
|
include Aws::Structure
|
2279
2231
|
end
|
2280
2232
|
|
2281
|
-
# @!attribute [rw] function_url
|
2282
|
-
# @return [String]
|
2283
|
-
#
|
2284
|
-
# @!attribute [rw] function_arn
|
2285
|
-
# @return [String]
|
2286
|
-
#
|
2287
|
-
# @!attribute [rw] creation_time
|
2288
|
-
# @return [Time]
|
2289
|
-
#
|
2290
|
-
# @!attribute [rw] last_modified_time
|
2291
|
-
# @return [Time]
|
2292
|
-
#
|
2293
|
-
# @!attribute [rw] cors
|
2294
|
-
# @return [Types::Cors]
|
2295
|
-
#
|
2296
|
-
# @!attribute [rw] authorization_type
|
2297
|
-
# @return [String]
|
2298
|
-
#
|
2299
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
|
2300
|
-
#
|
2301
|
-
class FunctionUrlConfig < Struct.new(
|
2302
|
-
:function_url,
|
2303
|
-
:function_arn,
|
2304
|
-
:creation_time,
|
2305
|
-
:last_modified_time,
|
2306
|
-
:cors,
|
2307
|
-
:authorization_type)
|
2308
|
-
SENSITIVE = []
|
2309
|
-
include Aws::Structure
|
2310
|
-
end
|
2311
|
-
|
2312
2233
|
# @api private
|
2313
2234
|
#
|
2314
2235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
|
@@ -2679,60 +2600,6 @@ module Aws::Lambda
|
|
2679
2600
|
include Aws::Structure
|
2680
2601
|
end
|
2681
2602
|
|
2682
|
-
# @note When making an API call, you may pass GetFunctionUrlConfigRequest
|
2683
|
-
# data as a hash:
|
2684
|
-
#
|
2685
|
-
# {
|
2686
|
-
# function_name: "FunctionName", # required
|
2687
|
-
# qualifier: "FunctionUrlQualifier",
|
2688
|
-
# }
|
2689
|
-
#
|
2690
|
-
# @!attribute [rw] function_name
|
2691
|
-
# @return [String]
|
2692
|
-
#
|
2693
|
-
# @!attribute [rw] qualifier
|
2694
|
-
# @return [String]
|
2695
|
-
#
|
2696
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigRequest AWS API Documentation
|
2697
|
-
#
|
2698
|
-
class GetFunctionUrlConfigRequest < Struct.new(
|
2699
|
-
:function_name,
|
2700
|
-
:qualifier)
|
2701
|
-
SENSITIVE = []
|
2702
|
-
include Aws::Structure
|
2703
|
-
end
|
2704
|
-
|
2705
|
-
# @!attribute [rw] function_url
|
2706
|
-
# @return [String]
|
2707
|
-
#
|
2708
|
-
# @!attribute [rw] function_arn
|
2709
|
-
# @return [String]
|
2710
|
-
#
|
2711
|
-
# @!attribute [rw] authorization_type
|
2712
|
-
# @return [String]
|
2713
|
-
#
|
2714
|
-
# @!attribute [rw] cors
|
2715
|
-
# @return [Types::Cors]
|
2716
|
-
#
|
2717
|
-
# @!attribute [rw] creation_time
|
2718
|
-
# @return [Time]
|
2719
|
-
#
|
2720
|
-
# @!attribute [rw] last_modified_time
|
2721
|
-
# @return [Time]
|
2722
|
-
#
|
2723
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
|
2724
|
-
#
|
2725
|
-
class GetFunctionUrlConfigResponse < Struct.new(
|
2726
|
-
:function_url,
|
2727
|
-
:function_arn,
|
2728
|
-
:authorization_type,
|
2729
|
-
:cors,
|
2730
|
-
:creation_time,
|
2731
|
-
:last_modified_time)
|
2732
|
-
SENSITIVE = []
|
2733
|
-
include Aws::Structure
|
2734
|
-
end
|
2735
|
-
|
2736
2603
|
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
2737
2604
|
# data as a hash:
|
2738
2605
|
#
|
@@ -3278,6 +3145,10 @@ module Aws::Lambda
|
|
3278
3145
|
#
|
3279
3146
|
# @!attribute [rw] payload
|
3280
3147
|
# The JSON that you want to provide to your Lambda function as input.
|
3148
|
+
#
|
3149
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3150
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3151
|
+
# `--payload file://payload.json`.
|
3281
3152
|
# @return [String]
|
3282
3153
|
#
|
3283
3154
|
# @!attribute [rw] qualifier
|
@@ -3917,49 +3788,6 @@ module Aws::Lambda
|
|
3917
3788
|
include Aws::Structure
|
3918
3789
|
end
|
3919
3790
|
|
3920
|
-
# @note When making an API call, you may pass ListFunctionUrlConfigsRequest
|
3921
|
-
# data as a hash:
|
3922
|
-
#
|
3923
|
-
# {
|
3924
|
-
# function_name: "FunctionName", # required
|
3925
|
-
# marker: "String",
|
3926
|
-
# max_items: 1,
|
3927
|
-
# }
|
3928
|
-
#
|
3929
|
-
# @!attribute [rw] function_name
|
3930
|
-
# @return [String]
|
3931
|
-
#
|
3932
|
-
# @!attribute [rw] marker
|
3933
|
-
# @return [String]
|
3934
|
-
#
|
3935
|
-
# @!attribute [rw] max_items
|
3936
|
-
# @return [Integer]
|
3937
|
-
#
|
3938
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsRequest AWS API Documentation
|
3939
|
-
#
|
3940
|
-
class ListFunctionUrlConfigsRequest < Struct.new(
|
3941
|
-
:function_name,
|
3942
|
-
:marker,
|
3943
|
-
:max_items)
|
3944
|
-
SENSITIVE = []
|
3945
|
-
include Aws::Structure
|
3946
|
-
end
|
3947
|
-
|
3948
|
-
# @!attribute [rw] function_url_configs
|
3949
|
-
# @return [Array<Types::FunctionUrlConfig>]
|
3950
|
-
#
|
3951
|
-
# @!attribute [rw] next_marker
|
3952
|
-
# @return [String]
|
3953
|
-
#
|
3954
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsResponse AWS API Documentation
|
3955
|
-
#
|
3956
|
-
class ListFunctionUrlConfigsResponse < Struct.new(
|
3957
|
-
:function_url_configs,
|
3958
|
-
:next_marker)
|
3959
|
-
SENSITIVE = []
|
3960
|
-
include Aws::Structure
|
3961
|
-
end
|
3962
|
-
|
3963
3791
|
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
3964
3792
|
# data as a hash:
|
3965
3793
|
#
|
@@ -5239,7 +5067,19 @@ module Aws::Lambda
|
|
5239
5067
|
#
|
5240
5068
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
5241
5069
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5242
|
-
# source.
|
5070
|
+
# source. This property cannot be specified in an
|
5071
|
+
# UpdateEventSourceMapping API call.
|
5072
|
+
#
|
5073
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache
|
5074
|
+
# Kafka) The Secrets Manager ARN of your secret key containing the
|
5075
|
+
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
5076
|
+
# private key password (optional) used for mutual TLS authentication
|
5077
|
+
# of your MSK/Apache Kafka brokers.
|
5078
|
+
#
|
5079
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` - (Self-managed Apache Kafka) The
|
5080
|
+
# Secrets Manager ARN of your secret key containing the root CA
|
5081
|
+
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
5082
|
+
# Kafka brokers.
|
5243
5083
|
# @return [String]
|
5244
5084
|
#
|
5245
5085
|
# @!attribute [rw] uri
|
@@ -5543,6 +5383,13 @@ module Aws::Lambda
|
|
5543
5383
|
# function_name: "FunctionName",
|
5544
5384
|
# enabled: false,
|
5545
5385
|
# batch_size: 1,
|
5386
|
+
# filter_criteria: {
|
5387
|
+
# filters: [
|
5388
|
+
# {
|
5389
|
+
# pattern: "Pattern",
|
5390
|
+
# },
|
5391
|
+
# ],
|
5392
|
+
# },
|
5546
5393
|
# maximum_batching_window_in_seconds: 1,
|
5547
5394
|
# destination_config: {
|
5548
5395
|
# on_success: {
|
@@ -5613,8 +5460,20 @@ module Aws::Lambda
|
|
5613
5460
|
# 10,000.
|
5614
5461
|
#
|
5615
5462
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
5463
|
+
#
|
5464
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5616
5465
|
# @return [Integer]
|
5617
5466
|
#
|
5467
|
+
# @!attribute [rw] filter_criteria
|
5468
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
5469
|
+
# that determine whether Lambda should process an event. For more
|
5470
|
+
# information, see [Lambda event filtering][1].
|
5471
|
+
#
|
5472
|
+
#
|
5473
|
+
#
|
5474
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
5475
|
+
# @return [Types::FilterCriteria]
|
5476
|
+
#
|
5618
5477
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5619
5478
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
5620
5479
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -5663,8 +5522,8 @@ module Aws::Lambda
|
|
5663
5522
|
# @return [Integer]
|
5664
5523
|
#
|
5665
5524
|
# @!attribute [rw] function_response_types
|
5666
|
-
# (Streams
|
5667
|
-
# event source mapping.
|
5525
|
+
# (Streams and Amazon SQS) A list of current response type enums
|
5526
|
+
# applied to the event source mapping.
|
5668
5527
|
# @return [Array<String>]
|
5669
5528
|
#
|
5670
5529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
@@ -5674,6 +5533,7 @@ module Aws::Lambda
|
|
5674
5533
|
:function_name,
|
5675
5534
|
:enabled,
|
5676
5535
|
:batch_size,
|
5536
|
+
:filter_criteria,
|
5677
5537
|
:maximum_batching_window_in_seconds,
|
5678
5538
|
:destination_config,
|
5679
5539
|
:maximum_record_age_in_seconds,
|
@@ -5763,8 +5623,8 @@ module Aws::Lambda
|
|
5763
5623
|
#
|
5764
5624
|
# @!attribute [rw] architectures
|
5765
5625
|
# The instruction set architecture that the function supports. Enter a
|
5766
|
-
# string array with one of the valid values
|
5767
|
-
# `x86_64`.
|
5626
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
5627
|
+
# default value is `x86_64`.
|
5768
5628
|
# @return [Array<String>]
|
5769
5629
|
#
|
5770
5630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
@@ -5848,7 +5708,8 @@ module Aws::Lambda
|
|
5848
5708
|
#
|
5849
5709
|
# @!attribute [rw] handler
|
5850
5710
|
# The name of the method within your code that Lambda calls to execute
|
5851
|
-
# your function.
|
5711
|
+
# your function. Handler is required if the deployment package is a
|
5712
|
+
# .zip file archive. The format includes the file name. It can also
|
5852
5713
|
# include namespaces and other qualifiers, depending on the runtime.
|
5853
5714
|
# For more information, see [Programming Model][1].
|
5854
5715
|
#
|
@@ -5900,7 +5761,8 @@ module Aws::Lambda
|
|
5900
5761
|
# @return [Types::Environment]
|
5901
5762
|
#
|
5902
5763
|
# @!attribute [rw] runtime
|
5903
|
-
# The identifier of the function's [runtime][1].
|
5764
|
+
# The identifier of the function's [runtime][1]. Runtime is required
|
5765
|
+
# if the deployment package is a .zip file archive.
|
5904
5766
|
#
|
5905
5767
|
#
|
5906
5768
|
#
|
@@ -6061,77 +5923,6 @@ module Aws::Lambda
|
|
6061
5923
|
include Aws::Structure
|
6062
5924
|
end
|
6063
5925
|
|
6064
|
-
# @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
|
6065
|
-
# data as a hash:
|
6066
|
-
#
|
6067
|
-
# {
|
6068
|
-
# function_name: "FunctionName", # required
|
6069
|
-
# qualifier: "FunctionUrlQualifier",
|
6070
|
-
# authorization_type: "NONE", # accepts NONE, AWS_IAM
|
6071
|
-
# cors: {
|
6072
|
-
# allow_credentials: false,
|
6073
|
-
# allow_headers: ["Header"],
|
6074
|
-
# allow_methods: ["Method"],
|
6075
|
-
# allow_origins: ["Origin"],
|
6076
|
-
# expose_headers: ["Header"],
|
6077
|
-
# max_age: 1,
|
6078
|
-
# },
|
6079
|
-
# }
|
6080
|
-
#
|
6081
|
-
# @!attribute [rw] function_name
|
6082
|
-
# @return [String]
|
6083
|
-
#
|
6084
|
-
# @!attribute [rw] qualifier
|
6085
|
-
# @return [String]
|
6086
|
-
#
|
6087
|
-
# @!attribute [rw] authorization_type
|
6088
|
-
# @return [String]
|
6089
|
-
#
|
6090
|
-
# @!attribute [rw] cors
|
6091
|
-
# @return [Types::Cors]
|
6092
|
-
#
|
6093
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
|
6094
|
-
#
|
6095
|
-
class UpdateFunctionUrlConfigRequest < Struct.new(
|
6096
|
-
:function_name,
|
6097
|
-
:qualifier,
|
6098
|
-
:authorization_type,
|
6099
|
-
:cors)
|
6100
|
-
SENSITIVE = []
|
6101
|
-
include Aws::Structure
|
6102
|
-
end
|
6103
|
-
|
6104
|
-
# @!attribute [rw] function_url
|
6105
|
-
# @return [String]
|
6106
|
-
#
|
6107
|
-
# @!attribute [rw] function_arn
|
6108
|
-
# @return [String]
|
6109
|
-
#
|
6110
|
-
# @!attribute [rw] authorization_type
|
6111
|
-
# @return [String]
|
6112
|
-
#
|
6113
|
-
# @!attribute [rw] cors
|
6114
|
-
# @return [Types::Cors]
|
6115
|
-
#
|
6116
|
-
# @!attribute [rw] creation_time
|
6117
|
-
# @return [Time]
|
6118
|
-
#
|
6119
|
-
# @!attribute [rw] last_modified_time
|
6120
|
-
# @return [Time]
|
6121
|
-
#
|
6122
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
|
6123
|
-
#
|
6124
|
-
class UpdateFunctionUrlConfigResponse < Struct.new(
|
6125
|
-
:function_url,
|
6126
|
-
:function_arn,
|
6127
|
-
:authorization_type,
|
6128
|
-
:cors,
|
6129
|
-
:creation_time,
|
6130
|
-
:last_modified_time)
|
6131
|
-
SENSITIVE = []
|
6132
|
-
include Aws::Structure
|
6133
|
-
end
|
6134
|
-
|
6135
5926
|
# The VPC security groups and subnets that are attached to a Lambda
|
6136
5927
|
# function. For more information, see [VPC Settings][1].
|
6137
5928
|
#
|
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.77.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-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|