Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists information about revisions for an application.
See: AWS API Reference for ListApplicationRevisions.
- listApplicationRevisions :: Text -> ListApplicationRevisions
- data ListApplicationRevisions
- larS3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text)
- larDeployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction)
- larSortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder)
- larNextToken :: Lens' ListApplicationRevisions (Maybe Text)
- larS3Bucket :: Lens' ListApplicationRevisions (Maybe Text)
- larSortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy)
- larApplicationName :: Lens' ListApplicationRevisions Text
- listApplicationRevisionsResponse :: Int -> ListApplicationRevisionsResponse
- data ListApplicationRevisionsResponse
- larrsNextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text)
- larrsRevisions :: Lens' ListApplicationRevisionsResponse [RevisionLocation]
- larrsResponseStatus :: Lens' ListApplicationRevisionsResponse Int
Creating a Request
listApplicationRevisions Source
Creates a value of ListApplicationRevisions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListApplicationRevisions Source
Represents the input of a list application revisions operation.
See: listApplicationRevisions
smart constructor.
Request Lenses
larS3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text) Source
A specific key prefix for the set of Amazon S3 objects to limit the search for revisions.
larDeployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction) Source
Whether to list revisions based on whether the revision is the target revision of an deployment group:
- include: List revisions that are target revisions of a deployment group.
- exclude: Do not list revisions that are target revisions of a deployment group.
- ignore: List all revisions, regardless of whether they are target revisions of a deployment group.
larSortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder) Source
The order to sort the list results by:
- ascending: Sort the list of results in ascending order.
- descending: Sort the list of results in descending order.
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
larNextToken :: Lens' ListApplicationRevisions (Maybe Text) Source
An identifier that was returned from the previous list application revisions call, which can be used to return the next set of applications in the list.
larS3Bucket :: Lens' ListApplicationRevisions (Maybe Text) Source
A specific Amazon S3 bucket name to limit the search for revisions.
If set to null, then all of the user's buckets will be searched.
larSortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy) Source
The column name to sort the list results by:
- registerTime: Sort the list results by when the revisions were registered with AWS CodeDeploy.
- firstUsedTime: Sort the list results by when the revisions were first used by in a deployment.
- lastUsedTime: Sort the list results by when the revisions were last used in a deployment.
If not specified or set to null, the results will be returned in an arbitrary order.
larApplicationName :: Lens' ListApplicationRevisions Text Source
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
Destructuring the Response
listApplicationRevisionsResponse Source
Creates a value of ListApplicationRevisionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListApplicationRevisionsResponse Source
Represents the output of a list application revisions operation.
See: listApplicationRevisionsResponse
smart constructor.
Response Lenses
larrsNextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text) Source
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
larrsRevisions :: Lens' ListApplicationRevisionsResponse [RevisionLocation] Source
A list of revision locations that contain the matching revisions.
larrsResponseStatus :: Lens' ListApplicationRevisionsResponse Int Source
The response status code.