amazonka-schemas-2.0: Amazon Schemas 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.Schemas.ListSchemaVersions

Description

Provides a list of the schema versions and related information.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSchemaVersions Source #

See: newListSchemaVersions smart constructor.

Constructors

ListSchemaVersions' 

Fields

  • limit :: Maybe Int
     
  • nextToken :: Maybe Text

    The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

  • registryName :: Text

    The name of the registry.

  • schemaName :: Text

    The name of the schema.

Instances

Instances details
ToHeaders ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

ToPath ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

ToQuery ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

AWSPager ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

AWSRequest ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Associated Types

type AWSResponse ListSchemaVersions #

Generic ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Associated Types

type Rep ListSchemaVersions :: Type -> Type #

Read ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Show ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

NFData ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Methods

rnf :: ListSchemaVersions -> () #

Eq ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Hashable ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

type AWSResponse ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

type Rep ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

type Rep ListSchemaVersions = D1 ('MetaData "ListSchemaVersions" "Amazonka.Schemas.ListSchemaVersions" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "ListSchemaVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListSchemaVersions Source #

Create a value of ListSchemaVersions 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:limit:ListSchemaVersions', listSchemaVersions_limit - Undocumented member.

ListSchemaVersions, listSchemaVersions_nextToken - The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

ListSchemaVersions, listSchemaVersions_registryName - The name of the registry.

ListSchemaVersions, listSchemaVersions_schemaName - The name of the schema.

Request Lenses

listSchemaVersions_nextToken :: Lens' ListSchemaVersions (Maybe Text) Source #

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

Destructuring the Response

data ListSchemaVersionsResponse Source #

See: newListSchemaVersionsResponse smart constructor.

Constructors

ListSchemaVersionsResponse' 

Fields

Instances

Instances details
Generic ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Associated Types

type Rep ListSchemaVersionsResponse :: Type -> Type #

Read ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Show ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

NFData ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

Eq ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

type Rep ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemaVersions

type Rep ListSchemaVersionsResponse = D1 ('MetaData "ListSchemaVersionsResponse" "Amazonka.Schemas.ListSchemaVersions" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "ListSchemaVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemaVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaVersionSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSchemaVersionsResponse Source #

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

ListSchemaVersions, listSchemaVersionsResponse_nextToken - The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

ListSchemaVersionsResponse, listSchemaVersionsResponse_schemaVersions - An array of schema version summaries.

$sel:httpStatus:ListSchemaVersionsResponse', listSchemaVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listSchemaVersionsResponse_nextToken :: Lens' ListSchemaVersionsResponse (Maybe Text) Source #

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.