amazonka-codedeploy-2.0: Amazon CodeDeploy SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeDeploy.ListApplicationRevisions

Description

Lists information about revisions for an application.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApplicationRevisions Source #

Represents the input of a ListApplicationRevisions operation.

See: newListApplicationRevisions smart constructor.

Constructors

ListApplicationRevisions' 

Fields

  • deployed :: Maybe ListStateFilterAction

    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.
  • nextToken :: Maybe Text

    An identifier returned from the previous ListApplicationRevisions call. It can be used to return the next set of applications in the list.

  • s3Bucket :: Maybe Text

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

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

  • s3KeyPrefix :: Maybe Text

    A key prefix for the set of Amazon S3 objects to limit the search for revisions.

  • sortBy :: Maybe ApplicationRevisionSortBy

    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.

  • sortOrder :: Maybe 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.

  • applicationName :: Text

    The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

Instances

Instances details
ToJSON ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

ToHeaders ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

ToPath ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

ToQuery ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

AWSPager ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

AWSRequest ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Generic ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Associated Types

type Rep ListApplicationRevisions :: Type -> Type #

Read ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Show ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

NFData ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Eq ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Hashable ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

type AWSResponse ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

type Rep ListApplicationRevisions Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

newListApplicationRevisions Source #

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

  • nextToken :: Maybe Text

    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.

  • revisions :: Maybe [RevisionLocation]

    A list of locations that contain the matching revisions.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Associated Types

type Rep ListApplicationRevisionsResponse :: Type -> Type #

Read ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Show ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

NFData ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

Eq ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

type Rep ListApplicationRevisionsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListApplicationRevisions

type Rep ListApplicationRevisionsResponse = D1 ('MetaData "ListApplicationRevisionsResponse" "Amazonka.CodeDeploy.ListApplicationRevisions" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ListApplicationRevisionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RevisionLocation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.