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

Contents

Description

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

This operation returns paginated results.

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:

  • gtvsCatalogId - The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.
  • gtvsNextToken - A continuation token, if this is not the first call.
  • gtvsMaxResults - The maximum number of table versions to return in one response.
  • gtvsDatabaseName - The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
  • gtvsTableName - The name of the table. For Hive compatibility, this name is entirely lowercase.

data GetTableVersions Source #

See: getTableVersions smart constructor.

Instances
Eq GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Data GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

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 # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Show GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Generic GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Associated Types

type Rep GetTableVersions :: Type -> Type #

Hashable GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

ToJSON GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

AWSPager GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

AWSRequest GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Associated Types

type Rs GetTableVersions :: Type #

ToHeaders GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

ToPath GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

ToQuery GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

NFData GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Methods

rnf :: GetTableVersions -> () #

type Rep GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

type Rep GetTableVersions = D1 (MetaData "GetTableVersions" "Network.AWS.Glue.GetTableVersions" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetTableVersions'" PrefixI True) ((S1 (MetaSel (Just "_gtvsCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gtvsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gtvsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_gtvsDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gtvsTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetTableVersions Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Request Lenses

gtvsCatalogId :: 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.

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

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

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

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

gtvsDatabaseName :: Lens' GetTableVersions Text Source #

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

gtvsTableName :: Lens' GetTableVersions Text Source #

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

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 # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Data GetTableVersionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

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 # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Show GetTableVersionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Generic GetTableVersionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

Associated Types

type Rep GetTableVersionsResponse :: Type -> Type #

NFData GetTableVersionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

type Rep GetTableVersionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetTableVersions

type Rep GetTableVersionsResponse = D1 (MetaData "GetTableVersionsResponse" "Network.AWS.Glue.GetTableVersions" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetTableVersionsResponse'" PrefixI True) (S1 (MetaSel (Just "_gtvsrsTableVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableVersion])) :*: (S1 (MetaSel (Just "_gtvsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gtvsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gtvsrsTableVersions :: Lens' GetTableVersionsResponse [TableVersion] Source #

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

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

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