amazonka-marketplace-catalog-2.0: Amazon Marketplace Catalog Service 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.MarketplaceCatalog.ListChangeSets

Description

Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.

You can describe a change during the 60-day request history retention period for API calls.

Synopsis

Creating a Request

data ListChangeSets Source #

See: newListChangeSets smart constructor.

Constructors

ListChangeSets' 

Fields

  • filterList :: Maybe (NonEmpty Filter)

    An array of filter objects.

  • maxResults :: Maybe Natural

    The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results. By default, this value is 20.

  • nextToken :: Maybe Text

    The token value retrieved from a previous call to access the next page of results.

  • sort :: Maybe Sort

    An object that contains two attributes, SortBy and SortOrder.

  • catalog :: Text

    The catalog related to the request. Fixed value: AWSMarketplace

Instances

Instances details
ToJSON ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

ToHeaders ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

ToPath ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

ToQuery ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

AWSRequest ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Associated Types

type AWSResponse ListChangeSets #

Generic ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Associated Types

type Rep ListChangeSets :: Type -> Type #

Read ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Show ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

NFData ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Methods

rnf :: ListChangeSets -> () #

Eq ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Hashable ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

type AWSResponse ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

type Rep ListChangeSets Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

type Rep ListChangeSets = D1 ('MetaData "ListChangeSets" "Amazonka.MarketplaceCatalog.ListChangeSets" "amazonka-marketplace-catalog-2.0-6Zi47AEGKrcHZeMO5lyES0" 'False) (C1 ('MetaCons "ListChangeSets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filterList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Filter))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Sort)) :*: S1 ('MetaSel ('Just "catalog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListChangeSets Source #

Create a value of ListChangeSets 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:filterList:ListChangeSets', listChangeSets_filterList - An array of filter objects.

$sel:maxResults:ListChangeSets', listChangeSets_maxResults - The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results. By default, this value is 20.

ListChangeSets, listChangeSets_nextToken - The token value retrieved from a previous call to access the next page of results.

$sel:sort:ListChangeSets', listChangeSets_sort - An object that contains two attributes, SortBy and SortOrder.

$sel:catalog:ListChangeSets', listChangeSets_catalog - The catalog related to the request. Fixed value: AWSMarketplace

Request Lenses

listChangeSets_maxResults :: Lens' ListChangeSets (Maybe Natural) Source #

The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results. By default, this value is 20.

listChangeSets_nextToken :: Lens' ListChangeSets (Maybe Text) Source #

The token value retrieved from a previous call to access the next page of results.

listChangeSets_sort :: Lens' ListChangeSets (Maybe Sort) Source #

An object that contains two attributes, SortBy and SortOrder.

listChangeSets_catalog :: Lens' ListChangeSets Text Source #

The catalog related to the request. Fixed value: AWSMarketplace

Destructuring the Response

data ListChangeSetsResponse Source #

See: newListChangeSetsResponse smart constructor.

Constructors

ListChangeSetsResponse' 

Fields

Instances

Instances details
Generic ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Associated Types

type Rep ListChangeSetsResponse :: Type -> Type #

Read ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Show ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

NFData ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

Methods

rnf :: ListChangeSetsResponse -> () #

Eq ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

type Rep ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListChangeSets

type Rep ListChangeSetsResponse = D1 ('MetaData "ListChangeSetsResponse" "Amazonka.MarketplaceCatalog.ListChangeSets" "amazonka-marketplace-catalog-2.0-6Zi47AEGKrcHZeMO5lyES0" 'False) (C1 ('MetaCons "ListChangeSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeSetSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChangeSetSummaryListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListChangeSetsResponse Source #

Create a value of ListChangeSetsResponse 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:changeSetSummaryList:ListChangeSetsResponse', listChangeSetsResponse_changeSetSummaryList - Array of ChangeSetSummaryListItem objects.

ListChangeSets, listChangeSetsResponse_nextToken - The value of the next token, if it exists. Null if there are no more results.

$sel:httpStatus:ListChangeSetsResponse', listChangeSetsResponse_httpStatus - The response's http status code.

Response Lenses

listChangeSetsResponse_nextToken :: Lens' ListChangeSetsResponse (Maybe Text) Source #

The value of the next token, if it exists. Null if there are no more results.