software_sets
Creates, updates, deletes, gets or lists a software_sets resource.
Overview
| Name | software_sets |
| Type | Resource |
| Id | aws.workspaces_thin_client.software_sets |
Fields
The following fields are returned by SELECT queries:
- get_software_set
- list_software_sets
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the software set. (pattern: <code>[0-9]{1,9}</code>) |
arn | string | The Amazon Resource Name (ARN) of the software set. (pattern: <code>arn:[\w+=/,.@-]+:[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:[0-9]{0,12}:[a-zA-Z0-9-/._]+</code>) |
released_at | string (date-time) | The timestamp of when the software set was released. |
software | array | A list of the software components in the software set. |
supported_until | string (date-time) | The timestamp of the end of support for the software set. |
validation_status | string | An option to define if the software set has been validated. (VALIDATED, NOT_VALIDATED) |
version | string | The version of the software set. |
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the software set. (pattern: <code>[0-9]{1,9}</code>) |
arn | string | The Amazon Resource Name (ARN) of the software set. (pattern: <code>arn:[\w+=/,.@-]+:[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:[0-9]{0,12}:[a-zA-Z0-9-/._]+</code>) |
released_at | string (date-time) | The timestamp of when the software set was released. |
supported_until | string (date-time) | The timestamp of the end of support for the software set. |
validation_status | string | An option to define if the software set has been validated. (VALIDATED, NOT_VALIDATED) |
version | string | The version of the software set. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_software_set | select | id, region | Returns information for a software set. | |
list_software_sets | select | region | nextToken, maxResults | Returns a list of software sets. |
update_software_set | update | id, region, validationStatus | Updates a software set. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the software set to update. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum. |
nextToken | string | If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error. |
SELECT examples
- get_software_set
- list_software_sets
Returns information for a software set.
SELECT
id,
arn,
released_at,
software,
supported_until,
validation_status,
version
FROM aws.workspaces_thin_client.software_sets
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;
Returns a list of software sets.
SELECT
id,
arn,
released_at,
supported_until,
validation_status,
version
FROM aws.workspaces_thin_client.software_sets
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;
UPDATE examples
- update_software_set
Updates a software set.
UPDATE aws.workspaces_thin_client.software_sets
SET
validationStatus = '{{ validationStatus }}'
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required
AND validationStatus = '{{ validationStatus }}' --required;