| 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.ResourceExplorer2.GetView
Description
Retrieves details of the specified view.
Synopsis
- data GetView = GetView' {}
- newGetView :: Text -> GetView
- getView_viewArn :: Lens' GetView Text
- data GetViewResponse = GetViewResponse' {}
- newGetViewResponse :: Int -> GetViewResponse
- getViewResponse_tags :: Lens' GetViewResponse (Maybe (HashMap Text Text))
- getViewResponse_view :: Lens' GetViewResponse (Maybe View)
- getViewResponse_httpStatus :: Lens' GetViewResponse Int
Creating a Request
See: newGetView smart constructor.
Constructors
| GetView' | |
Fields
| |
Instances
Create a value of GetView 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:
GetView, getView_viewArn - The
Amazon resource name (ARN)
of the view that you want information about.
Request Lenses
getView_viewArn :: Lens' GetView Text Source #
The Amazon resource name (ARN) of the view that you want information about.
Destructuring the Response
data GetViewResponse Source #
See: newGetViewResponse smart constructor.
Constructors
| GetViewResponse' | |
Instances
Arguments
| :: Int | |
| -> GetViewResponse |
Create a value of GetViewResponse 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:tags:GetViewResponse', getViewResponse_tags - Tag key and value pairs that are attached to the view.
$sel:view:GetViewResponse', getViewResponse_view - A structure that contains the details for the requested view.
$sel:httpStatus:GetViewResponse', getViewResponse_httpStatus - The response's http status code.
Response Lenses
getViewResponse_tags :: Lens' GetViewResponse (Maybe (HashMap Text Text)) Source #
Tag key and value pairs that are attached to the view.
getViewResponse_view :: Lens' GetViewResponse (Maybe View) Source #
A structure that contains the details for the requested view.
getViewResponse_httpStatus :: Lens' GetViewResponse Int Source #
The response's http status code.