libZSservicesZSamazonka-schemasZSamazonka-schemas
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.Schemas.ListSchemas

Description

List the schemas.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSchemas Source #

See: newListSchemas smart constructor.

Constructors

ListSchemas' 

Fields

  • schemaNamePrefix :: Maybe Text

    Specifying this limits the results to only those schema names that start with the specified prefix.

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

  • limit :: Maybe Int
     
  • registryName :: Text

    The name of the registry.

Instances

Instances details
Eq ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Read ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Show ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Generic ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Associated Types

type Rep ListSchemas :: Type -> Type #

NFData ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Methods

rnf :: ListSchemas -> () #

Hashable ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

AWSPager ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

AWSRequest ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Associated Types

type AWSResponse ListSchemas #

ToHeaders ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Methods

toHeaders :: ListSchemas -> [Header] #

ToPath ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

ToQuery ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

type Rep ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

type Rep ListSchemas = D1 ('MetaData "ListSchemas" "Amazonka.Schemas.ListSchemas" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "ListSchemas'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schemaNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListSchemas Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

newListSchemas Source #

Create a value of ListSchemas 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:schemaNamePrefix:ListSchemas', listSchemas_schemaNamePrefix - Specifying this limits the results to only those schema names that start with the specified prefix.

$sel:nextToken:ListSchemas', listSchemas_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.

$sel:limit:ListSchemas', listSchemas_limit - Undocumented member.

$sel:registryName:ListSchemas', listSchemas_registryName - The name of the registry.

Request Lenses

listSchemas_schemaNamePrefix :: Lens' ListSchemas (Maybe Text) Source #

Specifying this limits the results to only those schema names that start with the specified prefix.

listSchemas_nextToken :: Lens' ListSchemas (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 ListSchemasResponse Source #

See: newListSchemasResponse smart constructor.

Constructors

ListSchemasResponse' 

Fields

  • schemas :: Maybe [SchemaSummary]

    An array of schema summaries.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Read ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Show ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Generic ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Associated Types

type Rep ListSchemasResponse :: Type -> Type #

NFData ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

Methods

rnf :: ListSchemasResponse -> () #

type Rep ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListSchemas

type Rep ListSchemasResponse = D1 ('MetaData "ListSchemasResponse" "Amazonka.Schemas.ListSchemas" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "ListSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSchemasResponse Source #

Create a value of ListSchemasResponse 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:schemas:ListSchemasResponse', listSchemasResponse_schemas - An array of schema summaries.

$sel:nextToken:ListSchemas', listSchemasResponse_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.

$sel:httpStatus:ListSchemasResponse', listSchemasResponse_httpStatus - The response's http status code.

Response Lenses

listSchemasResponse_nextToken :: Lens' ListSchemasResponse (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.