aws-sdk-lambda 1.82.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +368 -1
- data/lib/aws-sdk-lambda/client_api.rb +169 -0
- data/lib/aws-sdk-lambda/types.rb +593 -1
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -165,6 +165,7 @@ module Aws::Lambda
|
|
165
165
|
# qualifier: "Qualifier",
|
166
166
|
# revision_id: "String",
|
167
167
|
# principal_org_id: "PrincipalOrgID",
|
168
|
+
# function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
|
168
169
|
# }
|
169
170
|
#
|
170
171
|
# @!attribute [rw] function_name
|
@@ -240,6 +241,18 @@ module Aws::Lambda
|
|
240
241
|
# organization.
|
241
242
|
# @return [String]
|
242
243
|
#
|
244
|
+
# @!attribute [rw] function_url_auth_type
|
245
|
+
# The type of authentication that your function URL uses. Set to
|
246
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
247
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
248
|
+
# to create a public endpoint. For more information, see [ Security
|
249
|
+
# and auth model for Lambda function URLs][1].
|
250
|
+
#
|
251
|
+
#
|
252
|
+
#
|
253
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
254
|
+
# @return [String]
|
255
|
+
#
|
243
256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
|
244
257
|
#
|
245
258
|
class AddPermissionRequest < Struct.new(
|
@@ -252,7 +265,8 @@ module Aws::Lambda
|
|
252
265
|
:event_source_token,
|
253
266
|
:qualifier,
|
254
267
|
:revision_id,
|
255
|
-
:principal_org_id
|
268
|
+
:principal_org_id,
|
269
|
+
:function_url_auth_type)
|
256
270
|
SENSITIVE = []
|
257
271
|
include Aws::Structure
|
258
272
|
end
|
@@ -519,6 +533,77 @@ module Aws::Lambda
|
|
519
533
|
include Aws::Structure
|
520
534
|
end
|
521
535
|
|
536
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your Lambda
|
537
|
+
# function URL. Use CORS to grant access to your function URL from any
|
538
|
+
# origin. You can also use CORS to control access for specific HTTP
|
539
|
+
# headers and methods in requests to your function URL.
|
540
|
+
#
|
541
|
+
#
|
542
|
+
#
|
543
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
544
|
+
#
|
545
|
+
# @note When making an API call, you may pass Cors
|
546
|
+
# data as a hash:
|
547
|
+
#
|
548
|
+
# {
|
549
|
+
# allow_credentials: false,
|
550
|
+
# allow_headers: ["Header"],
|
551
|
+
# allow_methods: ["Method"],
|
552
|
+
# allow_origins: ["Origin"],
|
553
|
+
# expose_headers: ["Header"],
|
554
|
+
# max_age: 1,
|
555
|
+
# }
|
556
|
+
#
|
557
|
+
# @!attribute [rw] allow_credentials
|
558
|
+
# Whether to allow cookies or other credentials in requests to your
|
559
|
+
# function URL. The default is `false`.
|
560
|
+
# @return [Boolean]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] allow_headers
|
563
|
+
# The HTTP headers that origins can include in requests to your
|
564
|
+
# function URL. For example: `Date`, `Keep-Alive`, `X-Custom-Header`.
|
565
|
+
# @return [Array<String>]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] allow_methods
|
568
|
+
# The HTTP methods that are allowed when calling your function URL.
|
569
|
+
# For example: `GET`, `POST`, `DELETE`, or the wildcard character
|
570
|
+
# (`*`).
|
571
|
+
# @return [Array<String>]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] allow_origins
|
574
|
+
# The origins that can access your function URL. You can list any
|
575
|
+
# number of specific origins, separated by a comma. For example:
|
576
|
+
# `https://www.example.com`, `http://localhost:60905`.
|
577
|
+
#
|
578
|
+
# Alternatively, you can grant access to all origins using the
|
579
|
+
# wildcard character (`*`).
|
580
|
+
# @return [Array<String>]
|
581
|
+
#
|
582
|
+
# @!attribute [rw] expose_headers
|
583
|
+
# The HTTP headers in your function response that you want to expose
|
584
|
+
# to origins that call your function URL. For example: `Date`,
|
585
|
+
# `Keep-Alive`, `X-Custom-Header`.
|
586
|
+
# @return [Array<String>]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] max_age
|
589
|
+
# The maximum amount of time, in seconds, that web browsers can cache
|
590
|
+
# results of a preflight request. By default, this is set to `0`,
|
591
|
+
# which means that the browser doesn't cache results.
|
592
|
+
# @return [Integer]
|
593
|
+
#
|
594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Cors AWS API Documentation
|
595
|
+
#
|
596
|
+
class Cors < Struct.new(
|
597
|
+
:allow_credentials,
|
598
|
+
:allow_headers,
|
599
|
+
:allow_methods,
|
600
|
+
:allow_origins,
|
601
|
+
:expose_headers,
|
602
|
+
:max_age)
|
603
|
+
SENSITIVE = []
|
604
|
+
include Aws::Structure
|
605
|
+
end
|
606
|
+
|
522
607
|
# @note When making an API call, you may pass CreateAliasRequest
|
523
608
|
# data as a hash:
|
524
609
|
#
|
@@ -1106,6 +1191,125 @@ module Aws::Lambda
|
|
1106
1191
|
include Aws::Structure
|
1107
1192
|
end
|
1108
1193
|
|
1194
|
+
# @note When making an API call, you may pass CreateFunctionUrlConfigRequest
|
1195
|
+
# data as a hash:
|
1196
|
+
#
|
1197
|
+
# {
|
1198
|
+
# function_name: "FunctionName", # required
|
1199
|
+
# qualifier: "FunctionUrlQualifier",
|
1200
|
+
# auth_type: "NONE", # required, accepts NONE, AWS_IAM
|
1201
|
+
# cors: {
|
1202
|
+
# allow_credentials: false,
|
1203
|
+
# allow_headers: ["Header"],
|
1204
|
+
# allow_methods: ["Method"],
|
1205
|
+
# allow_origins: ["Origin"],
|
1206
|
+
# expose_headers: ["Header"],
|
1207
|
+
# max_age: 1,
|
1208
|
+
# },
|
1209
|
+
# }
|
1210
|
+
#
|
1211
|
+
# @!attribute [rw] function_name
|
1212
|
+
# The name of the Lambda function.
|
1213
|
+
#
|
1214
|
+
# **Name formats**
|
1215
|
+
#
|
1216
|
+
# * **Function name** - `my-function`.
|
1217
|
+
#
|
1218
|
+
# * **Function ARN** -
|
1219
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1220
|
+
#
|
1221
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1222
|
+
#
|
1223
|
+
# The length constraint applies only to the full ARN. If you specify
|
1224
|
+
# only the function name, it is limited to 64 characters in length.
|
1225
|
+
# @return [String]
|
1226
|
+
#
|
1227
|
+
# @!attribute [rw] qualifier
|
1228
|
+
# The alias name.
|
1229
|
+
# @return [String]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] auth_type
|
1232
|
+
# The type of authentication that your function URL uses. Set to
|
1233
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
1234
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
1235
|
+
# to create a public endpoint. For more information, see [ Security
|
1236
|
+
# and auth model for Lambda function URLs][1].
|
1237
|
+
#
|
1238
|
+
#
|
1239
|
+
#
|
1240
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
1241
|
+
# @return [String]
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] cors
|
1244
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
1245
|
+
# function URL.
|
1246
|
+
#
|
1247
|
+
#
|
1248
|
+
#
|
1249
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
1250
|
+
# @return [Types::Cors]
|
1251
|
+
#
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
|
1253
|
+
#
|
1254
|
+
class CreateFunctionUrlConfigRequest < Struct.new(
|
1255
|
+
:function_name,
|
1256
|
+
:qualifier,
|
1257
|
+
:auth_type,
|
1258
|
+
:cors)
|
1259
|
+
SENSITIVE = []
|
1260
|
+
include Aws::Structure
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# @!attribute [rw] function_url
|
1264
|
+
# The HTTP URL endpoint for your function.
|
1265
|
+
# @return [String]
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] function_arn
|
1268
|
+
# The Amazon Resource Name (ARN) of your function.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @!attribute [rw] auth_type
|
1272
|
+
# The type of authentication that your function URL uses. Set to
|
1273
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
1274
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
1275
|
+
# to create a public endpoint. For more information, see [ Security
|
1276
|
+
# and auth model for Lambda function URLs][1].
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
#
|
1280
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
1281
|
+
# @return [String]
|
1282
|
+
#
|
1283
|
+
# @!attribute [rw] cors
|
1284
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
1285
|
+
# function URL.
|
1286
|
+
#
|
1287
|
+
#
|
1288
|
+
#
|
1289
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
1290
|
+
# @return [Types::Cors]
|
1291
|
+
#
|
1292
|
+
# @!attribute [rw] creation_time
|
1293
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
1294
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
1295
|
+
#
|
1296
|
+
#
|
1297
|
+
#
|
1298
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
1299
|
+
# @return [Time]
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
|
1302
|
+
#
|
1303
|
+
class CreateFunctionUrlConfigResponse < Struct.new(
|
1304
|
+
:function_url,
|
1305
|
+
:function_arn,
|
1306
|
+
:auth_type,
|
1307
|
+
:cors,
|
1308
|
+
:creation_time)
|
1309
|
+
SENSITIVE = []
|
1310
|
+
include Aws::Structure
|
1311
|
+
end
|
1312
|
+
|
1109
1313
|
# The [dead-letter queue][1] for failed asynchronous invocations.
|
1110
1314
|
#
|
1111
1315
|
#
|
@@ -1353,6 +1557,43 @@ module Aws::Lambda
|
|
1353
1557
|
include Aws::Structure
|
1354
1558
|
end
|
1355
1559
|
|
1560
|
+
# @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
|
1561
|
+
# data as a hash:
|
1562
|
+
#
|
1563
|
+
# {
|
1564
|
+
# function_name: "FunctionName", # required
|
1565
|
+
# qualifier: "FunctionUrlQualifier",
|
1566
|
+
# }
|
1567
|
+
#
|
1568
|
+
# @!attribute [rw] function_name
|
1569
|
+
# The name of the Lambda function.
|
1570
|
+
#
|
1571
|
+
# **Name formats**
|
1572
|
+
#
|
1573
|
+
# * **Function name** - `my-function`.
|
1574
|
+
#
|
1575
|
+
# * **Function ARN** -
|
1576
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1577
|
+
#
|
1578
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
1579
|
+
#
|
1580
|
+
# The length constraint applies only to the full ARN. If you specify
|
1581
|
+
# only the function name, it is limited to 64 characters in length.
|
1582
|
+
# @return [String]
|
1583
|
+
#
|
1584
|
+
# @!attribute [rw] qualifier
|
1585
|
+
# The alias name.
|
1586
|
+
# @return [String]
|
1587
|
+
#
|
1588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfigRequest AWS API Documentation
|
1589
|
+
#
|
1590
|
+
class DeleteFunctionUrlConfigRequest < Struct.new(
|
1591
|
+
:function_name,
|
1592
|
+
:qualifier)
|
1593
|
+
SENSITIVE = []
|
1594
|
+
include Aws::Structure
|
1595
|
+
end
|
1596
|
+
|
1356
1597
|
# @note When making an API call, you may pass DeleteLayerVersionRequest
|
1357
1598
|
# data as a hash:
|
1358
1599
|
#
|
@@ -2275,6 +2516,68 @@ module Aws::Lambda
|
|
2275
2516
|
include Aws::Structure
|
2276
2517
|
end
|
2277
2518
|
|
2519
|
+
# Details about a Lambda function URL.
|
2520
|
+
#
|
2521
|
+
# @!attribute [rw] function_url
|
2522
|
+
# The HTTP URL endpoint for your function.
|
2523
|
+
# @return [String]
|
2524
|
+
#
|
2525
|
+
# @!attribute [rw] function_arn
|
2526
|
+
# The Amazon Resource Name (ARN) of your function.
|
2527
|
+
# @return [String]
|
2528
|
+
#
|
2529
|
+
# @!attribute [rw] creation_time
|
2530
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
2531
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
2532
|
+
#
|
2533
|
+
#
|
2534
|
+
#
|
2535
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2536
|
+
# @return [Time]
|
2537
|
+
#
|
2538
|
+
# @!attribute [rw] last_modified_time
|
2539
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
2540
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
2541
|
+
#
|
2542
|
+
#
|
2543
|
+
#
|
2544
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
2545
|
+
# @return [Time]
|
2546
|
+
#
|
2547
|
+
# @!attribute [rw] cors
|
2548
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
2549
|
+
# function URL.
|
2550
|
+
#
|
2551
|
+
#
|
2552
|
+
#
|
2553
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
2554
|
+
# @return [Types::Cors]
|
2555
|
+
#
|
2556
|
+
# @!attribute [rw] auth_type
|
2557
|
+
# The type of authentication that your function URL uses. Set to
|
2558
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
2559
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
2560
|
+
# to create a public endpoint. For more information, see [ Security
|
2561
|
+
# and auth model for Lambda function URLs][1].
|
2562
|
+
#
|
2563
|
+
#
|
2564
|
+
#
|
2565
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
2566
|
+
# @return [String]
|
2567
|
+
#
|
2568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
|
2569
|
+
#
|
2570
|
+
class FunctionUrlConfig < Struct.new(
|
2571
|
+
:function_url,
|
2572
|
+
:function_arn,
|
2573
|
+
:creation_time,
|
2574
|
+
:last_modified_time,
|
2575
|
+
:cors,
|
2576
|
+
:auth_type)
|
2577
|
+
SENSITIVE = []
|
2578
|
+
include Aws::Structure
|
2579
|
+
end
|
2580
|
+
|
2278
2581
|
# @api private
|
2279
2582
|
#
|
2280
2583
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
|
@@ -2645,6 +2948,103 @@ module Aws::Lambda
|
|
2645
2948
|
include Aws::Structure
|
2646
2949
|
end
|
2647
2950
|
|
2951
|
+
# @note When making an API call, you may pass GetFunctionUrlConfigRequest
|
2952
|
+
# data as a hash:
|
2953
|
+
#
|
2954
|
+
# {
|
2955
|
+
# function_name: "FunctionName", # required
|
2956
|
+
# qualifier: "FunctionUrlQualifier",
|
2957
|
+
# }
|
2958
|
+
#
|
2959
|
+
# @!attribute [rw] function_name
|
2960
|
+
# The name of the Lambda function.
|
2961
|
+
#
|
2962
|
+
# **Name formats**
|
2963
|
+
#
|
2964
|
+
# * **Function name** - `my-function`.
|
2965
|
+
#
|
2966
|
+
# * **Function ARN** -
|
2967
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2968
|
+
#
|
2969
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
2970
|
+
#
|
2971
|
+
# The length constraint applies only to the full ARN. If you specify
|
2972
|
+
# only the function name, it is limited to 64 characters in length.
|
2973
|
+
# @return [String]
|
2974
|
+
#
|
2975
|
+
# @!attribute [rw] qualifier
|
2976
|
+
# The alias name.
|
2977
|
+
# @return [String]
|
2978
|
+
#
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigRequest AWS API Documentation
|
2980
|
+
#
|
2981
|
+
class GetFunctionUrlConfigRequest < Struct.new(
|
2982
|
+
:function_name,
|
2983
|
+
:qualifier)
|
2984
|
+
SENSITIVE = []
|
2985
|
+
include Aws::Structure
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# @!attribute [rw] function_url
|
2989
|
+
# The HTTP URL endpoint for your function.
|
2990
|
+
# @return [String]
|
2991
|
+
#
|
2992
|
+
# @!attribute [rw] function_arn
|
2993
|
+
# The Amazon Resource Name (ARN) of your function.
|
2994
|
+
# @return [String]
|
2995
|
+
#
|
2996
|
+
# @!attribute [rw] auth_type
|
2997
|
+
# The type of authentication that your function URL uses. Set to
|
2998
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
2999
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
3000
|
+
# to create a public endpoint. For more information, see [ Security
|
3001
|
+
# and auth model for Lambda function URLs][1].
|
3002
|
+
#
|
3003
|
+
#
|
3004
|
+
#
|
3005
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
3006
|
+
# @return [String]
|
3007
|
+
#
|
3008
|
+
# @!attribute [rw] cors
|
3009
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
3010
|
+
# function URL.
|
3011
|
+
#
|
3012
|
+
#
|
3013
|
+
#
|
3014
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
3015
|
+
# @return [Types::Cors]
|
3016
|
+
#
|
3017
|
+
# @!attribute [rw] creation_time
|
3018
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
3019
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
3020
|
+
#
|
3021
|
+
#
|
3022
|
+
#
|
3023
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
3024
|
+
# @return [Time]
|
3025
|
+
#
|
3026
|
+
# @!attribute [rw] last_modified_time
|
3027
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
3028
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
3029
|
+
#
|
3030
|
+
#
|
3031
|
+
#
|
3032
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
3033
|
+
# @return [Time]
|
3034
|
+
#
|
3035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
|
3036
|
+
#
|
3037
|
+
class GetFunctionUrlConfigResponse < Struct.new(
|
3038
|
+
:function_url,
|
3039
|
+
:function_arn,
|
3040
|
+
:auth_type,
|
3041
|
+
:cors,
|
3042
|
+
:creation_time,
|
3043
|
+
:last_modified_time)
|
3044
|
+
SENSITIVE = []
|
3045
|
+
include Aws::Structure
|
3046
|
+
end
|
3047
|
+
|
2648
3048
|
# @note When making an API call, you may pass GetLayerVersionByArnRequest
|
2649
3049
|
# data as a hash:
|
2650
3050
|
#
|
@@ -3833,6 +4233,69 @@ module Aws::Lambda
|
|
3833
4233
|
include Aws::Structure
|
3834
4234
|
end
|
3835
4235
|
|
4236
|
+
# @note When making an API call, you may pass ListFunctionUrlConfigsRequest
|
4237
|
+
# data as a hash:
|
4238
|
+
#
|
4239
|
+
# {
|
4240
|
+
# function_name: "FunctionName", # required
|
4241
|
+
# marker: "String",
|
4242
|
+
# max_items: 1,
|
4243
|
+
# }
|
4244
|
+
#
|
4245
|
+
# @!attribute [rw] function_name
|
4246
|
+
# The name of the Lambda function.
|
4247
|
+
#
|
4248
|
+
# **Name formats**
|
4249
|
+
#
|
4250
|
+
# * **Function name** - `my-function`.
|
4251
|
+
#
|
4252
|
+
# * **Function ARN** -
|
4253
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4254
|
+
#
|
4255
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
4256
|
+
#
|
4257
|
+
# The length constraint applies only to the full ARN. If you specify
|
4258
|
+
# only the function name, it is limited to 64 characters in length.
|
4259
|
+
# @return [String]
|
4260
|
+
#
|
4261
|
+
# @!attribute [rw] marker
|
4262
|
+
# Specify the pagination token that's returned by a previous request
|
4263
|
+
# to retrieve the next page of results.
|
4264
|
+
# @return [String]
|
4265
|
+
#
|
4266
|
+
# @!attribute [rw] max_items
|
4267
|
+
# The maximum number of function URLs to return in the response. Note
|
4268
|
+
# that `ListFunctionUrlConfigs` returns a maximum of 50 items in each
|
4269
|
+
# response, even if you set the number higher.
|
4270
|
+
# @return [Integer]
|
4271
|
+
#
|
4272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsRequest AWS API Documentation
|
4273
|
+
#
|
4274
|
+
class ListFunctionUrlConfigsRequest < Struct.new(
|
4275
|
+
:function_name,
|
4276
|
+
:marker,
|
4277
|
+
:max_items)
|
4278
|
+
SENSITIVE = []
|
4279
|
+
include Aws::Structure
|
4280
|
+
end
|
4281
|
+
|
4282
|
+
# @!attribute [rw] function_url_configs
|
4283
|
+
# A list of function URL configurations.
|
4284
|
+
# @return [Array<Types::FunctionUrlConfig>]
|
4285
|
+
#
|
4286
|
+
# @!attribute [rw] next_marker
|
4287
|
+
# The pagination token that's included if more results are available.
|
4288
|
+
# @return [String]
|
4289
|
+
#
|
4290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsResponse AWS API Documentation
|
4291
|
+
#
|
4292
|
+
class ListFunctionUrlConfigsResponse < Struct.new(
|
4293
|
+
:function_url_configs,
|
4294
|
+
:next_marker)
|
4295
|
+
SENSITIVE = []
|
4296
|
+
include Aws::Structure
|
4297
|
+
end
|
4298
|
+
|
3836
4299
|
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
3837
4300
|
# data as a hash:
|
3838
4301
|
#
|
@@ -5981,6 +6444,135 @@ module Aws::Lambda
|
|
5981
6444
|
include Aws::Structure
|
5982
6445
|
end
|
5983
6446
|
|
6447
|
+
# @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
|
6448
|
+
# data as a hash:
|
6449
|
+
#
|
6450
|
+
# {
|
6451
|
+
# function_name: "FunctionName", # required
|
6452
|
+
# qualifier: "FunctionUrlQualifier",
|
6453
|
+
# auth_type: "NONE", # accepts NONE, AWS_IAM
|
6454
|
+
# cors: {
|
6455
|
+
# allow_credentials: false,
|
6456
|
+
# allow_headers: ["Header"],
|
6457
|
+
# allow_methods: ["Method"],
|
6458
|
+
# allow_origins: ["Origin"],
|
6459
|
+
# expose_headers: ["Header"],
|
6460
|
+
# max_age: 1,
|
6461
|
+
# },
|
6462
|
+
# }
|
6463
|
+
#
|
6464
|
+
# @!attribute [rw] function_name
|
6465
|
+
# The name of the Lambda function.
|
6466
|
+
#
|
6467
|
+
# **Name formats**
|
6468
|
+
#
|
6469
|
+
# * **Function name** - `my-function`.
|
6470
|
+
#
|
6471
|
+
# * **Function ARN** -
|
6472
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
6473
|
+
#
|
6474
|
+
# * **Partial ARN** - `123456789012:function:my-function`.
|
6475
|
+
#
|
6476
|
+
# The length constraint applies only to the full ARN. If you specify
|
6477
|
+
# only the function name, it is limited to 64 characters in length.
|
6478
|
+
# @return [String]
|
6479
|
+
#
|
6480
|
+
# @!attribute [rw] qualifier
|
6481
|
+
# The alias name.
|
6482
|
+
# @return [String]
|
6483
|
+
#
|
6484
|
+
# @!attribute [rw] auth_type
|
6485
|
+
# The type of authentication that your function URL uses. Set to
|
6486
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
6487
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
6488
|
+
# to create a public endpoint. For more information, see [ Security
|
6489
|
+
# and auth model for Lambda function URLs][1].
|
6490
|
+
#
|
6491
|
+
#
|
6492
|
+
#
|
6493
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
6494
|
+
# @return [String]
|
6495
|
+
#
|
6496
|
+
# @!attribute [rw] cors
|
6497
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
6498
|
+
# function URL.
|
6499
|
+
#
|
6500
|
+
#
|
6501
|
+
#
|
6502
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
6503
|
+
# @return [Types::Cors]
|
6504
|
+
#
|
6505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
|
6506
|
+
#
|
6507
|
+
class UpdateFunctionUrlConfigRequest < Struct.new(
|
6508
|
+
:function_name,
|
6509
|
+
:qualifier,
|
6510
|
+
:auth_type,
|
6511
|
+
:cors)
|
6512
|
+
SENSITIVE = []
|
6513
|
+
include Aws::Structure
|
6514
|
+
end
|
6515
|
+
|
6516
|
+
# @!attribute [rw] function_url
|
6517
|
+
# The HTTP URL endpoint for your function.
|
6518
|
+
# @return [String]
|
6519
|
+
#
|
6520
|
+
# @!attribute [rw] function_arn
|
6521
|
+
# The Amazon Resource Name (ARN) of your function.
|
6522
|
+
# @return [String]
|
6523
|
+
#
|
6524
|
+
# @!attribute [rw] auth_type
|
6525
|
+
# The type of authentication that your function URL uses. Set to
|
6526
|
+
# `AWS_IAM` if you want to restrict access to authenticated `IAM`
|
6527
|
+
# users only. Set to `NONE` if you want to bypass IAM authentication
|
6528
|
+
# to create a public endpoint. For more information, see [ Security
|
6529
|
+
# and auth model for Lambda function URLs][1].
|
6530
|
+
#
|
6531
|
+
#
|
6532
|
+
#
|
6533
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
|
6534
|
+
# @return [String]
|
6535
|
+
#
|
6536
|
+
# @!attribute [rw] cors
|
6537
|
+
# The [cross-origin resource sharing (CORS)][1] settings for your
|
6538
|
+
# function URL.
|
6539
|
+
#
|
6540
|
+
#
|
6541
|
+
#
|
6542
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
6543
|
+
# @return [Types::Cors]
|
6544
|
+
#
|
6545
|
+
# @!attribute [rw] creation_time
|
6546
|
+
# When the function URL was created, in [ISO-8601 format][1]
|
6547
|
+
# (YYYY-MM-DDThh:mm:ss.sTZD).
|
6548
|
+
#
|
6549
|
+
#
|
6550
|
+
#
|
6551
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
6552
|
+
# @return [Time]
|
6553
|
+
#
|
6554
|
+
# @!attribute [rw] last_modified_time
|
6555
|
+
# When the function URL configuration was last updated, in [ISO-8601
|
6556
|
+
# format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
|
6557
|
+
#
|
6558
|
+
#
|
6559
|
+
#
|
6560
|
+
# [1]: https://www.w3.org/TR/NOTE-datetime
|
6561
|
+
# @return [Time]
|
6562
|
+
#
|
6563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
|
6564
|
+
#
|
6565
|
+
class UpdateFunctionUrlConfigResponse < Struct.new(
|
6566
|
+
:function_url,
|
6567
|
+
:function_arn,
|
6568
|
+
:auth_type,
|
6569
|
+
:cors,
|
6570
|
+
:creation_time,
|
6571
|
+
:last_modified_time)
|
6572
|
+
SENSITIVE = []
|
6573
|
+
include Aws::Structure
|
6574
|
+
end
|
6575
|
+
|
5984
6576
|
# The VPC security groups and subnets that are attached to a Lambda
|
5985
6577
|
# function. For more information, see [VPC Settings][1].
|
5986
6578
|
#
|
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.83.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: 2022-
|
11
|
+
date: 2022-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|