amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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.GetTableVersions

Contents

Description

Retrieves a list of strings that identify available versions of a specified table.

Synopsis

Creating a Request

getTableVersions Source #

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

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

  • gtvCatalogId - The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.
  • gtvNextToken - A continuation token, if this is not the first call.
  • gtvMaxResults - The maximum number of table versions to return in one response.
  • gtvDatabaseName - The database in the catalog in which the table resides.
  • gtvTableName - The name of the table.

data GetTableVersions Source #

See: getTableVersions smart constructor.

Instances

Eq GetTableVersions Source # 
Data GetTableVersions Source # 

Methods

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

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

toConstr :: GetTableVersions -> Constr #

dataTypeOf :: GetTableVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetTableVersions -> () #

AWSRequest GetTableVersions Source # 
ToQuery GetTableVersions Source # 
ToPath GetTableVersions Source # 
ToHeaders GetTableVersions Source # 
type Rep GetTableVersions Source # 
type Rep GetTableVersions = D1 (MetaData "GetTableVersions" "Network.AWS.Glue.GetTableVersions" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetTableVersions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gtvCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gtvNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gtvMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_gtvDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gtvTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs GetTableVersions Source # 

Request Lenses

gtvCatalogId :: Lens' GetTableVersions (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.

gtvNextToken :: Lens' GetTableVersions (Maybe Text) Source #

A continuation token, if this is not the first call.

gtvMaxResults :: Lens' GetTableVersions (Maybe Natural) Source #

The maximum number of table versions to return in one response.

gtvDatabaseName :: Lens' GetTableVersions Text Source #

The database in the catalog in which the table resides.

gtvTableName :: Lens' GetTableVersions Text Source #

The name of the table.

Destructuring the Response

getTableVersionsResponse Source #

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

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

data GetTableVersionsResponse Source #

See: getTableVersionsResponse smart constructor.

Instances

Eq GetTableVersionsResponse Source # 
Data GetTableVersionsResponse Source # 

Methods

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

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

toConstr :: GetTableVersionsResponse -> Constr #

dataTypeOf :: GetTableVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTableVersionsResponse Source # 
Show GetTableVersionsResponse Source # 
Generic GetTableVersionsResponse Source # 
NFData GetTableVersionsResponse Source # 
type Rep GetTableVersionsResponse Source # 
type Rep GetTableVersionsResponse = D1 (MetaData "GetTableVersionsResponse" "Network.AWS.Glue.GetTableVersions" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetTableVersionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gtvrsTableVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableVersion]))) ((:*:) (S1 (MetaSel (Just Symbol "_gtvrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gtvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gtvrsTableVersions :: Lens' GetTableVersionsResponse [TableVersion] Source #

A list of strings identifying available versions of the specified table.

gtvrsNextToken :: Lens' GetTableVersionsResponse (Maybe Text) Source #

A continuation token, if the list of available versions does not include the last one.