libZSservicesZSamazonka-honeycodeZSamazonka-honeycode
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.HoneyCode.ListTableColumns

Description

The ListTableColumns API allows you to retrieve a list of all the columns in a table in a workbook.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTableColumns Source #

See: newListTableColumns smart constructor.

Constructors

ListTableColumns' 

Fields

  • nextToken :: Maybe Text

    This parameter is optional. If a nextToken is not specified, the API returns the first page of data.

    Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.

  • workbookId :: Text

    The ID of the workbook that contains the table whose columns are being retrieved.

    If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

  • tableId :: Text

    The ID of the table whose columns are being retrieved.

    If a table with the specified id could not be found, this API throws ResourceNotFoundException.

Instances

Instances details
Eq ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Read ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Show ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Generic ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Associated Types

type Rep ListTableColumns :: Type -> Type #

NFData ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Methods

rnf :: ListTableColumns -> () #

Hashable ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

AWSPager ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

AWSRequest ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Associated Types

type AWSResponse ListTableColumns #

ToHeaders ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

ToPath ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

ToQuery ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

type Rep ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

type Rep ListTableColumns = D1 ('MetaData "ListTableColumns" "Amazonka.HoneyCode.ListTableColumns" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "ListTableColumns'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workbookId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTableColumns Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

newListTableColumns Source #

Create a value of ListTableColumns 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:nextToken:ListTableColumns', listTableColumns_nextToken - This parameter is optional. If a nextToken is not specified, the API returns the first page of data.

Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.

$sel:workbookId:ListTableColumns', listTableColumns_workbookId - The ID of the workbook that contains the table whose columns are being retrieved.

If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

$sel:tableId:ListTableColumns', listTableColumns_tableId - The ID of the table whose columns are being retrieved.

If a table with the specified id could not be found, this API throws ResourceNotFoundException.

Request Lenses

listTableColumns_nextToken :: Lens' ListTableColumns (Maybe Text) Source #

This parameter is optional. If a nextToken is not specified, the API returns the first page of data.

Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.

listTableColumns_workbookId :: Lens' ListTableColumns Text Source #

The ID of the workbook that contains the table whose columns are being retrieved.

If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

listTableColumns_tableId :: Lens' ListTableColumns Text Source #

The ID of the table whose columns are being retrieved.

If a table with the specified id could not be found, this API throws ResourceNotFoundException.

Destructuring the Response

data ListTableColumnsResponse Source #

See: newListTableColumnsResponse smart constructor.

Constructors

ListTableColumnsResponse' 

Fields

  • nextToken :: Maybe Text

    Provides the pagination token to load the next page if there are more results matching the request. If a pagination token is not present in the response, it means that all data matching the request has been loaded.

  • workbookCursor :: Maybe Integer

    Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor keeps increasing with every update and the increments are not sequential.

  • httpStatus :: Int

    The response's http status code.

  • tableColumns :: [TableColumn]

    The list of columns in the table.

Instances

Instances details
Eq ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Read ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Show ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Generic ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

Associated Types

type Rep ListTableColumnsResponse :: Type -> Type #

NFData ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

type Rep ListTableColumnsResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.ListTableColumns

type Rep ListTableColumnsResponse = D1 ('MetaData "ListTableColumnsResponse" "Amazonka.HoneyCode.ListTableColumns" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "ListTableColumnsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workbookCursor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "tableColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableColumn]))))

newListTableColumnsResponse Source #

Create a value of ListTableColumnsResponse 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:nextToken:ListTableColumns', listTableColumnsResponse_nextToken - Provides the pagination token to load the next page if there are more results matching the request. If a pagination token is not present in the response, it means that all data matching the request has been loaded.

$sel:workbookCursor:ListTableColumnsResponse', listTableColumnsResponse_workbookCursor - Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor keeps increasing with every update and the increments are not sequential.

$sel:httpStatus:ListTableColumnsResponse', listTableColumnsResponse_httpStatus - The response's http status code.

$sel:tableColumns:ListTableColumnsResponse', listTableColumnsResponse_tableColumns - The list of columns in the table.

Response Lenses

listTableColumnsResponse_nextToken :: Lens' ListTableColumnsResponse (Maybe Text) Source #

Provides the pagination token to load the next page if there are more results matching the request. If a pagination token is not present in the response, it means that all data matching the request has been loaded.

listTableColumnsResponse_workbookCursor :: Lens' ListTableColumnsResponse (Maybe Integer) Source #

Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor keeps increasing with every update and the increments are not sequential.