amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubStrategy.GetImportFileTask

Description

Retrieves the details about a specific import task.

Synopsis

Creating a Request

data GetImportFileTask Source #

See: newGetImportFileTask smart constructor.

Constructors

GetImportFileTask' 

Fields

  • id :: Text

    The ID of the import file task. This ID is returned in the response of StartImportFileTask.

Instances

Instances details
ToHeaders GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

ToPath GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

ToQuery GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

AWSRequest GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Associated Types

type AWSResponse GetImportFileTask #

Generic GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Associated Types

type Rep GetImportFileTask :: Type -> Type #

Read GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Show GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

NFData GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Methods

rnf :: GetImportFileTask -> () #

Eq GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Hashable GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

type AWSResponse GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

type Rep GetImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

type Rep GetImportFileTask = D1 ('MetaData "GetImportFileTask" "Amazonka.MigrationHubStrategy.GetImportFileTask" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "GetImportFileTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetImportFileTask Source #

Create a value of GetImportFileTask 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:

GetImportFileTask, getImportFileTask_id - The ID of the import file task. This ID is returned in the response of StartImportFileTask.

Request Lenses

getImportFileTask_id :: Lens' GetImportFileTask Text Source #

The ID of the import file task. This ID is returned in the response of StartImportFileTask.

Destructuring the Response

data GetImportFileTaskResponse Source #

See: newGetImportFileTaskResponse smart constructor.

Constructors

GetImportFileTaskResponse' 

Fields

Instances

Instances details
Generic GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Associated Types

type Rep GetImportFileTaskResponse :: Type -> Type #

Read GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Show GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

NFData GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

Eq GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

type Rep GetImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetImportFileTask

type Rep GetImportFileTaskResponse = D1 ('MetaData "GetImportFileTaskResponse" "Amazonka.MigrationHubStrategy.GetImportFileTask" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "GetImportFileTaskResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "completionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "inputS3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputS3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberOfRecordsFailed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "numberOfRecordsSuccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportFileTaskStatus)))) :*: (S1 ('MetaSel ('Just "statusReportS3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusReportS3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetImportFileTaskResponse Source #

Create a value of GetImportFileTaskResponse 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:

GetImportFileTaskResponse, getImportFileTaskResponse_completionTime - The time that the import task completed.

GetImportFileTask, getImportFileTaskResponse_id - The import file task id returned in the response of StartImportFileTask.

GetImportFileTaskResponse, getImportFileTaskResponse_importName - The name of the import task given in StartImportFileTask.

GetImportFileTaskResponse, getImportFileTaskResponse_inputS3Bucket - The S3 bucket where import file is located.

GetImportFileTaskResponse, getImportFileTaskResponse_inputS3Key - The Amazon S3 key name of the import file.

GetImportFileTaskResponse, getImportFileTaskResponse_numberOfRecordsFailed - The number of records that failed to be imported.

GetImportFileTaskResponse, getImportFileTaskResponse_numberOfRecordsSuccess - The number of records successfully imported.

GetImportFileTaskResponse, getImportFileTaskResponse_startTime - Start time of the import task.

GetImportFileTaskResponse, getImportFileTaskResponse_status - Status of import file task.

GetImportFileTaskResponse, getImportFileTaskResponse_statusReportS3Bucket - The S3 bucket name for status report of import task.

GetImportFileTaskResponse, getImportFileTaskResponse_statusReportS3Key - The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.

$sel:httpStatus:GetImportFileTaskResponse', getImportFileTaskResponse_httpStatus - The response's http status code.

Response Lenses

getImportFileTaskResponse_id :: Lens' GetImportFileTaskResponse (Maybe Text) Source #

The import file task id returned in the response of StartImportFileTask.

getImportFileTaskResponse_importName :: Lens' GetImportFileTaskResponse (Maybe Text) Source #

The name of the import task given in StartImportFileTask.

getImportFileTaskResponse_statusReportS3Bucket :: Lens' GetImportFileTaskResponse (Maybe Text) Source #

The S3 bucket name for status report of import task.

getImportFileTaskResponse_statusReportS3Key :: Lens' GetImportFileTaskResponse (Maybe Text) Source #

The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.