libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.DescribeSchemas

Description

Returns information about the schema for the specified endpoint.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSchemas Source #

See: newDescribeSchemas smart constructor.

Constructors

DescribeSchemas' 

Fields

  • marker :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: Minimum 20, maximum 100.

  • endpointArn :: Text

    The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Instances

Instances details
Eq DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Read DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Show DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Generic DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Associated Types

type Rep DescribeSchemas :: Type -> Type #

NFData DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Methods

rnf :: DescribeSchemas -> () #

Hashable DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

ToJSON DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

AWSPager DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

AWSRequest DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Associated Types

type AWSResponse DescribeSchemas #

ToHeaders DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

ToPath DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

ToQuery DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

type Rep DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

type Rep DescribeSchemas = D1 ('MetaData "DescribeSchemas" "Amazonka.DMS.DescribeSchemas" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DescribeSchemas'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeSchemas Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

newDescribeSchemas Source #

Create a value of DescribeSchemas 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:marker:DescribeSchemas', describeSchemas_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeSchemas', describeSchemas_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

$sel:endpointArn:DescribeSchemas', describeSchemas_endpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Request Lenses

describeSchemas_marker :: Lens' DescribeSchemas (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeSchemas_maxRecords :: Lens' DescribeSchemas (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

describeSchemas_endpointArn :: Lens' DescribeSchemas Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Destructuring the Response

data DescribeSchemasResponse Source #

See: newDescribeSchemasResponse smart constructor.

Constructors

DescribeSchemasResponse' 

Fields

  • schemas :: Maybe [Text]

    The described schema.

  • marker :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Read DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Show DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Generic DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Associated Types

type Rep DescribeSchemasResponse :: Type -> Type #

NFData DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

Methods

rnf :: DescribeSchemasResponse -> () #

type Rep DescribeSchemasResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeSchemas

type Rep DescribeSchemasResponse = D1 ('MetaData "DescribeSchemasResponse" "Amazonka.DMS.DescribeSchemas" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DescribeSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSchemasResponse Source #

Create a value of DescribeSchemasResponse 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:DescribeSchemasResponse', describeSchemasResponse_schemas - The described schema.

$sel:marker:DescribeSchemas', describeSchemasResponse_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:httpStatus:DescribeSchemasResponse', describeSchemasResponse_httpStatus - The response's http status code.

Response Lenses

describeSchemasResponse_marker :: Lens' DescribeSchemasResponse (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.