amazonka-glue-2.0: Amazon Glue 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.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

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

    A continuation token, if this is a continuation call.

  • registryId :: Maybe RegistryId

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

Instances

Instances details
ToJSON ListSchemas Source # 
Instance details

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

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 #

Generic ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Associated Types

type Rep ListSchemas :: Type -> Type #

Read ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Show ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

NFData ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Methods

rnf :: ListSchemas -> () #

Eq ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Hashable ListSchemas Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListSchemas'" '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 "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistryId)))))

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

ListSchemas, listSchemas_nextToken - A continuation token, if this is a continuation call.

$sel:registryId:ListSchemas', listSchemas_registryId - A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

Request Lenses

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.

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

A continuation token, if this is a continuation call.

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

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

Destructuring the Response

data ListSchemasResponse Source #

See: newListSchemasResponse smart constructor.

Constructors

ListSchemasResponse' 

Fields

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

  • schemas :: Maybe [SchemaListItem]

    An array of SchemaListItem objects containing details of each schema.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Associated Types

type Rep ListSchemasResponse :: Type -> Type #

Read ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Show ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

NFData ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

Methods

rnf :: ListSchemasResponse -> () #

Eq ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type Rep ListSchemasResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemas

type Rep ListSchemasResponse = D1 ('MetaData "ListSchemasResponse" "Amazonka.Glue.ListSchemas" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaListItem])) :*: 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:

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:schemas:ListSchemasResponse', listSchemasResponse_schemas - An array of SchemaListItem objects containing details of each schema.

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

Response Lenses

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.

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

An array of SchemaListItem objects containing details of each schema.