amazonka-glue-1.6.1: Amazon Glue SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glue.GetPartition

Contents

Description

Retrieves information about a specified partition.

Synopsis

Creating a Request

getPartition Source #

Creates a value of GetPartition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gpCatalogId - The ID of the Data Catalog where the partition in question resides. If none is supplied, the AWS account ID is used by default.
  • gpDatabaseName - The name of the catalog database where the partition resides.
  • gpTableName - The name of the partition's table.
  • gpPartitionValues - The values that define the partition.

data GetPartition Source #

See: getPartition smart constructor.

Instances
Eq GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Data GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetPartition -> c GetPartition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetPartition #

toConstr :: GetPartition -> Constr #

dataTypeOf :: GetPartition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetPartition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetPartition) #

gmapT :: (forall b. Data b => b -> b) -> GetPartition -> GetPartition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetPartition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetPartition -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetPartition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetPartition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetPartition -> m GetPartition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPartition -> m GetPartition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPartition -> m GetPartition #

Read GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Show GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Generic GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Associated Types

type Rep GetPartition :: Type -> Type #

Hashable GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

ToJSON GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

AWSRequest GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Associated Types

type Rs GetPartition :: Type #

ToHeaders GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

ToPath GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

ToQuery GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

NFData GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Methods

rnf :: GetPartition -> () #

type Rep GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

type Rep GetPartition = D1 (MetaData "GetPartition" "Network.AWS.Glue.GetPartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetPartition'" PrefixI True) ((S1 (MetaSel (Just "_gpCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gpDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_gpTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gpPartitionValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs GetPartition Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Request Lenses

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

The ID of the Data Catalog where the partition in question resides. If none is supplied, the AWS account ID is used by default.

gpDatabaseName :: Lens' GetPartition Text Source #

The name of the catalog database where the partition resides.

gpTableName :: Lens' GetPartition Text Source #

The name of the partition's table.

gpPartitionValues :: Lens' GetPartition [Text] Source #

The values that define the partition.

Destructuring the Response

getPartitionResponse Source #

Creates a value of GetPartitionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetPartitionResponse Source #

See: getPartitionResponse smart constructor.

Instances
Eq GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Data GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetPartitionResponse -> c GetPartitionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetPartitionResponse #

toConstr :: GetPartitionResponse -> Constr #

dataTypeOf :: GetPartitionResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetPartitionResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetPartitionResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetPartitionResponse -> GetPartitionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetPartitionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetPartitionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetPartitionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetPartitionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetPartitionResponse -> m GetPartitionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPartitionResponse -> m GetPartitionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPartitionResponse -> m GetPartitionResponse #

Read GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Show GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Generic GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Associated Types

type Rep GetPartitionResponse :: Type -> Type #

NFData GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

Methods

rnf :: GetPartitionResponse -> () #

type Rep GetPartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetPartition

type Rep GetPartitionResponse = D1 (MetaData "GetPartitionResponse" "Network.AWS.Glue.GetPartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetPartitionResponse'" PrefixI True) (S1 (MetaSel (Just "_gprsPartition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Partition)) :*: S1 (MetaSel (Just "_gprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

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

gprsResponseStatus :: Lens' GetPartitionResponse Int Source #

  • - | The response status code.