ElasticsearchService / Client / get_package_version_history
get_package_version_history#
- ElasticsearchService.Client.get_package_version_history(**kwargs)#
Returns a list of versions of the package, along with their creation time and commit message.
See also: AWS API Documentation
Request Syntax
response = client.get_package_version_history( PackageID='string', MaxResults=123, NextToken='string' )
- Parameters:
PackageID (string) –
[REQUIRED]
Returns an audit history of versions of the package.
MaxResults (integer) – Limits results to a maximum number of versions.
NextToken (string) – Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
- Return type:
dict
- Returns:
Response Syntax
{ 'PackageID': 'string', 'PackageVersionHistoryList': [ { 'PackageVersion': 'string', 'CommitMessage': 'string', 'CreatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Container for response returned by
GetPackageVersionHistory
operation.PackageID (string) –
PackageVersionHistoryList (list) –
List of
PackageVersionHistory
objects.(dict) –
Details of a package version.
PackageVersion (string) –
Version of the package.
CommitMessage (string) –
A message associated with the version.
CreatedAt (datetime) –
Timestamp which tells creation time of the package version.
NextToken (string) –
Exceptions