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

Description

Retrieves information about a specified partition.

Synopsis

Creating a Request

data GetPartition Source #

See: newGetPartition smart constructor.

Constructors

GetPartition' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

    The name of the catalog database where the partition resides.

  • tableName :: Text

    The name of the partition's table.

  • partitionValues :: [Text]

    The values that define the partition.

Instances

Instances details
Eq GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Read GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Show GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Generic GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Associated Types

type Rep GetPartition :: Type -> Type #

NFData GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Methods

rnf :: GetPartition -> () #

Hashable GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

ToJSON GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

AWSRequest GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Associated Types

type AWSResponse GetPartition #

ToHeaders GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

ToPath GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

ToQuery GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

type Rep GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

type Rep GetPartition = D1 ('MetaData "GetPartition" "Amazonka.Glue.GetPartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetPartition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "partitionValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse GetPartition Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

newGetPartition Source #

Create a value of GetPartition 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:catalogId:GetPartition', getPartition_catalogId - The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseName:GetPartition', getPartition_databaseName - The name of the catalog database where the partition resides.

$sel:tableName:GetPartition', getPartition_tableName - The name of the partition's table.

$sel:partitionValues:GetPartition', getPartition_partitionValues - The values that define the partition.

Request Lenses

getPartition_catalogId :: Lens' GetPartition (Maybe Text) Source #

The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

getPartition_databaseName :: Lens' GetPartition Text Source #

The name of the catalog database where the partition resides.

getPartition_tableName :: Lens' GetPartition Text Source #

The name of the partition's table.

getPartition_partitionValues :: Lens' GetPartition [Text] Source #

The values that define the partition.

Destructuring the Response

data GetPartitionResponse Source #

See: newGetPartitionResponse smart constructor.

Constructors

GetPartitionResponse' 

Fields

Instances

Instances details
Eq GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Read GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Show GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Generic GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Associated Types

type Rep GetPartitionResponse :: Type -> Type #

NFData GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

Methods

rnf :: GetPartitionResponse -> () #

type Rep GetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetPartition

type Rep GetPartitionResponse = D1 ('MetaData "GetPartitionResponse" "Amazonka.Glue.GetPartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetPartitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Partition)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPartitionResponse Source #

Create a value of GetPartitionResponse 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:partition:GetPartitionResponse', getPartitionResponse_partition - The requested information, in the form of a Partition object.

$sel:httpStatus:GetPartitionResponse', getPartitionResponse_httpStatus - The response's http status code.

Response Lenses

getPartitionResponse_partition :: Lens' GetPartitionResponse (Maybe Partition) Source #

The requested information, in the form of a Partition object.