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 |
Deletes the specified view.
If the specified view is the default view for its Amazon Web Services Region, then all Search operations in that Region must explicitly specify the view to use until you configure a new default by calling the AssociateDefaultView operation.
Synopsis
- data DeleteView = DeleteView' {}
- newDeleteView :: Text -> DeleteView
- deleteView_viewArn :: Lens' DeleteView Text
- data DeleteViewResponse = DeleteViewResponse' {
- viewArn :: Maybe Text
- httpStatus :: Int
- newDeleteViewResponse :: Int -> DeleteViewResponse
- deleteViewResponse_viewArn :: Lens' DeleteViewResponse (Maybe Text)
- deleteViewResponse_httpStatus :: Lens' DeleteViewResponse Int
Creating a Request
data DeleteView Source #
See: newDeleteView
smart constructor.
DeleteView' | |
|
Instances
:: Text | |
-> DeleteView |
Create a value of DeleteView
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:
DeleteView
, deleteView_viewArn
- The
Amazon resource name (ARN)
of the view that you want to delete.
Request Lenses
deleteView_viewArn :: Lens' DeleteView Text Source #
The Amazon resource name (ARN) of the view that you want to delete.
Destructuring the Response
data DeleteViewResponse Source #
See: newDeleteViewResponse
smart constructor.
DeleteViewResponse' | |
|
Instances
newDeleteViewResponse Source #
Create a value of DeleteViewResponse
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:
DeleteView
, deleteViewResponse_viewArn
- The
Amazon resource name (ARN)
of the view that you successfully deleted.
$sel:httpStatus:DeleteViewResponse'
, deleteViewResponse_httpStatus
- The response's http status code.
Response Lenses
deleteViewResponse_viewArn :: Lens' DeleteViewResponse (Maybe Text) Source #
The Amazon resource name (ARN) of the view that you successfully deleted.
deleteViewResponse_httpStatus :: Lens' DeleteViewResponse Int Source #
The response's http status code.