| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.ListApplicationRevisions
Description
Lists information about revisions for an application.
This operation returns paginated results.
Synopsis
- data ListApplicationRevisions = ListApplicationRevisions' {}
- newListApplicationRevisions :: Text -> ListApplicationRevisions
- listApplicationRevisions_deployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction)
- listApplicationRevisions_nextToken :: Lens' ListApplicationRevisions (Maybe Text)
- listApplicationRevisions_s3Bucket :: Lens' ListApplicationRevisions (Maybe Text)
- listApplicationRevisions_s3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text)
- listApplicationRevisions_sortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy)
- listApplicationRevisions_sortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder)
- listApplicationRevisions_applicationName :: Lens' ListApplicationRevisions Text
- data ListApplicationRevisionsResponse = ListApplicationRevisionsResponse' {
- nextToken :: Maybe Text
- revisions :: Maybe [RevisionLocation]
- httpStatus :: Int
- newListApplicationRevisionsResponse :: Int -> ListApplicationRevisionsResponse
- listApplicationRevisionsResponse_nextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text)
- listApplicationRevisionsResponse_revisions :: Lens' ListApplicationRevisionsResponse (Maybe [RevisionLocation])
- listApplicationRevisionsResponse_httpStatus :: Lens' ListApplicationRevisionsResponse Int
Creating a Request
data ListApplicationRevisions Source #
Represents the input of a ListApplicationRevisions operation.
See: newListApplicationRevisions smart constructor.
Constructors
| ListApplicationRevisions' | |
Fields
| |
Instances
newListApplicationRevisions Source #
Arguments
| :: Text | |
| -> ListApplicationRevisions |
Create a value of ListApplicationRevisions 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:deployed:ListApplicationRevisions', listApplicationRevisions_deployed - Whether to list revisions based on whether the revision is the target
revision of a 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.
ListApplicationRevisions, listApplicationRevisions_nextToken - An identifier returned from the previous ListApplicationRevisions
call. It can be used to return the next set of applications in the list.
$sel:s3Bucket:ListApplicationRevisions', listApplicationRevisions_s3Bucket - An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
$sel:s3KeyPrefix:ListApplicationRevisions', listApplicationRevisions_s3KeyPrefix - A key prefix for the set of Amazon S3 objects to limit the search for
revisions.
$sel:sortBy:ListApplicationRevisions', listApplicationRevisions_sortBy - The column name to use to sort the list results:
registerTime: Sort by the time the revisions were registered with 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 are returned in an arbitrary order.
$sel:sortOrder:ListApplicationRevisions', listApplicationRevisions_sortOrder - The order in which to sort the list results:
ascending: ascending order.descending: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
ListApplicationRevisions, listApplicationRevisions_applicationName - The name of an CodeDeploy application associated with the IAM user or
Amazon Web Services account.
Request Lenses
listApplicationRevisions_deployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction) Source #
Whether to list revisions based on whether the revision is the target revision of a 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.
listApplicationRevisions_nextToken :: Lens' ListApplicationRevisions (Maybe Text) Source #
An identifier returned from the previous ListApplicationRevisions
call. It can be used to return the next set of applications in the list.
listApplicationRevisions_s3Bucket :: 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 are searched.
listApplicationRevisions_s3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text) Source #
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
listApplicationRevisions_sortBy :: 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 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 are returned in an arbitrary order.
listApplicationRevisions_sortOrder :: 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 are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
listApplicationRevisions_applicationName :: Lens' ListApplicationRevisions Text Source #
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
Destructuring the Response
data ListApplicationRevisionsResponse Source #
Represents the output of a ListApplicationRevisions operation.
See: newListApplicationRevisionsResponse smart constructor.
Constructors
| ListApplicationRevisionsResponse' | |
Fields
| |
Instances
newListApplicationRevisionsResponse Source #
Create a value of ListApplicationRevisionsResponse 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:
ListApplicationRevisions, listApplicationRevisionsResponse_nextToken - If a large amount of information is returned, an identifier is also
returned. It can be used in a subsequent list application revisions call
to return the next set of application revisions in the list.
$sel:revisions:ListApplicationRevisionsResponse', listApplicationRevisionsResponse_revisions - A list of locations that contain the matching revisions.
$sel:httpStatus:ListApplicationRevisionsResponse', listApplicationRevisionsResponse_httpStatus - The response's http status code.
Response Lenses
listApplicationRevisionsResponse_nextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
listApplicationRevisionsResponse_revisions :: Lens' ListApplicationRevisionsResponse (Maybe [RevisionLocation]) Source #
A list of locations that contain the matching revisions.
listApplicationRevisionsResponse_httpStatus :: Lens' ListApplicationRevisionsResponse Int Source #
The response's http status code.