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

Amazonka.OpenSearch.GetPackageVersionHistory

Description

Returns a list of package versions, along with their creation time and commit message.

Synopsis

Creating a Request

data GetPackageVersionHistory Source #

Container for the request parameters to the GetPackageVersionHistory operation.

See: newGetPackageVersionHistory smart constructor.

Constructors

GetPackageVersionHistory' 

Fields

  • nextToken :: Maybe Text

    Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

  • maxResults :: Maybe Int

    Limits results to a maximum number of package versions.

  • packageID :: Text

    Returns an audit history of package versions.

Instances

Instances details
Eq GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Read GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Show GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Generic GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Associated Types

type Rep GetPackageVersionHistory :: Type -> Type #

NFData GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Hashable GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

AWSRequest GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

ToHeaders GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

ToPath GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

ToQuery GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

type Rep GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

type Rep GetPackageVersionHistory = D1 ('MetaData "GetPackageVersionHistory" "Amazonka.OpenSearch.GetPackageVersionHistory" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "GetPackageVersionHistory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetPackageVersionHistory Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

newGetPackageVersionHistory Source #

Create a value of GetPackageVersionHistory 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:nextToken:GetPackageVersionHistory', getPackageVersionHistory_nextToken - Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

$sel:maxResults:GetPackageVersionHistory', getPackageVersionHistory_maxResults - Limits results to a maximum number of package versions.

$sel:packageID:GetPackageVersionHistory', getPackageVersionHistory_packageID - Returns an audit history of package versions.

Request Lenses

getPackageVersionHistory_nextToken :: Lens' GetPackageVersionHistory (Maybe Text) Source #

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

getPackageVersionHistory_maxResults :: Lens' GetPackageVersionHistory (Maybe Int) Source #

Limits results to a maximum number of package versions.

getPackageVersionHistory_packageID :: Lens' GetPackageVersionHistory Text Source #

Returns an audit history of package versions.

Destructuring the Response

data GetPackageVersionHistoryResponse Source #

Container for response returned by GetPackageVersionHistory operation.

See: newGetPackageVersionHistoryResponse smart constructor.

Constructors

GetPackageVersionHistoryResponse' 

Fields

Instances

Instances details
Eq GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Read GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Show GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Generic GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

Associated Types

type Rep GetPackageVersionHistoryResponse :: Type -> Type #

NFData GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

type Rep GetPackageVersionHistoryResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetPackageVersionHistory

type Rep GetPackageVersionHistoryResponse = D1 ('MetaData "GetPackageVersionHistoryResponse" "Amazonka.OpenSearch.GetPackageVersionHistory" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "GetPackageVersionHistoryResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "packageVersionHistoryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PackageVersionHistory]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses