| 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 |
Amazonka.MigrationHubStrategy.StopAssessment
Description
Stops the assessment of an on-premises environment.
Synopsis
- data StopAssessment = StopAssessment' {
- assessmentId :: Text
- newStopAssessment :: Text -> StopAssessment
- stopAssessment_assessmentId :: Lens' StopAssessment Text
- data StopAssessmentResponse = StopAssessmentResponse' {
- httpStatus :: Int
- newStopAssessmentResponse :: Int -> StopAssessmentResponse
- stopAssessmentResponse_httpStatus :: Lens' StopAssessmentResponse Int
Creating a Request
data StopAssessment Source #
See: newStopAssessment smart constructor.
Constructors
| StopAssessment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopAssessment |
Create a value of StopAssessment 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:StopAssessment', stopAssessment_assessmentId - The assessmentId returned by StartAssessment.
Request Lenses
stopAssessment_assessmentId :: Lens' StopAssessment Text Source #
The assessmentId returned by StartAssessment.
Destructuring the Response
data StopAssessmentResponse Source #
See: newStopAssessmentResponse smart constructor.
Constructors
| StopAssessmentResponse' | |
Fields
| |
Instances
newStopAssessmentResponse Source #
Create a value of StopAssessmentResponse 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:StopAssessmentResponse', stopAssessmentResponse_httpStatus - The response's http status code.
Response Lenses
stopAssessmentResponse_httpStatus :: Lens' StopAssessmentResponse Int Source #
The response's http status code.