libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.ListSchemas

Description

Returns a list of schemas with minimal details. Schemas in Deleting status will not be included in the results. Empty results will be returned if there are no schemas available.

When the RegistryId is not provided, all the schemas across registries will be part of the API response.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSchemas Source #

See: newListSchemas smart constructor.

Constructors

ListSchemas' 

Fields

  • registryId :: Maybe RegistryId

    A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

  • nextToken :: Maybe Text

    A continuation token, if this is a continuation call.

  • maxResults :: Maybe Natural

    Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

Instances

Instances details
Eq ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Read ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Show ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Generic ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Associated Types

type Rep ListSchemas :: Type -> Type #

NFData ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Methods

rnf :: ListSchemas -> () #

Hashable ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

ToJSON ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

AWSPager ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

AWSRequest ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Associated Types

type AWSResponse ListSchemas #

ToHeaders ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Methods

toHeaders :: ListSchemas -> [Header] #

ToPath ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

ToQuery ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type Rep ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type Rep ListSchemas = D1 ('MetaData "ListSchemas" "Amazonka.Glue.ListSchemas" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListSchemas'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistryId)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

newListSchemas :: ListSchemas 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:registryId:ListSchemas', listSchemas_registryId - A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

$sel:nextToken:ListSchemas', listSchemas_nextToken - A continuation token, if this is a continuation call.

$sel:maxResults:ListSchemas', listSchemas_maxResults - Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

Request Lenses

listSchemas_registryId :: Lens' ListSchemas (Maybe RegistryId) Source #

A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

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

A continuation token, if this is a continuation call.

listSchemas_maxResults :: Lens' ListSchemas (Maybe Natural) Source #

Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

Destructuring the Response

data ListSchemasResponse Source #

See: newListSchemasResponse smart constructor.

Constructors

ListSchemasResponse' 

Fields

  • schemas :: Maybe [SchemaListItem]

    An array of SchemaListItem objects containing details of each schema.

  • nextToken :: Maybe Text

    A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Read ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Show ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Generic ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Associated Types

type Rep ListSchemasResponse :: Type -> Type #

NFData ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Methods

rnf :: ListSchemasResponse -> () #

type Rep ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type Rep ListSchemasResponse = D1 ('MetaData "ListSchemasResponse" "Amazonka.Glue.ListSchemas" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaListItem])) :*: (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 SchemaListItem objects containing details of each schema.

$sel:nextToken:ListSchemas', listSchemasResponse_nextToken - A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

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

Response Lenses

listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [SchemaListItem]) Source #

An array of SchemaListItem objects containing details of each schema.

listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text) Source #

A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.