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 |
Sets the specified view as the default for the Amazon Web Services Region in which you call this operation. When a user performs a Search that doesn't explicitly specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for searches performed in this Amazon Web Services Region.
If an Amazon Web Services Region doesn't have a default view
configured, then users must explicitly specify a view with every
Search
operation performed in that Region.
Synopsis
- data AssociateDefaultView = AssociateDefaultView' {}
- newAssociateDefaultView :: Text -> AssociateDefaultView
- associateDefaultView_viewArn :: Lens' AssociateDefaultView Text
- data AssociateDefaultViewResponse = AssociateDefaultViewResponse' {
- viewArn :: Maybe Text
- httpStatus :: Int
- newAssociateDefaultViewResponse :: Int -> AssociateDefaultViewResponse
- associateDefaultViewResponse_viewArn :: Lens' AssociateDefaultViewResponse (Maybe Text)
- associateDefaultViewResponse_httpStatus :: Lens' AssociateDefaultViewResponse Int
Creating a Request
data AssociateDefaultView Source #
See: newAssociateDefaultView
smart constructor.
AssociateDefaultView' | |
|
Instances
newAssociateDefaultView Source #
Create a value of AssociateDefaultView
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:
AssociateDefaultView
, associateDefaultView_viewArn
- The
Amazon resource name (ARN)
of the view to set as the default for the Amazon Web Services Region and
Amazon Web Services account in which you call this operation. The
specified view must already exist in the called Region.
Request Lenses
associateDefaultView_viewArn :: Lens' AssociateDefaultView Text Source #
The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.
Destructuring the Response
data AssociateDefaultViewResponse Source #
See: newAssociateDefaultViewResponse
smart constructor.
AssociateDefaultViewResponse' | |
|
Instances
newAssociateDefaultViewResponse Source #
Create a value of AssociateDefaultViewResponse
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:
AssociateDefaultView
, associateDefaultViewResponse_viewArn
- The
Amazon resource name (ARN)
of the view that the operation set as the default for queries made in
the Amazon Web Services Region and Amazon Web Services account in which
you called this operation.
$sel:httpStatus:AssociateDefaultViewResponse'
, associateDefaultViewResponse_httpStatus
- The response's http status code.
Response Lenses
associateDefaultViewResponse_viewArn :: Lens' AssociateDefaultViewResponse (Maybe Text) Source #
The Amazon resource name (ARN) of the view that the operation set as the default for queries made in the Amazon Web Services Region and Amazon Web Services account in which you called this operation.
associateDefaultViewResponse_httpStatus :: Lens' AssociateDefaultViewResponse Int Source #
The response's http status code.