Menu
Amazon AppStream 2.0
API Reference (API Version 2016-12-01)

UpdateStack

Updates the specified fields in the stack with the specified name.

Request Syntax

Copy
{ "Description": "string", "DisplayName": "string", "Name": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Description

The description displayed to end users on the AppStream 2.0 portal.

Type: String

Length Constraints: Maximum length of 256.

Required: No

DisplayName

The name displayed to end users on the AppStream 2.0 portal.

Type: String

Length Constraints: Maximum length of 100.

Required: No

Name

The name of the stack to update.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

Response Syntax

Copy
{ "Stack": { "Arn": "string", "CreatedTime": number, "Description": "string", "DisplayName": "string", "Name": "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.

Stack

A list of stack details.

Type: Stack object

Errors

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

ResourceInUseException

The specified resource is in use.

HTTP Status Code: 400

ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 400

See Also

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