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

Description

The StartTableDataImportJob API allows you to start an import job on a table. This API will only return the id of the job that was started. To find out the status of the import request, you need to call the DescribeTableDataImportJob API.

Synopsis

Creating a Request

data StartTableDataImportJob Source #

See: newStartTableDataImportJob smart constructor.

Constructors

StartTableDataImportJob' 

Fields

  • workbookId :: Text

    The ID of the workbook where the rows are being imported.

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

  • dataSource :: ImportDataSource

    The source of the data that is being imported. The size of source must be no larger than 100 MB. Source must have no more than 100,000 cells and no more than 1,000 rows.

  • dataFormat :: ImportSourceDataFormat

    The format of the data that is being imported. Currently the only option supported is "DELIMITED_TEXT".

  • destinationTableId :: Text

    The ID of the table where the rows are being imported.

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

  • importOptions :: ImportOptions

    The options for customizing this import request.

  • clientRequestToken :: Text

    The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.

    Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.

Instances

Instances details
Eq StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Read StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Show StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Generic StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Associated Types

type Rep StartTableDataImportJob :: Type -> Type #

NFData StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Methods

rnf :: StartTableDataImportJob -> () #

Hashable StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

ToJSON StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

AWSRequest StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

ToHeaders StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

ToPath StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

ToQuery StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

type Rep StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

type Rep StartTableDataImportJob = D1 ('MetaData "StartTableDataImportJob" "Amazonka.HoneyCode.StartTableDataImportJob" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "StartTableDataImportJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "workbookId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportDataSource) :*: S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportSourceDataFormat))) :*: (S1 ('MetaSel ('Just "destinationTableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "importOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportOptions) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse StartTableDataImportJob Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

newStartTableDataImportJob Source #

Create a value of StartTableDataImportJob 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:workbookId:StartTableDataImportJob', startTableDataImportJob_workbookId - The ID of the workbook where the rows are being imported.

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

$sel:dataSource:StartTableDataImportJob', startTableDataImportJob_dataSource - The source of the data that is being imported. The size of source must be no larger than 100 MB. Source must have no more than 100,000 cells and no more than 1,000 rows.

$sel:dataFormat:StartTableDataImportJob', startTableDataImportJob_dataFormat - The format of the data that is being imported. Currently the only option supported is "DELIMITED_TEXT".

$sel:destinationTableId:StartTableDataImportJob', startTableDataImportJob_destinationTableId - The ID of the table where the rows are being imported.

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

$sel:importOptions:StartTableDataImportJob', startTableDataImportJob_importOptions - The options for customizing this import request.

$sel:clientRequestToken:StartTableDataImportJob', startTableDataImportJob_clientRequestToken - The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.

Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.

Request Lenses

startTableDataImportJob_workbookId :: Lens' StartTableDataImportJob Text Source #

The ID of the workbook where the rows are being imported.

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

startTableDataImportJob_dataSource :: Lens' StartTableDataImportJob ImportDataSource Source #

The source of the data that is being imported. The size of source must be no larger than 100 MB. Source must have no more than 100,000 cells and no more than 1,000 rows.

startTableDataImportJob_dataFormat :: Lens' StartTableDataImportJob ImportSourceDataFormat Source #

The format of the data that is being imported. Currently the only option supported is "DELIMITED_TEXT".

startTableDataImportJob_destinationTableId :: Lens' StartTableDataImportJob Text Source #

The ID of the table where the rows are being imported.

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

startTableDataImportJob_clientRequestToken :: Lens' StartTableDataImportJob Text Source #

The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.

Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.

Destructuring the Response

data StartTableDataImportJobResponse Source #

See: newStartTableDataImportJobResponse smart constructor.

Constructors

StartTableDataImportJobResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • jobId :: Text

    The id that is assigned to this import job. Future requests to find out the status of this import job need to send this id in the appropriate parameter in the request.

  • jobStatus :: TableDataImportJobStatus

    The status of the import job immediately after submitting the request.

Instances

Instances details
Eq StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Read StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Show StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Generic StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

Associated Types

type Rep StartTableDataImportJobResponse :: Type -> Type #

NFData StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

type Rep StartTableDataImportJobResponse Source # 
Instance details

Defined in Amazonka.HoneyCode.StartTableDataImportJob

type Rep StartTableDataImportJobResponse = D1 ('MetaData "StartTableDataImportJobResponse" "Amazonka.HoneyCode.StartTableDataImportJob" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "StartTableDataImportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableDataImportJobStatus))))

newStartTableDataImportJobResponse Source #

Create a value of StartTableDataImportJobResponse 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:httpStatus:StartTableDataImportJobResponse', startTableDataImportJobResponse_httpStatus - The response's http status code.

$sel:jobId:StartTableDataImportJobResponse', startTableDataImportJobResponse_jobId - The id that is assigned to this import job. Future requests to find out the status of this import job need to send this id in the appropriate parameter in the request.

$sel:jobStatus:StartTableDataImportJobResponse', startTableDataImportJobResponse_jobStatus - The status of the import job immediately after submitting the request.

Response Lenses

startTableDataImportJobResponse_jobId :: Lens' StartTableDataImportJobResponse Text Source #

The id that is assigned to this import job. Future requests to find out the status of this import job need to send this id in the appropriate parameter in the request.

startTableDataImportJobResponse_jobStatus :: Lens' StartTableDataImportJobResponse TableDataImportJobStatus Source #

The status of the import job immediately after submitting the request.