UpdateSoftwareSet - Amazon WorkSpaces Thin Client

UpdateSoftwareSet

Updates a software set.

Request Syntax

PATCH /softwaresets/id HTTP/1.1 Content-type: application/json { "validationStatus": "string" }

URI Request Parameters

The request uses the following URI parameters.

id

The ID of the software set to update.

Pattern: [0-9]{1,9}

Required: Yes

Request Body

The request accepts the following data in JSON format.

validationStatus

An option to define if the software set has been validated.

Type: String

Valid Values: VALIDATED | NOT_VALIDATED

Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

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

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

The server encountered an internal error and is unable to complete the request.

retryAfterSeconds

The number of seconds to wait before retrying the next request.

HTTP Status Code: 500

ResourceNotFoundException

The resource specified in the request was not found.

resourceId

The ID of the resource associated with the request.

resourceType

The type of the resource associated with the request.

HTTP Status Code: 404

ThrottlingException

The request was denied due to request throttling.

quotaCode

The code for the quota in Service Quotas.

retryAfterSeconds

The number of seconds to wait before retrying the next request.

serviceCode

The code for the service in Service Quotas.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the specified constraints.

fieldList

A list of fields that didn't validate.

reason

The reason for the exception.

HTTP Status Code: 400

See Also

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