Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of versions of the package, along with their creation time and commit message.
Synopsis
- data GetPackageVersionHistory = GetPackageVersionHistory' {}
- newGetPackageVersionHistory :: Text -> GetPackageVersionHistory
- getPackageVersionHistory_nextToken :: Lens' GetPackageVersionHistory (Maybe Text)
- getPackageVersionHistory_maxResults :: Lens' GetPackageVersionHistory (Maybe Int)
- getPackageVersionHistory_packageID :: Lens' GetPackageVersionHistory Text
- data GetPackageVersionHistoryResponse = GetPackageVersionHistoryResponse' {}
- newGetPackageVersionHistoryResponse :: Int -> GetPackageVersionHistoryResponse
- getPackageVersionHistoryResponse_packageID :: Lens' GetPackageVersionHistoryResponse (Maybe Text)
- getPackageVersionHistoryResponse_packageVersionHistoryList :: Lens' GetPackageVersionHistoryResponse (Maybe [PackageVersionHistory])
- getPackageVersionHistoryResponse_nextToken :: Lens' GetPackageVersionHistoryResponse (Maybe Text)
- getPackageVersionHistoryResponse_httpStatus :: Lens' GetPackageVersionHistoryResponse Int
Creating a Request
data GetPackageVersionHistory Source #
Container for request parameters to GetPackageVersionHistory
operation.
See: newGetPackageVersionHistory
smart constructor.
GetPackageVersionHistory' | |
|
Instances
newGetPackageVersionHistory Source #
Create a value of GetPackageVersionHistory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetPackageVersionHistory'
, getPackageVersionHistory_nextToken
- Used for pagination. Only necessary if a previous API call includes a
non-null NextToken value. If provided, returns results for the next
page.
$sel:maxResults:GetPackageVersionHistory'
, getPackageVersionHistory_maxResults
- Limits results to a maximum number of versions.
$sel:packageID:GetPackageVersionHistory'
, getPackageVersionHistory_packageID
- Returns an audit history of versions of the package.
Request Lenses
getPackageVersionHistory_nextToken :: Lens' GetPackageVersionHistory (Maybe Text) Source #
Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
getPackageVersionHistory_maxResults :: Lens' GetPackageVersionHistory (Maybe Int) Source #
Limits results to a maximum number of versions.
getPackageVersionHistory_packageID :: Lens' GetPackageVersionHistory Text Source #
Returns an audit history of versions of the package.
Destructuring the Response
data GetPackageVersionHistoryResponse Source #
Container for response returned by GetPackageVersionHistory
operation.
See: newGetPackageVersionHistoryResponse
smart constructor.
GetPackageVersionHistoryResponse' | |
|
Instances
newGetPackageVersionHistoryResponse Source #
Create a value of GetPackageVersionHistoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:packageID:GetPackageVersionHistory'
, getPackageVersionHistoryResponse_packageID
- Undocumented member.
$sel:packageVersionHistoryList:GetPackageVersionHistoryResponse'
, getPackageVersionHistoryResponse_packageVersionHistoryList
- List of PackageVersionHistory
objects.
$sel:nextToken:GetPackageVersionHistory'
, getPackageVersionHistoryResponse_nextToken
- Undocumented member.
$sel:httpStatus:GetPackageVersionHistoryResponse'
, getPackageVersionHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
getPackageVersionHistoryResponse_packageID :: Lens' GetPackageVersionHistoryResponse (Maybe Text) Source #
Undocumented member.
getPackageVersionHistoryResponse_packageVersionHistoryList :: Lens' GetPackageVersionHistoryResponse (Maybe [PackageVersionHistory]) Source #
List of PackageVersionHistory
objects.
getPackageVersionHistoryResponse_nextToken :: Lens' GetPackageVersionHistoryResponse (Maybe Text) Source #
Undocumented member.
getPackageVersionHistoryResponse_httpStatus :: Lens' GetPackageVersionHistoryResponse Int Source #
The response's http status code.