aws-sdk-lambda 1.74.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  #
@@ -774,8 +731,8 @@ module Aws::Lambda
774
731
  # @return [Integer]
775
732
  #
776
733
  # @!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
734
+ # (Streams and Amazon SQS) An object that defines the filter criteria
735
+ # that determine whether Lambda should process an event. For more
779
736
  # information, see [Lambda event filtering][1].
780
737
  #
781
738
  #
@@ -854,8 +811,8 @@ module Aws::Lambda
854
811
  # @return [Types::SelfManagedEventSource]
855
812
  #
856
813
  # @!attribute [rw] function_response_types
857
- # (Streams only) A list of current response type enums applied to the
858
- # event source mapping.
814
+ # (Streams and Amazon SQS) A list of current response type enums
815
+ # applied to the event source mapping.
859
816
  # @return [Array<String>]
860
817
  #
861
818
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
@@ -956,7 +913,8 @@ module Aws::Lambda
956
913
  # @return [String]
957
914
  #
958
915
  # @!attribute [rw] runtime
959
- # 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.
960
918
  #
961
919
  #
962
920
  #
@@ -969,7 +927,8 @@ module Aws::Lambda
969
927
  #
970
928
  # @!attribute [rw] handler
971
929
  # The name of the method within your code that Lambda calls to execute
972
- # your function. The format includes the file name. It can also
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
973
932
  # include namespaces and other qualifiers, depending on the runtime.
974
933
  # For more information, see [Programming Model][1].
975
934
  #
@@ -1130,73 +1089,6 @@ module Aws::Lambda
1130
1089
  include Aws::Structure
1131
1090
  end
1132
1091
 
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
-
1200
1092
  # The [dead-letter queue][1] for failed asynchronous invocations.
1201
1093
  #
1202
1094
  #
@@ -1444,29 +1336,6 @@ module Aws::Lambda
1444
1336
  include Aws::Structure
1445
1337
  end
1446
1338
 
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
-
1470
1339
  # @note When making an API call, you may pass DeleteLayerVersionRequest
1471
1340
  # data as a hash:
1472
1341
  #
@@ -1834,9 +1703,13 @@ module Aws::Lambda
1834
1703
  # @return [String]
1835
1704
  #
1836
1705
  # @!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.
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
1840
1713
  # @return [Types::FilterCriteria]
1841
1714
  #
1842
1715
  # @!attribute [rw] function_arn
@@ -1978,7 +1851,8 @@ module Aws::Lambda
1978
1851
  include Aws::Structure
1979
1852
  end
1980
1853
 
1981
- # An object that specifies a filter criteria.
1854
+ # A structure within a `FilterCriteria` object that defines an event
1855
+ # filtering pattern.
1982
1856
  #
1983
1857
  # @note When making an API call, you may pass Filter
1984
1858
  # data as a hash:
@@ -1989,7 +1863,7 @@ module Aws::Lambda
1989
1863
  #
1990
1864
  # @!attribute [rw] pattern
1991
1865
  # A filter pattern. For more information on the syntax of a filter
1992
- # pattern, see [ Filter criteria syntax][1].
1866
+ # pattern, see [ Filter rule syntax][1].
1993
1867
  #
1994
1868
  #
1995
1869
  #
@@ -2004,7 +1878,7 @@ module Aws::Lambda
2004
1878
  include Aws::Structure
2005
1879
  end
2006
1880
 
2007
- # An object that contains the filters on the event source.
1881
+ # An object that contains the filters for an event source.
2008
1882
  #
2009
1883
  # @note When making an API call, you may pass FilterCriteria
2010
1884
  # data as a hash:
@@ -2356,37 +2230,6 @@ module Aws::Lambda
2356
2230
  include Aws::Structure
2357
2231
  end
2358
2232
 
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
-
2390
2233
  # @api private
2391
2234
  #
2392
2235
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
@@ -2757,60 +2600,6 @@ module Aws::Lambda
2757
2600
  include Aws::Structure
2758
2601
  end
2759
2602
 
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
-
2814
2603
  # @note When making an API call, you may pass GetLayerVersionByArnRequest
2815
2604
  # data as a hash:
2816
2605
  #
@@ -3999,49 +3788,6 @@ module Aws::Lambda
3999
3788
  include Aws::Structure
4000
3789
  end
4001
3790
 
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
-
4045
3791
  # @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
4046
3792
  # data as a hash:
4047
3793
  #
@@ -5323,6 +5069,17 @@ module Aws::Lambda
5323
5069
  # RabbitMQ broker. Lambda uses this RabbitMQ host as the event
5324
5070
  # source. This property cannot be specified in an
5325
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.
5326
5083
  # @return [String]
5327
5084
  #
5328
5085
  # @!attribute [rw] uri
@@ -5708,8 +5465,8 @@ module Aws::Lambda
5708
5465
  # @return [Integer]
5709
5466
  #
5710
5467
  # @!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
5468
+ # (Streams and Amazon SQS) An object that defines the filter criteria
5469
+ # that determine whether Lambda should process an event. For more
5713
5470
  # information, see [Lambda event filtering][1].
5714
5471
  #
5715
5472
  #
@@ -5765,8 +5522,8 @@ module Aws::Lambda
5765
5522
  # @return [Integer]
5766
5523
  #
5767
5524
  # @!attribute [rw] function_response_types
5768
- # (Streams only) A list of current response type enums applied to the
5769
- # event source mapping.
5525
+ # (Streams and Amazon SQS) A list of current response type enums
5526
+ # applied to the event source mapping.
5770
5527
  # @return [Array<String>]
5771
5528
  #
5772
5529
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
@@ -5951,7 +5708,8 @@ module Aws::Lambda
5951
5708
  #
5952
5709
  # @!attribute [rw] handler
5953
5710
  # The name of the method within your code that Lambda calls to execute
5954
- # your function. The format includes the file name. It can also
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
5955
5713
  # include namespaces and other qualifiers, depending on the runtime.
5956
5714
  # For more information, see [Programming Model][1].
5957
5715
  #
@@ -6003,7 +5761,8 @@ module Aws::Lambda
6003
5761
  # @return [Types::Environment]
6004
5762
  #
6005
5763
  # @!attribute [rw] runtime
6006
- # 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.
6007
5766
  #
6008
5767
  #
6009
5768
  #
@@ -6164,77 +5923,6 @@ module Aws::Lambda
6164
5923
  include Aws::Structure
6165
5924
  end
6166
5925
 
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
-
6238
5926
  # The VPC security groups and subnets that are attached to a Lambda
6239
5927
  # function. For more information, see [VPC Settings][1].
6240
5928
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.74.0'
52
+ GEM_VERSION = '1.78.0'
53
53
 
54
54
  end
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.74.0
4
+ version: 1.78.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-23 00:00:00.000000000 Z
11
+ date: 2022-02-03 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.122.0
22
+ version: 3.126.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.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement