Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Starts a file import.
Synopsis
- data StartImportFileTask = StartImportFileTask' {
- dataSourceType :: Maybe DataSourceType
- groupId :: Maybe [Group]
- s3bucketForReportData :: Maybe Text
- s3Bucket :: Text
- name :: Text
- s3key :: Text
- newStartImportFileTask :: Text -> Text -> Text -> StartImportFileTask
- startImportFileTask_dataSourceType :: Lens' StartImportFileTask (Maybe DataSourceType)
- startImportFileTask_groupId :: Lens' StartImportFileTask (Maybe [Group])
- startImportFileTask_s3bucketForReportData :: Lens' StartImportFileTask (Maybe Text)
- startImportFileTask_s3Bucket :: Lens' StartImportFileTask Text
- startImportFileTask_name :: Lens' StartImportFileTask Text
- startImportFileTask_s3key :: Lens' StartImportFileTask Text
- data StartImportFileTaskResponse = StartImportFileTaskResponse' {
- id :: Maybe Text
- httpStatus :: Int
- newStartImportFileTaskResponse :: Int -> StartImportFileTaskResponse
- startImportFileTaskResponse_id :: Lens' StartImportFileTaskResponse (Maybe Text)
- startImportFileTaskResponse_httpStatus :: Lens' StartImportFileTaskResponse Int
Creating a Request
data StartImportFileTask Source #
See: newStartImportFileTask
smart constructor.
StartImportFileTask' | |
|
Instances
newStartImportFileTask Source #
:: Text | |
-> Text | |
-> Text | |
-> StartImportFileTask |
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.
StartImportFileTaskResponse' | |
|
Instances
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.
startImportFileTaskResponse_httpStatus :: Lens' StartImportFileTaskResponse Int Source #
The response's http status code.