amazonka-codedeploy-1.6.0: Amazon CodeDeploy SDK.

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

Network.AWS.CodeDeploy.ListApplicationRevisions

Contents

Description

Lists information about revisions for an application.

This operation returns paginated results.

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:

  • larS3KeyPrefix - A key prefix for the set of Amazon S3 objects to limit the search for revisions.
  • larDeployed - 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 - 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 - 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 - 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 - 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 - The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

data ListApplicationRevisions Source #

Represents the input of a ListApplicationRevisions operation.

See: listApplicationRevisions smart constructor.

Instances

Eq ListApplicationRevisions Source # 
Data ListApplicationRevisions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListApplicationRevisions -> c ListApplicationRevisions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListApplicationRevisions #

toConstr :: ListApplicationRevisions -> Constr #

dataTypeOf :: ListApplicationRevisions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListApplicationRevisions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListApplicationRevisions) #

gmapT :: (forall b. Data b => b -> b) -> ListApplicationRevisions -> ListApplicationRevisions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListApplicationRevisions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListApplicationRevisions -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListApplicationRevisions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListApplicationRevisions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListApplicationRevisions -> m ListApplicationRevisions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListApplicationRevisions -> m ListApplicationRevisions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListApplicationRevisions -> m ListApplicationRevisions #

Read ListApplicationRevisions Source # 
Show ListApplicationRevisions Source # 
Generic ListApplicationRevisions Source # 
Hashable ListApplicationRevisions Source # 
ToJSON ListApplicationRevisions Source # 
NFData ListApplicationRevisions Source # 
AWSPager ListApplicationRevisions Source # 
AWSRequest ListApplicationRevisions Source # 
ToHeaders ListApplicationRevisions Source # 
ToPath ListApplicationRevisions Source # 
ToQuery ListApplicationRevisions Source # 
type Rep ListApplicationRevisions Source # 
type Rep ListApplicationRevisions = D1 * (MetaData "ListApplicationRevisions" "Network.AWS.CodeDeploy.ListApplicationRevisions" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "ListApplicationRevisions'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_larS3KeyPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larDeployed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ListStateFilterAction))) (S1 * (MetaSel (Just Symbol "_larSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SortOrder))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_larNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_larS3Bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ApplicationRevisionSortBy))) (S1 * (MetaSel (Just Symbol "_larApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs ListApplicationRevisions Source # 

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:

  • larrsNextToken - 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 - A list of locations that contain the matching revisions.
  • larrsResponseStatus - -- | The response status code.

data ListApplicationRevisionsResponse Source #

Represents the output of a ListApplicationRevisions operation.

See: listApplicationRevisionsResponse smart constructor.

Instances

Eq ListApplicationRevisionsResponse Source # 
Data ListApplicationRevisionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListApplicationRevisionsResponse -> c ListApplicationRevisionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListApplicationRevisionsResponse #

toConstr :: ListApplicationRevisionsResponse -> Constr #

dataTypeOf :: ListApplicationRevisionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListApplicationRevisionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListApplicationRevisionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListApplicationRevisionsResponse -> ListApplicationRevisionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListApplicationRevisionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListApplicationRevisionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListApplicationRevisionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListApplicationRevisionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListApplicationRevisionsResponse -> m ListApplicationRevisionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListApplicationRevisionsResponse -> m ListApplicationRevisionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListApplicationRevisionsResponse -> m ListApplicationRevisionsResponse #

Read ListApplicationRevisionsResponse Source # 
Show ListApplicationRevisionsResponse Source # 
Generic ListApplicationRevisionsResponse Source # 
NFData ListApplicationRevisionsResponse Source # 
type Rep ListApplicationRevisionsResponse Source # 
type Rep ListApplicationRevisionsResponse = D1 * (MetaData "ListApplicationRevisionsResponse" "Network.AWS.CodeDeploy.ListApplicationRevisions" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "ListApplicationRevisionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_larrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larrsRevisions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [RevisionLocation]))) (S1 * (MetaSel (Just Symbol "_larrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

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.