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

Description

Returns a list of schema versions that you have created, with minimal information. Schema versions in Deleted status will not be included in the results. Empty results will be returned if there are no schema versions available.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSchemaVersions Source #

See: newListSchemaVersions smart constructor.

Constructors

ListSchemaVersions' 

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.

  • schemaId :: SchemaId

    This is a wrapper structure to contain schema identity fields. The structure contains:

    • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
    • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Instances

Instances details
ToJSON ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

ToHeaders ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

ToPath ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

ToQuery ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

AWSPager ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

AWSRequest ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Associated Types

type AWSResponse ListSchemaVersions #

Generic ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Associated Types

type Rep ListSchemaVersions :: Type -> Type #

Read ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Show ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

NFData ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Methods

rnf :: ListSchemaVersions -> () #

Eq ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Hashable ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

type AWSResponse ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

type Rep ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

type Rep ListSchemaVersions = D1 ('MetaData "ListSchemaVersions" "Amazonka.Glue.ListSchemaVersions" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListSchemaVersions'" '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 "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaId))))

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:maxResults:ListSchemaVersions', listSchemaVersions_maxResults - Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

ListSchemaVersions, listSchemaVersions_nextToken - A continuation token, if this is a continuation call.

ListSchemaVersions, listSchemaVersions_schemaId - This is a wrapper structure to contain schema identity fields. The structure contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
  • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Request Lenses

listSchemaVersions_maxResults :: Lens' ListSchemaVersions (Maybe Natural) Source #

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

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

A continuation token, if this is a continuation call.

listSchemaVersions_schemaId :: Lens' ListSchemaVersions SchemaId Source #

This is a wrapper structure to contain schema identity fields. The structure contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
  • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Destructuring the Response

data ListSchemaVersionsResponse Source #

See: newListSchemaVersionsResponse smart constructor.

Constructors

ListSchemaVersionsResponse' 

Fields

Instances

Instances details
Generic ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Associated Types

type Rep ListSchemaVersionsResponse :: Type -> Type #

Read ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Show ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

NFData ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Eq ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

type Rep ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

type Rep ListSchemaVersionsResponse = D1 ('MetaData "ListSchemaVersionsResponse" "Amazonka.Glue.ListSchemaVersions" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListSchemaVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaVersionListItem])) :*: 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 - A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

$sel:schemas:ListSchemaVersionsResponse', listSchemaVersionsResponse_schemas - An array of SchemaVersionList objects containing details of each schema version.

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

Response Lenses

listSchemaVersionsResponse_nextToken :: Lens' ListSchemaVersionsResponse (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.

listSchemaVersionsResponse_schemas :: Lens' ListSchemaVersionsResponse (Maybe [SchemaVersionListItem]) Source #

An array of SchemaVersionList objects containing details of each schema version.