amazonka-codedeploy-1.4.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeDeploy.ListApplicationRevisions

Contents

Description

Lists information about revisions for an application.

Synopsis

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:

Request Lenses

larS3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text) Source

A 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.

larSortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder) Source

The order in which to sort the list results:

  • ascending: ascending order.
  • descending: 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 returned from the previous list application revisions call. It can be used to return the next set of applications in the list.

larS3Bucket :: Lens' ListApplicationRevisions (Maybe Text) Source

An Amazon S3 bucket name to limit the search for revisions.

If set to null, all of the user's buckets will be searched.

larSortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy) Source

The column name to use to sort the list results:

  • registerTime: Sort by the time the revisions were registered with AWS CodeDeploy.
  • firstUsedTime: Sort by the time the revisions were first used in a deployment.
  • lastUsedTime: Sort by the time 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 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:

Response Lenses

larrsNextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text) Source

If a large amount of information is returned, an identifier will also be returned. It 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 locations that contain the matching revisions.