amazonka-personalize-2.0: Amazon Personalize 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.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

  • domain :: Maybe Domain

    Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.

  • maxResults :: Maybe Natural

    The maximum number of recipes to return.

  • nextToken :: Maybe Text

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

  • recipeProvider :: Maybe RecipeProvider

    The default is SERVICE.

Instances

Instances details
ToJSON ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.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

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 #

Generic ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Associated Types

type Rep ListRecipes :: Type -> Type #

Read ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Show ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

NFData ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Methods

rnf :: ListRecipes -> () #

Eq ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Hashable ListRecipes Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type AWSResponse 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" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "ListRecipes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Domain)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recipeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecipeProvider)))))

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:

ListRecipes, listRecipes_domain - Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.

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

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

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

Request Lenses

listRecipes_domain :: Lens' ListRecipes (Maybe Domain) Source #

Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.

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

The maximum number of recipes to return.

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).

Destructuring the Response

data ListRecipesResponse Source #

See: newListRecipesResponse smart constructor.

Constructors

ListRecipesResponse' 

Fields

Instances

Instances details
Generic ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Associated Types

type Rep ListRecipesResponse :: Type -> Type #

Read ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Show ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

NFData ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

Methods

rnf :: ListRecipesResponse -> () #

Eq ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type Rep ListRecipesResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListRecipes

type Rep ListRecipesResponse = D1 ('MetaData "ListRecipesResponse" "Amazonka.Personalize.ListRecipes" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" '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:

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.