| 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.Rekognition.StopProjectVersion
Description
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.
Constructors
| StopProjectVersion' | |
Fields
| |
Instances
newStopProjectVersion Source #
Arguments
| :: Text | |
| -> StopProjectVersion |
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:
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.
Constructors
| StopProjectVersionResponse' | |
Fields
| |
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:
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.