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 |
Retrieves the Amazon Resource Name (ARN) of the view that is the default for the Amazon Web Services Region in which you call this operation. You can then call GetView to retrieve the details of that view.
Synopsis
- data GetDefaultView = GetDefaultView' {
- newGetDefaultView :: GetDefaultView
- data GetDefaultViewResponse = GetDefaultViewResponse' {
- viewArn :: Maybe Text
- httpStatus :: Int
- newGetDefaultViewResponse :: Int -> GetDefaultViewResponse
- getDefaultViewResponse_viewArn :: Lens' GetDefaultViewResponse (Maybe Text)
- getDefaultViewResponse_httpStatus :: Lens' GetDefaultViewResponse Int
Creating a Request
data GetDefaultView Source #
See: newGetDefaultView
smart constructor.
Instances
newGetDefaultView :: GetDefaultView Source #
Create a value of GetDefaultView
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetDefaultViewResponse Source #
See: newGetDefaultViewResponse
smart constructor.
GetDefaultViewResponse' | |
|
Instances
newGetDefaultViewResponse Source #
Create a value of GetDefaultViewResponse
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:
GetDefaultViewResponse
, getDefaultViewResponse_viewArn
- The
Amazon resource name (ARN)
of the view that is the current default for the Amazon Web Services
Region in which you called this operation.
$sel:httpStatus:GetDefaultViewResponse'
, getDefaultViewResponse_httpStatus
- The response's http status code.
Response Lenses
getDefaultViewResponse_viewArn :: Lens' GetDefaultViewResponse (Maybe Text) Source #
The Amazon resource name (ARN) of the view that is the current default for the Amazon Web Services Region in which you called this operation.
getDefaultViewResponse_httpStatus :: Lens' GetDefaultViewResponse Int Source #
The response's http status code.