aws-sdk-lambda 1.74.0 → 1.78.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 +32 -252
- data/lib/aws-sdk-lambda/client_api.rb +0 -168
- data/lib/aws-sdk-lambda/types.rb +38 -350
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae0cf84f03d7e0a488b1147562509e3ff31cb49b5acede6df6777202fedb7170
|
4
|
+
data.tar.gz: 2e680376ade400c263cfdc7595a6ff0128a0adca8332c20d8f4520650a5d747e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 341d16c71196455760f065a3f0cb13a27559ccd013867c89da7107b12d056a9dbcbe6903ff8da6e64392b6ad6bc5dbe2f717e01d8134b99fe5e39289281ab193
|
7
|
+
data.tar.gz: db5c42306c9363a0f99f9dea1dc2c53786033f76be547442253ada59bc475aa316400bbbfac1848348dee611d4f7051ac711b59f9ca6ede758b67b5c390baacc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.78.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.77.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.76.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.75.0 (2021-11-24)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Remove Lambda function url apis
|
23
|
+
|
4
24
|
1.74.0 (2021-11-23)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Lambda
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Lambda
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Lambda
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::Lambda
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::Lambda
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -786,8 +799,8 @@ module Aws::Lambda
|
|
786
799
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
787
800
|
#
|
788
801
|
# @option params [Types::FilterCriteria] :filter_criteria
|
789
|
-
# (Streams and Amazon SQS)
|
790
|
-
#
|
802
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
803
|
+
# that determine whether Lambda should process an event. For more
|
791
804
|
# information, see [Lambda event filtering][1].
|
792
805
|
#
|
793
806
|
#
|
@@ -852,8 +865,8 @@ module Aws::Lambda
|
|
852
865
|
# The Self-Managed Apache Kafka cluster to send records.
|
853
866
|
#
|
854
867
|
# @option params [Array<String>] :function_response_types
|
855
|
-
# (Streams
|
856
|
-
# event source mapping.
|
868
|
+
# (Streams and Amazon SQS) A list of current response type enums applied
|
869
|
+
# to the event source mapping.
|
857
870
|
#
|
858
871
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
859
872
|
#
|
@@ -1058,7 +1071,8 @@ module Aws::Lambda
|
|
1058
1071
|
# only the function name, it is limited to 64 characters in length.
|
1059
1072
|
#
|
1060
1073
|
# @option params [String] :runtime
|
1061
|
-
# The identifier of the function's [runtime][1].
|
1074
|
+
# The identifier of the function's [runtime][1]. Runtime is required if
|
1075
|
+
# the deployment package is a .zip file archive.
|
1062
1076
|
#
|
1063
1077
|
#
|
1064
1078
|
#
|
@@ -1069,7 +1083,8 @@ module Aws::Lambda
|
|
1069
1083
|
#
|
1070
1084
|
# @option params [String] :handler
|
1071
1085
|
# The name of the method within your code that Lambda calls to execute
|
1072
|
-
# your function.
|
1086
|
+
# your function. Handler is required if the deployment package is a .zip
|
1087
|
+
# file archive. The format includes the file name. It can also include
|
1073
1088
|
# namespaces and other qualifiers, depending on the runtime. For more
|
1074
1089
|
# information, see [Programming Model][1].
|
1075
1090
|
#
|
@@ -1337,64 +1352,6 @@ module Aws::Lambda
|
|
1337
1352
|
req.send_request(options)
|
1338
1353
|
end
|
1339
1354
|
|
1340
|
-
# @option params [required, String] :function_name
|
1341
|
-
#
|
1342
|
-
# @option params [String] :qualifier
|
1343
|
-
#
|
1344
|
-
# @option params [required, String] :authorization_type
|
1345
|
-
#
|
1346
|
-
# @option params [Types::Cors] :cors
|
1347
|
-
#
|
1348
|
-
# @return [Types::CreateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1349
|
-
#
|
1350
|
-
# * {Types::CreateFunctionUrlConfigResponse#function_url #function_url} => String
|
1351
|
-
# * {Types::CreateFunctionUrlConfigResponse#function_arn #function_arn} => String
|
1352
|
-
# * {Types::CreateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
1353
|
-
# * {Types::CreateFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
1354
|
-
# * {Types::CreateFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
1355
|
-
#
|
1356
|
-
# @example Request syntax with placeholder values
|
1357
|
-
#
|
1358
|
-
# resp = client.create_function_url_config({
|
1359
|
-
# function_name: "FunctionName", # required
|
1360
|
-
# qualifier: "FunctionUrlQualifier",
|
1361
|
-
# authorization_type: "NONE", # required, accepts NONE, AWS_IAM
|
1362
|
-
# cors: {
|
1363
|
-
# allow_credentials: false,
|
1364
|
-
# allow_headers: ["Header"],
|
1365
|
-
# allow_methods: ["Method"],
|
1366
|
-
# allow_origins: ["Origin"],
|
1367
|
-
# expose_headers: ["Header"],
|
1368
|
-
# max_age: 1,
|
1369
|
-
# },
|
1370
|
-
# })
|
1371
|
-
#
|
1372
|
-
# @example Response structure
|
1373
|
-
#
|
1374
|
-
# resp.function_url #=> String
|
1375
|
-
# resp.function_arn #=> String
|
1376
|
-
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
1377
|
-
# resp.cors.allow_credentials #=> Boolean
|
1378
|
-
# resp.cors.allow_headers #=> Array
|
1379
|
-
# resp.cors.allow_headers[0] #=> String
|
1380
|
-
# resp.cors.allow_methods #=> Array
|
1381
|
-
# resp.cors.allow_methods[0] #=> String
|
1382
|
-
# resp.cors.allow_origins #=> Array
|
1383
|
-
# resp.cors.allow_origins[0] #=> String
|
1384
|
-
# resp.cors.expose_headers #=> Array
|
1385
|
-
# resp.cors.expose_headers[0] #=> String
|
1386
|
-
# resp.cors.max_age #=> Integer
|
1387
|
-
# resp.creation_time #=> Time
|
1388
|
-
#
|
1389
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig AWS API Documentation
|
1390
|
-
#
|
1391
|
-
# @overload create_function_url_config(params = {})
|
1392
|
-
# @param [Hash] params ({})
|
1393
|
-
def create_function_url_config(params = {}, options = {})
|
1394
|
-
req = build_request(:create_function_url_config, params)
|
1395
|
-
req.send_request(options)
|
1396
|
-
end
|
1397
|
-
|
1398
1355
|
# Deletes a Lambda function [alias][1].
|
1399
1356
|
#
|
1400
1357
|
#
|
@@ -1709,28 +1666,6 @@ module Aws::Lambda
|
|
1709
1666
|
req.send_request(options)
|
1710
1667
|
end
|
1711
1668
|
|
1712
|
-
# @option params [required, String] :function_name
|
1713
|
-
#
|
1714
|
-
# @option params [String] :qualifier
|
1715
|
-
#
|
1716
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1717
|
-
#
|
1718
|
-
# @example Request syntax with placeholder values
|
1719
|
-
#
|
1720
|
-
# resp = client.delete_function_url_config({
|
1721
|
-
# function_name: "FunctionName", # required
|
1722
|
-
# qualifier: "FunctionUrlQualifier",
|
1723
|
-
# })
|
1724
|
-
#
|
1725
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig AWS API Documentation
|
1726
|
-
#
|
1727
|
-
# @overload delete_function_url_config(params = {})
|
1728
|
-
# @param [Hash] params ({})
|
1729
|
-
def delete_function_url_config(params = {}, options = {})
|
1730
|
-
req = build_request(:delete_function_url_config, params)
|
1731
|
-
req.send_request(options)
|
1732
|
-
end
|
1733
|
-
|
1734
1669
|
# Deletes a version of an [Lambda layer][1]. Deleted versions can no
|
1735
1670
|
# longer be viewed or added to functions. To avoid breaking functions, a
|
1736
1671
|
# copy of the version remains in Lambda until no functions refer to it.
|
@@ -2406,53 +2341,6 @@ module Aws::Lambda
|
|
2406
2341
|
req.send_request(options)
|
2407
2342
|
end
|
2408
2343
|
|
2409
|
-
# @option params [required, String] :function_name
|
2410
|
-
#
|
2411
|
-
# @option params [String] :qualifier
|
2412
|
-
#
|
2413
|
-
# @return [Types::GetFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2414
|
-
#
|
2415
|
-
# * {Types::GetFunctionUrlConfigResponse#function_url #function_url} => String
|
2416
|
-
# * {Types::GetFunctionUrlConfigResponse#function_arn #function_arn} => String
|
2417
|
-
# * {Types::GetFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
2418
|
-
# * {Types::GetFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
2419
|
-
# * {Types::GetFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
2420
|
-
# * {Types::GetFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
|
2421
|
-
#
|
2422
|
-
# @example Request syntax with placeholder values
|
2423
|
-
#
|
2424
|
-
# resp = client.get_function_url_config({
|
2425
|
-
# function_name: "FunctionName", # required
|
2426
|
-
# qualifier: "FunctionUrlQualifier",
|
2427
|
-
# })
|
2428
|
-
#
|
2429
|
-
# @example Response structure
|
2430
|
-
#
|
2431
|
-
# resp.function_url #=> String
|
2432
|
-
# resp.function_arn #=> String
|
2433
|
-
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
2434
|
-
# resp.cors.allow_credentials #=> Boolean
|
2435
|
-
# resp.cors.allow_headers #=> Array
|
2436
|
-
# resp.cors.allow_headers[0] #=> String
|
2437
|
-
# resp.cors.allow_methods #=> Array
|
2438
|
-
# resp.cors.allow_methods[0] #=> String
|
2439
|
-
# resp.cors.allow_origins #=> Array
|
2440
|
-
# resp.cors.allow_origins[0] #=> String
|
2441
|
-
# resp.cors.expose_headers #=> Array
|
2442
|
-
# resp.cors.expose_headers[0] #=> String
|
2443
|
-
# resp.cors.max_age #=> Integer
|
2444
|
-
# resp.creation_time #=> Time
|
2445
|
-
# resp.last_modified_time #=> Time
|
2446
|
-
#
|
2447
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig AWS API Documentation
|
2448
|
-
#
|
2449
|
-
# @overload get_function_url_config(params = {})
|
2450
|
-
# @param [Hash] params ({})
|
2451
|
-
def get_function_url_config(params = {}, options = {})
|
2452
|
-
req = build_request(:get_function_url_config, params)
|
2453
|
-
req.send_request(options)
|
2454
|
-
end
|
2455
|
-
|
2456
2344
|
# Returns information about a version of an [Lambda layer][1], with a
|
2457
2345
|
# link to download the layer archive that's valid for 10 minutes.
|
2458
2346
|
#
|
@@ -3183,56 +3071,6 @@ module Aws::Lambda
|
|
3183
3071
|
req.send_request(options)
|
3184
3072
|
end
|
3185
3073
|
|
3186
|
-
# @option params [required, String] :function_name
|
3187
|
-
#
|
3188
|
-
# @option params [String] :marker
|
3189
|
-
#
|
3190
|
-
# @option params [Integer] :max_items
|
3191
|
-
#
|
3192
|
-
# @return [Types::ListFunctionUrlConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3193
|
-
#
|
3194
|
-
# * {Types::ListFunctionUrlConfigsResponse#function_url_configs #function_url_configs} => Array<Types::FunctionUrlConfig>
|
3195
|
-
# * {Types::ListFunctionUrlConfigsResponse#next_marker #next_marker} => String
|
3196
|
-
#
|
3197
|
-
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3198
|
-
#
|
3199
|
-
# @example Request syntax with placeholder values
|
3200
|
-
#
|
3201
|
-
# resp = client.list_function_url_configs({
|
3202
|
-
# function_name: "FunctionName", # required
|
3203
|
-
# marker: "String",
|
3204
|
-
# max_items: 1,
|
3205
|
-
# })
|
3206
|
-
#
|
3207
|
-
# @example Response structure
|
3208
|
-
#
|
3209
|
-
# resp.function_url_configs #=> Array
|
3210
|
-
# resp.function_url_configs[0].function_url #=> String
|
3211
|
-
# resp.function_url_configs[0].function_arn #=> String
|
3212
|
-
# resp.function_url_configs[0].creation_time #=> Time
|
3213
|
-
# resp.function_url_configs[0].last_modified_time #=> Time
|
3214
|
-
# resp.function_url_configs[0].cors.allow_credentials #=> Boolean
|
3215
|
-
# resp.function_url_configs[0].cors.allow_headers #=> Array
|
3216
|
-
# resp.function_url_configs[0].cors.allow_headers[0] #=> String
|
3217
|
-
# resp.function_url_configs[0].cors.allow_methods #=> Array
|
3218
|
-
# resp.function_url_configs[0].cors.allow_methods[0] #=> String
|
3219
|
-
# resp.function_url_configs[0].cors.allow_origins #=> Array
|
3220
|
-
# resp.function_url_configs[0].cors.allow_origins[0] #=> String
|
3221
|
-
# resp.function_url_configs[0].cors.expose_headers #=> Array
|
3222
|
-
# resp.function_url_configs[0].cors.expose_headers[0] #=> String
|
3223
|
-
# resp.function_url_configs[0].cors.max_age #=> Integer
|
3224
|
-
# resp.function_url_configs[0].authorization_type #=> String, one of "NONE", "AWS_IAM"
|
3225
|
-
# resp.next_marker #=> String
|
3226
|
-
#
|
3227
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs AWS API Documentation
|
3228
|
-
#
|
3229
|
-
# @overload list_function_url_configs(params = {})
|
3230
|
-
# @param [Hash] params ({})
|
3231
|
-
def list_function_url_configs(params = {}, options = {})
|
3232
|
-
req = build_request(:list_function_url_configs, params)
|
3233
|
-
req.send_request(options)
|
3234
|
-
end
|
3235
|
-
|
3236
3074
|
# Returns a list of Lambda functions, with the version-specific
|
3237
3075
|
# configuration of each. Lambda returns up to 50 functions per call.
|
3238
3076
|
#
|
@@ -4689,8 +4527,8 @@ module Aws::Lambda
|
|
4689
4527
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
4690
4528
|
#
|
4691
4529
|
# @option params [Types::FilterCriteria] :filter_criteria
|
4692
|
-
# (Streams and Amazon SQS)
|
4693
|
-
#
|
4530
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
4531
|
+
# that determine whether Lambda should process an event. For more
|
4694
4532
|
# information, see [Lambda event filtering][1].
|
4695
4533
|
#
|
4696
4534
|
#
|
@@ -4737,8 +4575,8 @@ module Aws::Lambda
|
|
4737
4575
|
# range is between 1 second up to 900 seconds.
|
4738
4576
|
#
|
4739
4577
|
# @option params [Array<String>] :function_response_types
|
4740
|
-
# (Streams
|
4741
|
-
# event source mapping.
|
4578
|
+
# (Streams and Amazon SQS) A list of current response type enums applied
|
4579
|
+
# to the event source mapping.
|
4742
4580
|
#
|
4743
4581
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4744
4582
|
#
|
@@ -5076,7 +4914,8 @@ module Aws::Lambda
|
|
5076
4914
|
#
|
5077
4915
|
# @option params [String] :handler
|
5078
4916
|
# The name of the method within your code that Lambda calls to execute
|
5079
|
-
# your function.
|
4917
|
+
# your function. Handler is required if the deployment package is a .zip
|
4918
|
+
# file archive. The format includes the file name. It can also include
|
5080
4919
|
# namespaces and other qualifiers, depending on the runtime. For more
|
5081
4920
|
# information, see [Programming Model][1].
|
5082
4921
|
#
|
@@ -5122,7 +4961,8 @@ module Aws::Lambda
|
|
5122
4961
|
# execution.
|
5123
4962
|
#
|
5124
4963
|
# @option params [String] :runtime
|
5125
|
-
# The identifier of the function's [runtime][1].
|
4964
|
+
# The identifier of the function's [runtime][1]. Runtime is required if
|
4965
|
+
# the deployment package is a .zip file archive.
|
5126
4966
|
#
|
5127
4967
|
#
|
5128
4968
|
#
|
@@ -5405,66 +5245,6 @@ module Aws::Lambda
|
|
5405
5245
|
req.send_request(options)
|
5406
5246
|
end
|
5407
5247
|
|
5408
|
-
# @option params [required, String] :function_name
|
5409
|
-
#
|
5410
|
-
# @option params [String] :qualifier
|
5411
|
-
#
|
5412
|
-
# @option params [String] :authorization_type
|
5413
|
-
#
|
5414
|
-
# @option params [Types::Cors] :cors
|
5415
|
-
#
|
5416
|
-
# @return [Types::UpdateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5417
|
-
#
|
5418
|
-
# * {Types::UpdateFunctionUrlConfigResponse#function_url #function_url} => String
|
5419
|
-
# * {Types::UpdateFunctionUrlConfigResponse#function_arn #function_arn} => String
|
5420
|
-
# * {Types::UpdateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
5421
|
-
# * {Types::UpdateFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
5422
|
-
# * {Types::UpdateFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
5423
|
-
# * {Types::UpdateFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
|
5424
|
-
#
|
5425
|
-
# @example Request syntax with placeholder values
|
5426
|
-
#
|
5427
|
-
# resp = client.update_function_url_config({
|
5428
|
-
# function_name: "FunctionName", # required
|
5429
|
-
# qualifier: "FunctionUrlQualifier",
|
5430
|
-
# authorization_type: "NONE", # accepts NONE, AWS_IAM
|
5431
|
-
# cors: {
|
5432
|
-
# allow_credentials: false,
|
5433
|
-
# allow_headers: ["Header"],
|
5434
|
-
# allow_methods: ["Method"],
|
5435
|
-
# allow_origins: ["Origin"],
|
5436
|
-
# expose_headers: ["Header"],
|
5437
|
-
# max_age: 1,
|
5438
|
-
# },
|
5439
|
-
# })
|
5440
|
-
#
|
5441
|
-
# @example Response structure
|
5442
|
-
#
|
5443
|
-
# resp.function_url #=> String
|
5444
|
-
# resp.function_arn #=> String
|
5445
|
-
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
5446
|
-
# resp.cors.allow_credentials #=> Boolean
|
5447
|
-
# resp.cors.allow_headers #=> Array
|
5448
|
-
# resp.cors.allow_headers[0] #=> String
|
5449
|
-
# resp.cors.allow_methods #=> Array
|
5450
|
-
# resp.cors.allow_methods[0] #=> String
|
5451
|
-
# resp.cors.allow_origins #=> Array
|
5452
|
-
# resp.cors.allow_origins[0] #=> String
|
5453
|
-
# resp.cors.expose_headers #=> Array
|
5454
|
-
# resp.cors.expose_headers[0] #=> String
|
5455
|
-
# resp.cors.max_age #=> Integer
|
5456
|
-
# resp.creation_time #=> Time
|
5457
|
-
# resp.last_modified_time #=> Time
|
5458
|
-
#
|
5459
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig AWS API Documentation
|
5460
|
-
#
|
5461
|
-
# @overload update_function_url_config(params = {})
|
5462
|
-
# @param [Hash] params ({})
|
5463
|
-
def update_function_url_config(params = {}, options = {})
|
5464
|
-
req = build_request(:update_function_url_config, params)
|
5465
|
-
req.send_request(options)
|
5466
|
-
end
|
5467
|
-
|
5468
5248
|
# @!endgroup
|
5469
5249
|
|
5470
5250
|
# @param params ({})
|
@@ -5478,7 +5258,7 @@ module Aws::Lambda
|
|
5478
5258
|
params: params,
|
5479
5259
|
config: config)
|
5480
5260
|
context[:gem_name] = 'aws-sdk-lambda'
|
5481
|
-
context[:gem_version] = '1.
|
5261
|
+
context[:gem_version] = '1.78.0'
|
5482
5262
|
Seahorse::Client::Request.new(handlers, context)
|
5483
5263
|
end
|
5484
5264
|
|