2021/11/19 - AWS Lambda - 5 new api methods
Changes Add support for Lambda Function URLs. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
See also: AWS API Documentation
Request Syntax
client.get_function_url_config( FunctionName='string', Qualifier='string' )
string
[REQUIRED]
string
dict
Response Syntax
{ 'FunctionUrl': 'string', 'FunctionArn': 'string', 'AuthorizationType': 'NONE'|'AWS_IAM', 'Cors': { 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 }, 'CreationTime': 'string', 'LastModifiedTime': 'string' }
Response Structure
(dict) --
FunctionUrl (string) --
FunctionArn (string) --
AuthorizationType (string) --
Cors (dict) --
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
CreationTime (string) --
LastModifiedTime (string) --
See also: AWS API Documentation
Request Syntax
client.create_function_url_config( FunctionName='string', Qualifier='string', AuthorizationType='NONE'|'AWS_IAM', Cors={ 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 } )
string
[REQUIRED]
string
string
[REQUIRED]
dict
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
dict
Response Syntax
{ 'FunctionUrl': 'string', 'FunctionArn': 'string', 'AuthorizationType': 'NONE'|'AWS_IAM', 'Cors': { 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 }, 'CreationTime': 'string' }
Response Structure
(dict) --
FunctionUrl (string) --
FunctionArn (string) --
AuthorizationType (string) --
Cors (dict) --
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
CreationTime (string) --
See also: AWS API Documentation
Request Syntax
client.delete_function_url_config( FunctionName='string', Qualifier='string' )
string
[REQUIRED]
string
None
See also: AWS API Documentation
Request Syntax
client.list_function_url_configs( FunctionName='string', Marker='string', MaxItems=123 )
string
[REQUIRED]
string
integer
dict
Response Syntax
{ 'FunctionUrlConfigs': [ { 'FunctionUrl': 'string', 'FunctionArn': 'string', 'CreationTime': 'string', 'LastModifiedTime': 'string', 'Cors': { 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 }, 'AuthorizationType': 'NONE'|'AWS_IAM' }, ], 'NextMarker': 'string' }
Response Structure
(dict) --
FunctionUrlConfigs (list) --
(dict) --
FunctionUrl (string) --
FunctionArn (string) --
CreationTime (string) --
LastModifiedTime (string) --
Cors (dict) --
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
AuthorizationType (string) --
NextMarker (string) --
See also: AWS API Documentation
Request Syntax
client.update_function_url_config( FunctionName='string', Qualifier='string', AuthorizationType='NONE'|'AWS_IAM', Cors={ 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 } )
string
[REQUIRED]
string
string
dict
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
dict
Response Syntax
{ 'FunctionUrl': 'string', 'FunctionArn': 'string', 'AuthorizationType': 'NONE'|'AWS_IAM', 'Cors': { 'AllowCredentials': True|False, 'AllowHeaders': [ 'string', ], 'AllowMethods': [ 'string', ], 'AllowOrigins': [ 'string', ], 'ExposeHeaders': [ 'string', ], 'MaxAge': 123 }, 'CreationTime': 'string', 'LastModifiedTime': 'string' }
Response Structure
(dict) --
FunctionUrl (string) --
FunctionArn (string) --
AuthorizationType (string) --
Cors (dict) --
AllowCredentials (boolean) --
AllowHeaders (list) --
(string) --
AllowMethods (list) --
(string) --
AllowOrigins (list) --
(string) --
ExposeHeaders (list) --
(string) --
MaxAge (integer) --
CreationTime (string) --
LastModifiedTime (string) --