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

Description

Starts a file import.

Synopsis

Creating a Request

data StartImportFileTask Source #

See: newStartImportFileTask smart constructor.

Constructors

StartImportFileTask' 

Fields

  • dataSourceType :: Maybe DataSourceType

    Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

  • groupId :: Maybe [Group]

    Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

  • s3bucketForReportData :: Maybe Text

    The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

  • s3Bucket :: Text

    The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

  • name :: Text

    A descriptive name for the request.

  • s3key :: Text

    The Amazon S3 key name of the import file.

Instances

Instances details
ToJSON StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

ToHeaders StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

ToPath StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

ToQuery StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

AWSRequest StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Associated Types

type AWSResponse StartImportFileTask #

Generic StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Associated Types

type Rep StartImportFileTask :: Type -> Type #

Read StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Show StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

NFData StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Methods

rnf :: StartImportFileTask -> () #

Eq StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Hashable StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

type AWSResponse StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

type Rep StartImportFileTask Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

type Rep StartImportFileTask = D1 ('MetaData "StartImportFileTask" "Amazonka.MigrationHubStrategy.StartImportFileTask" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "StartImportFileTask'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceType)) :*: (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group])) :*: S1 ('MetaSel ('Just "s3bucketForReportData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newStartImportFileTask Source #

Create a value of StartImportFileTask 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:dataSourceType:StartImportFileTask', startImportFileTask_dataSourceType - Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

$sel:groupId:StartImportFileTask', startImportFileTask_groupId - Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

$sel:s3bucketForReportData:StartImportFileTask', startImportFileTask_s3bucketForReportData - The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

StartImportFileTask, startImportFileTask_s3Bucket - The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

StartImportFileTask, startImportFileTask_name - A descriptive name for the request.

StartImportFileTask, startImportFileTask_s3key - The Amazon S3 key name of the import file.

Request Lenses

startImportFileTask_dataSourceType :: Lens' StartImportFileTask (Maybe DataSourceType) Source #

Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

startImportFileTask_groupId :: Lens' StartImportFileTask (Maybe [Group]) Source #

Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

startImportFileTask_s3bucketForReportData :: Lens' StartImportFileTask (Maybe Text) Source #

The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

startImportFileTask_s3Bucket :: Lens' StartImportFileTask Text Source #

The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

startImportFileTask_name :: Lens' StartImportFileTask Text Source #

A descriptive name for the request.

startImportFileTask_s3key :: Lens' StartImportFileTask Text Source #

The Amazon S3 key name of the import file.

Destructuring the Response

data StartImportFileTaskResponse Source #

See: newStartImportFileTaskResponse smart constructor.

Constructors

StartImportFileTaskResponse' 

Fields

  • id :: Maybe Text

    The ID for a specific import task. The ID is unique within an AWS account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Associated Types

type Rep StartImportFileTaskResponse :: Type -> Type #

Read StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Show StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

NFData StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

Eq StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

type Rep StartImportFileTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.StartImportFileTask

type Rep StartImportFileTaskResponse = D1 ('MetaData "StartImportFileTaskResponse" "Amazonka.MigrationHubStrategy.StartImportFileTask" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "StartImportFileTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartImportFileTaskResponse Source #

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

StartImportFileTaskResponse, startImportFileTaskResponse_id - The ID for a specific import task. The ID is unique within an AWS account.

$sel:httpStatus:StartImportFileTaskResponse', startImportFileTaskResponse_httpStatus - The response's http status code.

Response Lenses

startImportFileTaskResponse_id :: Lens' StartImportFileTaskResponse (Maybe Text) Source #

The ID for a specific import task. The ID is unique within an AWS account.