curl --location -g --request PUT 'http://lambda.{region}.amazonaws.com/2015-03-31/functions//aliases/' \
--header 'Content-Type: application/json' \
--data-raw '{
"FunctionVersion": "string",
"Description": "string",
"RoutingConfig": {
"AdditionalVersionWeights": {
"property1": 0,
"property2": 0
}
},
"RevisionId": "string"
}'
{
"AliasArn": "string",
"Name": "string",
"FunctionVersion": "string",
"Description": "string",
"RoutingConfig": {
"AdditionalVersionWeights": {
"property1": 0,
"property2": 0
}
},
"RevisionId": "string"
}