CreateStreamingSessionStream - Amazon Nimble Studio


Creates a streaming session stream for a streaming session.

After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until it is in state READY.

Request Syntax

POST /2020-08-01/studios/studioId/streaming-sessions/sessionId/streams HTTP/1.1 X-Amz-Client-Token: clientToken Content-type: application/json { "expirationInSeconds": number }

URI Request Parameters

The request uses the following URI parameters.


Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

Length Constraints: Minimum length of 1. Maximum length of 64.


The streaming session ID.

Required: Yes


The studio ID.

Required: Yes

Request Body

The request accepts the following data in JSON format.


The expiration time in seconds.

Type: Integer

Valid Range: Minimum value of 60. Maximum value of 3600.

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "stream": { "createdAt": number, "createdBy": "string", "expiresAt": number, "ownedBy": "string", "state": "string", "statusCode": "string", "streamId": "string", "url": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The stream.

Type: StreamingSessionStream object


For information about the errors that are common to all actions, see Common Errors.


You are not authorized to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

HTTP Status Code: 403


Another operation is in progress.

HTTP Status Code: 409


An internal error has occurred. Please retry your request.

HTTP Status Code: 500


The specified resource could not be found.

HTTP Status Code: 404


Your current quota does not allow you to perform the request action. You can request increases for some quotas, and other quotas cannot be increased.

Please use AWS Service Quotas to request an increase.

HTTP Status Code: 402


The request throughput limit was exceeded.

HTTP Status Code: 429


One of the parameters in the request is invalid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: