amazonka-glue-1.6.0: 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.GetTableVersion

Contents

Description

Retrieves a specified version of a table.

Synopsis

Creating a Request

getTableVersion Source #

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

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

  • gtvVersionId - The ID value of the table version to be retrieved.
  • gtvCatalogId - The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.
  • gtvDatabaseName - The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
  • gtvTableName - The name of the table. For Hive compatibility, this name is entirely lowercase.

data GetTableVersion Source #

See: getTableVersion smart constructor.

Instances

Eq GetTableVersion Source # 
Data GetTableVersion Source # 

Methods

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

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

toConstr :: GetTableVersion -> Constr #

dataTypeOf :: GetTableVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTableVersion Source # 
Show GetTableVersion Source # 
Generic GetTableVersion Source # 
Hashable GetTableVersion Source # 
ToJSON GetTableVersion Source # 
NFData GetTableVersion Source # 

Methods

rnf :: GetTableVersion -> () #

AWSRequest GetTableVersion Source # 
ToHeaders GetTableVersion Source # 
ToPath GetTableVersion Source # 
ToQuery GetTableVersion Source # 
type Rep GetTableVersion Source # 
type Rep GetTableVersion = D1 * (MetaData "GetTableVersion" "Network.AWS.Glue.GetTableVersion" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "GetTableVersion'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gtvCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gtvTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs GetTableVersion Source # 

Request Lenses

gtvVersionId :: Lens' GetTableVersion (Maybe Text) Source #

The ID value of the table version to be retrieved.

gtvCatalogId :: Lens' GetTableVersion (Maybe Text) Source #

The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.

gtvDatabaseName :: Lens' GetTableVersion Text Source #

The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

gtvTableName :: Lens' GetTableVersion Text Source #

The name of the table. For Hive compatibility, this name is entirely lowercase.

Destructuring the Response

getTableVersionResponse Source #

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

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

data GetTableVersionResponse Source #

See: getTableVersionResponse smart constructor.

Instances

Eq GetTableVersionResponse Source # 
Data GetTableVersionResponse Source # 

Methods

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

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

toConstr :: GetTableVersionResponse -> Constr #

dataTypeOf :: GetTableVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTableVersionResponse Source # 
Show GetTableVersionResponse Source # 
Generic GetTableVersionResponse Source # 
NFData GetTableVersionResponse Source # 

Methods

rnf :: GetTableVersionResponse -> () #

type Rep GetTableVersionResponse Source # 
type Rep GetTableVersionResponse = D1 * (MetaData "GetTableVersionResponse" "Network.AWS.Glue.GetTableVersion" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "GetTableVersionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvrsTableVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TableVersion))) (S1 * (MetaSel (Just Symbol "_gtvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses