libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog
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.MarketplaceCatalog.ListEntities

Description

Provides the list of entities of a given type.

Synopsis

Creating a Request

data ListEntities Source #

See: newListEntities smart constructor.

Constructors

ListEntities' 

Fields

  • nextToken :: Maybe Text

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

  • filterList :: Maybe (NonEmpty Filter)

    An array of filter objects. Each filter object contains two attributes, filterName and filterValues.

  • sort :: Maybe Sort

    An object that contains two attributes, SortBy and SortOrder.

  • maxResults :: Maybe Natural

    Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.

  • catalog :: Text

    The catalog related to the request. Fixed value: AWSMarketplace

  • entityType :: Text

    The type of entities to retrieve.

Instances

Instances details
Eq ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Read ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Show ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Generic ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Associated Types

type Rep ListEntities :: Type -> Type #

NFData ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Methods

rnf :: ListEntities -> () #

Hashable ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

ToJSON ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

AWSRequest ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Associated Types

type AWSResponse ListEntities #

ToHeaders ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

ToPath ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

ToQuery ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

type Rep ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

type Rep ListEntities = D1 ('MetaData "ListEntities" "Amazonka.MarketplaceCatalog.ListEntities" "libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog" 'False) (C1 ('MetaCons "ListEntities'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "filterList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Filter))) :*: S1 ('MetaSel ('Just "sort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Sort)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "catalog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListEntities Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

newListEntities Source #

Create a value of ListEntities 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:ListEntities', listEntities_nextToken - The value of the next token, if it exists. Null if there are no more results.

$sel:filterList:ListEntities', listEntities_filterList - An array of filter objects. Each filter object contains two attributes, filterName and filterValues.

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

$sel:maxResults:ListEntities', listEntities_maxResults - Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.

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

$sel:entityType:ListEntities', listEntities_entityType - The type of entities to retrieve.

Request Lenses

listEntities_nextToken :: Lens' ListEntities (Maybe Text) Source #

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

listEntities_filterList :: Lens' ListEntities (Maybe (NonEmpty Filter)) Source #

An array of filter objects. Each filter object contains two attributes, filterName and filterValues.

listEntities_sort :: Lens' ListEntities (Maybe Sort) Source #

An object that contains two attributes, SortBy and SortOrder.

listEntities_maxResults :: Lens' ListEntities (Maybe Natural) Source #

Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.

listEntities_catalog :: Lens' ListEntities Text Source #

The catalog related to the request. Fixed value: AWSMarketplace

listEntities_entityType :: Lens' ListEntities Text Source #

The type of entities to retrieve.

Destructuring the Response

data ListEntitiesResponse Source #

See: newListEntitiesResponse smart constructor.

Constructors

ListEntitiesResponse' 

Fields

Instances

Instances details
Eq ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Read ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Show ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Generic ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Associated Types

type Rep ListEntitiesResponse :: Type -> Type #

NFData ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

Methods

rnf :: ListEntitiesResponse -> () #

type Rep ListEntitiesResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.ListEntities

type Rep ListEntitiesResponse = D1 ('MetaData "ListEntitiesResponse" "Amazonka.MarketplaceCatalog.ListEntities" "libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog" 'False) (C1 ('MetaCons "ListEntitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entitySummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntitySummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEntitiesResponse Source #

Create a value of ListEntitiesResponse 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:entitySummaryList:ListEntitiesResponse', listEntitiesResponse_entitySummaryList - Array of EntitySummary object.

$sel:nextToken:ListEntities', listEntitiesResponse_nextToken - The value of the next token if it exists. Null if there is no more result.

$sel:httpStatus:ListEntitiesResponse', listEntitiesResponse_httpStatus - The response's http status code.

Response Lenses

listEntitiesResponse_nextToken :: Lens' ListEntitiesResponse (Maybe Text) Source #

The value of the next token if it exists. Null if there is no more result.