libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.SearchProducts

Description

Gets information about the products to which the caller has access.

Synopsis

Creating a Request

data SearchProducts Source #

See: newSearchProducts smart constructor.

Constructors

SearchProducts' 

Fields

Instances

Instances details
Eq SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Read SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Show SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Generic SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Associated Types

type Rep SearchProducts :: Type -> Type #

NFData SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Methods

rnf :: SearchProducts -> () #

Hashable SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

ToJSON SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

AWSRequest SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Associated Types

type AWSResponse SearchProducts #

ToHeaders SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

ToPath SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

ToQuery SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

type Rep SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

type Rep SearchProducts = D1 ('MetaData "SearchProducts" "Amazonka.ServiceCatalog.SearchProducts" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "SearchProducts'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap ProductViewFilterBy [Text]))) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrder)) :*: S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductViewSortBy))))))
type AWSResponse SearchProducts Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

newSearchProducts :: SearchProducts Source #

Create a value of SearchProducts 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:filters:SearchProducts', searchProducts_filters - The search filters. If no search filters are specified, the output includes all products to which the caller has access.

$sel:sortOrder:SearchProducts', searchProducts_sortOrder - The sort order. If no value is specified, the results are not sorted.

$sel:acceptLanguage:SearchProducts', searchProducts_acceptLanguage - The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

$sel:pageToken:SearchProducts', searchProducts_pageToken - The page token for the next set of results. To retrieve the first set of results, use null.

$sel:pageSize:SearchProducts', searchProducts_pageSize - The maximum number of items to return with this call.

$sel:sortBy:SearchProducts', searchProducts_sortBy - The sort field. If no value is specified, the results are not sorted.

Request Lenses

searchProducts_filters :: Lens' SearchProducts (Maybe (HashMap ProductViewFilterBy [Text])) Source #

The search filters. If no search filters are specified, the output includes all products to which the caller has access.

searchProducts_sortOrder :: Lens' SearchProducts (Maybe SortOrder) Source #

The sort order. If no value is specified, the results are not sorted.

searchProducts_acceptLanguage :: Lens' SearchProducts (Maybe Text) Source #

The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

searchProducts_pageToken :: Lens' SearchProducts (Maybe Text) Source #

The page token for the next set of results. To retrieve the first set of results, use null.

searchProducts_pageSize :: Lens' SearchProducts (Maybe Natural) Source #

The maximum number of items to return with this call.

searchProducts_sortBy :: Lens' SearchProducts (Maybe ProductViewSortBy) Source #

The sort field. If no value is specified, the results are not sorted.

Destructuring the Response

data SearchProductsResponse Source #

See: newSearchProductsResponse smart constructor.

Constructors

SearchProductsResponse' 

Fields

Instances

Instances details
Eq SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Read SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Show SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Generic SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Associated Types

type Rep SearchProductsResponse :: Type -> Type #

NFData SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

Methods

rnf :: SearchProductsResponse -> () #

type Rep SearchProductsResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.SearchProducts

type Rep SearchProductsResponse = D1 ('MetaData "SearchProductsResponse" "Amazonka.ServiceCatalog.SearchProducts" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "SearchProductsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "productViewAggregations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [ProductViewAggregationValue])))) :*: (S1 ('MetaSel ('Just "productViewSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProductViewSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchProductsResponse Source #

Create a value of SearchProductsResponse 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:nextPageToken:SearchProductsResponse', searchProductsResponse_nextPageToken - The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

$sel:productViewAggregations:SearchProductsResponse', searchProductsResponse_productViewAggregations - The product view aggregations.

$sel:productViewSummaries:SearchProductsResponse', searchProductsResponse_productViewSummaries - Information about the product views.

$sel:httpStatus:SearchProductsResponse', searchProductsResponse_httpStatus - The response's http status code.

Response Lenses

searchProductsResponse_nextPageToken :: Lens' SearchProductsResponse (Maybe Text) Source #

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.