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 |
Modifies some of the details of a view. You can change the filter string and the list of included properties. You can't change the name of the view.
Synopsis
- data UpdateView = UpdateView' {}
- newUpdateView :: Text -> UpdateView
- updateView_filters :: Lens' UpdateView (Maybe SearchFilter)
- updateView_includedProperties :: Lens' UpdateView (Maybe [IncludedProperty])
- updateView_viewArn :: Lens' UpdateView Text
- data UpdateViewResponse = UpdateViewResponse' {
- view :: Maybe View
- httpStatus :: Int
- newUpdateViewResponse :: Int -> UpdateViewResponse
- updateViewResponse_view :: Lens' UpdateViewResponse (Maybe View)
- updateViewResponse_httpStatus :: Lens' UpdateViewResponse Int
Creating a Request
data UpdateView Source #
See: newUpdateView
smart constructor.
UpdateView' | |
|
Instances
:: Text | |
-> UpdateView |
Create a value of UpdateView
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:
UpdateView
, updateView_filters
- An array of strings that specify which resources are included in the
results of queries made using this view. When you use this view in a
Search operation, the filter string is combined with the search's
QueryString
parameter using a logical AND
operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only
filter prefixes
with optional
operators.
It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod
includes all Amazon EC2
resources in any Amazon Web Services Region that begins with the letters
us
and is not tagged with a key Stage
that has the value prod
.
UpdateView
, updateView_includedProperties
- Specifies optional fields that you want included in search results from
this view. It is a list of objects that each describe a field to
include.
The default is an empty list, with no optional fields included in the results.
UpdateView
, updateView_viewArn
- The
Amazon resource name (ARN)
of the view that you want to modify.
Request Lenses
updateView_filters :: Lens' UpdateView (Maybe SearchFilter) Source #
An array of strings that specify which resources are included in the
results of queries made using this view. When you use this view in a
Search operation, the filter string is combined with the search's
QueryString
parameter using a logical AND
operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only
filter prefixes
with optional
operators.
It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod
includes all Amazon EC2
resources in any Amazon Web Services Region that begins with the letters
us
and is not tagged with a key Stage
that has the value prod
.
updateView_includedProperties :: Lens' UpdateView (Maybe [IncludedProperty]) Source #
Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
updateView_viewArn :: Lens' UpdateView Text Source #
The Amazon resource name (ARN) of the view that you want to modify.
Destructuring the Response
data UpdateViewResponse Source #
See: newUpdateViewResponse
smart constructor.
UpdateViewResponse' | |
|
Instances
newUpdateViewResponse Source #
Create a value of UpdateViewResponse
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:view:UpdateViewResponse'
, updateViewResponse_view
- Details about the view that you changed with this operation.
$sel:httpStatus:UpdateViewResponse'
, updateViewResponse_httpStatus
- The response's http status code.
Response Lenses
updateViewResponse_view :: Lens' UpdateViewResponse (Maybe View) Source #
Details about the view that you changed with this operation.
updateViewResponse_httpStatus :: Lens' UpdateViewResponse Int Source #
The response's http status code.