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 |
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
Synopsis
- data StopProjectVersion = StopProjectVersion' {}
- newStopProjectVersion :: Text -> StopProjectVersion
- stopProjectVersion_projectVersionArn :: Lens' StopProjectVersion Text
- data StopProjectVersionResponse = StopProjectVersionResponse' {}
- newStopProjectVersionResponse :: Int -> StopProjectVersionResponse
- stopProjectVersionResponse_status :: Lens' StopProjectVersionResponse (Maybe ProjectVersionStatus)
- stopProjectVersionResponse_httpStatus :: Lens' StopProjectVersionResponse Int
Creating a Request
data StopProjectVersion Source #
See: newStopProjectVersion
smart constructor.
StopProjectVersion' | |
|
Instances
newStopProjectVersion Source #
Create a value of StopProjectVersion
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:projectVersionArn:StopProjectVersion'
, stopProjectVersion_projectVersionArn
- The Amazon Resource Name (ARN) of the model version that you want to
delete.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
Request Lenses
stopProjectVersion_projectVersionArn :: Lens' StopProjectVersion Text Source #
The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
Destructuring the Response
data StopProjectVersionResponse Source #
See: newStopProjectVersionResponse
smart constructor.
StopProjectVersionResponse' | |
|
Instances
newStopProjectVersionResponse Source #
Create a value of StopProjectVersionResponse
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:status:StopProjectVersionResponse'
, stopProjectVersionResponse_status
- The current status of the stop operation.
$sel:httpStatus:StopProjectVersionResponse'
, stopProjectVersionResponse_httpStatus
- The response's http status code.
Response Lenses
stopProjectVersionResponse_status :: Lens' StopProjectVersionResponse (Maybe ProjectVersionStatus) Source #
The current status of the stop operation.
stopProjectVersionResponse_httpStatus :: Lens' StopProjectVersionResponse Int Source #
The response's http status code.