libZSservicesZSamazonka-personalizeZSamazonka-personalize
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.Personalize.ListRecipes

Description

Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).

This operation returns paginated results.

Synopsis

Creating a Request

data ListRecipes Source #

See: newListRecipes smart constructor.

Constructors

ListRecipes' 

Fields

Instances

Instances details
Eq ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Read ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Show ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Generic ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Associated Types

type Rep ListRecipes :: Type -> Type #

NFData ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Methods

rnf :: ListRecipes -> () #

Hashable ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

ToJSON ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

AWSPager ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

AWSRequest ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Associated Types

type AWSResponse ListRecipes #

ToHeaders ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Methods

toHeaders :: ListRecipes -> [Header] #

ToPath ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

ToQuery ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type Rep ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type Rep ListRecipes = D1 ('MetaData "ListRecipes" "Amazonka.Personalize.ListRecipes" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "ListRecipes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "recipeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecipeProvider)))))
type AWSResponse ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

newListRecipes :: ListRecipes Source #

Create a value of ListRecipes 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:ListRecipes', listRecipes_nextToken - A token returned from the previous call to ListRecipes for getting the next set of recipes (if they exist).

$sel:maxResults:ListRecipes', listRecipes_maxResults - The maximum number of recipes to return.

$sel:recipeProvider:ListRecipes', listRecipes_recipeProvider - The default is SERVICE.

Request Lenses

listRecipes_nextToken :: Lens' ListRecipes (Maybe Text) Source #

A token returned from the previous call to ListRecipes for getting the next set of recipes (if they exist).

listRecipes_maxResults :: Lens' ListRecipes (Maybe Natural) Source #

The maximum number of recipes to return.

Destructuring the Response

data ListRecipesResponse Source #

See: newListRecipesResponse smart constructor.

Constructors

ListRecipesResponse' 

Fields

Instances

Instances details
Eq ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Read ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Show ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Generic ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Associated Types

type Rep ListRecipesResponse :: Type -> Type #

NFData ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Methods

rnf :: ListRecipesResponse -> () #

type Rep ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type Rep ListRecipesResponse = D1 ('MetaData "ListRecipesResponse" "Amazonka.Personalize.ListRecipes" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "ListRecipesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recipes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecipeSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRecipesResponse Source #

Create a value of ListRecipesResponse 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:ListRecipes', listRecipesResponse_nextToken - A token for getting the next set of recipes.

$sel:recipes:ListRecipesResponse', listRecipesResponse_recipes - The list of available recipes.

$sel:httpStatus:ListRecipesResponse', listRecipesResponse_httpStatus - The response's http status code.

Response Lenses

listRecipesResponse_nextToken :: Lens' ListRecipesResponse (Maybe Text) Source #

A token for getting the next set of recipes.