Skip to main content

package_version_histories

Creates, updates, deletes, gets or lists a package_version_histories resource.

Overview

Namepackage_version_histories
TypeResource
Idaws.es.package_version_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstring
package_idstring
package_version_history_listarrayList of PackageVersionHistory objects.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_package_version_historyselectpackage_id, regionmaxResults, nextTokenReturns a list of versions of the package, along with their creation time and commit message.

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.

NameDatatypeDescription
package_idstringReturns an audit history of versions of the package.
regionstringAWS region (default: us-east-1)
maxResultsintegerLimits results to a maximum number of versions.
nextTokenstringUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

SELECT examples

Returns a list of versions of the package, along with their creation time and commit message.

SELECT
next_token,
package_id,
package_version_history_list
FROM aws.es.package_version_histories
WHERE package_id = '{{ package_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;