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

Description

Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN).

This operation returns paginated results.

Synopsis

Creating a Request

data ListSolutionVersions Source #

See: newListSolutionVersions smart constructor.

Constructors

ListSolutionVersions' 

Fields

Instances

Instances details
ToJSON ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

ToHeaders ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

ToPath ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

ToQuery ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

AWSPager ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

AWSRequest ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Associated Types

type AWSResponse ListSolutionVersions #

Generic ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Associated Types

type Rep ListSolutionVersions :: Type -> Type #

Read ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Show ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

NFData ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Methods

rnf :: ListSolutionVersions -> () #

Eq ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Hashable ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

type AWSResponse ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

type Rep ListSolutionVersions Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

type Rep ListSolutionVersions = D1 ('MetaData "ListSolutionVersions" "Amazonka.Personalize.ListSolutionVersions" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "ListSolutionVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "solutionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListSolutionVersions :: ListSolutionVersions Source #

Create a value of ListSolutionVersions 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:maxResults:ListSolutionVersions', listSolutionVersions_maxResults - The maximum number of solution versions to return.

ListSolutionVersions, listSolutionVersions_nextToken - A token returned from the previous call to ListSolutionVersions for getting the next set of solution versions (if they exist).

ListSolutionVersions, listSolutionVersions_solutionArn - The Amazon Resource Name (ARN) of the solution.

Request Lenses

listSolutionVersions_maxResults :: Lens' ListSolutionVersions (Maybe Natural) Source #

The maximum number of solution versions to return.

listSolutionVersions_nextToken :: Lens' ListSolutionVersions (Maybe Text) Source #

A token returned from the previous call to ListSolutionVersions for getting the next set of solution versions (if they exist).

listSolutionVersions_solutionArn :: Lens' ListSolutionVersions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the solution.

Destructuring the Response

data ListSolutionVersionsResponse Source #

See: newListSolutionVersionsResponse smart constructor.

Constructors

ListSolutionVersionsResponse' 

Fields

Instances

Instances details
Generic ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Associated Types

type Rep ListSolutionVersionsResponse :: Type -> Type #

Read ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Show ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

NFData ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

Eq ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

type Rep ListSolutionVersionsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListSolutionVersions

type Rep ListSolutionVersionsResponse = D1 ('MetaData "ListSolutionVersionsResponse" "Amazonka.Personalize.ListSolutionVersions" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "ListSolutionVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "solutionVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SolutionVersionSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSolutionVersionsResponse Source #

Create a value of ListSolutionVersionsResponse 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:

ListSolutionVersions, listSolutionVersionsResponse_nextToken - A token for getting the next set of solution versions (if they exist).

$sel:solutionVersions:ListSolutionVersionsResponse', listSolutionVersionsResponse_solutionVersions - A list of solution versions describing the version properties.

$sel:httpStatus:ListSolutionVersionsResponse', listSolutionVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listSolutionVersionsResponse_nextToken :: Lens' ListSolutionVersionsResponse (Maybe Text) Source #

A token for getting the next set of solution versions (if they exist).

listSolutionVersionsResponse_solutionVersions :: Lens' ListSolutionVersionsResponse (Maybe [SolutionVersionSummary]) Source #

A list of solution versions describing the version properties.