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

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

  • 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
Eq ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Read ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Show ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Generic ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Associated Types

type Rep ListSchemaVersions :: Type -> Type #

NFData ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Methods

rnf :: ListSchemaVersions -> () #

Hashable ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

ToJSON 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 #

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

type Rep ListSchemaVersions Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

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

Defined in Amazonka.Glue.ListSchemaVersions

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:nextToken:ListSchemaVersions', listSchemaVersions_nextToken - A continuation token, if this is a continuation call.

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

$sel:schemaId: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_nextToken :: Lens' ListSchemaVersions (Maybe Text) Source #

A continuation token, if this is a continuation call.

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_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
Eq ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Read ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Show ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Generic ListSchemaVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListSchemaVersions

Associated Types

type Rep ListSchemaVersionsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListSchemaVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaVersionListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken: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:httpStatus:ListSchemaVersionsResponse', listSchemaVersionsResponse_httpStatus - The response's http status code.

Response Lenses

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

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

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.