aws-sdk-lambda 1.72.0 → 1.73.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +242 -13
- data/lib/aws-sdk-lambda/client_api.rb +168 -0
- data/lib/aws-sdk-lambda/types.rb +337 -25
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0767b9ced06243329830cf26b10c073dcb263d14c6ccff92f974f19da7052680
|
|
4
|
+
data.tar.gz: 2771d40f0745260a896ba36ca5c27dad21170037a6b954a9ca5500b0c901893b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 676c779489633cabee2b7852f9a812b9a45884acfff3b584be335d63fb5057a1e6cb7afad9348fa5edcda8c08037b3755308039237f7f1fd482897d8084c32f4
|
|
7
|
+
data.tar.gz: d51b81b8017a2600650ba74cf178fb7dd2d49cdd97297e2e891e46d9f3b95ddec02b2aa3823918055bdbaab694e117590c7d01a68dd60b1adc8f578e7c5f9202
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.73.0 (2021-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for Lambda Function URLs. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
|
|
8
|
+
|
|
4
9
|
1.72.0 (2021-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.73.0
|
|
@@ -783,8 +783,6 @@ module Aws::Lambda
|
|
|
783
783
|
#
|
|
784
784
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
|
785
785
|
#
|
|
786
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
|
787
|
-
#
|
|
788
786
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
|
789
787
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
|
790
788
|
# in seconds, that Lambda spends gathering records before invoking the
|
|
@@ -1162,8 +1160,8 @@ module Aws::Lambda
|
|
|
1162
1160
|
#
|
|
1163
1161
|
# @option params [Array<String>] :architectures
|
|
1164
1162
|
# The instruction set architecture that the function supports. Enter a
|
|
1165
|
-
# string array with one of the valid values
|
|
1166
|
-
#
|
|
1163
|
+
# string array with one of the valid values. The default value is
|
|
1164
|
+
# `x86_64`.
|
|
1167
1165
|
#
|
|
1168
1166
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1169
1167
|
#
|
|
@@ -1318,6 +1316,64 @@ module Aws::Lambda
|
|
|
1318
1316
|
req.send_request(options)
|
|
1319
1317
|
end
|
|
1320
1318
|
|
|
1319
|
+
# @option params [required, String] :function_name
|
|
1320
|
+
#
|
|
1321
|
+
# @option params [String] :qualifier
|
|
1322
|
+
#
|
|
1323
|
+
# @option params [required, String] :authorization_type
|
|
1324
|
+
#
|
|
1325
|
+
# @option params [Types::Cors] :cors
|
|
1326
|
+
#
|
|
1327
|
+
# @return [Types::CreateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1328
|
+
#
|
|
1329
|
+
# * {Types::CreateFunctionUrlConfigResponse#function_url #function_url} => String
|
|
1330
|
+
# * {Types::CreateFunctionUrlConfigResponse#function_arn #function_arn} => String
|
|
1331
|
+
# * {Types::CreateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
|
1332
|
+
# * {Types::CreateFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
|
1333
|
+
# * {Types::CreateFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
|
1334
|
+
#
|
|
1335
|
+
# @example Request syntax with placeholder values
|
|
1336
|
+
#
|
|
1337
|
+
# resp = client.create_function_url_config({
|
|
1338
|
+
# function_name: "FunctionName", # required
|
|
1339
|
+
# qualifier: "FunctionUrlQualifier",
|
|
1340
|
+
# authorization_type: "NONE", # required, accepts NONE, AWS_IAM
|
|
1341
|
+
# cors: {
|
|
1342
|
+
# allow_credentials: false,
|
|
1343
|
+
# allow_headers: ["Header"],
|
|
1344
|
+
# allow_methods: ["Method"],
|
|
1345
|
+
# allow_origins: ["Origin"],
|
|
1346
|
+
# expose_headers: ["Header"],
|
|
1347
|
+
# max_age: 1,
|
|
1348
|
+
# },
|
|
1349
|
+
# })
|
|
1350
|
+
#
|
|
1351
|
+
# @example Response structure
|
|
1352
|
+
#
|
|
1353
|
+
# resp.function_url #=> String
|
|
1354
|
+
# resp.function_arn #=> String
|
|
1355
|
+
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
|
1356
|
+
# resp.cors.allow_credentials #=> Boolean
|
|
1357
|
+
# resp.cors.allow_headers #=> Array
|
|
1358
|
+
# resp.cors.allow_headers[0] #=> String
|
|
1359
|
+
# resp.cors.allow_methods #=> Array
|
|
1360
|
+
# resp.cors.allow_methods[0] #=> String
|
|
1361
|
+
# resp.cors.allow_origins #=> Array
|
|
1362
|
+
# resp.cors.allow_origins[0] #=> String
|
|
1363
|
+
# resp.cors.expose_headers #=> Array
|
|
1364
|
+
# resp.cors.expose_headers[0] #=> String
|
|
1365
|
+
# resp.cors.max_age #=> Integer
|
|
1366
|
+
# resp.creation_time #=> Time
|
|
1367
|
+
#
|
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig AWS API Documentation
|
|
1369
|
+
#
|
|
1370
|
+
# @overload create_function_url_config(params = {})
|
|
1371
|
+
# @param [Hash] params ({})
|
|
1372
|
+
def create_function_url_config(params = {}, options = {})
|
|
1373
|
+
req = build_request(:create_function_url_config, params)
|
|
1374
|
+
req.send_request(options)
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1321
1377
|
# Deletes a Lambda function [alias][1].
|
|
1322
1378
|
#
|
|
1323
1379
|
#
|
|
@@ -1629,6 +1685,28 @@ module Aws::Lambda
|
|
|
1629
1685
|
req.send_request(options)
|
|
1630
1686
|
end
|
|
1631
1687
|
|
|
1688
|
+
# @option params [required, String] :function_name
|
|
1689
|
+
#
|
|
1690
|
+
# @option params [String] :qualifier
|
|
1691
|
+
#
|
|
1692
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1693
|
+
#
|
|
1694
|
+
# @example Request syntax with placeholder values
|
|
1695
|
+
#
|
|
1696
|
+
# resp = client.delete_function_url_config({
|
|
1697
|
+
# function_name: "FunctionName", # required
|
|
1698
|
+
# qualifier: "FunctionUrlQualifier",
|
|
1699
|
+
# })
|
|
1700
|
+
#
|
|
1701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig AWS API Documentation
|
|
1702
|
+
#
|
|
1703
|
+
# @overload delete_function_url_config(params = {})
|
|
1704
|
+
# @param [Hash] params ({})
|
|
1705
|
+
def delete_function_url_config(params = {}, options = {})
|
|
1706
|
+
req = build_request(:delete_function_url_config, params)
|
|
1707
|
+
req.send_request(options)
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1632
1710
|
# Deletes a version of an [Lambda layer][1]. Deleted versions can no
|
|
1633
1711
|
# longer be viewed or added to functions. To avoid breaking functions, a
|
|
1634
1712
|
# copy of the version remains in Lambda until no functions refer to it.
|
|
@@ -2301,6 +2379,53 @@ module Aws::Lambda
|
|
|
2301
2379
|
req.send_request(options)
|
|
2302
2380
|
end
|
|
2303
2381
|
|
|
2382
|
+
# @option params [required, String] :function_name
|
|
2383
|
+
#
|
|
2384
|
+
# @option params [String] :qualifier
|
|
2385
|
+
#
|
|
2386
|
+
# @return [Types::GetFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2387
|
+
#
|
|
2388
|
+
# * {Types::GetFunctionUrlConfigResponse#function_url #function_url} => String
|
|
2389
|
+
# * {Types::GetFunctionUrlConfigResponse#function_arn #function_arn} => String
|
|
2390
|
+
# * {Types::GetFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
|
2391
|
+
# * {Types::GetFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
|
2392
|
+
# * {Types::GetFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
|
2393
|
+
# * {Types::GetFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
|
|
2394
|
+
#
|
|
2395
|
+
# @example Request syntax with placeholder values
|
|
2396
|
+
#
|
|
2397
|
+
# resp = client.get_function_url_config({
|
|
2398
|
+
# function_name: "FunctionName", # required
|
|
2399
|
+
# qualifier: "FunctionUrlQualifier",
|
|
2400
|
+
# })
|
|
2401
|
+
#
|
|
2402
|
+
# @example Response structure
|
|
2403
|
+
#
|
|
2404
|
+
# resp.function_url #=> String
|
|
2405
|
+
# resp.function_arn #=> String
|
|
2406
|
+
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
|
2407
|
+
# resp.cors.allow_credentials #=> Boolean
|
|
2408
|
+
# resp.cors.allow_headers #=> Array
|
|
2409
|
+
# resp.cors.allow_headers[0] #=> String
|
|
2410
|
+
# resp.cors.allow_methods #=> Array
|
|
2411
|
+
# resp.cors.allow_methods[0] #=> String
|
|
2412
|
+
# resp.cors.allow_origins #=> Array
|
|
2413
|
+
# resp.cors.allow_origins[0] #=> String
|
|
2414
|
+
# resp.cors.expose_headers #=> Array
|
|
2415
|
+
# resp.cors.expose_headers[0] #=> String
|
|
2416
|
+
# resp.cors.max_age #=> Integer
|
|
2417
|
+
# resp.creation_time #=> Time
|
|
2418
|
+
# resp.last_modified_time #=> Time
|
|
2419
|
+
#
|
|
2420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig AWS API Documentation
|
|
2421
|
+
#
|
|
2422
|
+
# @overload get_function_url_config(params = {})
|
|
2423
|
+
# @param [Hash] params ({})
|
|
2424
|
+
def get_function_url_config(params = {}, options = {})
|
|
2425
|
+
req = build_request(:get_function_url_config, params)
|
|
2426
|
+
req.send_request(options)
|
|
2427
|
+
end
|
|
2428
|
+
|
|
2304
2429
|
# Returns information about a version of an [Lambda layer][1], with a
|
|
2305
2430
|
# link to download the layer archive that's valid for 10 minutes.
|
|
2306
2431
|
#
|
|
@@ -2655,10 +2780,6 @@ module Aws::Lambda
|
|
|
2655
2780
|
# @option params [String, StringIO, File] :payload
|
|
2656
2781
|
# The JSON that you want to provide to your Lambda function as input.
|
|
2657
2782
|
#
|
|
2658
|
-
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
|
2659
|
-
# "value" \}'`. You can also specify a file path. For example,
|
|
2660
|
-
# `--payload file://payload.json`.
|
|
2661
|
-
#
|
|
2662
2783
|
# @option params [String] :qualifier
|
|
2663
2784
|
# Specify a version or alias to invoke a published version of the
|
|
2664
2785
|
# function.
|
|
@@ -3029,6 +3150,56 @@ module Aws::Lambda
|
|
|
3029
3150
|
req.send_request(options)
|
|
3030
3151
|
end
|
|
3031
3152
|
|
|
3153
|
+
# @option params [required, String] :function_name
|
|
3154
|
+
#
|
|
3155
|
+
# @option params [String] :marker
|
|
3156
|
+
#
|
|
3157
|
+
# @option params [Integer] :max_items
|
|
3158
|
+
#
|
|
3159
|
+
# @return [Types::ListFunctionUrlConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3160
|
+
#
|
|
3161
|
+
# * {Types::ListFunctionUrlConfigsResponse#function_url_configs #function_url_configs} => Array<Types::FunctionUrlConfig>
|
|
3162
|
+
# * {Types::ListFunctionUrlConfigsResponse#next_marker #next_marker} => String
|
|
3163
|
+
#
|
|
3164
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3165
|
+
#
|
|
3166
|
+
# @example Request syntax with placeholder values
|
|
3167
|
+
#
|
|
3168
|
+
# resp = client.list_function_url_configs({
|
|
3169
|
+
# function_name: "FunctionName", # required
|
|
3170
|
+
# marker: "String",
|
|
3171
|
+
# max_items: 1,
|
|
3172
|
+
# })
|
|
3173
|
+
#
|
|
3174
|
+
# @example Response structure
|
|
3175
|
+
#
|
|
3176
|
+
# resp.function_url_configs #=> Array
|
|
3177
|
+
# resp.function_url_configs[0].function_url #=> String
|
|
3178
|
+
# resp.function_url_configs[0].function_arn #=> String
|
|
3179
|
+
# resp.function_url_configs[0].creation_time #=> Time
|
|
3180
|
+
# resp.function_url_configs[0].last_modified_time #=> Time
|
|
3181
|
+
# resp.function_url_configs[0].cors.allow_credentials #=> Boolean
|
|
3182
|
+
# resp.function_url_configs[0].cors.allow_headers #=> Array
|
|
3183
|
+
# resp.function_url_configs[0].cors.allow_headers[0] #=> String
|
|
3184
|
+
# resp.function_url_configs[0].cors.allow_methods #=> Array
|
|
3185
|
+
# resp.function_url_configs[0].cors.allow_methods[0] #=> String
|
|
3186
|
+
# resp.function_url_configs[0].cors.allow_origins #=> Array
|
|
3187
|
+
# resp.function_url_configs[0].cors.allow_origins[0] #=> String
|
|
3188
|
+
# resp.function_url_configs[0].cors.expose_headers #=> Array
|
|
3189
|
+
# resp.function_url_configs[0].cors.expose_headers[0] #=> String
|
|
3190
|
+
# resp.function_url_configs[0].cors.max_age #=> Integer
|
|
3191
|
+
# resp.function_url_configs[0].authorization_type #=> String, one of "NONE", "AWS_IAM"
|
|
3192
|
+
# resp.next_marker #=> String
|
|
3193
|
+
#
|
|
3194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs AWS API Documentation
|
|
3195
|
+
#
|
|
3196
|
+
# @overload list_function_url_configs(params = {})
|
|
3197
|
+
# @param [Hash] params ({})
|
|
3198
|
+
def list_function_url_configs(params = {}, options = {})
|
|
3199
|
+
req = build_request(:list_function_url_configs, params)
|
|
3200
|
+
req.send_request(options)
|
|
3201
|
+
end
|
|
3202
|
+
|
|
3032
3203
|
# Returns a list of Lambda functions, with the version-specific
|
|
3033
3204
|
# configuration of each. Lambda returns up to 50 functions per call.
|
|
3034
3205
|
#
|
|
@@ -4482,8 +4653,6 @@ module Aws::Lambda
|
|
|
4482
4653
|
#
|
|
4483
4654
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
|
4484
4655
|
#
|
|
4485
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
|
4486
|
-
#
|
|
4487
4656
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
|
4488
4657
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
|
4489
4658
|
# in seconds, that Lambda spends gathering records before invoking the
|
|
@@ -4692,8 +4861,8 @@ module Aws::Lambda
|
|
|
4692
4861
|
#
|
|
4693
4862
|
# @option params [Array<String>] :architectures
|
|
4694
4863
|
# The instruction set architecture that the function supports. Enter a
|
|
4695
|
-
# string array with one of the valid values
|
|
4696
|
-
#
|
|
4864
|
+
# string array with one of the valid values. The default value is
|
|
4865
|
+
# `x86_64`.
|
|
4697
4866
|
#
|
|
4698
4867
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4699
4868
|
#
|
|
@@ -5182,6 +5351,66 @@ module Aws::Lambda
|
|
|
5182
5351
|
req.send_request(options)
|
|
5183
5352
|
end
|
|
5184
5353
|
|
|
5354
|
+
# @option params [required, String] :function_name
|
|
5355
|
+
#
|
|
5356
|
+
# @option params [String] :qualifier
|
|
5357
|
+
#
|
|
5358
|
+
# @option params [String] :authorization_type
|
|
5359
|
+
#
|
|
5360
|
+
# @option params [Types::Cors] :cors
|
|
5361
|
+
#
|
|
5362
|
+
# @return [Types::UpdateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5363
|
+
#
|
|
5364
|
+
# * {Types::UpdateFunctionUrlConfigResponse#function_url #function_url} => String
|
|
5365
|
+
# * {Types::UpdateFunctionUrlConfigResponse#function_arn #function_arn} => String
|
|
5366
|
+
# * {Types::UpdateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
|
|
5367
|
+
# * {Types::UpdateFunctionUrlConfigResponse#cors #cors} => Types::Cors
|
|
5368
|
+
# * {Types::UpdateFunctionUrlConfigResponse#creation_time #creation_time} => Time
|
|
5369
|
+
# * {Types::UpdateFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
|
|
5370
|
+
#
|
|
5371
|
+
# @example Request syntax with placeholder values
|
|
5372
|
+
#
|
|
5373
|
+
# resp = client.update_function_url_config({
|
|
5374
|
+
# function_name: "FunctionName", # required
|
|
5375
|
+
# qualifier: "FunctionUrlQualifier",
|
|
5376
|
+
# authorization_type: "NONE", # accepts NONE, AWS_IAM
|
|
5377
|
+
# cors: {
|
|
5378
|
+
# allow_credentials: false,
|
|
5379
|
+
# allow_headers: ["Header"],
|
|
5380
|
+
# allow_methods: ["Method"],
|
|
5381
|
+
# allow_origins: ["Origin"],
|
|
5382
|
+
# expose_headers: ["Header"],
|
|
5383
|
+
# max_age: 1,
|
|
5384
|
+
# },
|
|
5385
|
+
# })
|
|
5386
|
+
#
|
|
5387
|
+
# @example Response structure
|
|
5388
|
+
#
|
|
5389
|
+
# resp.function_url #=> String
|
|
5390
|
+
# resp.function_arn #=> String
|
|
5391
|
+
# resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
|
|
5392
|
+
# resp.cors.allow_credentials #=> Boolean
|
|
5393
|
+
# resp.cors.allow_headers #=> Array
|
|
5394
|
+
# resp.cors.allow_headers[0] #=> String
|
|
5395
|
+
# resp.cors.allow_methods #=> Array
|
|
5396
|
+
# resp.cors.allow_methods[0] #=> String
|
|
5397
|
+
# resp.cors.allow_origins #=> Array
|
|
5398
|
+
# resp.cors.allow_origins[0] #=> String
|
|
5399
|
+
# resp.cors.expose_headers #=> Array
|
|
5400
|
+
# resp.cors.expose_headers[0] #=> String
|
|
5401
|
+
# resp.cors.max_age #=> Integer
|
|
5402
|
+
# resp.creation_time #=> Time
|
|
5403
|
+
# resp.last_modified_time #=> Time
|
|
5404
|
+
#
|
|
5405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig AWS API Documentation
|
|
5406
|
+
#
|
|
5407
|
+
# @overload update_function_url_config(params = {})
|
|
5408
|
+
# @param [Hash] params ({})
|
|
5409
|
+
def update_function_url_config(params = {}, options = {})
|
|
5410
|
+
req = build_request(:update_function_url_config, params)
|
|
5411
|
+
req.send_request(options)
|
|
5412
|
+
end
|
|
5413
|
+
|
|
5185
5414
|
# @!endgroup
|
|
5186
5415
|
|
|
5187
5416
|
# @param params ({})
|
|
@@ -5195,7 +5424,7 @@ module Aws::Lambda
|
|
|
5195
5424
|
params: params,
|
|
5196
5425
|
config: config)
|
|
5197
5426
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
5198
|
-
context[:gem_version] = '1.
|
|
5427
|
+
context[:gem_version] = '1.73.0'
|
|
5199
5428
|
Seahorse::Client::Request.new(handlers, context)
|
|
5200
5429
|
end
|
|
5201
5430
|
|
|
@@ -26,10 +26,14 @@ module Aws::Lambda
|
|
|
26
26
|
AliasConfiguration = Shapes::StructureShape.new(name: 'AliasConfiguration')
|
|
27
27
|
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
|
28
28
|
AliasRoutingConfiguration = Shapes::StructureShape.new(name: 'AliasRoutingConfiguration')
|
|
29
|
+
AllowCredentials = Shapes::BooleanShape.new(name: 'AllowCredentials')
|
|
30
|
+
AllowMethodsList = Shapes::ListShape.new(name: 'AllowMethodsList')
|
|
31
|
+
AllowOriginsList = Shapes::ListShape.new(name: 'AllowOriginsList')
|
|
29
32
|
AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
|
|
30
33
|
Architecture = Shapes::StringShape.new(name: 'Architecture')
|
|
31
34
|
ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
|
|
32
35
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
36
|
+
AuthorizationType = Shapes::StringShape.new(name: 'AuthorizationType')
|
|
33
37
|
BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
|
|
34
38
|
BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
|
|
35
39
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
|
@@ -47,11 +51,14 @@ module Aws::Lambda
|
|
|
47
51
|
CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
|
|
48
52
|
CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
|
|
49
53
|
Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
|
|
54
|
+
Cors = Shapes::StructureShape.new(name: 'Cors')
|
|
50
55
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
|
51
56
|
CreateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigRequest')
|
|
52
57
|
CreateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigResponse')
|
|
53
58
|
CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
|
|
54
59
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
|
60
|
+
CreateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigRequest')
|
|
61
|
+
CreateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigResponse')
|
|
55
62
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
|
56
63
|
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
|
57
64
|
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
|
@@ -62,6 +69,7 @@ module Aws::Lambda
|
|
|
62
69
|
DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
|
|
63
70
|
DeleteFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionEventInvokeConfigRequest')
|
|
64
71
|
DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
|
|
72
|
+
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
|
|
65
73
|
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
|
|
66
74
|
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
|
|
67
75
|
Description = Shapes::StringShape.new(name: 'Description')
|
|
@@ -104,6 +112,10 @@ module Aws::Lambda
|
|
|
104
112
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
|
105
113
|
FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
|
|
106
114
|
FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
|
|
115
|
+
FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
|
|
116
|
+
FunctionUrlConfig = Shapes::StructureShape.new(name: 'FunctionUrlConfig')
|
|
117
|
+
FunctionUrlConfigList = Shapes::ListShape.new(name: 'FunctionUrlConfigList')
|
|
118
|
+
FunctionUrlQualifier = Shapes::StringShape.new(name: 'FunctionUrlQualifier')
|
|
107
119
|
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
|
108
120
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
|
109
121
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
|
@@ -119,6 +131,8 @@ module Aws::Lambda
|
|
|
119
131
|
GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
|
|
120
132
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
|
121
133
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
|
134
|
+
GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
|
|
135
|
+
GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
|
|
122
136
|
GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
|
|
123
137
|
GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
|
|
124
138
|
GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
|
|
@@ -129,6 +143,8 @@ module Aws::Lambda
|
|
|
129
143
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
|
130
144
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
|
131
145
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
|
146
|
+
Header = Shapes::StringShape.new(name: 'Header')
|
|
147
|
+
HeadersList = Shapes::ListShape.new(name: 'HeadersList')
|
|
132
148
|
HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
|
|
133
149
|
ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
|
|
134
150
|
ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
|
|
@@ -178,6 +194,8 @@ module Aws::Lambda
|
|
|
178
194
|
ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
|
|
179
195
|
ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
|
|
180
196
|
ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
|
|
197
|
+
ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
|
|
198
|
+
ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
|
|
181
199
|
ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
|
|
182
200
|
ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
|
|
183
201
|
ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
|
|
@@ -196,7 +214,9 @@ module Aws::Lambda
|
|
|
196
214
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
|
197
215
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
198
216
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
|
217
|
+
MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
|
|
199
218
|
MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
|
|
219
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
|
200
220
|
MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
|
|
201
221
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
|
202
222
|
MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
|
|
@@ -206,6 +226,7 @@ module Aws::Lambda
|
|
|
206
226
|
MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
|
|
207
227
|
MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
|
|
208
228
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
|
229
|
+
Method = Shapes::StringShape.new(name: 'Method')
|
|
209
230
|
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
|
210
231
|
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
|
211
232
|
NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
|
|
@@ -213,6 +234,7 @@ module Aws::Lambda
|
|
|
213
234
|
OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
|
|
214
235
|
OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
|
|
215
236
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
|
237
|
+
Origin = Shapes::StringShape.new(name: 'Origin')
|
|
216
238
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
|
217
239
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
|
218
240
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
|
@@ -294,6 +316,8 @@ module Aws::Lambda
|
|
|
294
316
|
UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
|
|
295
317
|
UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
|
|
296
318
|
UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
|
|
319
|
+
UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
|
|
320
|
+
UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
|
|
297
321
|
Version = Shapes::StringShape.new(name: 'Version')
|
|
298
322
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
|
299
323
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
|
@@ -355,6 +379,10 @@ module Aws::Lambda
|
|
|
355
379
|
AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
|
|
356
380
|
AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
|
|
357
381
|
|
|
382
|
+
AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
|
|
383
|
+
|
|
384
|
+
AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
|
|
385
|
+
|
|
358
386
|
AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
|
|
359
387
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
|
360
388
|
|
|
@@ -392,6 +420,14 @@ module Aws::Lambda
|
|
|
392
420
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
|
393
421
|
Concurrency.struct_class = Types::Concurrency
|
|
394
422
|
|
|
423
|
+
Cors.add_member(:allow_credentials, Shapes::ShapeRef.new(shape: AllowCredentials, location_name: "AllowCredentials"))
|
|
424
|
+
Cors.add_member(:allow_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "AllowHeaders"))
|
|
425
|
+
Cors.add_member(:allow_methods, Shapes::ShapeRef.new(shape: AllowMethodsList, location_name: "AllowMethods"))
|
|
426
|
+
Cors.add_member(:allow_origins, Shapes::ShapeRef.new(shape: AllowOriginsList, location_name: "AllowOrigins"))
|
|
427
|
+
Cors.add_member(:expose_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "ExposeHeaders"))
|
|
428
|
+
Cors.add_member(:max_age, Shapes::ShapeRef.new(shape: MaxAge, location_name: "MaxAge"))
|
|
429
|
+
Cors.struct_class = Types::Cors
|
|
430
|
+
|
|
395
431
|
CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
396
432
|
CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
|
|
397
433
|
CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
|
|
@@ -450,6 +486,19 @@ module Aws::Lambda
|
|
|
450
486
|
CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
|
451
487
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
|
452
488
|
|
|
489
|
+
CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
490
|
+
CreateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
|
491
|
+
CreateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
|
492
|
+
CreateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
493
|
+
CreateFunctionUrlConfigRequest.struct_class = Types::CreateFunctionUrlConfigRequest
|
|
494
|
+
|
|
495
|
+
CreateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
|
496
|
+
CreateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
|
497
|
+
CreateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
|
498
|
+
CreateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
499
|
+
CreateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
|
500
|
+
CreateFunctionUrlConfigResponse.struct_class = Types::CreateFunctionUrlConfigResponse
|
|
501
|
+
|
|
453
502
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
|
454
503
|
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
|
455
504
|
|
|
@@ -479,6 +528,10 @@ module Aws::Lambda
|
|
|
479
528
|
DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
|
480
529
|
DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
|
|
481
530
|
|
|
531
|
+
DeleteFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
532
|
+
DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
|
533
|
+
DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
|
|
534
|
+
|
|
482
535
|
DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
|
483
536
|
DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
|
484
537
|
DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
|
|
@@ -637,6 +690,16 @@ module Aws::Lambda
|
|
|
637
690
|
|
|
638
691
|
FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
|
|
639
692
|
|
|
693
|
+
FunctionUrlConfig.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
|
694
|
+
FunctionUrlConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
|
695
|
+
FunctionUrlConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
|
696
|
+
FunctionUrlConfig.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
|
697
|
+
FunctionUrlConfig.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
698
|
+
FunctionUrlConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
|
699
|
+
FunctionUrlConfig.struct_class = Types::FunctionUrlConfig
|
|
700
|
+
|
|
701
|
+
FunctionUrlConfigList.member = Shapes::ShapeRef.new(shape: FunctionUrlConfig)
|
|
702
|
+
|
|
640
703
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
|
641
704
|
|
|
642
705
|
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
|
@@ -687,6 +750,18 @@ module Aws::Lambda
|
|
|
687
750
|
GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
|
|
688
751
|
GetFunctionResponse.struct_class = Types::GetFunctionResponse
|
|
689
752
|
|
|
753
|
+
GetFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
754
|
+
GetFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
|
755
|
+
GetFunctionUrlConfigRequest.struct_class = Types::GetFunctionUrlConfigRequest
|
|
756
|
+
|
|
757
|
+
GetFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
|
758
|
+
GetFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
|
759
|
+
GetFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
|
760
|
+
GetFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
761
|
+
GetFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
|
762
|
+
GetFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
|
763
|
+
GetFunctionUrlConfigResponse.struct_class = Types::GetFunctionUrlConfigResponse
|
|
764
|
+
|
|
690
765
|
GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
|
|
691
766
|
GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
|
|
692
767
|
|
|
@@ -733,6 +808,8 @@ module Aws::Lambda
|
|
|
733
808
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
|
734
809
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
|
735
810
|
|
|
811
|
+
HeadersList.member = Shapes::ShapeRef.new(shape: Header)
|
|
812
|
+
|
|
736
813
|
ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
|
|
737
814
|
ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
|
|
738
815
|
ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
|
|
@@ -896,6 +973,15 @@ module Aws::Lambda
|
|
|
896
973
|
ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
|
897
974
|
ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
|
|
898
975
|
|
|
976
|
+
ListFunctionUrlConfigsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
977
|
+
ListFunctionUrlConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
|
978
|
+
ListFunctionUrlConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
|
979
|
+
ListFunctionUrlConfigsRequest.struct_class = Types::ListFunctionUrlConfigsRequest
|
|
980
|
+
|
|
981
|
+
ListFunctionUrlConfigsResponse.add_member(:function_url_configs, Shapes::ShapeRef.new(shape: FunctionUrlConfigList, required: true, location_name: "FunctionUrlConfigs"))
|
|
982
|
+
ListFunctionUrlConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
|
983
|
+
ListFunctionUrlConfigsResponse.struct_class = Types::ListFunctionUrlConfigsResponse
|
|
984
|
+
|
|
899
985
|
ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
|
|
900
986
|
ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
|
901
987
|
ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
|
@@ -1205,6 +1291,20 @@ module Aws::Lambda
|
|
|
1205
1291
|
UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
|
1206
1292
|
UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
|
|
1207
1293
|
|
|
1294
|
+
UpdateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
1295
|
+
UpdateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
|
1296
|
+
UpdateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, location_name: "AuthorizationType"))
|
|
1297
|
+
UpdateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
1298
|
+
UpdateFunctionUrlConfigRequest.struct_class = Types::UpdateFunctionUrlConfigRequest
|
|
1299
|
+
|
|
1300
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
|
1301
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
|
1302
|
+
UpdateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
|
1303
|
+
UpdateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
|
1304
|
+
UpdateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
|
1305
|
+
UpdateFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
|
1306
|
+
UpdateFunctionUrlConfigResponse.struct_class = Types::UpdateFunctionUrlConfigResponse
|
|
1307
|
+
|
|
1208
1308
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
|
1209
1309
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
|
|
1210
1310
|
VpcConfig.struct_class = Types::VpcConfig
|
|
@@ -1313,6 +1413,19 @@ module Aws::Lambda
|
|
|
1313
1413
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
|
1314
1414
|
end)
|
|
1315
1415
|
|
|
1416
|
+
api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1417
|
+
o.name = "CreateFunctionUrlConfig"
|
|
1418
|
+
o.http_method = "POST"
|
|
1419
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
|
1420
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
|
|
1421
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
|
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1424
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1427
|
+
end)
|
|
1428
|
+
|
|
1316
1429
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
|
1317
1430
|
o.name = "DeleteAlias"
|
|
1318
1431
|
o.http_method = "DELETE"
|
|
@@ -1403,6 +1516,18 @@ module Aws::Lambda
|
|
|
1403
1516
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
1404
1517
|
end)
|
|
1405
1518
|
|
|
1519
|
+
api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1520
|
+
o.name = "DeleteFunctionUrlConfig"
|
|
1521
|
+
o.http_method = "DELETE"
|
|
1522
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
|
1523
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
|
|
1524
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1529
|
+
end)
|
|
1530
|
+
|
|
1406
1531
|
api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
|
1407
1532
|
o.name = "DeleteLayerVersion"
|
|
1408
1533
|
o.http_method = "DELETE"
|
|
@@ -1531,6 +1656,18 @@ module Aws::Lambda
|
|
|
1531
1656
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1532
1657
|
end)
|
|
1533
1658
|
|
|
1659
|
+
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1660
|
+
o.name = "GetFunctionUrlConfig"
|
|
1661
|
+
o.http_method = "GET"
|
|
1662
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
|
1663
|
+
o.input = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigRequest)
|
|
1664
|
+
o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
|
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1669
|
+
end)
|
|
1670
|
+
|
|
1534
1671
|
api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
|
1535
1672
|
o.name = "GetLayerVersion"
|
|
1536
1673
|
o.http_method = "GET"
|
|
@@ -1710,6 +1847,24 @@ module Aws::Lambda
|
|
|
1710
1847
|
)
|
|
1711
1848
|
end)
|
|
1712
1849
|
|
|
1850
|
+
api.add_operation(:list_function_url_configs, Seahorse::Model::Operation.new.tap do |o|
|
|
1851
|
+
o.name = "ListFunctionUrlConfigs"
|
|
1852
|
+
o.http_method = "GET"
|
|
1853
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/urls"
|
|
1854
|
+
o.input = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsRequest)
|
|
1855
|
+
o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
|
|
1856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1859
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1860
|
+
o[:pager] = Aws::Pager.new(
|
|
1861
|
+
limit_key: "max_items",
|
|
1862
|
+
tokens: {
|
|
1863
|
+
"next_marker" => "marker"
|
|
1864
|
+
}
|
|
1865
|
+
)
|
|
1866
|
+
end)
|
|
1867
|
+
|
|
1713
1868
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
|
1714
1869
|
o.name = "ListFunctions"
|
|
1715
1870
|
o.http_method = "GET"
|
|
@@ -2046,6 +2201,19 @@ module Aws::Lambda
|
|
|
2046
2201
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2047
2202
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
2048
2203
|
end)
|
|
2204
|
+
|
|
2205
|
+
api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
|
2206
|
+
o.name = "UpdateFunctionUrlConfig"
|
|
2207
|
+
o.http_method = "PUT"
|
|
2208
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
|
2209
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
|
|
2210
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
|
|
2211
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
2212
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
2214
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
2215
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2216
|
+
end)
|
|
2049
2217
|
end
|
|
2050
2218
|
|
|
2051
2219
|
end
|
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
|
#
|
|
@@ -719,8 +762,6 @@ module Aws::Lambda
|
|
|
719
762
|
# 10,000.
|
|
720
763
|
#
|
|
721
764
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
|
722
|
-
#
|
|
723
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
|
724
765
|
# @return [Integer]
|
|
725
766
|
#
|
|
726
767
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
|
@@ -1037,8 +1078,8 @@ module Aws::Lambda
|
|
|
1037
1078
|
#
|
|
1038
1079
|
# @!attribute [rw] architectures
|
|
1039
1080
|
# The instruction set architecture that the function supports. Enter a
|
|
1040
|
-
# string array with one of the valid values
|
|
1041
|
-
#
|
|
1081
|
+
# string array with one of the valid values. The default value is
|
|
1082
|
+
# `x86_64`.
|
|
1042
1083
|
# @return [Array<String>]
|
|
1043
1084
|
#
|
|
1044
1085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
|
@@ -1069,6 +1110,73 @@ module Aws::Lambda
|
|
|
1069
1110
|
include Aws::Structure
|
|
1070
1111
|
end
|
|
1071
1112
|
|
|
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
|
+
|
|
1072
1180
|
# The [dead-letter queue][1] for failed asynchronous invocations.
|
|
1073
1181
|
#
|
|
1074
1182
|
#
|
|
@@ -1316,6 +1424,29 @@ module Aws::Lambda
|
|
|
1316
1424
|
include Aws::Structure
|
|
1317
1425
|
end
|
|
1318
1426
|
|
|
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
|
+
|
|
1319
1450
|
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
|
1320
1451
|
# data as a hash:
|
|
1321
1452
|
#
|
|
@@ -2147,6 +2278,37 @@ module Aws::Lambda
|
|
|
2147
2278
|
include Aws::Structure
|
|
2148
2279
|
end
|
|
2149
2280
|
|
|
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
|
+
|
|
2150
2312
|
# @api private
|
|
2151
2313
|
#
|
|
2152
2314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
|
|
@@ -2517,6 +2679,60 @@ module Aws::Lambda
|
|
|
2517
2679
|
include Aws::Structure
|
|
2518
2680
|
end
|
|
2519
2681
|
|
|
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
|
+
|
|
2520
2736
|
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
|
2521
2737
|
# data as a hash:
|
|
2522
2738
|
#
|
|
@@ -3062,10 +3278,6 @@ module Aws::Lambda
|
|
|
3062
3278
|
#
|
|
3063
3279
|
# @!attribute [rw] payload
|
|
3064
3280
|
# The JSON that you want to provide to your Lambda function as input.
|
|
3065
|
-
#
|
|
3066
|
-
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
|
3067
|
-
# "value" \}'`. You can also specify a file path. For example,
|
|
3068
|
-
# `--payload file://payload.json`.
|
|
3069
3281
|
# @return [String]
|
|
3070
3282
|
#
|
|
3071
3283
|
# @!attribute [rw] qualifier
|
|
@@ -3705,6 +3917,49 @@ module Aws::Lambda
|
|
|
3705
3917
|
include Aws::Structure
|
|
3706
3918
|
end
|
|
3707
3919
|
|
|
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
|
+
|
|
3708
3963
|
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
|
3709
3964
|
# data as a hash:
|
|
3710
3965
|
#
|
|
@@ -4984,19 +5239,7 @@ module Aws::Lambda
|
|
|
4984
5239
|
#
|
|
4985
5240
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
|
4986
5241
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
|
4987
|
-
# source.
|
|
4988
|
-
# UpdateEventSourceMapping API call.
|
|
4989
|
-
#
|
|
4990
|
-
# * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache
|
|
4991
|
-
# Kafka) The Secrets Manager ARN of your secret key containing the
|
|
4992
|
-
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
|
4993
|
-
# private key password (optional) used for mutual TLS authentication
|
|
4994
|
-
# of your MSK/Apache Kafka brokers.
|
|
4995
|
-
#
|
|
4996
|
-
# * `SERVER_ROOT_CA_CERTIFICATE` - (Self-managed Apache Kafka) The
|
|
4997
|
-
# Secrets Manager ARN of your secret key containing the root CA
|
|
4998
|
-
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
|
4999
|
-
# Kafka brokers.
|
|
5242
|
+
# source.
|
|
5000
5243
|
# @return [String]
|
|
5001
5244
|
#
|
|
5002
5245
|
# @!attribute [rw] uri
|
|
@@ -5370,8 +5613,6 @@ module Aws::Lambda
|
|
|
5370
5613
|
# 10,000.
|
|
5371
5614
|
#
|
|
5372
5615
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
|
5373
|
-
#
|
|
5374
|
-
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
|
5375
5616
|
# @return [Integer]
|
|
5376
5617
|
#
|
|
5377
5618
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
|
@@ -5522,8 +5763,8 @@ module Aws::Lambda
|
|
|
5522
5763
|
#
|
|
5523
5764
|
# @!attribute [rw] architectures
|
|
5524
5765
|
# The instruction set architecture that the function supports. Enter a
|
|
5525
|
-
# string array with one of the valid values
|
|
5526
|
-
#
|
|
5766
|
+
# string array with one of the valid values. The default value is
|
|
5767
|
+
# `x86_64`.
|
|
5527
5768
|
# @return [Array<String>]
|
|
5528
5769
|
#
|
|
5529
5770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
|
@@ -5820,6 +6061,77 @@ module Aws::Lambda
|
|
|
5820
6061
|
include Aws::Structure
|
|
5821
6062
|
end
|
|
5822
6063
|
|
|
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
|
+
|
|
5823
6135
|
# The VPC security groups and subnets that are attached to a Lambda
|
|
5824
6136
|
# function. For more information, see [VPC Settings][1].
|
|
5825
6137
|
#
|
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.73.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-
|
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|