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 |
Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.
Synopsis
- data StopRecommender = StopRecommender' {}
- newStopRecommender :: Text -> StopRecommender
- stopRecommender_recommenderArn :: Lens' StopRecommender Text
- data StopRecommenderResponse = StopRecommenderResponse' {
- recommenderArn :: Maybe Text
- httpStatus :: Int
- newStopRecommenderResponse :: Int -> StopRecommenderResponse
- stopRecommenderResponse_recommenderArn :: Lens' StopRecommenderResponse (Maybe Text)
- stopRecommenderResponse_httpStatus :: Lens' StopRecommenderResponse Int
Creating a Request
data StopRecommender Source #
See: newStopRecommender
smart constructor.
StopRecommender' | |
|
Instances
Create a value of StopRecommender
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:
StopRecommender
, stopRecommender_recommenderArn
- The Amazon Resource Name (ARN) of the recommender to stop.
Request Lenses
stopRecommender_recommenderArn :: Lens' StopRecommender Text Source #
The Amazon Resource Name (ARN) of the recommender to stop.
Destructuring the Response
data StopRecommenderResponse Source #
See: newStopRecommenderResponse
smart constructor.
StopRecommenderResponse' | |
|
Instances
newStopRecommenderResponse Source #
Create a value of StopRecommenderResponse
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:
StopRecommender
, stopRecommenderResponse_recommenderArn
- The Amazon Resource Name (ARN) of the recommender you stopped.
$sel:httpStatus:StopRecommenderResponse'
, stopRecommenderResponse_httpStatus
- The response's http status code.
Response Lenses
stopRecommenderResponse_recommenderArn :: Lens' StopRecommenderResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the recommender you stopped.
stopRecommenderResponse_httpStatus :: Lens' StopRecommenderResponse Int Source #
The response's http status code.