Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Cancels a single premigration assessment run.
This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.
Synopsis
- data CancelReplicationTaskAssessmentRun = CancelReplicationTaskAssessmentRun' {}
- newCancelReplicationTaskAssessmentRun :: Text -> CancelReplicationTaskAssessmentRun
- cancelReplicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: Lens' CancelReplicationTaskAssessmentRun Text
- data CancelReplicationTaskAssessmentRunResponse = CancelReplicationTaskAssessmentRunResponse' {}
- newCancelReplicationTaskAssessmentRunResponse :: Int -> CancelReplicationTaskAssessmentRunResponse
- cancelReplicationTaskAssessmentRunResponse_replicationTaskAssessmentRun :: Lens' CancelReplicationTaskAssessmentRunResponse (Maybe ReplicationTaskAssessmentRun)
- cancelReplicationTaskAssessmentRunResponse_httpStatus :: Lens' CancelReplicationTaskAssessmentRunResponse Int
Creating a Request
data CancelReplicationTaskAssessmentRun Source #
See: newCancelReplicationTaskAssessmentRun
smart constructor.
CancelReplicationTaskAssessmentRun' | |
|
Instances
newCancelReplicationTaskAssessmentRun Source #
:: Text |
|
-> CancelReplicationTaskAssessmentRun |
Create a value of CancelReplicationTaskAssessmentRun
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:replicationTaskAssessmentRunArn:CancelReplicationTaskAssessmentRun'
, cancelReplicationTaskAssessmentRun_replicationTaskAssessmentRunArn
- Amazon Resource Name (ARN) of the premigration assessment run to be
canceled.
Request Lenses
cancelReplicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: Lens' CancelReplicationTaskAssessmentRun Text Source #
Amazon Resource Name (ARN) of the premigration assessment run to be canceled.
Destructuring the Response
data CancelReplicationTaskAssessmentRunResponse Source #
See: newCancelReplicationTaskAssessmentRunResponse
smart constructor.
CancelReplicationTaskAssessmentRunResponse' | |
|
Instances
newCancelReplicationTaskAssessmentRunResponse Source #
Create a value of CancelReplicationTaskAssessmentRunResponse
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:replicationTaskAssessmentRun:CancelReplicationTaskAssessmentRunResponse'
, cancelReplicationTaskAssessmentRunResponse_replicationTaskAssessmentRun
- The ReplicationTaskAssessmentRun
object for the canceled assessment
run.
$sel:httpStatus:CancelReplicationTaskAssessmentRunResponse'
, cancelReplicationTaskAssessmentRunResponse_httpStatus
- The response's http status code.
Response Lenses
cancelReplicationTaskAssessmentRunResponse_replicationTaskAssessmentRun :: Lens' CancelReplicationTaskAssessmentRunResponse (Maybe ReplicationTaskAssessmentRun) Source #
The ReplicationTaskAssessmentRun
object for the canceled assessment
run.
cancelReplicationTaskAssessmentRunResponse_httpStatus :: Lens' CancelReplicationTaskAssessmentRunResponse Int Source #
The response's http status code.