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 the assessment of an on-premises environment.
Synopsis
- data StartAssessment = StartAssessment' {}
- newStartAssessment :: StartAssessment
- startAssessment_assessmentTargets :: Lens' StartAssessment (Maybe [AssessmentTarget])
- startAssessment_s3bucketForAnalysisData :: Lens' StartAssessment (Maybe Text)
- startAssessment_s3bucketForReportData :: Lens' StartAssessment (Maybe Text)
- data StartAssessmentResponse = StartAssessmentResponse' {
- assessmentId :: Maybe Text
- httpStatus :: Int
- newStartAssessmentResponse :: Int -> StartAssessmentResponse
- startAssessmentResponse_assessmentId :: Lens' StartAssessmentResponse (Maybe Text)
- startAssessmentResponse_httpStatus :: Lens' StartAssessmentResponse Int
Creating a Request
data StartAssessment Source #
See: newStartAssessment
smart constructor.
StartAssessment' | |
|
Instances
newStartAssessment :: StartAssessment Source #
Create a value of StartAssessment
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:assessmentTargets:StartAssessment'
, startAssessment_assessmentTargets
- List of criteria for assessment.
$sel:s3bucketForAnalysisData:StartAssessment'
, startAssessment_s3bucketForAnalysisData
- The S3 bucket used by the collectors to send analysis data to the
service. The bucket name must begin with migrationhub-strategy-
.
$sel:s3bucketForReportData:StartAssessment'
, startAssessment_s3bucketForReportData
- The S3 bucket where all the reports generated by the service are stored.
The bucket name must begin with migrationhub-strategy-
.
Request Lenses
startAssessment_assessmentTargets :: Lens' StartAssessment (Maybe [AssessmentTarget]) Source #
List of criteria for assessment.
startAssessment_s3bucketForAnalysisData :: Lens' StartAssessment (Maybe Text) Source #
The S3 bucket used by the collectors to send analysis data to the
service. The bucket name must begin with migrationhub-strategy-
.
startAssessment_s3bucketForReportData :: Lens' StartAssessment (Maybe Text) Source #
The S3 bucket where all the reports generated by the service are stored.
The bucket name must begin with migrationhub-strategy-
.
Destructuring the Response
data StartAssessmentResponse Source #
See: newStartAssessmentResponse
smart constructor.
StartAssessmentResponse' | |
|
Instances
newStartAssessmentResponse Source #
Create a value of StartAssessmentResponse
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:assessmentId:StartAssessmentResponse'
, startAssessmentResponse_assessmentId
- The ID of the assessment.
$sel:httpStatus:StartAssessmentResponse'
, startAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
startAssessmentResponse_assessmentId :: Lens' StartAssessmentResponse (Maybe Text) Source #
The ID of the assessment.
startAssessmentResponse_httpStatus :: Lens' StartAssessmentResponse Int Source #
The response's http status code.