diff --git a/.github/model/lambda.json b/.github/model/lambda.json index d50c545..a83f5cd 100644 --- a/.github/model/lambda.json +++ b/.github/model/lambda.json @@ -779,20 +779,21 @@ ], "documentation":"
Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.
Response to GetFunctionConfiguration request.
" }, - "Integer":{"type":"integer"}, "InvalidCodeSignatureException":{ "type":"structure", "members":{ @@ -4194,40 +4194,36 @@ } } }, - "ListDurableExecutionsRequest":{ + "ListDurableExecutionsByFunctionRequest":{ "type":"structure", + "required":["FunctionName"], "members":{ "FunctionName":{ "shape":"FunctionName", - "location":"querystring", + "location":"uri", "locationName":"FunctionName" }, - "FunctionVersion":{ - "shape":"Version", + "Qualifier":{ + "shape":"Qualifier", "location":"querystring", - "locationName":"FunctionVersion" + "locationName":"Qualifier" }, "DurableExecutionName":{ "shape":"DurableExecutionName", "location":"querystring", "locationName":"DurableExecutionName" }, - "StatusFilter":{ - "shape":"ExecutionStatus", + "Statuses":{ + "shape":"ExecutionStatusList", "location":"querystring", "locationName":"StatusFilter" }, - "TimeFilter":{ - "shape":"TimeFilter", - "location":"querystring", - "locationName":"TimeFilter" - }, - "TimeAfter":{ + "StartedAfter":{ "shape":"ExecutionTimestamp", "location":"querystring", "locationName":"TimeAfter" }, - "TimeBefore":{ + "StartedBefore":{ "shape":"ExecutionTimestamp", "location":"querystring", "locationName":"TimeBefore" @@ -4249,7 +4245,7 @@ } } }, - "ListDurableExecutionsResponse":{ + "ListDurableExecutionsByFunctionResponse":{ "type":"structure", "members":{ "DurableExecutions":{"shape":"DurableExecutions"}, @@ -4811,6 +4807,10 @@ "Error":{"shape":"EventError"} } }, + "ExecutionStatusList":{ + "type":"list", + "member":{"shape":"ExecutionStatus"} + }, "ExecutionStoppedDetails":{ "type":"structure", "members":{ @@ -6319,9 +6319,9 @@ "FunctionArn":{"shape":"FunctionArn"}, "InputPayload":{"shape":"InputPayload"}, "Status":{"shape":"ExecutionStatus"}, - "StartDate":{"shape":"ExecutionTimestamp"}, - "StopDate":{"shape":"ExecutionTimestamp"}, - "ResultPayload":{"shape":"ResultPayload"}, + "StartTimestamp":{"shape":"ExecutionTimestamp"}, + "EndTimestamp":{"shape":"ExecutionTimestamp"}, + "Result":{"shape":"ResultPayload"}, "ErrorPayload":{"shape":"ErrorPayload"} } }, @@ -6451,12 +6451,6 @@ "Error":{"shape":"ErrorObject"} } }, - "WaitCancelledDetails":{ - "type":"structure", - "members":{ - "Error":{"shape":"EventError"} - } - }, "WaitDetails":{ "type":"structure", "members":{ diff --git a/.github/workflows/deploy-examples.yml b/.github/workflows/deploy-examples.yml index 9ed3388..c1b6bb0 100644 --- a/.github/workflows/deploy-examples.yml +++ b/.github/workflows/deploy-examples.yml @@ -128,12 +128,12 @@ jobs: LAMBDA_ENDPOINT: ${{ secrets.LAMBDA_ENDPOINT }} run: | echo "Listing durable executions for function: $FUNCTION_NAME" - aws lambda list-durable-executions \ + aws lambda list-durable-executions-by-function \ --function-name "$FUNCTION_NAME" \ + --statuses SUCCEEDED \ --region "${{ env.AWS_REGION }}" \ --endpoint-url "$LAMBDA_ENDPOINT" \ --cli-binary-format raw-in-base64-out \ - --status-filter SUCCEEDED \ > /tmp/executions.json echo "Durable Executions:" cat /tmp/executions.json