Resume a session
Operation description
Resumes a session that is in the Paused state. The system quickly resumes the session in a new execution environment using its previously persisted state. After a successful resume, the session status changes to Active, and the session begins accepting function invocation requests and routing them to the resumed instance. Use this operation with custom image functions that use HEADER_FIELD or GENERATED_COOKIE session affinity and session isolation.
Try it now
Test
RAM authorization
Request syntax
PUT /2023-03-30/functions/{functionName}/sessions/{sessionId}/resume HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
No |
Name of the function associated with the session |
my-func |
| sessionId |
string |
No |
ID of the session to resume |
test-sessionid-1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| qualifier |
string |
No |
Alias or version of the function associated with the session ID |
aliasName1 |
Response elements
|
Element |
Type |
Description |
Example |
| Session |
Session configuration information |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.